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:
parent
9122c3e44d
commit
f79ae00a4f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue