mirror of https://github.com/ARMmbed/mbed-os.git
109 lines
3.4 KiB
JSON
109 lines
3.4 KiB
JSON
{
|
|
"name": "esp8266",
|
|
"config": {
|
|
"tx": {
|
|
"help": "TX pin for serial connection. D1 assumed if Arduino Form Factor, needs to be set/overwritten otherwise",
|
|
"value": null
|
|
},
|
|
"rx": {
|
|
"help": "RX pin for serial connection. D0 assumed if Arduino Form Factor, needs to be set/overwritten otherwise",
|
|
"value": null
|
|
},
|
|
"rts": {
|
|
"help": "RTS pin for serial connection, defaults to Not Connected",
|
|
"value": null
|
|
},
|
|
"cts": {
|
|
"help": "CTS pin for serial connection, defaults to Not Connected",
|
|
"value": null
|
|
},
|
|
"serial-baudrate": {
|
|
"help": "Serial baudrate for ESP8266, defaults to 115200",
|
|
"value": 115200
|
|
},
|
|
"rst": {
|
|
"help": "RESET pin for the modem, defaults to Not Connected",
|
|
"value": null
|
|
},
|
|
"pwr": {
|
|
"help": "POWER pin for the modem, defaults to Not Connected",
|
|
"value": null
|
|
},
|
|
"power-on-polarity": {
|
|
"help": "Polarity of power-on for the modem. 0 means 0/1 for power on/off; 1 means 1/0 for power on/off.",
|
|
"options": [0, 1],
|
|
"value": 0
|
|
},
|
|
"power-on-time-ms": {
|
|
"help": "Delay after powering on the modem in ms",
|
|
"value": 3
|
|
},
|
|
"power-off-time-ms": {
|
|
"help": "Delay after powering off the modem in ms",
|
|
"value": 3
|
|
},
|
|
"debug": {
|
|
"help": "Enable debug logs. [true/false]",
|
|
"value": false
|
|
},
|
|
"provide-default": {
|
|
"help": "Provide default WifiInterface. [true/false]",
|
|
"value": false
|
|
},
|
|
"socket-bufsize": {
|
|
"help": "Max socket data heap usage",
|
|
"value": 8192
|
|
},
|
|
"country-code": {
|
|
"help": "ISO 3166-1 coded, 2 character alphanumeric country code, 'CN' by default",
|
|
"value": null
|
|
},
|
|
"channel-start": {
|
|
"help": "The channel number to start at, 1 by default",
|
|
"value": null
|
|
},
|
|
"channels": {
|
|
"help": "Channel count, 13 by default",
|
|
"value": null
|
|
},
|
|
"built-in-dns": {
|
|
"help": "use built-in CIPDOMAIN AT command to resolve address to IP",
|
|
"value": false
|
|
},
|
|
"sntp-enable": {
|
|
"help": "Enable SNTP. This allows application to use get_sntp_time(). Only available from ESP8266 AT v1.5. This driver supports v1.7 and higher.",
|
|
"value": false
|
|
},
|
|
"sntp-timezone": {
|
|
"help": "SNTP timezone",
|
|
"value": 0
|
|
},
|
|
"sntp-server0": {
|
|
"help": "First SNTP server. Empty string will let ESP8266 use its default.",
|
|
"value": "\"\""
|
|
},
|
|
"sntp-server1": {
|
|
"help": "Second SNTP server. Empty string will let ESP8266 use its default.",
|
|
"value": "\"\""
|
|
},
|
|
"sntp-server2": {
|
|
"help": "Third SNTP server. Empty string will let ESP8266 use its default.",
|
|
"value": "\"\""
|
|
}
|
|
},
|
|
"target_overrides": {
|
|
"HEXIWEAR": {
|
|
"tx": "PTD3",
|
|
"rx": "PTD2"
|
|
},
|
|
"NUCLEO_F401RE": {
|
|
"tx": "D8",
|
|
"rx": "D2"
|
|
},
|
|
"NUCLEO_F411RE": {
|
|
"tx": "D8",
|
|
"rx": "D2"
|
|
}
|
|
}
|
|
}
|