added support for ESP32 (untested)

This commit is contained in:
Chester 2021-03-14 15:38:59 +01:00
parent f6841f9f47
commit b076743f54
5 changed files with 71 additions and 32 deletions

View file

@ -8,15 +8,23 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
[platformio]
;default_envs = esp8266-test
default_envs = esp32, esp8266
[env:esp32]
framework = arduino
platform = espressif32
board = az-delivery-devkit-v4
board_build.mcu = esp32
lib_deps = rweather/Crypto @ ^0.2.0
lib_deps =
Crypto
[env:esp8266]
framework = arduino
platform = espressif8266
board = d1_mini_lite
board_build.mcu = esp8266
lib_deps = rweather/Crypto @ ^0.2.0
; OTA
upload_port = 10.0.0.86
#upload_port = 10.14.0.139
upload_protocol = espota
;upload_port = 10.0.0.86
;upload_protocol = espota