Changes between Version 3 and Version 4 of Old/TinyOS/How


Ignore:
Timestamp:
Feb 18, 2009, 11:09:45 PM (15 years ago)
Author:
shweta
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/TinyOS/How

    v3 v4  
    2121
    2222For example:
    23 To compile Blink, go the apps/Blink directory and depending on the hardware,(orbit has telosb motes) type make telosb.
     23To compile the Orbit traffic generator written for tinyos follow these steps
     24
     25node1-2:cd /opt/tinyos-2.1.0/apps/OrbitMain
     26node1-2: make telosb install,[id] bsl,/dev/ttyUSB0
    2427
    2528The output looks like
    2629
    2730    {{{
    28 node1-2:/opt/tinyos-2.1.0/apps/Blink# make telosb
     31node1-2:/opt/tinyos-2.1.0/apps/OrbitMain# make telosb
    2932mkdir -p build/telosb
    30     compiling BlinkAppC to a telosb binary
    31 ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"node1-2.sb7.orb\" -DIDENT_USERHASH=0xabf5e143L -DIDENT_TIMESTAMP=0x495155d8L -DIDENT_UIDHASH=0xde29f8c9L  BlinkAppC.nc -lm
    32     compiled BlinkAppC to build/telosb/main.exe
     33    compiling OrbitMainC to a telosb binary
     34ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"node1-2.sb7.orb\" -DIDENT_USERHASH=0xabf5e143L -DIDENT_TIMESTAMP=0x495155d8L -DIDENT_UIDHASH=0xde29f8c9L  OrbitMainC.nc -lm
     35    compiled OrbitMainC to build/telosb/main.exe
    3336            2650 bytes in ROM
    3437              55 bytes in RAM
    3538msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
    3639    writing TOS image
    37 node1-2:/opt/tinyos-2.1.0/apps/Blink#
    38 
     40.........
    3941    }}}
    4042