pico_standard_link encapsulates the standard linker setup needed to configure the type of application binary layout in
memory, and link to any additional C and/or C++ runtime libraries. It also includes the default crt0, which provides the
initial entry point from the flash second stage bootloader, contains the initial vector table (later relocated to RAM), and
initialises static data and RAM-resident code if the application is running from flash.
@shabaz123 , I am splitting this part out and assigning to self.
I think we can build the flash stgorage part and the memory protection part separately,
integrate the pieces that work, when they work.
find way to reserve block(s) of flash space, so that it can't be overwritten by new, larger, firmware
sdk doc with linker info.
custom linker file:
pico_set_linker_script(my_target ${CMAKE_CURRENT_LIST_DIR}/custom.ld)
default loader source.
sdk linker settings
Proof of concept
@shabaz123 , I am splitting this part out and assigning to self. I think we can build the flash stgorage part and the memory protection part separately, integrate the pieces that work, when they work.