I've created a new board file with I verified it's being used by both CMAKE and that the value is set correctly during runtime (when compiled with <2MB flash)
I try to build my program using greater than 2MB flash and I get the error:This is solved in this thread: viewtopic.php?t=370811, but I do not understand the following:
Code:
#define PICO_FLASH_SIZE_BYTES (128 * 1024 * 1024)
I try to build my program using greater than 2MB flash and I get the error:
Code:
section `.rodata' will not fit in region `FLASH'
Can somebody help me understand how to create my own linker script and what it needs to contain?Because you don't specify your own linker script (.ld file), and the SDK build system doesn't allow a board file to influence the standard memmap_default.ld ?
Statistics: Posted by mstrat — Sun Aug 11, 2024 6:58 pm — Replies 2 — Views 33