added support for WeMos board.
This commit is contained in:
parent
928008ad10
commit
dad6aa2ea4
2 changed files with 16 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ default_envs = nodemcuv2
|
||||||
[env]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
|
; 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
|
||||||
upload_port =
|
upload_port =
|
||||||
/dev/ttyUSB0
|
/dev/ttyUSB0
|
||||||
/dev/tty.SLAB_USBtoUART
|
/dev/tty.SLAB_USBtoUART
|
||||||
|
|
@ -42,6 +43,17 @@ lib_deps =
|
||||||
ESP8266WiFi
|
ESP8266WiFi
|
||||||
Servo(esp8266)
|
Servo(esp8266)
|
||||||
|
|
||||||
|
[env:d1_mini_pro]
|
||||||
|
platform = espressif8266
|
||||||
|
board = d1_mini_pro
|
||||||
|
upload_speed = 460800
|
||||||
|
; 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
|
||||||
|
lib_deps =
|
||||||
|
${env.lib_deps}
|
||||||
|
ESP8266WiFi
|
||||||
|
Servo(esp8266)
|
||||||
|
ESPAsyncTCP
|
||||||
|
|
||||||
[env:huzzah]
|
[env:huzzah]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = huzzah
|
board = huzzah
|
||||||
|
|
|
||||||
|
|
@ -71,11 +71,11 @@
|
||||||
#define SET_ROOT
|
#define SET_ROOT
|
||||||
#define SET_CONTAINSROOT
|
#define SET_CONTAINSROOT
|
||||||
// (2-1) osc client (non-ROOT)
|
// (2-1) osc client (non-ROOT)
|
||||||
#elif 1
|
#elif 0
|
||||||
// #define SET_ROOT
|
// #define SET_ROOT
|
||||||
#define SET_CONTAINSROOT
|
#define SET_CONTAINSROOT
|
||||||
// (3) sampler client
|
// (3) sampler client
|
||||||
#elif 0
|
#elif 1
|
||||||
#define DISABLE_AP
|
#define DISABLE_AP
|
||||||
#define DISABLE_I2C_REQ
|
#define DISABLE_I2C_REQ
|
||||||
//
|
//
|
||||||
|
|
@ -101,6 +101,8 @@
|
||||||
//
|
//
|
||||||
#if defined(ARDUINO_ESP8266_NODEMCU) // nodemcuv2
|
#if defined(ARDUINO_ESP8266_NODEMCU) // nodemcuv2
|
||||||
#define LED_PIN 2
|
#define LED_PIN 2
|
||||||
|
#elif defined(ARDUINO_ESP8266_WEMOS_D1MINIPRO) // d1_mini
|
||||||
|
#define LED_PIN 2
|
||||||
#elif defined(ARDUINO_ESP8266_ESP12) // huzzah
|
#elif defined(ARDUINO_ESP8266_ESP12) // huzzah
|
||||||
#define LED_PIN 2
|
#define LED_PIN 2
|
||||||
#elif defined(ARDUINO_FEATHER_ESP32) // featheresp32
|
#elif defined(ARDUINO_FEATHER_ESP32) // featheresp32
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue