-
-
Notifications
You must be signed in to change notification settings - Fork 7k
CLI Suggestion : Export compiled binary #6931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is an "Export Compiled Binary" in the "Sketch" menu. Is that what you mean? |
Sorry @matthijskooijman it is about CLI, command line arduino options. I'll edit my post for clarification |
Just as an usage example, one line to compile and export binary from a sketch
|
Did you get this to work? |
@andrethomas no. in fact I was meaning a new parameter in Arduino CLI to be able to export a binary compiled file via command line. This is an improvement suggestion. |
Oh ok, I already do that with platformio but wanted to do it with arduino - somehow the linking scripts work different for the esp |
~/arduino/arduino -v --board esp8266:esp8266:d1_mini:CpuFrequency=80,FlashSize=4M1M --verify sketch.ino --preserve-temp-files --pref build.path=/build/ Causes the .bin file to be in the /build/ folder specified so there's a way to do it I guess |
Thanks You for the solution.
|
Thanks for the suggestion. Since this issue was created, https://github.com/arduino/arduino-cli was created, which will be the backend for the java IDE as well in the future. Since that offers a much more complete CLI interface, I expect that the java IDE commandline interface will become deprecated at some point, and will likely not be developed any further. For that reason, I'm going to close this as wontfix. As for this particular request, I suspect |
Actually it's the opposite: To be precise until |
Thanks for pointing out. |
In Arduino command line interface
It would be great to have a parameter that compiles and export compiled binary only.
Example of usefulness: inside Arduino IDE the max baud rate I can upload a sketch to ESP8266 is 115200 and using esptool.py I can upload using baud 3000000.
Thank you
The text was updated successfully, but these errors were encountered: