OrangeBTClock/platformio.ini

73 lines
1.8 KiB
INI
Raw Normal View History

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
; 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_gz
default_envs = lolin_s2_mini_213epd, lolin_s2_mini_29epd, lolin_s3_mini_213epd, lolin_s3_mini_29epd, orangeclock_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
extra_scripts = post:scripts/extra_script.py
2024-03-16 09:15:32 +00:00
build_flags =
!python scripts/git_rev.py
-DLAST_BUILD_TIME=$UNIX_TIME
2024-03-16 09:15:32 +00:00
lib_deps =
2024-12-19 16:04:16 +00:00
zinggjm/GxEPD2@^1.6.1
2024-03-16 09:15:32 +00:00
https://github.com/tzapu/WiFiManager.git#v2.0.17
2024-12-19 16:04:16 +00:00
bblanchon/ArduinoJson@^7.2.1
mathieucarbou/ESP Async WebServer@^3.0.6
fastled/FastLED@^3.9.6
2024-03-16 09:15:32 +00:00
[env:lolin_s2_mini]
extends = btclock_base
board = lolin_s2_mini
[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
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
[env:orangeclock_29epd]
extends = btclock_base
board = orangeclock
build_flags =
${btclock_base.build_flags}
-D VERSION_EPD_2_9
2024-03-30 14:02:02 +00:00
-D IS_ORANGECLOCK
-D BUTTON_PIN=45
-D NUM_LEDS=2