u-blox
/
mbed-cloud-example-c030
Example using the UBLOX_C030_U201 board to communicate over a cellular link with Mbed Cloud.
Diff: mbed_app.json
- Revision:
- 2:a34e80e223c2
- Parent:
- 1:eabbeaa37715
--- a/mbed_app.json Sun Oct 14 12:07:03 2018 +0000 +++ b/mbed_app.json Sun Oct 14 17:06:16 2018 +0100 @@ -12,17 +12,42 @@ ], "target_overrides": { "*": { - "platform.stdio-baud-rate": 115200, - "platform.stdio-convert-newlines": true, + "target.features_add" : ["COMMON_PAL"], + "platform.stdio-baud-rate" : 115200, + "platform.stdio-flush-at-exit": false, "update-client.storage-address" : "(1024*1024*64)", "update-client.storage-size" : "(1024*1024*2)", - "update-client.storage-locations": "1", - "mbed-trace.enable": null - }, + "update-client.storage-locations": 1, + "update-client.firmware-header-version": "2" + }, "UBLOX_C030_U201": { "target.network-default-interface-type" : "CELLULAR", - "target.features_add" : ["STORAGE"], + "target.features_add" : ["STORAGE","BOOTLOADER"], "target.components_add" : ["SD"], + "target.app_offset" : "0x10400", + "target.header_offset" : "0x10000", + "target.bootloader_img" : "bootloader/mbed-bootloader-C030_U201.bin", + "target.header_format": [ + ["magic", "const", "32be", "0x5a51b3d4"], + ["version", "const", "32be", "2"], + ["firmwareVersion", "timestamp", "64be", null], + ["firmwareSize", "size", "64be", ["application"]], + ["firmwareHash", "digest", "SHA256", "application"], + ["hashpad", "const", "64be", "0"], + ["hashpad", "const", "64be", "0"], + ["hashpad", "const", "64be", "0"], + ["hashpad", "const", "64be", "0"], + ["campaign", "const", "64be", "0"], + ["campaign", "const", "64be", "0"], + ["firmwareSignatureSize", "const", "32be", "0"], + ["headerCRC", "digest", "CRCITT32be", "header"]], + "sotp-section-1-address" : "(0x080C0000)", + "sotp-section-1-size" : "(128*1024)", + "sotp-section-2-address" : "(0x080E0000)", + "sotp-section-2-size" : "(128*1024)", + "sotp-num-sections" : 2, + "update-client.bootloader-details" : "0x08007300", + "update-client.application-details" : "(0x08000000+64*1024)", "target.features_add" : ["LWIP"], "lwip.ipv4-enabled" : true, "lwip.ethernet-enabled" : false,