Skip to content

Commit

Permalink
Update mbed_app_start macro to config
Browse files Browse the repository at this point in the history
Co-authored-by: Lingkai Dong <[email protected]>
  • Loading branch information
Sudarshan Sreeram and LDong-Arm committed Sep 20, 2021
1 parent 7e60170 commit 4f206b1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"help": "true if the button state is low when pressed, high when released",
"macro_name": "DEMO_BUTTON_ACTIVE_LOW",
"required": false
},
"mbed_app_start": {
"help": "Use a custom application start address",
"macro_name": "MBED_APP_START",
"required": true
}
},
"target_overrides": {
Expand All @@ -21,7 +26,7 @@
},
"NRF52840_DK": {
"demo-button-active-low": true,
"target.mbed_app_start": "0x21000",
"mbed_app_start": "0x21000",
"target.mbed_app_size": "0xBE000",
"mcuboot.primary-slot-address": "0x20000",
"mcuboot.slot-size": "0xC0000",
Expand All @@ -33,7 +38,7 @@
},
"EP_AGORA": {
"demo-button-active-low": true,
"target.mbed_app_start": "0x21000",
"mbed_app_start": "0x21000",
"target.mbed_app_size": "0xBE000",
"mcuboot.primary-slot-address": "0x20000",
"mcuboot.slot-size": "0xC0000",
Expand All @@ -45,7 +50,7 @@
},
"DISCO_L475VG_IOT01A": {
"demo-button-active-low": true,
"target.mbed_app_start": "0x8021000",
"mbed_app_start": "0x8021000",
"target.mbed_app_size": "0xBE000",
"mcuboot.primary-slot-address": "0x8020000",
"mcuboot.slot-size": "0xC0000",
Expand Down

0 comments on commit 4f206b1

Please sign in to comment.