NuMaker Pelion Device Management example
Fork of mbed-os-example-pelion by
mbed_app.json
- Committer:
- ccli8
- Date:
- 2020-04-14
- Revision:
- 11:d147172e94b5
- Parent:
- 7:7bfbb8e70559
- Child:
- 13:8c5fea88f3c7
File content as of revision 11:d147172e94b5:
{ "macros": [ "MBED_TRACE_MAX_LEVEL=TRACE_LEVEL_INFO", "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", "ARM_UC_USE_PAL_BLOCKDEVICE=1", "PAL_PLATFORM_DEFINED_CONFIGURATION=\"mbedOS_SST.h\"", "PAL_USER_DEFINED_CONFIGURATION=\"mbedOS_SST.h\"" ], "target_overrides": { "*": { "target.features_add" : ["BOOTLOADER", "STORAGE"], "platform.stdio-baud-rate" : 115200, "platform.stdio-convert-newlines" : true, "platform.stdio-buffered-serial" : true, "platform.stdio-flush-at-exit" : true, "platform.heap-stats-enabled" : 1, "platform.stack-stats-enabled" : 1, "rtos.main-thread-stack-size" : 5120, "update-client.storage-locations" : 1, "mbed-trace.enable" : null, "events.shared-stacksize" : 2048, "nsapi.default-wifi-security" : "WPA_WPA2", "nsapi.default-wifi-ssid" : "\"SSID\"", "nsapi.default-wifi-password" : "\"PASSWORD\"", "nsapi.default-cellular-apn" : "\"APN\"", "nsapi.default-cellular-sim-pin" : null, "nsapi.default-cellular-username" : null, "nsapi.default-cellular-password" : null }, "NUMAKER_PFM_NUC472": { "target.network-default-interface-type" : "ETHERNET", "target.bootloader_img" : "bootloader/mbed-bootloader-nuc472-block_device-kvstore-v4.1.0.bin", "bootloader-size" : "(64*1024)", "target.header_offset" : "0x12000", "target.app_offset" : "0x12400", "target.components_add" : ["NUSD"], "nusd.provide-default-blockdevice" : true, "nusd.provide-kvstore-other-blockdevice" : true, "update-client.bootloader-details" : "0x0", "update-client.application-details" : "0x12000", "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", "update-client.storage-locations" : 1, "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", "storage.storage_type" : "FILESYSTEM", "storage_filesystem.filesystem" : "LITTLE", "storage_filesystem.blockdevice" : "other", "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", "storage_filesystem.rbp_internal_size" : "(2*4*1024)", "storage_filesystem.external_base_address" : "(0x0)", "storage_filesystem.external_size" : "(1024*1024*64)", "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "MBEDTLS_ENTROPY_HARDWARE_ALT"] }, "NUMAKER_PFM_M487": { "target.network-default-interface-type" : "ETHERNET", "target.bootloader_img" : "bootloader/mbed-bootloader-m487-block_device-kvstore-v4.1.0.bin", "bootloader-size" : "(64*1024)", "target.header_offset" : "0x12000", "target.app_offset" : "0x12400", "target.components_add" : ["NUSD"], "nusd.provide-default-blockdevice" : true, "nusd.provide-kvstore-other-blockdevice" : true, "update-client.bootloader-details" : "0x0", "update-client.application-details" : "0x12000", "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", "update-client.storage-locations" : 1, "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", "storage.storage_type" : "FILESYSTEM", "storage_filesystem.filesystem" : "LITTLE", "storage_filesystem.blockdevice" : "other", "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", "storage_filesystem.rbp_internal_size" : "(2*4*1024)", "storage_filesystem.external_base_address" : "(0x0)", "storage_filesystem.external_size" : "(1024*1024*64)", "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "MBEDTLS_ENTROPY_HARDWARE_ALT"] }, "NUMAKER_IOT_M487": { "target.network-default-interface-type" : "WIFI", "target.bootloader_img" : "bootloader/mbed-bootloader-m487_iot-block_device-kvstore-v4.1.0.bin", "bootloader-size" : "(64*1024)", "target.header_offset" : "0x12000", "target.app_offset" : "0x12400", "target.components_add" : ["NUSD"], "nusd.provide-default-blockdevice" : true, "nusd.provide-kvstore-other-blockdevice" : true, "update-client.bootloader-details" : "0x0", "update-client.application-details" : "0x12000", "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", "update-client.storage-locations" : 1, "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", "storage.storage_type" : "FILESYSTEM", "storage_filesystem.filesystem" : "LITTLE", "storage_filesystem.blockdevice" : "other", "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", "storage_filesystem.rbp_internal_size" : "(2*4*1024)", "storage_filesystem.external_base_address" : "(0x0)", "storage_filesystem.external_size" : "(1024*1024*64)", "esp8266.tx" : "PH_8", "esp8266.rx" : "PH_9", "esp8266.rts" : "A2", "esp8266.cts" : "A3", "esp8266.rst" : "PH_3", "esp8266.provide-default" : true, "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000", "MBEDTLS_ENTROPY_HARDWARE_ALT"] }, "NU_PFM_M2351_NPSA_NS": { "target.network-default-interface-type" : "WIFI", "target.bootloader_img" : "bootloader/mbed-bootloader-m2351_rom_64_448_ram_8_88-block_device-kvstore-v4.1.0.hex", "bootloader-size" : "(64*1024)", "target.header_offset" : "0x12000", "target.app_offset" : "0x12400", "target.components_add" : ["NUSD"], "nusd.provide-default-blockdevice" : true, "nusd.provide-kvstore-other-blockdevice" : true, "update-client.bootloader-details" : "0x0", "update-client.application-details" : "0x10022000", "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", "update-client.storage-locations" : 1, "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", "storage.storage_type" : "FILESYSTEM", "storage_filesystem.filesystem" : "LITTLE", "storage_filesystem.blockdevice" : "other", "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", "storage_filesystem.rbp_internal_size" : "(2*4*1024)", "storage_filesystem.external_base_address" : "(0x0)", "storage_filesystem.external_size" : "(1024*1024*64)", "esp8266.tx" : "PD_1", "esp8266.rx" : "PD_0", "esp8266.rts" : "PD_3", "esp8266.cts" : "PD_2", "esp8266.rst" : "NC", "esp8266.pwr" : "PD_7", "esp8266.provide-default" : true, "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"] }, "NUMAKER_IOT_M263A": { "target.network-default-interface-type" : "WIFI", "target.bootloader_img" : "bootloader/mbed-bootloader-m263_iot-block_device-kvstore-v4.1.0.bin", "bootloader-size" : "(64*1024)", "target.header_offset" : "0x12000", "target.app_offset" : "0x12400", "target.components_add" : ["NUSD"], "nusd.provide-default-blockdevice" : true, "nusd.provide-kvstore-other-blockdevice" : true, "update-client.bootloader-details" : "0x0", "update-client.application-details" : "0x12000", "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", "update-client.storage-locations" : 1, "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", "storage.storage_type" : "FILESYSTEM", "storage_filesystem.filesystem" : "LITTLE", "storage_filesystem.blockdevice" : "other", "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", "storage_filesystem.rbp_internal_size" : "(2*4*1024)", "storage_filesystem.external_base_address" : "(0x0)", "storage_filesystem.external_size" : "(1024*1024*64)", "esp8266.tx" : "PC_7", "esp8266.rx" : "PC_6", "esp8266.rts" : "PE_13", "esp8266.cts" : "PC_8", "esp8266.rst" : "PE_12", "esp8266.provide-default" : true, "target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"] } }, "config": { "bootloader-size": { "help" : "Helper macro to enable calculation of rom regions. target.header_offset and target.app_offset still needs to be calculated manually, though.", "value" : "(32*1024)", "macro_name": "MBED_BOOTLOADER_SIZE" }, "run-ci": { "help" : "Configuration item to control the level of CI verification. 0 = ignored, 1 = build-only, 2 = build + E2E tests", "accepted_values": [0, 1, 2], "value" : 1 } } }