mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 13:19:01 +00: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:
parent
9122c3e44d
commit
f79ae00a4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue