btclock_v2/platformio.ini

108 lines
2.7 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
2023-06-10 21:23:31 +02:00
lib_deps =
bblanchon/ArduinoJson@^6.21.2
fbiego/ESP32Time@^2.0.1
2023-10-30 22:41:22 +01:00
https://github.com/dsbaars/GxEPD2#universal_pin
https://github.com/dsbaars/universal_pin
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
[env:esp32doit-devkit-v1]
board = esp32doit-devkit-v1
board_build.partitions = partition.csv
build_flags =
-D IS_BW
-D NO_MCP
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
-D ASYNCWEBSERVER_REGEX
-D CONFIG_ASYNC_TCP_PRIORITY=500
[env:esp32doit-devkit-v1_3C]
board = esp32doit-devkit-v1
board_build.partitions = partition.csv
build_flags =
-D IS_3C
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
[env:esp32wemos-s3-mini_BW]
platform = espressif32
framework = arduino
board = lolin_s3_mini
board_build.partitions = partition.csv
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-06-10 21:23:31 +02:00
[env:esp32wemos-s3-mini_3C]
platform = espressif32
framework = arduino
board = lolin_s3_mini
board_build.partitions = partition.csv
build_flags =
-D NO_DISPLAY
2023-06-10 21:23:31 +02:00
-D IS_3C
-D IS_S3
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
-D WITH_RGB_LED
2023-06-10 22:26:09 +02:00
-D NEOPIXEL_COUNT=4
2023-06-10 21:23:31 +02:00
-D WITH_BUTTONS
2023-06-10 22:26:09 +02:00
-DASYNCWEBSERVER_REGEX
2023-06-10 21:23:31 +02:00
-D HOSTNAME="\"btclock3c\""
-D CONFIG_ASYNC_TCP_PRIORITY=500
[env:esp32doit-devkit-v1_nodisp]
board = esp32doit-devkit-v1
board_build.partitions = partition.csv
build_flags =
-D NO_DISPLAY
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
[env:esp32_s3_devkit]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.partitions = partition.csv
;upload_protocol = esp-builtin
build_flags =
-D NO_DISPLAY
-D NO_MCP
-D IS_BW
-D WITH_RGB_LED
-D NEOPIXEL_COUNT=1
-D NEOPIXEL_PIN=38
-D CONFIG_ASYNC_TCP_PRIORITY=500
-DASYNCWEBSERVER_REGEX
-D HOSTNAME="\"btclocks3d\""