I’ve been poking around in my batch tool, and have been pushing what you can do in the Processing IDE‘s add-on tool framework (turns out, not that much that’s every interesting without doing some fun Java hackery!).
With some slightly fancy trickery, the Arduino Editor now looks like this:
Stress testing the Arduino Batch Tool
Yes, this is all loaded from an addon tool – not a rewrite of the IDE, not a custom build, just the stock editor with a single jar loaded from ~/sketchbook/tools and enabled in the menu.
Thus far, additions include:
- A tabbed script console
- Multiple target boards are configurable (for single-button-flash-everything functionality)
- Multiple serial ports can be opened in their own tabs at the same time (and auto close and reopen during flash operations)
Non-visible additions include a partially implemented preferences dialog, and mutli-sketch multi-device support (flashing device A with sketch 1, flash device B with sketch 2, C with 1, etc. all from one button press, once configured).
I’ll be updating the download on the Arduino Batch Flashing Tool page once I’m sure the tool is fairly stable.
If anyone uses this, I’d love to hear from you, especially those on Windows or Mac, as I’ve only tested this under Linux, but it should work on anything the Arduino IDE works on, as it doesn’t use any special binaries.