First install Tinyos 2.1
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_with_RPMs
Second,if you have moteiv-tools for cygwin,install it
'rpm -Uvh moteiv-tools*.rpm'
Next,edit /opt/tinyos-2.x/support/make/telosb.target or create a new target profile
change 'MSP_BSL ?= tos-bsl' to 'MSP_BSL ?= /usr/local/bin/tmote-bsl.exe'
Last,edit /opt/tinyos-2.x/support/make/msp/bsl.extra
change 'BSL = $(shell motelist -c | perl -e '<> =~ /^[^,]+,(\S+?(\d+)[^,]*)/; ($$s,$$n)=($$1,$$2); if($$s=~/^com/i) { print $$n-1 } else { print $$s; };' )'
to 'BSL = $(shell motelist -c | cut -d, -f2 )'
Now you can compile and download Tinyos 2.1's programs into sentilla tmote mini
沒有留言:
張貼留言