Hi,
I'm new to the Rust world and trying to recreate things which I had done in C/C++ world in Rust. One of my projects is using the Raspberry Pico without a flash. In the Pico SDK there is this no_flash
feature, which basically just uses a different linkerscript. I try to do a similar thing in Rust. But as soon as I remove the flash from my memory.x file I get:
memory region not defined: FLASH
If I leave the memory region but insert the program into RAM I get:
ERROR(cortex-m-rt): The .text section must be placed inside the FLASH memory.
Set _stext to an address smaller than 'ORIGIN(FLASH) + LENGTH(FLASH)'
Is this something which is just not supported, or am I thinking to too much in the way of GNU linker?
Thanks for your help.