|
| 1 | +{ |
| 2 | + "macros": [ |
| 3 | + "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\"", |
| 4 | + "MAX_COPY_RETRIES=1", |
| 5 | + "SHOW_PROGRESS_BAR=1", |
| 6 | + "MAX_BOOT_RETRIES=3", |
| 7 | + "ARM_UC_USE_PAL_CRYPTO=0", |
| 8 | + "Mutex=PlatformMutex", |
| 9 | + "PAL_USE_INTERNAL_FLASH=1", |
| 10 | + "PAL_THREAD_SAFETY=0", |
| 11 | + "ARM_UC_USE_SOTP=0", |
| 12 | + "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP" |
| 13 | + ], |
| 14 | + "config": { |
| 15 | + "application-start-address": { |
| 16 | + "help": "Address of the active application firmware in flash", |
| 17 | + "value": null |
| 18 | + }, |
| 19 | + "max-application-size": { |
| 20 | + "help": "Maximum size of the active application", |
| 21 | + "value": null |
| 22 | + }, |
| 23 | + "sotp-section-1-address": { |
| 24 | + "help": "Flash sector address for SOTP sector 1", |
| 25 | + "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS", |
| 26 | + "value": null |
| 27 | + }, |
| 28 | + "sotp-section-1-size": { |
| 29 | + "help": "Flash sector size for SOTP sector 1", |
| 30 | + "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE", |
| 31 | + "value": null |
| 32 | + }, |
| 33 | + "sotp-section-2-address": { |
| 34 | + "help": "Flash sector address for SOTP sector 2", |
| 35 | + "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS", |
| 36 | + "value": null |
| 37 | + }, |
| 38 | + "sotp-section-2-size": { |
| 39 | + "help": "Flash sector size for SOTP sector 2", |
| 40 | + "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE", |
| 41 | + "value": null |
| 42 | + } |
| 43 | + }, |
| 44 | + "target_overrides": { |
| 45 | + "*": { |
| 46 | + "target.features_remove": ["LWIP"], |
| 47 | + "target.features_add": ["COMMON_PAL"], |
| 48 | + "platform.stdio-baud-rate": 115200, |
| 49 | + "platform.stdio-flush-at-exit": false, |
| 50 | + "update-client.firmware-header-version": "2" |
| 51 | + }, |
| 52 | + "K64F": { |
| 53 | + "sotp-section-1-address" : "( 32*1024)", |
| 54 | + "sotp-section-1-size" : "( 4*1024)", |
| 55 | + "sotp-section-2-address" : "( 36*1024)", |
| 56 | + "sotp-section-2-size" : "( 4*1024)", |
| 57 | + "update-client.application-details": "( 40*1024)", |
| 58 | + "application-start-address" : "( 41*1024)", |
| 59 | + "max-application-size" : "(MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS-MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
| 60 | + "update-client.storage-address" : "(436*1024)", |
| 61 | + "update-client.storage-size" : "(388*1024)", |
| 62 | + "update-client.storage-locations" : 1, |
| 63 | + "update-client.storage-page" : 8 |
| 64 | + } |
| 65 | + } |
| 66 | +} |
0 commit comments