Closed alorbach closed 3 years ago
You should really consider using arduino-cli instead. It's much more powerful and actively maintained :)
I played arround with arduino-cli but it is impossible to get my sketch running there. arduino-cli is not finding esp32 internal libraries. However after playing arround for 3-4 hours, I got back to arduino-builder and out of the sudden, it creates a correct build now ... o.O I don't have to understand this ...
@alorbach
if it works in Arduino Builder it must work in arduino-cli
at the moment it does not, it appears to be a problem if you have more than 1 location for third party libraries which I have.
Hi,
I am building an esp32 project within the Arduino IDE on Windows for ESP32. I am using the exact same command line parameters that the Arduino IDE puts into "arduino-builder.exe" manually in a batch script. However the outcome of the compiled binary is different.
This is the command line generated by Arudino IDE:
This is the command line used in my batch script
However the result is different, when I compile it using my batch script, important preprocessor variables are missing which results in a build missing PSRAM support for example.
And I don't understand why this is not working, I am using the exact same command line parameters as Arduino IDE is using. Yet the result is that the