slightly better pio.ini
This commit is contained in:
parent
d8d4e81044
commit
aee36c2724
1 changed files with 15 additions and 13 deletions
|
|
@ -9,11 +9,25 @@
|
||||||
; then confirm the change -->
|
; then confirm the change -->
|
||||||
; $ platformio settings get
|
; $ platformio settings get
|
||||||
|
|
||||||
|
|
||||||
|
; // pio v 4.0 'Build options'
|
||||||
|
; - build_type
|
||||||
|
; - build_flags
|
||||||
|
; - src_build_flags
|
||||||
|
; - build_unflags
|
||||||
|
; - src_filter
|
||||||
|
; - targets
|
||||||
|
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = nodemcuv2
|
default_envs = nodemcuv2
|
||||||
|
|
||||||
[common]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
upload_speed = 921600
|
||||||
|
upload_port =
|
||||||
|
/dev/ttyUSB0
|
||||||
|
/dev/tty.SLAB_USBtoUART
|
||||||
lib_deps =
|
lib_deps =
|
||||||
SPI
|
SPI
|
||||||
Wire
|
Wire
|
||||||
|
|
@ -23,33 +37,21 @@ lib_deps =
|
||||||
[env:nodemcuv2]
|
[env:nodemcuv2]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = nodemcuv2
|
board = nodemcuv2
|
||||||
framework = ${common.framework}
|
|
||||||
upload_speed = 921600
|
|
||||||
upload_port = /dev/ttyUSB0
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
ESP8266WiFi
|
ESP8266WiFi
|
||||||
Servo(esp8266)
|
Servo(esp8266)
|
||||||
${common.lib_deps}
|
|
||||||
|
|
||||||
[env:huzzah]
|
[env:huzzah]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = huzzah
|
board = huzzah
|
||||||
framework = ${common.framework}
|
|
||||||
upload_speed = 921600
|
|
||||||
upload_port = /dev/ttyUSB0
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
ESP8266WiFi
|
ESP8266WiFi
|
||||||
Servo(esp8266)
|
Servo(esp8266)
|
||||||
${common.lib_deps}
|
|
||||||
|
|
||||||
[env:featheresp32]
|
[env:featheresp32]
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
build_flags = -std=gnu++14 ; AsyncTCP wants this.
|
build_flags = -std=gnu++14 ; AsyncTCP wants this.
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = featheresp32
|
board = featheresp32
|
||||||
framework = ${common.framework}
|
|
||||||
upload_speed = 921600
|
|
||||||
upload_port = /dev/ttyUSB0
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
1826@1.0.3 ; AsyncTCP
|
1826@1.0.3 ; AsyncTCP
|
||||||
${common.lib_deps}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue