Skip to content

Commit 061032f

Browse files
author
Liyou Zhou
committed
Add configuration for NRF52840_DK
1 parent 74e94f0 commit 061032f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

mbed_app.json

+28
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,34 @@
177177
"update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)",
178178
"application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)",
179179
"max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
180+
},
181+
"NRF52840_DK": {
182+
"flash-start-address" : "0x0",
183+
"flash-size" : "(1024*1024)",
184+
"nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+1024*1016)",
185+
"nvstore.area_1_size" : "(4*1024)",
186+
"nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+1024*1020)",
187+
"nvstore.area_2_size" : "(4*1024)",
188+
"update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+236*1024)",
189+
"application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+237*1024)",
190+
"max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE",
191+
"target.OUTPUT_EXT" : "hex",
192+
"update-client.storage-address" : "(1024*1024*1)",
193+
"update-client.storage-size" : "(1024*1024*1)",
194+
"update-client.storage-locations" : 1,
195+
"update-client.storage-page" : 1,
196+
"target.features_remove": [
197+
"CRYPTOCELL310"
198+
],
199+
"target.macros_remove": [
200+
"MBEDTLS_CONFIG_HW_SUPPORT"
201+
],
202+
"target.macros_add": [
203+
"PAL_USE_INTERNAL_FLASH=1",
204+
"PAL_USE_HW_ROT=0",
205+
"PAL_USE_HW_RTC=0",
206+
"PAL_INT_FLASH_NUM_SECTIONS=2"
207+
]
180208
}
181209
}
182210
}

0 commit comments

Comments
 (0)