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]
|
2024-03-17 17:47:26 +00:00
|
|
|
|
data_dir = data/build_gz
|
2024-03-17 21:27:10 +00:00
|
|
|
|
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
|
2024-03-17 17:47:26 +00:00
|
|
|
|
extra_scripts = post:scripts/extra_script.py
|
2024-03-16 09:15:32 +00:00
|
|
|
|
build_flags =
|
2024-03-17 01:15:59 +00:00
|
|
|
|
!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
|
|
|
|
|
|
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}
|
2024-03-17 21:27:10 +00:00
|
|
|
|
-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
|