From 0bdc5615465a0d7be2660a477a1c80750e1b3251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C3=ADas=20A=2E=20Angulo=20Klein?= Date: Mon, 22 Jul 2024 07:47:15 +0200 Subject: [PATCH] Update platformio.ini --- platformio.ini | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/platformio.ini b/platformio.ini index 441f7d8..3dcd989 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,14 +13,18 @@ platform = espressif32@6.7.0 framework = arduino ;CDC enabled on boot: -build_flags = -DCDC_ENABLED +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 -;upload_port = /dev/ttyACM0 for linux +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 = @@ -33,15 +37,26 @@ lib_deps = https://github.com/tzapu/WiFiManager.git#master -[env:esp32-s3-devkitc-1] +[env:v3_0] ; This is for v3 extends = env:base board = esp32-s3-devkitc-1 -board_build.mcu = esp32s3 -framework = arduino +build_flags = -DARDUINO_ESP32S3_DEV -[env:esp32-pico-devkitm-2] -; This is for v1, v1.5, v2 +[env:v2_0] +; This is for v3 extends = env:base -board = esp32-pico-devkitm-2 -framework = arduino \ No newline at end of file +board = watchy +build_flags = -DARDUINO_WATCHY_V20 + +[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 +board = watchy +build_flags = -DARDUINO_WATCHY_V10