1. Clone all files of the respository to your local working directory
2. Install the missing libraries
There are two possibilities - either using the Library Manager of PlatformIO or the command line tool:
Press the PlatformIO HOME Button to enter the Home Screen and there the Libraries Button to add missing libraries.
Search and install the following libaries:
- RadioHead
- TinyGPSPlus
- DHT sensor library for ESPx
- Adafruit SSD1306
- Adafruit GFX Library
- Adafruit BusIO
- Adafruit Unified Sensor
- https://github.com/SQ9MDD/AXP202X_Library.git (AXP202X_Library)
- OneWire
- DallasTemperature
- SparkFun u-blox Arduino Library
- blanchon/ArduinoJson
- arcao/Syslog
If you issue
~/.platformio/penv/bin/pio run
It should resolve all dependencies automaticaly, thanks to the definitions in the section "lib_deps =".
You could (but not need to) install the libraries by hand:
platformio lib install "<library name>“
Check that the platformio.ini is available as it holds the board type for PlatformIO.
- GUI: After pressing the check mark the code will be compiled, after pressing the arrow it will be compiled and uploaded to a connected TTGO.
- platformio-cli: ~/.platformio/penv/bin/pio run -e ttgo-t-beam-v1.0 -t upload --upload-port /dev/cu.SLAB_USBtoUART