2024-07-19 19:06:50 -04: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
|
|
|
|
|
|
|
|
|
|
|
|
[env:base]
|
|
|
|
platform = espressif32@6.7.0
|
|
|
|
framework = arduino
|
|
|
|
;CDC enabled on boot:
|
2024-07-22 01:47:15 -04:00
|
|
|
build_flags = -DCDC_ENABLED -DJTAG_ENABLED -DMSC_ENABLED
|
2024-07-19 19:06:50 -04:00
|
|
|
;erase flash before upload:
|
|
|
|
;upload_flags = --erase-all
|
|
|
|
;upload speed:
|
|
|
|
upload_speed = 115200
|
2024-07-22 02:33:27 -04:00
|
|
|
;build mode debug
|
|
|
|
build_type = debug
|
2024-07-19 19:06:50 -04:00
|
|
|
;upload port (put yours here):
|
2024-07-22 02:33:27 -04:00
|
|
|
;upload_port = COM7 ;for windows
|
|
|
|
;monitor_port = COM7 ;for windows
|
2024-07-22 01:47:15 -04:00
|
|
|
;upload_port = /dev/ttyACM0 ;for linux
|
|
|
|
;monitor_port = /dev/ttyACM0 ;for linux
|
|
|
|
;upload_port = /dev/cu.usbserial-0001 ;for mac
|
|
|
|
;monitor_port = /dev/cu.usbserial-0001 ;for mac
|
2024-07-19 19:06:50 -04:00
|
|
|
board_build.partitions = default_8MB.csv
|
|
|
|
monitor_speed = 115200
|
|
|
|
lib_deps =
|
|
|
|
Adafruit GFX Library
|
|
|
|
Arduino_JSON
|
|
|
|
DS3232RTC
|
|
|
|
NTPClient
|
|
|
|
https://github.com/orbitalair/Rtc_Pcf8563.git#master
|
|
|
|
https://github.com/ZinggJM/GxEPD2.git#master
|
|
|
|
https://github.com/tzapu/WiFiManager.git#master
|
|
|
|
|
|
|
|
|
2024-07-22 01:47:15 -04:00
|
|
|
[env:v3_0]
|
2024-07-19 19:06:50 -04:00
|
|
|
; This is for v3
|
|
|
|
extends = env:base
|
|
|
|
board = esp32-s3-devkitc-1
|
2024-07-22 01:47:15 -04:00
|
|
|
build_flags = -DARDUINO_ESP32S3_DEV
|
|
|
|
|
|
|
|
[env:v2_0]
|
|
|
|
; This is for v3
|
|
|
|
extends = env:base
|
|
|
|
board = watchy
|
|
|
|
build_flags = -DARDUINO_WATCHY_V20
|
2024-07-19 19:06:50 -04:00
|
|
|
|
2024-07-22 01:47:15 -04:00
|
|
|
[env:v1_5]
|
|
|
|
; This is for v3
|
|
|
|
extends = env:base
|
|
|
|
board = watchy
|
|
|
|
build_flags = -DARDUINO_WATCHY_V15
|
|
|
|
|
|
|
|
[env:v1_0]
|
|
|
|
; This is for v3
|
2024-07-19 19:06:50 -04:00
|
|
|
extends = env:base
|
2024-07-22 01:47:15 -04:00
|
|
|
board = watchy
|
|
|
|
build_flags = -DARDUINO_WATCHY_V10
|