一、contiki2.5環境搭建
Win7+虛擬機(VMware-player-4.0.3-703057.exe)+ InstantContiki2.5_Ubuntu12.04.zip
1、contiki資料網站
http://sourceforge.net/apps/mediawiki/contiki/index.php
2、InstantContiki2.5_Ubuntu12.04.zip下載
http://sourceforge.net/projects/contiki/files/Instant%20Contiki/Instant%20Contiki%202.5/
3.虛擬機環境運行
ubuntu初始密碼user
4.hello world運行
1)進入/home/user/contiki/examples/hello-world
2)輸入make回車後編譯生成hello-world.native
contiki-native.a hello-world-example.csc obj_cooja README
contiki-native.map hello-world.native obj_native symbols.c
hello-world.c Makefile obj_sky symbols.h
3)運行hello-world.native
user@ubuntu:~/contiki/examples/hello-world$./hello-world.native
Contiki-2.5-release-532-gc1b3183 started
Rime started with address 2.1
MAC nullmac RDC nullrdc NETWORK Rime
Hello, world
5.cooja
1)進入/home/user/contiki/tools/cooja
2)ant run