-
Notifications
You must be signed in to change notification settings - Fork 0
Start with PlatformIO
Igor Usenko edited this page Aug 15, 2021
·
3 revisions
- click
+NewProject
- set project name
- choose board
ttgo t-watch
- choose framework
arduino
- choose directory
- copy this to the
platformio.ini
[env:ttgo-t-watch]
platform = espressif32
monitor_filters = default, esp32_exception_decoder
board = ttgo-t-watch
framework = arduino
build_flags =
;-D LILYGO_WATCH_2019_WITH_TOUCH=1
;-D LILYGO_WATCH_2019_NO_TOUCH=1
-D LILYGO_WATCH_2020_V3=1
lib_deps =
TTGO TWatch Library
upload_speed = 2000000
upload_port=/dev/ttyUSB5
monitor_speed = 115200
[env:native]
platform = native
!!! Only one project directory should be open. If you see workspace in PlatformIO some commands are not working. IDKW