2024-03-16 09:15:32 +00:00
|
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
|
;
|
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
2024-03-16 21:59:11 +00:00
|
|
|
|
; Library options: dependencies, extra library storages tl
|
2024-03-16 09:15:32 +00:00
|
|
|
|
; 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
|
2024-03-16 23:47:59 +00:00
|
|
|
|
default_envs = lolin_s2_mini_213epd, lolin_s2_mini_29epd, lolin_s3_mini_213epd, lolin_s3_mini_29epd
|
2024-03-16 09:15:32 +00:00
|
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
2024-03-16 21:59:11 +00:00
|
|
|
|
[env:lolin_s3_mini]
|
|
|
|
|
extends = btclock_base
|
|
|
|
|
board = lolin_s3_mini
|
|
|
|
|
|
2024-03-16 09:15:32 +00:00
|
|
|
|
[env:lolin_s2_mini_213epd]
|
|
|
|
|
extends = env:lolin_s2_mini
|
|
|
|
|
build_flags =
|
|
|
|
|
${btclock_base.build_flags}
|
|
|
|
|
-D VERSION_EPD_2_13
|
|
|
|
|
|
|
|
|
|
[env:lolin_s2_mini_29epd]
|
|
|
|
|
extends = env:lolin_s2_mini
|
2024-03-16 21:59:11 +00:00
|
|
|
|
build_flags =
|
|
|
|
|
${btclock_base.build_flags}
|
|
|
|
|
-D VERSION_EPD_2_9
|
|
|
|
|
|
|
|
|
|
[env:lolin_s3_mini_213epd]
|
|
|
|
|
extends = env:lolin_s3_mini
|
|
|
|
|
build_flags =
|
|
|
|
|
${btclock_base.build_flags}
|
|
|
|
|
-D VERSION_EPD_2_13
|
|
|
|
|
|
|
|
|
|
[env:lolin_s3_mini_29epd]
|
|
|
|
|
extends = env:lolin_s3_mini
|
2024-03-16 09:15:32 +00:00
|
|
|
|
build_flags =
|
|
|
|
|
${btclock_base.build_flags}
|
|
|
|
|
-D VERSION_EPD_2_9
|