在使用有關AD的System.DirectoryServices前
要先到專案-加入參考
新增System.DirectoryServices
才可以使用
2010年4月18日 星期日
2010年3月18日 星期四
Use sentilla tmote mini on windows cygwin with Tinyos 2.1
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
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
訂閱:
文章 (Atom)