-
Notifications
You must be signed in to change notification settings - Fork 3k
Add bootloader support for NUCLEO_F411RE target #6729
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 NUCLEO_F411RE target #6729
Conversation
@kjbracey-arm - can we get this reviewed? |
@ARMmbed/team-st-mcd Please review |
#endif | ||
|
||
#if !defined(MBED_APP_SIZE) | ||
#define MBED_APP_SIZE 0x100000 |
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.
Should be 0x80000 ?
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.
Good catch - target has 512K (0x80000)
@@ -1,7 +1,10 @@ | |||
if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; } | |||
if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x100000; } |
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.
Should be 0x80000 ?
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.
+1
PR updated |
define symbol __region_ROM_end__ = 0x0807FFFF; | ||
define symbol __intvec_start__ = MBED_APP_START; | ||
define symbol __region_ROM_start__ = MBED_APP_START; | ||
define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE; |
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.
define symbol region_ROM_end = MBED_APP_START + MBED_APP_SIZE -1; ?
@jeromecoutant Happy with the changes? |
@JammuKekkonen Please review jenkins failure, linking errors related to the changes here |
New try. Added the missing armcc preprocessor directive. |
/morph build |
Build : SUCCESSBuild number : 1890 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1538 |
Test : SUCCESSBuild number : 1707 |
Description
Add bootloader support for NUCLEO_F411RE board.
Tested with mbed-bootloader + blinky, with all three compilers.
Ref: #5228 - bootloader support for NUCLEO_F446RE
Pull request type