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.
- Much faster than previous solution
- No WiNE installation required
- LinkIt One
- Working internet connection
Step 1: Get Pushtag.py
This assumes you have completed Step.1 of previous instructable.
Now follow these steps
- Download packtag.py and save it in your computer. (Dono't rename this file)
- Place downloaded file at "
- Open terminal, navigate to this folder and execute "chmod +x packtag.py"
Step 2: Get Modified Platform.txt
You also have to use a different platform.txt file.
- Download attached 'platform.txt' and save. (Do not rename)
- Goto '
/home/vish/.arduino15/packages/LinkItOneLinuxArduino/hardware/arm/1.1.17' and paste this new 'platform.txt' (replace existing platform.txt with this)
- 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!