Skip to content

Commit

Permalink
new: support ESP32 (first with a DoIt ESP32 DevKit V1)
Browse files Browse the repository at this point in the history
chg: wiring-timer 2.8.0 (yield() implementation available only by preprocessor directive)
  • Loading branch information
dniklaus committed Dec 4, 2019
1 parent 1eccfa1 commit 6055df5
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,31 @@ default_envs =
; featherm0
; huzzah
; nodemcu
; esp32doit-devkit-v1
; due
; mega2560
uno

[common]
build_flags_ext =
-D WIRINGTIMER_SUPPRESS_WARNINGS # avoid warning from wiring-timer build
lib_deps_builtin =
SPI
Wire
lib_deps_external =
SerialCommand
wiring-timer@>=2.7.0
wiring-timer@>=2.8.0
dbg-trace@>=1.1.0
debug-cli@>=1.3.0
https://github.com/dniklaus/wiring-app-debug
https://github.com/dniklaus/arduino-utils-mem
https://github.com/dniklaus/wiring-app-debug#1.4.0
https://github.com/dniklaus/arduino-utils-mem#2.1.0

[env:featherm0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand All @@ -52,6 +57,8 @@ lib_deps =
platform = espressif8266
framework = arduino
board = huzzah
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand All @@ -61,15 +68,30 @@ lib_deps =
platform = espressif8266
framework = arduino
board = nodemcuv2
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
;upload_port = COM21

[env:esp32doit-devkit-v1]
platform = espressif32
framework = arduino
board = esp32doit-devkit-v1
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
;upload_port = COM28

[env:due]
platform = atmelsam
board = due
framework = arduino
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand All @@ -79,6 +101,8 @@ lib_deps =
platform = atmelavr
board = megaatmega2560
framework = arduino
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand All @@ -88,6 +112,8 @@ lib_deps =
platform = atmelavr
board = uno
framework = arduino
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand Down

0 comments on commit 6055df5

Please sign in to comment.