mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 22:53:01 +00:00
arch/arm/src/stm32h7/stm32_allocateheap.c: Fix compilation when CONFIG_MM_REGIONS == 1
Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
This commit is contained in:
parent
63e3054ced
commit
2ef571453a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue