Xinyuan-LilyGO / TTGO_TWatch_Library

MIT License
902 stars 289 forks source link

Instructions to use Arduino IDE on Mac OS X #50

Closed fcohen closed 4 years ago

fcohen commented 4 years ago

Are there instructions for developing on Arduino IDE on Mac OS X (Catalina)? I installed the TTGO_TWatch_Library and see under File -> Examples the TTGO examples are listed as INCOMPATIBLE. Also, I'm not sure what I should be doing to compile for ESP32? -Frank

Altron-2k20 commented 4 years ago

Have you installed the additional board definitions ? Menu Arduino -> Preferences -> Additional Boards Manager -> Insert the following URL: https://dl.espressif.com/dl/package_esp32_index.json

fcohen commented 4 years ago

Thank you, I got it to work! :-) Arduino IDE complains of INCOMPATIBLE examples until I 1) Installed the ESP32 dev tools, 2) Installed the ESP32 board definitions, 3) Updated the ESP32 board location in the Arduino IDE Preferences. And now I changed config.h for the Batman example, chose the TTGO T1 board from the Tools -> Board menu in IDE, selected the correct USB port, and clicked Upload. Thanks for your support.

fcohen commented 4 years ago

Does TTGO do custom product development? I need a watch product built to my designs, including adding GPS to the base design of the TWatch-2020. -Frank

lewisxhe commented 4 years ago

You need to choose T-Watch instead of T1. Their flash memory capacity is inconsistent. For customization, please contact LilyGo customer service.