Watchy/platformio.ini

63 lines
1.5 KiB
INI
Raw Normal View History

; 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
;erase flash before upload:
;upload_flags = --erase-all
;upload speed:
upload_speed = 115200
;upload port (put yours here):
upload_port = COM7
2024-07-22 01:47:15 -04:00
monitor_port = COM7
;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
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]
; 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-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
extends = env:base
2024-07-22 01:47:15 -04:00
board = watchy
build_flags = -DARDUINO_WATCHY_V10