Skip to content

Commit 01cf0dc

Browse files
author
Jarno Lamsa
committed
Add configuration option for DISCO_F769NI
Configuration options have been added for 2 configurations The default mbed_app.json, that is used with the smoke test The internal flash without root of trust The device also has QSPIF and the DISCO-board has 512Mbit QSPI flash, which could also be used for the update image storage.
1 parent 40e319a commit 01cf0dc

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

TESTS/smoke/configs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Following table is parsed automatically by build scripts, so follow the format E
1010
|NUCLEO_F303RE|../../BUILD/mbed_app/NUCLEO_F303RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
1111
|NUCLEO_F411RE|../../BUILD/mbed_app/NUCLEO_F411RE/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x40000|0x40070|
1212
|NUCLEO_F429ZI|../../BUILD/mbed_app/NUCLEO_F429ZI/GCC_ARM/mbed-bootloader.bin|0x8000|0x8400|0x100000|0x100070|
13+
|DISCO_F769NI|../../BUILD/mbed_app/DISCO_F769NI/GCC_ARM/mbed-bootloader.bin|0x40000|0x40400|0x100000|0x100070|
1314

1415

1516
## Finding the values

configs/internal_flash_no_rot.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@
151151
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE + KVSTORE_SIZE)",
152152
"update-client.storage-address" : "(MBED_ROM_START + MBED_BOOTLOADER_FLASH_BANK_SIZE)",
153153
"mbed-bootloader.max-application-size" : "((1024-32-64)*1024)"
154+
},
155+
"DISCO_F769NI": {
156+
"mbed-bootloader.bootloader-size" : "(64*1024)",
157+
"target.restrict_size" : "0x10000",
158+
"update-client.application-details" : "(MBED_ROM_START + 256*1024)",
159+
"update-client.storage-address" : "(MBED_ROM_START + MBED_BOOTLOADER_FLASH_BANK_SIZE)",
160+
"kvstore-size" : "(2*32*1024)",
161+
"storage_tdb_internal.internal_base_address": "(MBED_ROM_START+MBED_BOOTLOADER_SIZE)"
154162
}
155163
}
156164
}

mbed_app.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@
9696
},
9797
"NUCLEO_L073RZ": {
9898
"target.boot-stack-size" : "1024"
99+
},
100+
"DISCO_F769NI": {
101+
"target.extra_labels_remove" : [ "PSA" ],
102+
"mbed-bootloader.bootloader-size" : "(64*1024)",
103+
"target.restrict_size" : "0x10000",
104+
"update-client.application-details": "(MBED_ROM_START + 256*1024)"
99105
}
100106
}
101107
}

0 commit comments

Comments
 (0)