btclock_v2/platformio.ini

78 lines
2.1 KiB
INI
Raw Normal View History

2023-06-10 21:23:31 +02: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
; 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
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
upload_speed = 921600
monitor_filters = esp32_exception_decoder, colorize
extra_scripts = post:scripts/extra_script.py
build_flags = !python scripts/git_rev.py
[esp32wemos-s3-mini_BW_base]
platform = espressif32
framework = arduino
board = lolin_s3_mini
board_build.partitions = partition.csv
2023-06-10 21:23:31 +02:00
lib_deps =
bblanchon/ArduinoJson@^6.21.2
fbiego/ESP32Time@^2.0.1
2023-06-10 21:23:31 +02:00
adafruit/Adafruit MCP23017 Arduino Library@^2.3.0
adafruit/Adafruit NeoPixel@^1.11.0
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
build_flags =
!python scripts/git_rev.py
-DLAST_BUILD_TIME=$UNIX_TIME
2023-06-10 21:23:31 +02:00
-D IS_S3
-D IS_BW
# -D CONFIG_FREERTOS_USE_TRACE_FACILITY
2023-06-10 21:23:31 +02:00
-D WITH_RGB_LED
-D NEOPIXEL_COUNT=4
-DASYNCWEBSERVER_REGEX
-D WITH_BUTTONS
2023-06-10 21:23:31 +02:00
-D ARDUINO_USB_CDC_ON_BOOT
-D HOSTNAME="\"btclock3\""
-mfix-esp32-psram-cache-issue
2023-11-04 13:35:07 +01:00
-fexceptions
-DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS
build_unflags = -fno-exceptions
2023-06-10 21:23:31 +02:00
zinggjm/GxEPD2@^1.5.2
2023-10-30 23:17:37 +01:00
[env:esp32wemos-s3-mini_BW]
extends = esp32wemos-s3-mini_BW_base
2023-06-10 21:23:31 +02:00
build_flags =
2023-10-30 23:17:37 +01:00
${esp32wemos-s3-mini_BW_base.build_flags}
https://github.com/dsbaars/GxEPD2#universal_pin
https://github.com/dsbaars/universal_pin
-DUSE_UNIVERSAL_PIN
2023-10-30 23:17:37 +01:00
-D NUM_SCREENS=7
lib_deps =
${esp32wemos-s3-mini_BW_base.lib_deps}
2023-06-10 21:23:31 +02:00
2023-10-30 23:17:37 +01:00
[env:esp32wemos-s3-mini_BW_9disp]
extends = esp32wemos-s3-mini_BW_base
build_flags =
2023-10-30 23:17:37 +01:00
${esp32wemos-s3-mini_BW_base.build_flags}
-D NUM_SCREENS=9
[env:default]
extends = esp32wemos-s3-mini_BW_base
build_flags =
${esp32wemos-s3-mini_BW_base.build_flags}
-D NUM_SCREENS=7
lib_deps =
${esp32wemos-s3-mini_BW_base.lib_deps}
zinggjm/GxEPD2@^1.5.2