Add bootloader support for PRNTRBoard V2.#1274
Merged
fpistm merged 1 commit intostm32duino:masterfrom Jan 23, 2021
Merged
Conversation
fpistm
approved these changes
Jan 23, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the board definition for PRNTR_V2 to support a bootloader (0x08000000 to 0x08007fff)
This PR fixes/implements the following bugs/features
Updating the firmware using the build-in ROM bootloader is not very reliable via USB, the device is often not detected properly when powered in boot loader mode. Decided to add a custom boot-loader that updates the firmware from sd-card if one is present.
Update the ldscript.ld to account for the flash space used by the bootloader.
Validation
Tested Marlin can be build and boots correctly.