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:
anjiahao
2024-07-21 15:19:24 +08:00
committed by Xiang Xiao
parent 9122c3e44d
commit f79ae00a4f
+1 -1
View File
@@ -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
}