raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.66k stars 911 forks source link

Some flash space should be allocated for custom usage. #1682

Open dty717 opened 6 months ago

dty717 commented 6 months ago

In memmap_default.ld(line 26),

    FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2048k

It could be better with some space reserved, like

    FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2040k /*8k for custom storage*/
lurch commented 6 months ago

IMVHO if you want that, that's something that you should add to your own custom linker script?