Well I've built the test code and ran it on an RP2040
If I set __end__ as the start address of heap and the size to Heap_size this follows the same logic we talked about the code then stops working as soon as the memory is initialised.
Code:
ReadyStack limit : 20040000Stack One Top : 20042000Stack Top : 20041000Stack One Bottom : 20042000Stack Bottom : 20040800Heap top : 2003C800Heap limit : 20040000Heap_size : 240256__bss_end__ : 20001D80__end__ : 20001D80>> MAIN LOOP HAS ENDED PLEASE RESET! <<
Statistics: Posted by DarkElvenAngel — Sat Dec 21, 2024 5:17 pm