I’ve bought a TTGO T-BEAM 868[MHz] board and I tried to flash the official GitHub code (GitHub - LilyGO/TTGO-T-Beam) on it using PlatformIO.
The TTGO T-BEAM is registred among the supported boards by PlatformIO and I downloaded the ESP-IDF framework as requested. What is the proper way to flash the code on the board ?
The GitHub code is made of .ino files so there is no main.cpp to build the code.
Did I miss something about .ino files in PlatformIO ? I get the following error when building :
Error: Nothing to build. Please put your source code files to ‘C:\Users\Francois\Desktop\TTGO-BEAM\src’ folder
The firmware you linked uses arduino, not ESP-IDF. You can see that because it has setup() and loop() functions.
Place the .ino and .h files into the src/ folder. PIO should be able to build the INO file without modifications. Of course, you can manually convert it, too, as seen in the FAQ.
Do I consider the code has been uploaded on the TTGO TBEAM board already, or do I need to enter another command for this ? (I’m sorry if it’s an obvious question, I’m quite new to PlatformIO)