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 -->
|
||||
; $ platformio settings get
|
||||
|
||||
|
||||
; // pio v 4.0 'Build options'
|
||||
; - build_type
|
||||
; - build_flags
|
||||
; - src_build_flags
|
||||
; - build_unflags
|
||||
; - src_filter
|
||||
; - targets
|
||||
|
||||
|
||||
[platformio]
|
||||
default_envs = nodemcuv2
|
||||
|
||||
[common]
|
||||
[env]
|
||||
framework = arduino
|
||||
upload_speed = 921600
|
||||
upload_port =
|
||||
/dev/ttyUSB0
|
||||
/dev/tty.SLAB_USBtoUART
|
||||
lib_deps =
|
||||
SPI
|
||||
Wire
|
||||
|
|
@ -23,33 +37,21 @@ lib_deps =
|
|||
[env:nodemcuv2]
|
||||
platform = espressif8266
|
||||
board = nodemcuv2
|
||||
framework = ${common.framework}
|
||||
upload_speed = 921600
|
||||
upload_port = /dev/ttyUSB0
|
||||
lib_deps =
|
||||
ESP8266WiFi
|
||||
Servo(esp8266)
|
||||
${common.lib_deps}
|
||||
|
||||
[env:huzzah]
|
||||
platform = espressif8266
|
||||
board = huzzah
|
||||
framework = ${common.framework}
|
||||
upload_speed = 921600
|
||||
upload_port = /dev/ttyUSB0
|
||||
lib_deps =
|
||||
ESP8266WiFi
|
||||
Servo(esp8266)
|
||||
${common.lib_deps}
|
||||
|
||||
[env:featheresp32]
|
||||
build_unflags = -std=gnu++11
|
||||
build_flags = -std=gnu++14 ; AsyncTCP wants this.
|
||||
platform = espressif32
|
||||
board = featheresp32
|
||||
framework = ${common.framework}
|
||||
upload_speed = 921600
|
||||
upload_port = /dev/ttyUSB0
|
||||
lib_deps =
|
||||
1826@1.0.3 ; AsyncTCP
|
||||
${common.lib_deps}
|
||||
|
|
|
|||
Loading…
Reference in a new issue