mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
mps3-an547:fix sram range error
Signed-off-by: anjiahao <anjiahao@xiaomi.com> Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -174,7 +174,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size)
|
||||
/* Return the heap settings */
|
||||
|
||||
*heap_start = (void *)g_idle_topstack;
|
||||
*heap_size = PRIMARY_RAM_END - g_idle_topstack;
|
||||
*heap_size = MPS_SRAM1_START + MPS_SRAM1_SIZE - g_idle_topstack;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user