Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« on: March 02, 2013, 08:18:51 am » |
Why bother to make this utility as the Arduino IDE can do everything?- Sometimes, we only want to compile a pre-written sketch and upload it to Arduino. Normally we do this with Arduino IDE, but it’s not the best experience.
- Sometimes, we just want to burn bootloader in HEX file for a board. There are many GUIs to AVRDUDE out there for doing this. But many of them are out-dated and do not handle for Leonardo (ATMega32U4 based), not mentioning they are just GUIs to AVRDUDE which can’t compile.
- Arduino IDE forces sketch file name to be located in a directory of the same name and this is not handy sometimes.
- Arduino IDE does not properly handle library files which reside in the same directory. When there is a duplicated version in IDE's libraries directory, compilation fails.
That's why I made this utility, simple, straight-forward and trying to have a sleek look, and to feel better when compiling a sketch and programming Arduino. Links   IntroArduino Builder is a fully standalone utility for viewing, compiling and uploading Arduino sketch file and compiled ELF or HEX file (usually bootloader) to Arduino board with Arduino serial programming interface, USBasp or Arduino ISP, without the need for Arduino IDE. This can be easily done with no more than 3 steps. When compiling is required (for uploading sketch file), the utility scans the sketch for referenced libraries and build the necessary libraries automatically. Arduino Builders comes in GUI (graphic user interface) version, for normal end users, and CLI (command line interface) version, named Arduino Uploader, for integrating into 3rd-party applications. A real case is Mind+, the Arduino graphical programming environment. The distribution package contains Arduino 1.0.4 core and library files, AVR GCC compiler toolchain and AVRDUDE. As only the standard Arduino libraries are shipped with the utility, in order to build with custom libraries, please place the library source code files (with identical directory name) in <install dir>/arduino/libraries directory, as what is done with official Arduino IDE.
|
|
|
|
« Last Edit: March 23, 2013, 11:03:56 am by stanleyhuang »
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #1 on: March 02, 2013, 10:39:34 am » |
Looks like quite an effort, thanks for the contribution I will check it out. However it does not (nor can it) deal with my pet peeve that the arduino IDE no longer stores a compiled sketch's hex file into the users sketch folder as it did long ago in much earlier versions. It's a real pain to search out the temp directory for the strange file names it uses and to then store them away somewhere useful for future use. What procedure or steps do you use to handle your hex file storage?
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #2 on: March 02, 2013, 11:28:41 am » |
With my utility, compiled hex is always stored in the same directory of the sketch.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #3 on: March 02, 2013, 11:34:54 am » |
With my utility, compiled hex is always stored in the same directory of the sketch.
Wow, nice. That feature alone is worth using your utility. Can your utility do a compile without a upload, much like the IDE has a verify option that just compiles a sketch without having to have the board attached? Lefty
|
|
|
|
« Last Edit: March 02, 2013, 11:36:46 am by retrolefty »
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #4 on: March 02, 2013, 11:47:29 am » |
The CLI can do this, simply by specifying - for serial port option in the command line. I will add this feature to GUI soon.
|
|
|
|
« Last Edit: March 02, 2013, 11:49:38 am by stanleyhuang »
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #5 on: March 04, 2013, 06:12:57 am » |
Just released 0.6.1. In this revision, I added a "Build Only" button to do compiling only. A pie chart UI was also added to show memory consumption for target MCU.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #6 on: March 04, 2013, 09:23:11 am » |
I'm having trouble getting your application to run on my windows XP SP3 system.
Version 6.1 opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover.
Version 6.0 Opening file explorer and click on ....GUI.exe , I get opening window of your GUI app. Select Uno board and point to a arduino sketch .ino file and then click on comm 5 (my uno board's comm port) and GUI says error uploading.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Norfolk UK
Offline
Edison Member
Karma: 23
Posts: 1313
|
 |
« Reply #7 on: March 04, 2013, 09:37:04 am » |
I'm having trouble getting your application to run on my windows XP SP3 system.
Version 6.1 opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover. Instead of re-booting, open Task Manager and 'End Process' on explorer.exe. Then from within Task Manager do File->New Task and type explorer.exe and hit okay. Should be quicker than re-booting.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #8 on: March 04, 2013, 09:57:32 am » |
I'm having trouble getting your application to run on my windows XP SP3 system.
Version 6.1 opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover. Instead of re-booting, open Task Manager and 'End Process' on explorer.exe. Then from within Task Manager do File->New Task and type explorer.exe and hit okay. Should be quicker than re-booting. When I try to End Process on explorer.exe (not responding) task manger kills it and then shows a new copy of explorer.exe starting and it also is not responding. As I said rebooting was the only way to get going again. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #9 on: March 04, 2013, 12:14:53 pm » |
I will test it on XP soon. It runs quite well in Windows 7.
|
|
|
|
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #10 on: March 05, 2013, 05:44:11 am » |
Version 0.6.2 is released. The new version fixed several issues and works well Windows XP.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #11 on: March 05, 2013, 12:08:37 pm » |
Version 0.6.2 is released. The new version fixed several issues and works well Windows XP.
Thank you very much, I will give it a try sometime later today. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15295
Measurement changes behavior
|
 |
« Reply #12 on: March 05, 2013, 12:25:56 pm » |
Well I gave it a try and it's still a no go. Lock's up file explorer and can only reboot to recover. Maybe it's my machine, so best to have someone else with an XP report if it works for them or not.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #13 on: March 06, 2013, 03:30:12 am » |
I tested in on Windows XP in VM. What's your IE version? Is it 6.0? The UI (including the pie chart) is HTML based as I plan to port it to other OS than Windows.
|
|
|
|
|
Logged
|
|
|
|
|
Sydney
Offline
Jr. Member
Karma: 1
Posts: 90
|
 |
« Reply #14 on: March 16, 2013, 10:18:06 pm » |
The new release of 0.7.0 has added options for MCU operating frequency including 20Mhz, 16Mhz, 12Mhz and 8Mhz. An interesting Arduino variant (based on ATMega644pa) named Microduino+ is also supported in this version. 
|
|
|
|
|
Logged
|
|
|
|
|
|