Eclipse and LinkIt SDK

Moderators: lily.li, violet, salmanfarisvp

Post Reply
User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Eclipse and LinkIt SDK

Post by loovee » Thu Feb 12, 2015 3:13 pm

Do you want to develop faster with LinkIt SDK or just sick and tired of the Arduino IDE?
I have fixed up the Eclipse Arduino plugin to work with LinkIt SDK!

There are a few steps to be made to get it working:

You need to download Arduino IDE 1.5.5r2 (not the one Mediatek says LinkIt supports) http://arduino.cc/download.php?f=/ardui ... indows.zip.

Download the ready bundled Eclipse with every thing from here for Win64 bit http://www.baeyens.it/eclipse/download/ ... -02.tar.gz or for Win32 bit http://www.baeyens.it/eclipse/download/ ... -02.tar.gz.

Or if you have an Eclipse IDE and you a familiar with it you can install the plugin from here as plugin site http://www.baeyens.it/eclipse/nightly, make sure you have CDT toolkit installed.

Download LinkIt SDK

Unzip / install the Arduino IDE at your favorite location (recommended not to use blanks in the path).
Install the LinkIt SDK and point out your Arduino installation.

Go to the folder "Arduino IDE installation path"\hardware\arduino\mtk and rename the platform.txt to platform.txt_org
And rename the platform_156.txt to platform.txt (the nice people at Mediatek have fixed support for this version to).

Unzip the win64.2014-11-26_02-06-02.tar.gz/win32.2014-11-26_02-06-02.tar.gz to some folder start arduinoEclipse.exe located in the root folder.

Go to the menu Window -> Preferences choose Arduino in the tree. Point out your Arduino IDE installation and hit Apply.
Expand C/C++ and choose File Types make sure the column Filename has an entry with *.ino and the description C++ Source File, if not you have to create one, just click New and fill in Pattern with *.ino and Type to C++ Source File.

Open the Arduino workspace and now you almost feel at home...

Create a new sketch, name it and hit Next >, select the boards.txt file hardware\arduino\mtk\boards.txt, select Board LinkIt ONE and select the com port you use.
Hit Finish.
Now you have a new project!
Make sure you have built your project before you upload, Eclipse don't do this for you.

If you want to find out more about the Eclipse Arduino plugin have a look here http://www.baeyens.it/eclipse/

If you have some issues please post in this thread and buggs are reported at https://github.com/jantje/arduino-eclipse-plugin

Good luck!


Note: Origin page here:
http://labs.mediatek.com/forums/posts/l ... BE39D9304C

Post Reply