NuMaker Pelion Device Management example
Fork of mbed-os-example-pelion by
mbed_app.json@13:8c5fea88f3c7, 2020-08-31 (annotated)
- Committer:
- ccli8
- Date:
- Mon Aug 31 09:28:57 2020 +0800
- Revision:
- 13:8c5fea88f3c7
- Parent:
- 11:d147172e94b5
- Child:
- 15:ae80f0957eae
Update to mbed-os 5.15.5
Update to mbed-os 5.15.5 which fixes ESP8266 driver issue:
https://github.com/ARMmbed/mbed-os/pull/13164
Also remove ESP8266_SEND_TIMEOUT because it gets unnecessary with above bugfix.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ccli8 |
0:f78ec4a22e67 | 1 | { |
ccli8 |
0:f78ec4a22e67 | 2 | "macros": [ |
ccli8 |
0:f78ec4a22e67 | 3 | "MBED_TRACE_MAX_LEVEL=TRACE_LEVEL_INFO", |
ccli8 |
0:f78ec4a22e67 | 4 | "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
ccli8 |
0:f78ec4a22e67 | 5 | "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
ccli8 |
0:f78ec4a22e67 | 6 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
ccli8 |
0:f78ec4a22e67 | 7 | "PAL_PLATFORM_DEFINED_CONFIGURATION=\"mbedOS_SST.h\"", |
ccli8 |
0:f78ec4a22e67 | 8 | "PAL_USER_DEFINED_CONFIGURATION=\"mbedOS_SST.h\"" |
ccli8 |
0:f78ec4a22e67 | 9 | ], |
ccli8 |
0:f78ec4a22e67 | 10 | "target_overrides": { |
ccli8 |
0:f78ec4a22e67 | 11 | "*": { |
ccli8 |
0:f78ec4a22e67 | 12 | "target.features_add" : ["BOOTLOADER", "STORAGE"], |
ccli8 |
0:f78ec4a22e67 | 13 | "platform.stdio-baud-rate" : 115200, |
ccli8 |
0:f78ec4a22e67 | 14 | "platform.stdio-convert-newlines" : true, |
ccli8 |
0:f78ec4a22e67 | 15 | "platform.stdio-buffered-serial" : true, |
ccli8 |
0:f78ec4a22e67 | 16 | "platform.stdio-flush-at-exit" : true, |
ccli8 |
5:ae686808e015 | 17 | "platform.heap-stats-enabled" : 1, |
ccli8 |
5:ae686808e015 | 18 | "platform.stack-stats-enabled" : 1, |
ccli8 |
0:f78ec4a22e67 | 19 | "rtos.main-thread-stack-size" : 5120, |
ccli8 |
0:f78ec4a22e67 | 20 | "update-client.storage-locations" : 1, |
ccli8 |
0:f78ec4a22e67 | 21 | "mbed-trace.enable" : null, |
ccli8 |
0:f78ec4a22e67 | 22 | "events.shared-stacksize" : 2048, |
ccli8 |
0:f78ec4a22e67 | 23 | "nsapi.default-wifi-security" : "WPA_WPA2", |
ccli8 |
0:f78ec4a22e67 | 24 | "nsapi.default-wifi-ssid" : "\"SSID\"", |
ccli8 |
11:d147172e94b5 | 25 | "nsapi.default-wifi-password" : "\"PASSWORD\"", |
ccli8 |
11:d147172e94b5 | 26 | "nsapi.default-cellular-apn" : "\"APN\"", |
ccli8 |
11:d147172e94b5 | 27 | "nsapi.default-cellular-sim-pin" : null, |
ccli8 |
11:d147172e94b5 | 28 | "nsapi.default-cellular-username" : null, |
ccli8 |
11:d147172e94b5 | 29 | "nsapi.default-cellular-password" : null |
ccli8 |
0:f78ec4a22e67 | 30 | }, |
ccli8 |
0:f78ec4a22e67 | 31 | "NUMAKER_PFM_NUC472": { |
ccli8 |
0:f78ec4a22e67 | 32 | "target.network-default-interface-type" : "ETHERNET", |
ccli8 |
0:f78ec4a22e67 | 33 | "target.bootloader_img" : "bootloader/mbed-bootloader-nuc472-block_device-kvstore-v4.1.0.bin", |
ccli8 |
0:f78ec4a22e67 | 34 | "bootloader-size" : "(64*1024)", |
ccli8 |
0:f78ec4a22e67 | 35 | "target.header_offset" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 36 | "target.app_offset" : "0x12400", |
ccli8 |
0:f78ec4a22e67 | 37 | "target.components_add" : ["NUSD"], |
ccli8 |
0:f78ec4a22e67 | 38 | "nusd.provide-default-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 39 | "nusd.provide-kvstore-other-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 40 | "update-client.bootloader-details" : "0x0", |
ccli8 |
0:f78ec4a22e67 | 41 | "update-client.application-details" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 42 | "update-client.storage-address" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 43 | "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
ccli8 |
0:f78ec4a22e67 | 44 | "update-client.storage-locations" : 1, |
ccli8 |
0:f78ec4a22e67 | 45 | "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
ccli8 |
0:f78ec4a22e67 | 46 | "storage.storage_type" : "FILESYSTEM", |
ccli8 |
0:f78ec4a22e67 | 47 | "storage_filesystem.filesystem" : "LITTLE", |
ccli8 |
0:f78ec4a22e67 | 48 | "storage_filesystem.blockdevice" : "other", |
ccli8 |
0:f78ec4a22e67 | 49 | "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
ccli8 |
0:f78ec4a22e67 | 50 | "storage_filesystem.rbp_internal_size" : "(2*4*1024)", |
ccli8 |
0:f78ec4a22e67 | 51 | "storage_filesystem.external_base_address" : "(0x0)", |
ccli8 |
0:f78ec4a22e67 | 52 | "storage_filesystem.external_size" : "(1024*1024*64)", |
ccli8 |
4:e564fd8be648 | 53 | "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
0:f78ec4a22e67 | 54 | }, |
ccli8 |
0:f78ec4a22e67 | 55 | "NUMAKER_PFM_M487": { |
ccli8 |
0:f78ec4a22e67 | 56 | "target.network-default-interface-type" : "ETHERNET", |
ccli8 |
0:f78ec4a22e67 | 57 | "target.bootloader_img" : "bootloader/mbed-bootloader-m487-block_device-kvstore-v4.1.0.bin", |
ccli8 |
0:f78ec4a22e67 | 58 | "bootloader-size" : "(64*1024)", |
ccli8 |
0:f78ec4a22e67 | 59 | "target.header_offset" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 60 | "target.app_offset" : "0x12400", |
ccli8 |
0:f78ec4a22e67 | 61 | "target.components_add" : ["NUSD"], |
ccli8 |
0:f78ec4a22e67 | 62 | "nusd.provide-default-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 63 | "nusd.provide-kvstore-other-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 64 | "update-client.bootloader-details" : "0x0", |
ccli8 |
0:f78ec4a22e67 | 65 | "update-client.application-details" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 66 | "update-client.storage-address" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 67 | "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
ccli8 |
0:f78ec4a22e67 | 68 | "update-client.storage-locations" : 1, |
ccli8 |
0:f78ec4a22e67 | 69 | "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
ccli8 |
0:f78ec4a22e67 | 70 | "storage.storage_type" : "FILESYSTEM", |
ccli8 |
0:f78ec4a22e67 | 71 | "storage_filesystem.filesystem" : "LITTLE", |
ccli8 |
0:f78ec4a22e67 | 72 | "storage_filesystem.blockdevice" : "other", |
ccli8 |
0:f78ec4a22e67 | 73 | "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
ccli8 |
0:f78ec4a22e67 | 74 | "storage_filesystem.rbp_internal_size" : "(2*4*1024)", |
ccli8 |
0:f78ec4a22e67 | 75 | "storage_filesystem.external_base_address" : "(0x0)", |
ccli8 |
0:f78ec4a22e67 | 76 | "storage_filesystem.external_size" : "(1024*1024*64)", |
ccli8 |
4:e564fd8be648 | 77 | "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
0:f78ec4a22e67 | 78 | }, |
ccli8 |
0:f78ec4a22e67 | 79 | "NUMAKER_IOT_M487": { |
ccli8 |
0:f78ec4a22e67 | 80 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
0:f78ec4a22e67 | 81 | "target.bootloader_img" : "bootloader/mbed-bootloader-m487_iot-block_device-kvstore-v4.1.0.bin", |
ccli8 |
0:f78ec4a22e67 | 82 | "bootloader-size" : "(64*1024)", |
ccli8 |
0:f78ec4a22e67 | 83 | "target.header_offset" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 84 | "target.app_offset" : "0x12400", |
ccli8 |
0:f78ec4a22e67 | 85 | "target.components_add" : ["NUSD"], |
ccli8 |
0:f78ec4a22e67 | 86 | "nusd.provide-default-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 87 | "nusd.provide-kvstore-other-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 88 | "update-client.bootloader-details" : "0x0", |
ccli8 |
0:f78ec4a22e67 | 89 | "update-client.application-details" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 90 | "update-client.storage-address" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 91 | "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
ccli8 |
0:f78ec4a22e67 | 92 | "update-client.storage-locations" : 1, |
ccli8 |
0:f78ec4a22e67 | 93 | "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
ccli8 |
0:f78ec4a22e67 | 94 | "storage.storage_type" : "FILESYSTEM", |
ccli8 |
0:f78ec4a22e67 | 95 | "storage_filesystem.filesystem" : "LITTLE", |
ccli8 |
0:f78ec4a22e67 | 96 | "storage_filesystem.blockdevice" : "other", |
ccli8 |
0:f78ec4a22e67 | 97 | "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
ccli8 |
0:f78ec4a22e67 | 98 | "storage_filesystem.rbp_internal_size" : "(2*4*1024)", |
ccli8 |
0:f78ec4a22e67 | 99 | "storage_filesystem.external_base_address" : "(0x0)", |
ccli8 |
0:f78ec4a22e67 | 100 | "storage_filesystem.external_size" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 101 | "esp8266.tx" : "PH_8", |
ccli8 |
0:f78ec4a22e67 | 102 | "esp8266.rx" : "PH_9", |
ccli8 |
0:f78ec4a22e67 | 103 | "esp8266.rts" : "A2", |
ccli8 |
0:f78ec4a22e67 | 104 | "esp8266.cts" : "A3", |
ccli8 |
0:f78ec4a22e67 | 105 | "esp8266.rst" : "PH_3", |
ccli8 |
0:f78ec4a22e67 | 106 | "esp8266.provide-default" : true, |
ccli8 |
13:8c5fea88f3c7 | 107 | "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
0:f78ec4a22e67 | 108 | }, |
ccli8 |
7:7bfbb8e70559 | 109 | "NU_PFM_M2351_NPSA_NS": { |
ccli8 |
7:7bfbb8e70559 | 110 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
7:7bfbb8e70559 | 111 | "target.bootloader_img" : "bootloader/mbed-bootloader-m2351_rom_64_448_ram_8_88-block_device-kvstore-v4.1.0.hex", |
ccli8 |
7:7bfbb8e70559 | 112 | "bootloader-size" : "(64*1024)", |
ccli8 |
7:7bfbb8e70559 | 113 | "target.header_offset" : "0x12000", |
ccli8 |
7:7bfbb8e70559 | 114 | "target.app_offset" : "0x12400", |
ccli8 |
7:7bfbb8e70559 | 115 | "target.components_add" : ["NUSD"], |
ccli8 |
7:7bfbb8e70559 | 116 | "nusd.provide-default-blockdevice" : true, |
ccli8 |
7:7bfbb8e70559 | 117 | "nusd.provide-kvstore-other-blockdevice" : true, |
ccli8 |
7:7bfbb8e70559 | 118 | "update-client.bootloader-details" : "0x0", |
ccli8 |
7:7bfbb8e70559 | 119 | "update-client.application-details" : "0x10022000", |
ccli8 |
7:7bfbb8e70559 | 120 | "update-client.storage-address" : "(1024*1024*64)", |
ccli8 |
7:7bfbb8e70559 | 121 | "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
ccli8 |
7:7bfbb8e70559 | 122 | "update-client.storage-locations" : 1, |
ccli8 |
7:7bfbb8e70559 | 123 | "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
ccli8 |
7:7bfbb8e70559 | 124 | "storage.storage_type" : "FILESYSTEM", |
ccli8 |
7:7bfbb8e70559 | 125 | "storage_filesystem.filesystem" : "LITTLE", |
ccli8 |
7:7bfbb8e70559 | 126 | "storage_filesystem.blockdevice" : "other", |
ccli8 |
7:7bfbb8e70559 | 127 | "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
ccli8 |
7:7bfbb8e70559 | 128 | "storage_filesystem.rbp_internal_size" : "(2*4*1024)", |
ccli8 |
7:7bfbb8e70559 | 129 | "storage_filesystem.external_base_address" : "(0x0)", |
ccli8 |
7:7bfbb8e70559 | 130 | "storage_filesystem.external_size" : "(1024*1024*64)", |
ccli8 |
7:7bfbb8e70559 | 131 | "esp8266.tx" : "PD_1", |
ccli8 |
7:7bfbb8e70559 | 132 | "esp8266.rx" : "PD_0", |
ccli8 |
7:7bfbb8e70559 | 133 | "esp8266.rts" : "PD_3", |
ccli8 |
7:7bfbb8e70559 | 134 | "esp8266.cts" : "PD_2", |
ccli8 |
7:7bfbb8e70559 | 135 | "esp8266.rst" : "NC", |
ccli8 |
7:7bfbb8e70559 | 136 | "esp8266.pwr" : "PD_7", |
ccli8 |
7:7bfbb8e70559 | 137 | "esp8266.provide-default" : true, |
ccli8 |
13:8c5fea88f3c7 | 138 | "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""] |
ccli8 |
7:7bfbb8e70559 | 139 | }, |
ccli8 |
0:f78ec4a22e67 | 140 | "NUMAKER_IOT_M263A": { |
ccli8 |
0:f78ec4a22e67 | 141 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
0:f78ec4a22e67 | 142 | "target.bootloader_img" : "bootloader/mbed-bootloader-m263_iot-block_device-kvstore-v4.1.0.bin", |
ccli8 |
0:f78ec4a22e67 | 143 | "bootloader-size" : "(64*1024)", |
ccli8 |
0:f78ec4a22e67 | 144 | "target.header_offset" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 145 | "target.app_offset" : "0x12400", |
ccli8 |
0:f78ec4a22e67 | 146 | "target.components_add" : ["NUSD"], |
ccli8 |
0:f78ec4a22e67 | 147 | "nusd.provide-default-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 148 | "nusd.provide-kvstore-other-blockdevice" : true, |
ccli8 |
0:f78ec4a22e67 | 149 | "update-client.bootloader-details" : "0x0", |
ccli8 |
0:f78ec4a22e67 | 150 | "update-client.application-details" : "0x12000", |
ccli8 |
0:f78ec4a22e67 | 151 | "update-client.storage-address" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 152 | "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
ccli8 |
0:f78ec4a22e67 | 153 | "update-client.storage-locations" : 1, |
ccli8 |
0:f78ec4a22e67 | 154 | "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
ccli8 |
0:f78ec4a22e67 | 155 | "storage.storage_type" : "FILESYSTEM", |
ccli8 |
0:f78ec4a22e67 | 156 | "storage_filesystem.filesystem" : "LITTLE", |
ccli8 |
0:f78ec4a22e67 | 157 | "storage_filesystem.blockdevice" : "other", |
ccli8 |
0:f78ec4a22e67 | 158 | "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
ccli8 |
0:f78ec4a22e67 | 159 | "storage_filesystem.rbp_internal_size" : "(2*4*1024)", |
ccli8 |
0:f78ec4a22e67 | 160 | "storage_filesystem.external_base_address" : "(0x0)", |
ccli8 |
0:f78ec4a22e67 | 161 | "storage_filesystem.external_size" : "(1024*1024*64)", |
ccli8 |
0:f78ec4a22e67 | 162 | "esp8266.tx" : "PC_7", |
ccli8 |
0:f78ec4a22e67 | 163 | "esp8266.rx" : "PC_6", |
ccli8 |
0:f78ec4a22e67 | 164 | "esp8266.rts" : "PE_13", |
ccli8 |
0:f78ec4a22e67 | 165 | "esp8266.cts" : "PC_8", |
ccli8 |
0:f78ec4a22e67 | 166 | "esp8266.rst" : "PE_12", |
ccli8 |
0:f78ec4a22e67 | 167 | "esp8266.provide-default" : true, |
ccli8 |
13:8c5fea88f3c7 | 168 | "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""] |
ccli8 |
0:f78ec4a22e67 | 169 | } |
ccli8 |
0:f78ec4a22e67 | 170 | }, |
ccli8 |
0:f78ec4a22e67 | 171 | "config": { |
ccli8 |
0:f78ec4a22e67 | 172 | "bootloader-size": { |
ccli8 |
0:f78ec4a22e67 | 173 | "help" : "Helper macro to enable calculation of rom regions. target.header_offset and target.app_offset still needs to be calculated manually, though.", |
ccli8 |
0:f78ec4a22e67 | 174 | "value" : "(32*1024)", |
ccli8 |
0:f78ec4a22e67 | 175 | "macro_name": "MBED_BOOTLOADER_SIZE" |
ccli8 |
11:d147172e94b5 | 176 | }, |
ccli8 |
11:d147172e94b5 | 177 | "run-ci": { |
ccli8 |
11:d147172e94b5 | 178 | "help" : "Configuration item to control the level of CI verification. 0 = ignored, 1 = build-only, 2 = build + E2E tests", |
ccli8 |
11:d147172e94b5 | 179 | "accepted_values": [0, 1, 2], |
ccli8 |
11:d147172e94b5 | 180 | "value" : 1 |
ccli8 |
0:f78ec4a22e67 | 181 | } |
ccli8 |
0:f78ec4a22e67 | 182 | } |
ccli8 |
0:f78ec4a22e67 | 183 | } |