Skip to content
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

🐛 [bootloader] fix flash byte-order #362

Merged
merged 4 commits into from
Jul 9, 2022
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jul 9, 2022

This PR fixes the bootloader's byte order when using the SPI flash for application storage. Application data was stored in big-endian byte order and is now stored in little-endian byte order.

Thanks to @betocool-prog for finding this bug!

⚠️ Programs stored to a flash for being used by the bootloader's auto-boot feature need to be updated due to the changed byte order.

@stnolting stnolting added bug Something isn't working SW software-related labels Jul 9, 2022
@stnolting stnolting self-assigned this Jul 9, 2022
@stnolting stnolting changed the title ⚠️ [bootloader] fix flash byte-order 🐛 [bootloader] fix flash byte-order Jul 9, 2022
minor clean-ups; changed default flash base address to 0x02000000
@stnolting stnolting marked this pull request as ready for review July 9, 2022 10:30
@stnolting stnolting merged commit cee4e05 into main Jul 9, 2022
@stnolting stnolting deleted the fix_bootloader_endianness branch July 9, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant