Skip to content

Commit cfe3287

Browse files
author
Veijo Pesonen
committed
NRF52840_DK: Adds as release target and adds a new app config
Adds configuration for NRF52840_DK in which KVStore is kept on internal flash while update image can be found from the QSPIF module. No need to tells explicitly that QSPIF can be used because this information should be found from the target configuration. Target added as release target.
1 parent 5ecde02 commit cfe3287

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def build_test_config = [
123123
["K64F", "configs/internal_flash_no_rot.json", "GCC_ARM"],
124124
["K64F", "configs/internal_kvstore_with_sd.json", "GCC_ARM"],
125125
["K66F", "configs/internal_flash_no_rot.json", "GCC_ARM"],
126+
["NRF52840_DK", "configs/internal_kvstore_with_qspif.json", "GCC_ARM"],
126127
["NUCLEO_L4R5ZI", "configs/internal_flash_no_rot.json", "GCC_ARM"],
127128
["NUCLEO_F429ZI", "configs/internal_flash_no_rot.json", "GCC_ARM"],
128129
["UBLOX_EVK_ODIN_W2", "configs/internal_kvstore_with_sd.json", "GCC_ARM"],

configs/internal_kvstore_with_qspif.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,20 @@
9292
"storage_tdb_internal.internal_size" : "APP_KVSTORE_SIZE",
9393
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
9494
"mbed-bootloader.application-start-address" : "(MBED_CONF_UPDATE_CLIENT_APPLICATION_DETAILS + MBED_BOOTLOADER_ACTIVE_HEADER_REGION_SIZE)",
95-
"target.components_add" : ["QSPIF"],
9695
"update-client.storage-address" : "0",
9796
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
98-
"update-client.storage-locations" : 1
97+
"update-client.storage-locations" : 1,
98+
"update-client.storage-page" : 1
9999
},
100100
"DISCO_L475VG_IOT01A": {
101101
"target.restrict_size" : "0x9000",
102102
"mbed-bootloader.bootloader-size": "(36*1024)"
103+
},
104+
"NRF52840_DK": {
105+
"target.static_memory_defines" : true,
106+
"target.features_remove" : ["CRYPTOCELL310"],
107+
"target.macros_remove" : ["MBEDTLS_CONFIG_HW_SUPPORT"],
108+
"target.macros_add" : ["NRFX_RNG_ENABLED=1", "RNG_ENABLED=1", "NRF_QUEUE_ENABLED=1"]
103109
}
104110
}
105111
}

scripts/make_release.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
("NUCLEO_L4R5ZI", "internal_flash_no_rot"), # cloud client
5353
("NUCLEO_F429ZI", "internal_flash_no_rot"), # cloud client
5454
("UBLOX_EVK_ODIN_W2", "internal_kvstore_with_sd"), # cloud client
55+
("NRF52840_DK", "internal_kvstore_with_qspif"),
5556
("NUCLEO_F411RE", "kvstore_and_fw_candidate_on_sd"), # cloud client
5657
("DISCO_L475VG_IOT01A", "internal_kvstore_with_qspif"), # cloud client
5758
("LPC55S69_NS", "psa"), # cloud client

0 commit comments

Comments
 (0)