TinyOS Study Notes 2

Source: Internet
Author: User
TinyOS Study Notes 22010.8.33. Test TinyOS Toosimmakemicazsim prompt not found python2.5 view native python version, my version is 2.6 enter opttinyos-2.1.1supportmakesim.extra modify python version PYTHON_VERSION2.6 re makemicazsim prompt ***

TinyOS Study Notes 2 2010.8.3 3. test Toosim make micaz sim in TinyOS prompts that python2.5 cannot be found to view the python version of the local machine, and my version is 2.6 to enter/opt/tinyos-2.1.1/support/make/sim. extra modify python version PYTHON_VERSION = 2.6 re-make micazsim prompt ***

TinyOS Study Notes 2

2010.8.3

3. Test Toosim in TinyOS

Make micaz sim

The error message "python2.5" is not found.

View the python version of the Local Machine. My version is 2.6.

Go to/opt/tinyos-2.1.1/support/make/sim. extra

Modify python version PYTHON_VERSION = 2.6

Re-make micazsim

The *** Successfullybuilt micaz TOSSIM library is prompted. You can run tossim.

4. Install Eclipse and TinyOS IDE-Yeti2

1) download and decompress Eclipse

Eclipse: Create a starter on the desktop and connect to Eclipse.

2) Reference http://tos-ide.ethz.ch/wiki/index.php

Help-> Install New Software

3) Click Add, Name: Yeti2, location: http://tos-ide.ethz.ch/update/site.xml

4) next, waiting for updates

5) Select the following to install

6) install Graphical Editing Framework

If the following error occurs:

Cannot complete the install because one or more required items cocould not be found.
Software being installed: Yeti 2-TinyOS Debugger (optional) 1.2.18 (tinyos. yeti. debugger. feature. group 1.2.18)
Missing requirement: Yeti 2-TinyOS Debugger (optional) 1.2.18 (tinyos. yeti. debugger. feature. group 1.2.18) requires 'org. eclipse. cdt. debug. core 0.0.0 'but it cocould not be found

Decompress the package during Eclipse installation. As a result, some files are not correctly installed. Uninstall Eclipse and reinstall it. Note that the package is decompressed first and then copied to the corresponding directory (errors occurred when using tar ), solve the problem by installing again.


7) after installation, set Environment Variables

Window-> Preferences-> TinyOS-> Environments

Check the directories and click Apply. OK. The settings are complete.

8) Check the installation of TinyOS

TinyOS-> CheckInstallation (you need to create a new TinyOS project to obtain this option, next to the upper Window)

My return value: Done

Errors: 0

Warnings: 1

Warning:

Test: Environment variables

Description: Compare the environment variables known toEclipse with the variables known to the shell

Environment variables differ, this can lead to failureswhen compiling or debugging an application.

CLASSPATH:

Eclipse =''

Shell = ':/opt/tinyos-2.1.1/support/sdk/Java'

LESSCLOSE:

Eclipse =''

Shell = '/usr/bin/lesspipe % s % s'

LESSOPEN:

Eclipse =''

Shell = '|/usr/bin/lesspipe % s'

LS_COLORS:

Eclipse =''

Shell =''

MAKERULES:

Eclipse =''

Shell = '/opt/tinyos-2.1.1/support/make/Makerules'

TOSDIR:

Eclipse =''

Shell = '/opt/tinyos-2.1.1/tos'

TOSROOT:

Eclipse =''

Shell = '/opt/tinyos-2.1.1'

Status: warning

Message: Not all environment variables are thesame

Warning not resolved !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.