-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add bootloader support for NXP FRDM-KW24D #4968
Conversation
@dlfryar Could you fill out the pull request template? |
@dlfryar Could you rebase to remove the conflicts. you should force push after the rebase. |
@theotherjimmy rebase and template completed. @maclobdell please review @bentcooke related to your porting efforts as well |
@dlfryar - please confirm you ran the flash iap test and if it passed. |
mbed --version 1.2.0 arm-none-eabi-gcc -v gcc version 6.2.1 20161205 (release) [ARM/embedded-6-branch revision 243739] (GNU Tools for ARM Embedded Processors) mbedls
mbed test -m kw24d -t gcc_arm -n tests-mbed_hal-flash
mbed test -m kw24d -t gcc_arm -n tests-mbed_drivers-flashiap
|
Do we need changes to the linker scripts to add MBED_APP_START and MBED_APP_SIZE defines? |
@dlfryar I agree with Mahesh that the MBED_APP_START, etc are needed. Please try it out and either push extra commits to the branch for this PR (preferred, I think) or submit another pull request. I can help test if you want. Use mbed-os-example-bootloader and mbed-os-example blinky to test out the bootloader. |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4968 (comment) - can you add those please
@mmahadevan108 @maclobdell @0xc0170 PR updated with linker script additions. Please review. |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Description
Adds support for building the Mbed bootloader for the FRDM-KW24D platform. The bootloader provides the mechanism to do firmware updates.
Status
Review
Related PRs
27 and 217
Steps to test or reproduce
In bootloader project
mbed compile -m PLATFORM -t TOOLCHAIN
Copy compiled bootloader to FRDM-KW24D
Attach a ci-test-shield with a FAT32 formatted SD card inserted to the FRDM-KW24D
Connect the serial terminal, reset the board, and observer the bootloader initialization