Deploying TinyOS on Ubuntu 10.10
来源:互联网 发布:lofter 域名 查ip 编辑:程序博客网 时间:2024/05/20 09:08
Thanks to http://blog.aguskurniawan.net/post/Deploying-TinyOS-on-Ubuntu-1010.aspx
Deploying TinyOS 2.1.1 on Ubuntu 11.10 x64
23. November 2011 15:23I have already installed and deployed TinyOS 2.1.1 on Ubuntu 11.10 x64 based on my previous article, check it onhttp://blog.aguskurniawan.net/post/Deploying-TinyOS-on-Ubuntu-1010.aspx .
You may got problem when you install on Ubuntu 11.10 x64 due to TinyOS repositories. You could update your TinyOS repositories as below
deb http://hinrg.cs.jhu.edu/tinyos karmic main
Deploying TinyOS on Ubuntu 10.10
29. October 2010 08:35TinyOS is an open source, BSD-licensed operating system designed for low-power wireless devices, such as those used in sensor networks, ubiquitious computing, personal area networks, smart buildings, and smart meters.
Now I’m going to share how to deploy TinyOS 2.1.1 @ Ubuntu 10.10 using repository.
Ubuntu Packages
Before installing, you should add TinyOS repository on repository source file. Run this script
$ sudo gedit /etc/apt/sources.list
Then you’re going to get a dialog as below
Put this two lines of script
#tinyOS
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu edgy main
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main
Save and close gedit application
TinyOS Installation
Now we’re going to install TinyOS on Ubuntu. Firstly, we update repository
$ sudo apt-get update
Run the following to install TinyOS 2.1.1
$ sudo apt-get install tinyos-2.1.1
Another option, you can check the latest of TinyOS using this script
$ sudo apt-get install tinyos
Then you’ll get the list of TinyOS version as below
After installation, we should update profile
$ gedit ~/.bashrc
Write this script in ~/.bashrc on the bottom of line script file
export TOSROOT=/opt/tinyos-2.1.1export TOSDIR=$TOSROOT/tosexport CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.:$CLASSPATHexport MAKERULES=$TOSROOT/support/make/Makerulesexport PATH=/opt/msp430/bin:$PATH#Sourcing the tinyos environment variable setup scriptsource /opt/tinyos-2.1.1/tinyos.sh
Installation Verification
After installation, we check that installation was success or not. Run this script on terminal console
$ tos-check-env
What’s Next?
Now, you can write a program for TinyOS using nesC. Next section, I’ll write how to configure development environment and to get started nesC programming.
- Deploying TinyOS on Ubuntu 10.10
- Deploying Rocket.Chat on Ubuntu
- Deploying Rocket.Chat on Ubuntu
- Installing TinyOS 2.1 on Ubuntu 9.10
- TinyOS-2.1.1 Installation on Ubuntu 12.04 and Hello World
- TinyOS 学习第一周-Ubuntu-10.10下安装TinyOS-2.1.1
- TinyOS install in Ubuntu
- ubuntu下安装tinyos
- ubuntu之TinyOS安装
- tinyos learning on day 3
- Deploying on Windows with DLL Manifest Issues
- Deploying Flex on WebSphere Application Server
- Deploying Fusion Order Demo on 11.1.1.6
- On-Designing-and-Deploying-Internet-Scale-Services
- On Designing and Deploying Internet-Scale Services
- Deploying Cloud Foundry on OpenStack using BOSH
- Tomcat hangs on Deploying web application directory
- Deploying ASP.NET MVC App On Azure
- 入口文件
- SoundFlower is not installed!
- How to Transfer Audio Output from Mac OS X to Ubuntu via a Network?
- 毕设的问题与解决(四)
- ASP.NET 4.0中安装在IIS6中最常遇到的四个的问题
- Deploying TinyOS on Ubuntu 10.10
- Greedy——HDOJ 1050
- TinyOS安装问题
- Java DB (Derby) 的使用(2)
- 网络蜘蛛-搜狐博客批量下载(之二)
- extjs DomQuery
- 动态SQL查询计划的几个问题
- 查看数据库的连接数
- 如何在MFC的SDI程序中实现多视图