Skip to content

Commit

Permalink
Add configuration for NRF52840_DK
Browse files Browse the repository at this point in the history
  • Loading branch information
Liyou Zhou committed Oct 25, 2018
1 parent 74e94f0 commit 061032f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,34 @@
"update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)",
"application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)",
"max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
},
"NRF52840_DK": {
"flash-start-address" : "0x0",
"flash-size" : "(1024*1024)",
"nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+1024*1016)",
"nvstore.area_1_size" : "(4*1024)",
"nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+1024*1020)",
"nvstore.area_2_size" : "(4*1024)",
"update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+236*1024)",
"application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+237*1024)",
"max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE",
"target.OUTPUT_EXT" : "hex",
"update-client.storage-address" : "(1024*1024*1)",
"update-client.storage-size" : "(1024*1024*1)",
"update-client.storage-locations" : 1,
"update-client.storage-page" : 1,
"target.features_remove": [
"CRYPTOCELL310"
],
"target.macros_remove": [
"MBEDTLS_CONFIG_HW_SUPPORT"
],
"target.macros_add": [
"PAL_USE_INTERNAL_FLASH=1",
"PAL_USE_HW_ROT=0",
"PAL_USE_HW_RTC=0",
"PAL_INT_FLASH_NUM_SECTIONS=2"
]
}
}
}

0 comments on commit 061032f

Please sign in to comment.