Skip to content

How to use a board specific linker script without modifying platform.txt #2307

Answered by earlephilhower
MaxLec14 asked this question in Q&A
Discussion options

You must be logged in to vote

I was planning on enabling it through that boards.txt entry. But, since every RP2040 board has the same memmap and no external SRAM/etc. that the linker needs to worry about, I never got around to it. Right now editing platform.txt like you're doing is the only way. It should be cleaned up eventually, I suppose...

Note that OTA, core, filesystems/EEPROM, and final link stages assume certain things about the layout and if you drop things or rearrange them it might not work too well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MaxLec14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants