Programming LinkIt One in Linux (no WiNE)




Introduction: Programming LinkIt One in Linux (no WiNE)

In one of my previous instructable, I showed how to use Arduino IDE in linux to program LinkIt One. But that solution required installation of WiNE to run PackTag tool. Recently Seedstudio has provided an open source python implementation of PackTag binary in one of their RePhone repository.

In this instructable, i will show how to use this to program your LinkIt One in Linux.

Advantages are

  1. Much faster than previous solution
  2. No WiNE installation required

Things Required

  1. LinkIt One
  2. Working internet connection

Step 1: Get

This assumes you have completed Step.1 of previous instructable.

Now follow these steps

  1. Download and save it in your computer. (Dono't rename this file)
  2. Place downloaded file at "


  3. Open terminal, navigate to this folder and execute "chmod +x"

Step 2: Get Modified Platform.txt

You also have to use a different platform.txt file.

  1. Download attached 'platform.txt' and save. (Do not rename)
  2. Goto '

    /home/vish/.arduino15/packages/LinkItOneLinuxArduino/hardware/arm/1.1.17' and paste this new 'platform.txt' (replace existing platform.txt with this)

  3. Restart your arduino IDE if it's already running.

Step 3: Let's Sketch Something New ;)

Now you can follow Step 4 and Step 5 of previous instructable

In short, select you linkit one board in Boards list and generate 'app.vxp'

For uploading, connect LinkIt One in 'MS' mode, copy the 'app.vxp' to 'MRE' folder

And yayyy..!!! You are ready to rock!

Happy making,


Tech Contest

Participated in the
Tech Contest

Be the First to Share


    • Fabric Challenge

      Fabric Challenge
    • First Time Author Contest

      First Time Author Contest
    • Sculpt & Carve Challenge

      Sculpt & Carve Challenge



    6 years ago


    I achieved compiling the Blink program but when I move it to the board it doesn't seem to execute. What may I have done wrong? I changed the autostart.txt..



    6 years ago

    I was able to make blink work, but when I tried others (anything that includes other code), then I get errors. I was able to find others having this problem, and modified the platform.txt, and now I have different errors.

    I have installed arduino 1.6.5, 1.6.6 and 1.6.7 hoping that the current version would solve the problem, but they all have the same problems.

    With the platform.txt file you provide, I get error messages that say falal error, no such file or directory. When I change it like it said on a webpage
    This link goes to the page with the modifications to the platform.txt file.

    Now I get a different message that say things like

    error: 'Wire1' was not declared in this scope

    #define WIRE Wire1

    and another message that says note: in expansion of macro 'WIRE'

    (that sketch includes wire.h)

    This sketch used to run just fine on a nano, after adding doing this procedure, it now gives a bunch of warnings when compiling for nano, but it does seem to compile, I havnt tried the program to see if it still works because Ive changed the hardware to work on the linkit one.

    With the modifications to the platform.txt file, I still get the warning about deprecated recipe, but it compiles blink for linkit, and for nano without errors (just the warning when I compile for linkit.)

    When I compile more complex programs that include other files, I get errors about expansion of macro, and not declared this scope. with Linkit, and with nano, I get some other warnings that look like they are related to problems with variables.

    Jared Salazar
    Jared Salazar

    6 years ago

    Thanks for this tutorial. Now, i don't need to do programming on VM. This help me a lot. Is there an update on this? how about the push tool?


    Reply 6 years ago

    I have no update on push tool. PushTool is written in .NET framework. Ideally we should be able to run in in linux using Mono. But a bug related to loading bigger Icons in Mono is crashing the program on startup itself.


    Reply 6 years ago

    Vish, at compiling, the IDE looks for in this folder:


    ...instead of the one you named in the tutorial.

    I copied the file into the folder where it was expected and it all works.