|
1 | 1 | {
|
2 | 2 | "macros": [
|
3 |
| - "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"", |
4 |
| - "PAL_USER_DEFINED_CONFIGURATION=\"bootloader_pal_user_config.h\"", |
5 |
| - "MAX_COPY_RETRIES=1", |
6 |
| - "SHOW_PROGRESS_BAR=1", |
7 |
| - "MAX_BOOT_RETRIES=3", |
8 |
| - "ARM_UC_USE_PAL_CRYPTO=0", |
9 |
| - "ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1", |
10 |
| - "ARM_UC_FEATURE_CRYPTO_PAL=0", |
11 |
| - "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1", |
12 |
| - "ARM_BOOTLOADER_USE_NVSTORE_ROT=0", |
13 |
| - "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP", |
14 |
| - "Mutex=PlatformMutex" |
| 3 | + "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP" |
15 | 4 | ],
|
16 |
| - "config": { |
17 |
| - "application-start-address": { |
18 |
| - "help": "Address of the active application firmware in flash", |
19 |
| - "value": null |
20 |
| - }, |
21 |
| - "max-application-size": { |
22 |
| - "help": "Maximum size of the active application", |
23 |
| - "value": null |
24 |
| - } |
25 |
| - }, |
26 | 5 | "target_overrides": {
|
27 | 6 | "*": {
|
28 |
| - "target.features_remove": ["LWIP", "STORAGE"], |
29 | 7 | "platform.stdio-baud-rate": 115200,
|
30 | 8 | "platform.stdio-flush-at-exit": false,
|
31 |
| - "update-client.firmware-header-version": "2" |
| 9 | + "update-client.firmware-header-version": "2", |
| 10 | + "mbed-bootloader.use-nvstore-rot": 0 |
32 | 11 | },
|
33 | 12 | "K64F": {
|
34 |
| - "update-client.application-details": "( 40*1024)", |
35 |
| - "application-start-address" : "( 41*1024)", |
36 |
| - "max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
37 |
| - "update-client.storage-address" : "(436*1024)", |
38 |
| - "update-client.storage-size" : "(388*1024)", |
39 |
| - "update-client.storage-locations" : 1, |
40 |
| - "update-client.storage-page" : 8 |
| 13 | + "update-client.application-details" : "( 40*1024)", |
| 14 | + "mbed-bootloader.application-start-address": "( 41*1024)", |
| 15 | + "mbed-bootloader.max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS)", |
| 16 | + "update-client.storage-address" : "(436*1024)", |
| 17 | + "update-client.storage-size" : "(388*1024)", |
| 18 | + "update-client.storage-locations" : 1, |
| 19 | + "update-client.storage-page" : 8 |
41 | 20 | },
|
42 | 21 | "NUCLEO_F429ZI": {
|
43 |
| - "update-client.application-details": "(0x08000000+64*1024)", |
44 |
| - "application-start-address" : "(0x08000000+65*1024)", |
45 |
| - "max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
46 |
| - "update-client.storage-address" : "(0x08000000+1024*1024)", |
47 |
| - "update-client.storage-size" : "(512*1024)", |
48 |
| - "update-client.storage-locations" : 1, |
49 |
| - "update-client.storage-page" : 1 |
| 22 | + "update-client.application-details" : "(0x08000000+64*1024)", |
| 23 | + "mbed-bootloader.application-start-address": "(0x08000000+65*1024)", |
| 24 | + "mbed-bootloader.max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS)", |
| 25 | + "update-client.storage-address" : "(0x08000000+1024*1024)", |
| 26 | + "update-client.storage-size" : "(512*1024)", |
| 27 | + "update-client.storage-locations" : 1, |
| 28 | + "update-client.storage-page" : 1 |
50 | 29 | },
|
51 | 30 | "NUCLEO_F303RE": {
|
52 |
| - "update-client.application-details": "(0x08000000+36*1024)", |
53 |
| - "application-start-address" : "(0x08000000+37*1024)", |
54 |
| - "max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
55 |
| - "update-client.storage-address" : "(0x08000000+(256+18)*1024)", |
56 |
| - "update-client.storage-size" : "((256-18)*1024)", |
57 |
| - "update-client.storage-locations" : 1, |
58 |
| - "update-client.storage-page" : 4 |
| 31 | + "update-client.application-details" : "(0x08000000+36*1024)", |
| 32 | + "mbed-bootloader.application-start-address": "(0x08000000+37*1024)", |
| 33 | + "mbed-bootloader.max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS)", |
| 34 | + "update-client.storage-address" : "(0x08000000+(256+18)*1024)", |
| 35 | + "update-client.storage-size" : "((256-18)*1024)", |
| 36 | + "update-client.storage-locations" : 1, |
| 37 | + "update-client.storage-page" : 4 |
| 38 | + }, |
| 39 | + "NRF52_DK": { |
| 40 | + "minimal-printf.console-output" : "SWO", |
| 41 | + "target.app_offset" : "0x74000", |
| 42 | + "update-client.application-details" : "(508*1024)", |
| 43 | + "mbed-bootloader.application-start-address": "(4*1024)", |
| 44 | + "mbed-bootloader.max-application-size" : "(232*1024)", |
| 45 | + "update-client.storage-address" : "(236*1024)", |
| 46 | + "update-client.storage-size" : "(228*1024)", |
| 47 | + "update-client.storage-locations" : 1, |
| 48 | + "update-client.storage-page" : 4, |
| 49 | + "target.extra_labels_remove" : ["SOFTDEVICE_S132_FULL", "SOFTDEVICE_COMMON"], |
| 50 | + "target.extra_labels_add" : ["SOFTDEVICE_S132_MBR"] |
59 | 51 | }
|
60 | 52 | }
|
61 | 53 | }
|
0 commit comments