feat: add ESP32 build

This commit is contained in:
Patrick Balsiger
2020-09-27 09:20:42 +02:00
parent 7fb97d164a
commit 212baf7660
6 changed files with 29 additions and 17 deletions

View File

@@ -8,8 +8,8 @@
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
;[platformio]
;env_default = build
[platformio]
env_default = build
[common]
framework = arduino
@@ -30,6 +30,19 @@ lib_deps =
https://gitlab.com/wirelos/sprocket-plugin-neopixel.git
[env:build-esp32]
platform = espressif32
board = esp32dev
src_filter = +<*> -<var/> +<var/wifi/>
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
build_flags = -DSPROCKET_PRINT=1
lib_deps = ${common.lib_deps}
https://gitlab.com/wirelos/sprocket-network-wifi.git#next
https://gitlab.com/wirelos/sprocket-plugin-web.git#next
[env:build]
src_filter = +<*> -<var/> +<var/wifi/>
platform = ${common.platform}