This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 2ef571453a116458430e582ec28f0b7fbb7f9cc2 Author: Jukka Laitinen <[email protected]> AuthorDate: Fri Apr 17 13:12:05 2020 +0300 arch/arm/src/stm32h7/stm32_allocateheap.c: Fix compilation when CONFIG_MM_REGIONS == 1 Signed-off-by: Jukka Laitinen <[email protected]> --- arch/arm/src/stm32h7/stm32_allocateheap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/src/stm32h7/stm32_allocateheap.c b/arch/arm/src/stm32h7/stm32_allocateheap.c index f65db6d..376738b 100644 --- a/arch/arm/src/stm32h7/stm32_allocateheap.c +++ b/arch/arm/src/stm32h7/stm32_allocateheap.c @@ -300,6 +300,7 @@ void up_allocate_kheap(FAR void **heap_start, size_t *heap_size) } #endif +#if (CONFIG_MM_REGIONS > 1) /**************************************************************************** * Name: addregion * @@ -389,3 +390,4 @@ void arm_addregion(void) } #endif } +#endif
