NuMaker connection with AWS IoT thru MQTT/HTTPS

Dependencies:   MQTT_ON_AWS

Revision:
28:4c196d0b769b
Parent:
27:b12add202b88
Child:
29:e890b0fdce53
diff -r b12add202b88 -r 4c196d0b769b mbed_app.json
--- a/mbed_app.json	Mon Apr 29 14:21:58 2019 +0800
+++ b/mbed_app.json	Tue Sep 24 17:59:51 2019 +0800
@@ -12,35 +12,56 @@
             "mbed-trace.enable"                     : null,
             "nsapi.default-wifi-security"           : "WPA_WPA2",
             "nsapi.default-wifi-ssid"               : "\"SSID\"",
-            "nsapi.default-wifi-password"           : "\"Password\"",
-            "drivers.uart-serial-rxbuf-size"        : 1024,
-            "drivers.uart-serial-txbuf-size"        : 1024
+            "nsapi.default-wifi-password"           : "\"Password\""
         },
         "NUMAKER_PFM_NUC472": {
             "target.network-default-interface-type" : "ETHERNET",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "target.macros_add"                     : ["ESP8266_AT_SEL=ESP8266_AT_EXTERN"]
+            "my-tlssocket.tls-max-frag-len"         : 4
         },
         "NUMAKER_PFM_M487": {
             "target.network-default-interface-type" : "ETHERNET",
-            "my-tlssocket.tls-max-frag-len"         : 4,
-            "target.macros_add"                     : ["ESP8266_AT_SEL=ESP8266_AT_EXTERN"]
+            "my-tlssocket.tls-max-frag-len"         : 4
         },
         "NUMAKER_IOT_M487": {
             "target.network-default-interface-type" : "WIFI",
             "my-tlssocket.tls-max-frag-len"         : 4,
-            "target.macros_add"                     : ["ESP8266_AT_SEL=ESP8266_AT_ONBOARD"]
+            
+            "esp8266.tx"                            : "PH_8",
+            "esp8266.rx"                            : "PH_9",
+            "esp8266.rts"                           : "A2",
+            "esp8266.cts"                           : "A3",
+            "esp8266.rst"                           : "PH_3",
+            "esp8266.provide-default"               : true
         },
-        "NUMAKER_PFM_M2351": {
+        "NU_PFM_M2351_NPSA_NS": {
             "target.network-default-interface-type" : "WIFI",
             "my-tlssocket.tls-max-frag-len"         : 4,
 
-            "target.mbed_rom_start"                 : "0x10020000",
-            "target.mbed_rom_size"                  : "0x60000",
-            "target.mbed_ram_start"                 : "0x30004000",
-            "target.mbed_ram_size"                  : "0x14000",
+            "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.extra_labels_remove"            : ["NU_PREBUILD_SECURE"],
 
-            "target.macros_add"                     : ["ESP8266_AT_SEL=ESP8266_AT_ONBOARD"]
+            "target.mbed_rom_start"                 : "0x10010000",
+            "target.mbed_rom_size"                  : "0x70000",
+            "target.mbed_ram_start"                 : "0x30002000",
+            "target.mbed_ram_size"                  : "0x16000"
+        },
+        "NUMAKER_IOT_M263A": {
+            "target.network-default-interface-type" : "WIFI",
+            "my-tlssocket.tls-max-frag-len"         : 4,
+
+            "esp8266.tx"                            : "PC_7",
+            "esp8266.rx"                            : "PC_6",
+            "esp8266.rts"                           : "PE_13",
+            "esp8266.cts"                           : "PC_8",
+            "esp8266.rst"                           : "PE_12",
+            "esp8266.provide-default"               : true
         }
     }
 }