; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = d1_mini_pro

[env]
framework = arduino
upload_port = /dev/ttyUSB0
lib_deps =
    arkhipenko/TaskScheduler@^3.3.0

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
lib_deps = ${env.lib_deps}
upload_speed = 921600

[env:d1_mini_pro]
platform = espressif8266
board = d1_mini_pro
lib_deps = ${env.lib_deps}
upload_speed = 460800

[env:makepython-esp32]
platform = espressif32
board = esp32dev
lib_deps =
    ${env.lib_deps}
    adafruit/Adafruit SSD1306@^2.4.5
    adafruit/Adafruit BusIO@^1.7.3
upload_speed = 921600
lib_ldf_mode=deep
