Peng Jing Xuan
/
mbed-os-example-wifi-DISCO_IOTBOARD_MQTT_copy
0527
Diff: mbed_app.json
- Revision:
- 55:23a0d1e8270a
- Parent:
- 44:63be19b7a3db
- Child:
- 57:c8c960b825f0
--- a/mbed_app.json Wed Jan 31 10:00:03 2018 +0000 +++ b/mbed_app.json Thu Feb 15 10:34:31 2018 +0100 @@ -1,9 +1,9 @@ { "config": { - "wifi-shield": { + "wifi-shield": { "help": "Options are internal, WIFI_ESP8266, WIFI_IDW0XX1", "value": "internal" - }, + }, "wifi-ssid": { "help": "WiFi SSID", "value": "\"SSID\"" @@ -19,6 +19,34 @@ "wifi-rx": { "help": "RX pin for serial connection to external device", "value": "D0" + }, + "wifi-spi_miso": { + "help": "SPI-MISO connection to external device", + "value": "PC_11" + }, + "wifi-spi_mosi": { + "help": "SPI-MOSI connection to external device", + "value": "PC_12" + }, + "wifi-spi_sclk": { + "help": "SPI-CLOCK connection to external device", + "value": "PC_10" + }, + "wifi-spi_nss": { + "help": "SPI chip select of external device", + "value": "PE_0" + }, + "wifi-reset": { + "help": "WIFI module reset pin", + "value": "PE_8" + }, + "wifi-dataready": { + "help": "WIFI module data ready pin", + "value": "PE_1" + }, + "wifi-wakeup": { + "help": "WIFI module wakeup pin", + "value": "PB_12" } }, "target_overrides": { @@ -35,6 +63,24 @@ "NUCLEO_F401RE": { "wifi-tx": "D8", "wifi-rx": "D2" + }, + "DISCO_L475VG_IOT1A": { + "wifi-spi_miso": "PC_11", + "wifi-spi_mosi": "PC_12", + "wifi-spi_sclk": "PC_10", + "wifi-spi_nss": "PE_0", + "wifi-reset": "PE_8", + "wifi-dataready": "PE_1", + "wifi-wakeup": "PB_12" + }, + "DISCO_F413ZH": { + "wifi-spi_miso": "PB_4", + "wifi-spi_mosi": "PB_5", + "wifi-spi_sclk": "PB_12", + "wifi-spi_nss": "PG_11", + "wifi-reset": "PH_1", + "wifi-dataready": "PG_12", + "wifi-wakeup": "PB_15" } } }