NuMaker connection with AWS IoT thru MQTT/HTTPS

Dependencies:   MQTT_ON_AWS

Committer:
ccli8
Date:
Mon Apr 29 14:21:58 2019 +0800
Revision:
27:b12add202b88
Parent:
26:e5cfc2628e84
Child:
28:4c196d0b769b
Support NUMAKER_PFM_M2351

1. Rebuild secure lib/exec which has the following memory partition:
(1) Flash (512KiB in total): 128KiB for secure and 384KiB for nonsecure.
(2) SRAM (96KiB in total): 16KiB for secure and 80KiB for nonsecure.
2. Disable default secure lib/exec (.mbedignore) to use the custom one above.
3. Update README.md

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ccli8 1:5ffad9f24d63 1 {
ccli8 1:5ffad9f24d63 2 "macros": [
ccli8 1:5ffad9f24d63 3 "MBED_CONF_APP_MAIN_STACK_SIZE=4096",
ccli8 12:97762a6f55e9 4 "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_user_config.h\""
ccli8 1:5ffad9f24d63 5 ],
ccli8 1:5ffad9f24d63 6 "target_overrides": {
ccli8 1:5ffad9f24d63 7 "*": {
ccli8 13:8114b540d342 8 "platform.stdio-baud-rate" : 115200,
ccli8 12:97762a6f55e9 9 "platform.stdio-convert-newlines" : true,
ccli8 12:97762a6f55e9 10 "platform.heap-stats-enabled" : 1,
ccli8 23:5111e398e651 11 "platform.stack-stats-enabled" : 1,
ccli8 12:97762a6f55e9 12 "mbed-trace.enable" : null,
ccli8 12:97762a6f55e9 13 "nsapi.default-wifi-security" : "WPA_WPA2",
ccli8 12:97762a6f55e9 14 "nsapi.default-wifi-ssid" : "\"SSID\"",
ccli8 12:97762a6f55e9 15 "nsapi.default-wifi-password" : "\"Password\"",
ccli8 12:97762a6f55e9 16 "drivers.uart-serial-rxbuf-size" : 1024,
ccli8 12:97762a6f55e9 17 "drivers.uart-serial-txbuf-size" : 1024
ccli8 1:5ffad9f24d63 18 },
ccli8 1:5ffad9f24d63 19 "NUMAKER_PFM_NUC472": {
ccli8 21:0903065795a0 20 "target.network-default-interface-type" : "ETHERNET",
ccli8 26:e5cfc2628e84 21 "my-tlssocket.tls-max-frag-len" : 4,
ccli8 26:e5cfc2628e84 22 "target.macros_add" : ["ESP8266_AT_SEL=ESP8266_AT_EXTERN"]
ccli8 1:5ffad9f24d63 23 },
ccli8 1:5ffad9f24d63 24 "NUMAKER_PFM_M487": {
ccli8 21:0903065795a0 25 "target.network-default-interface-type" : "ETHERNET",
ccli8 26:e5cfc2628e84 26 "my-tlssocket.tls-max-frag-len" : 4,
ccli8 26:e5cfc2628e84 27 "target.macros_add" : ["ESP8266_AT_SEL=ESP8266_AT_EXTERN"]
ccli8 15:47ab2fe3a0fc 28 },
ccli8 15:47ab2fe3a0fc 29 "NUMAKER_IOT_M487": {
ccli8 15:47ab2fe3a0fc 30 "target.network-default-interface-type" : "WIFI",
ccli8 26:e5cfc2628e84 31 "my-tlssocket.tls-max-frag-len" : 4,
ccli8 26:e5cfc2628e84 32 "target.macros_add" : ["ESP8266_AT_SEL=ESP8266_AT_ONBOARD"]
ccli8 27:b12add202b88 33 },
ccli8 27:b12add202b88 34 "NUMAKER_PFM_M2351": {
ccli8 27:b12add202b88 35 "target.network-default-interface-type" : "WIFI",
ccli8 27:b12add202b88 36 "my-tlssocket.tls-max-frag-len" : 4,
ccli8 27:b12add202b88 37
ccli8 27:b12add202b88 38 "target.mbed_rom_start" : "0x10020000",
ccli8 27:b12add202b88 39 "target.mbed_rom_size" : "0x60000",
ccli8 27:b12add202b88 40 "target.mbed_ram_start" : "0x30004000",
ccli8 27:b12add202b88 41 "target.mbed_ram_size" : "0x14000",
ccli8 27:b12add202b88 42
ccli8 27:b12add202b88 43 "target.macros_add" : ["ESP8266_AT_SEL=ESP8266_AT_ONBOARD"]
ccli8 1:5ffad9f24d63 44 }
ccli8 1:5ffad9f24d63 45 }
ccli8 1:5ffad9f24d63 46 }