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
@ -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…
Reference in New Issue
Block a user