Repository navigation
RP Run from RAM: Improve documentation - #7336
JonathanLindsey wants to merge 1 commit into
Conversation
|
@cryptographix who recently added this example. @9names who helped document these examples as well. |
bbcfe88 to
2e76ceb
Compare
This is the officially blessed (by the Raspberry Pi folks) way of having a program loaded from flash into ram by the bootloader. |
|
@JonathanLindsey maybe you could help us to improve the examples, apart from just documentation. I'm sure a PR that implements a more elegant, simple and less "hacky" solution would be readily and gratefully merged. |
|
The "This is a hack" code comment is in the Your right that the pico-sdk uses pico-sdk also has a Would there be better wording or should I just remove the TODO hack comment and let the linked issue stand on it's own?
Yes, I'd like to do more. It seems like the best fix would likely be at the cortex-m-rt level. Unfortunately, I need to leave it at about this much for now. |
|
You might also want to edit your issue. The main constraint to remember is that these are examples, not fully blown production-ready applications, and share build infrastructure (build.rs, memory.x) which is why we needed a conditional symbol. They are for insight and learning ;) If one day you manage to hack a working version of link.x, please post. Thanks for your contribution. |
|
Thanks. Took all your suggestions. Let me know if I need to squash commits or rebase. |
|
CI on this pull request is failing, so it isn't in the review queue yet. A pull request needs passing CI to be queued for review — push a fix and it'll be added automatically. |
d326b9e to
a518cac
Compare
This improves the documentation of the RP2040 and RP235x run from ram examples.