added support for WeMos board.

This commit is contained in:
Dooho Yi 2021-01-20 23:20:37 +09:00
parent 928008ad10
commit dad6aa2ea4
2 changed files with 16 additions and 2 deletions

View file

@ -25,6 +25,7 @@ default_envs = nodemcuv2
[env]
framework = arduino
upload_speed = 921600
; 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
upload_port =
/dev/ttyUSB0
/dev/tty.SLAB_USBtoUART
@ -42,6 +43,17 @@ lib_deps =
ESP8266WiFi
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]
platform = espressif8266
board = huzzah

View file

@ -71,11 +71,11 @@
#define SET_ROOT
#define SET_CONTAINSROOT
// (2-1) osc client (non-ROOT)
#elif 1
#elif 0
// #define SET_ROOT
#define SET_CONTAINSROOT
// (3) sampler client
#elif 0
#elif 1
#define DISABLE_AP
#define DISABLE_I2C_REQ
//
@ -101,6 +101,8 @@
//
#if defined(ARDUINO_ESP8266_NODEMCU) // nodemcuv2
#define LED_PIN 2
#elif defined(ARDUINO_ESP8266_WEMOS_D1MINIPRO) // d1_mini
#define LED_PIN 2
#elif defined(ARDUINO_ESP8266_ESP12) // huzzah
#define LED_PIN 2
#elif defined(ARDUINO_FEATHER_ESP32) // featheresp32