Skip to content

Start with PlatformIO

Igor Usenko edited this page Aug 15, 2021 · 3 revisions
  1. click +NewProject
  2. set project name
  3. choose board ttgo t-watch
  4. choose framework arduino
  5. choose directory
  6. 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

Clone this wiki locally