Pages: [1]   Go Down
Author Topic: New Template for Kdevelop/CMake for Arduino 1.0  (Read 940 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay guys,
I just spent a few minutes fixing the old CMAKE templates so they'll work with Arduino 1.0+.
At the moment they only have a cmake file for Arduino MegaPro 2560, and Arduino UNO. All that is needed is to add your respective board in it's own cmake file.
The type of board can be found at:
/usr/share/arduino/hardware/arduino/variants
And the MCU type, well, that i will leave you to figure out. smiley-wink What's the fun in having all the answer?

Just add the bz2 template into:
/usr/local/share/apps/kdevappwizard/templates/
 to use it with KDevelop.
Happy hacking!

The template is attached to this post.

* arduinocmake.tar.bz2 (2.19 KB - downloaded 38 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Update:
Here's a much more updated, and functional version supporting more arduino board types and offering a correct cmake file that will now reflect your app name on the script libarduino.cmake
This one i use personally for my projects already, "Make flash" kicks ass . smiley

* libarduino.tar.bz2 (2.26 KB - downloaded 37 times.)
Logged

Pages: [1]   Go Up
Jump to: