OrangeBTClock/platformio.ini
2024-03-17 22:27:10 +01:00

72 lines
No EOL
1.8 KiB
INI
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

; 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 tl
; 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_gz
default_envs = lolin_s2_mini_213epd, lolin_s2_mini_29epd, lolin_s3_mini_213epd, lolin_s3_mini_29epd, orangeclock_29epd
[btclock_base]
platform = espressif32
framework = arduino
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, colorize
board_build.filesystem = littlefs
board_build.partitions = partition.csv
extra_scripts = post:scripts/extra_script.py
build_flags =
!python scripts/git_rev.py
-DLAST_BUILD_TIME=$UNIX_TIME
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
fastled/FastLED@^3.6.0
[env:lolin_s2_mini]
extends = btclock_base
board = lolin_s2_mini
[env:lolin_s3_mini]
extends = btclock_base
board = lolin_s3_mini
[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
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
build_flags =
${btclock_base.build_flags}
-D VERSION_EPD_2_9
[env:orangeclock_29epd]
extends = btclock_base
board = orangeclock
build_flags =
${btclock_base.build_flags}
-D VERSION_EPD_2_9
-D IS_ORANGECLOCK