-
-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: linker support for firmware in external flash #5290
Conversation
16062b5
to
3360675
Compare
TX16, TX12, TX12MK2, X9D+, EL18 and T20 all booting into bootloader and main app normally with DFU flash. Er... but writing firmware (admittedly older 2.9/2.10 builds) using bootloader on TX12/TX12MK2 and T20 results in main app not booting... 🤯 TX16S was fine (I stopped after 4 radios). |
Ok. there is indeed a serious issue, trying to narrow it down (it does also affect colorlcd) |
3360675
to
49a26bb
Compare
49a26bb
to
744bbc6
Compare
Tested OK, on BW and Colorlcd, with firmware generated using that PR, 2.11 and 2.10 branches |
@pfeerick we should be good now, there was an issue with how the sector address was computed. |
LGTM here also... TX16S, T20 and X9D+ all booting happily after DFU flash + flash via bootloader. Thank you both! :) |
This PR is a preparation for a number of new targets (mostly H7 based) that need a more flexible linker layout. It also adds some compatibility to the flash driver for new MCUs.
Summary of changes: