Good afternoon.
Can you please tell me how can I compile a dozen or two dozen PlatformIO projects at once, one after the other, without having to load them into VSCode?
Now I already have many projects for ESP32 + ESP-IDF written with PlatformIO. All of them use my own libraries. When making even tiny changes to one of the libraries, it becomes necessary to recompile all projects.
The trouble is that PlatformIO is just very terribly terribly terribly very, very, very slow. Even on Core i7 and SSD. After opening the workspace, it takes about 5 minutes to load tasks, update indexes and other garbage.
As a result, the manual recompilation process looks like this:
- Open project 1
- Let’s go drink tea for 10 minutes
- Compile (5 more minutes)
- Upload the file to FTP (well, it’s easy and simple to do with a batch file)
- Open project 2… repeat steps 1-4.
As a result, the whole process takes a couple of evenings and there is a strong desire to curse the PIO developers.
QUESTION FOR THE EXPERTS:
How to automate this process using a batch file, preferably without opening VSCode at all. That is, I need to create such a bat, which, when given the project directory, would collect it. And I can send it to FTP.