Xinyuan-LilyGO / TTGO_TWatch_Library

MIT License
902 stars 289 forks source link

platformio.ini config file #238

Open JpEncausse opened 6 months ago

JpEncausse commented 6 months ago

I'd like to run this project and exemples with Platform.io like other Lilygo projects (I see some issues related to this topic). Can you add an official platformio.ini to this repository in order to be able to run exemples ? What is the factory exemple ?

I tried

[platformio]
src_dir = examples/BasicUnit/Motor

[env]
monitor_speed = 115200

[env:ttgo-t-watch]
platform = espressif32
framework = arduino
board = ttgo-t-watch

build_flags =
  -DBOARD_HAS_PSRAM
  -DARDUINO_USB_CDC_ON_BOOT=1

lib_deps =
  TTGO TWatch Library

I uncomment #define LILYGO_WATCH_2020_V3 But I got error LilyGoWatch.h: No such file or directory for instance