-
Notifications
You must be signed in to change notification settings - Fork 3k
Nordic add app_start config system support for NRF52840 for bootloader #5691
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
Conversation
Connected to #5492 this PR only addresses the 52840 |
@ARMmbed/team-nordic please review |
#endif | ||
|
||
#if !defined(MBED_APP_SIZE) | ||
#define MBED_APP_SIZE 0xfffff |
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.
This is the flash end address value, not the application size.
/*-Memory Regions-*/ | ||
define symbol __ICFEDIT_region_ROM_start__ = 0x21000; | ||
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START; | ||
define symbol __ICFEDIT_region_ROM_end__ = 0xfffff; |
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.
MBED_APP_START + MBED_APP_SIZE - 1
if (!isdefinedsymbol(MBED_APP_START)) { | ||
define symbol MBED_APP_START = 0x21000; | ||
} | ||
|
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.
+if (!isdefinedsymbol(MBED_APP_SIZE)) {
- define symbol MBED_APP_SIZE = 0xDF000;
+}
#define MBED_APP_START 0x21000 | ||
#endif | ||
|
||
LR_IROM1 MBED_APP_START 0xfffff { |
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.
0xfffff 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.
I'm sure you should folow this guide: https://docs.mbed.com/docs/mbed-os-handbook/en/latest/advanced/flash/
7296328
to
dc4512f
Compare
Renamed linker scripts from nrf52832 to nrf52840 and added APP_SIZE changes. |
@nvlsianpu Please review latest changes |
dc4512f
to
6569104
Compare
/morph build |
Build : SUCCESSBuild number : 721 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 373 |
Test : SUCCESSBuild number : 552 |
@dlfryar Can you rebase to propagate here travis fix, all CI will be restarted and should be green |
6569104
to
30e1e0a
Compare
/morph build |
Build : FAILUREBuild number : 742 |
Previous failure was because of network license issue
Re-triggering build/morph build |
Build : SUCCESSBuild number : 746 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 399 |
Test : SUCCESSBuild number : 571 |
Description
Add GCC/ARM/IAR linker support for APP_START symbol in config system to support boo loaders
Status
READY