45 lines
1.2 KiB
INI
45 lines
1.2 KiB
INI
|
; 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]
|
||
|
data_dir = data/build
|
||
|
|
||
|
[btclock_base]
|
||
|
platform = espressif32
|
||
|
framework = arduino
|
||
|
monitor_speed = 115200
|
||
|
monitor_filters = esp32_exception_decoder, colorize
|
||
|
board_build.filesystem = littlefs
|
||
|
board_build.partitions = partition.csv
|
||
|
build_flags =
|
||
|
lib_deps =
|
||
|
zinggjm/GxEPD2@^1.5.6
|
||
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
||
|
bblanchon/ArduinoJson@^7.0.3
|
||
|
mathieucarbou/ESP Async WebServer
|
||
|
gilmaimon/ArduinoWebsockets@^0.5.3
|
||
|
|
||
|
[env:lolin_s2_mini]
|
||
|
extends = btclock_base
|
||
|
board = lolin_s2_mini
|
||
|
|
||
|
[env:lolin_s2_mini_213epd]
|
||
|
extends = env:lolin_s2_mini
|
||
|
board = lolin_s2_mini
|
||
|
build_flags =
|
||
|
${btclock_base.build_flags}
|
||
|
-D VERSION_EPD_2_13
|
||
|
|
||
|
[env:lolin_s2_mini_29epd]
|
||
|
extends = env:lolin_s2_mini
|
||
|
board = lolin_s2_mini
|
||
|
build_flags =
|
||
|
${btclock_base.build_flags}
|
||
|
-D VERSION_EPD_2_9
|