Hi All,
I guess I'm able to get it running with telosb.
bash-3.2$ make telosb
sh: sha1sum: command not found
sh: sha1sum: command not found
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
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=\"sameer\" -DIDENT_HOSTNAME=\"Macintosh-10.lo\"
-DIDENT_USERHASH=0L -DIDENT_TIMESTAMP=0x47e710f2L -DIDENT_UIDHASH=0L
BlinkAppC.nc -lm
compiled BlinkAppC to build/telosb/main.exe
2656 bytes in ROM
55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
However, running with micaz/2 gives me following error. Any help on this
would be great.
bash-3.2$ make micaz
sh: sha1sum: command not found
sh: sha1sum: command not found
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz
-fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22
--param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"sameer\" -DIDENT_HOSTNAME=\"Macintosh-10.lo\"
-DIDENT_USERHASH=0L -DIDENT_TIMESTAMP=0x47e71151L -DIDENT_UIDHASH=0L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /opt/local/stow/nesc-1.2.9
/lib/ncc/nesc_nx.h
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /Users/sameer/tinyos-2.x
/tos/system/tos.h
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /Users/sameer/tinyos-2.x
/tos/system/TinySchedulerC.nc
<commandline>: Scheduler `TinySchedulerC' has no scheduling interface named
`TaskBasic'
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess BlinkAppC.nc
make: *** [exe0] Error 1
On Fri, Mar 21, 2008 at 5:36 PM, Kevin Klues <[EMAIL PROTECTED]> wrote:
> When did you follow these instructions. It appears you may have
> followed an older version of them since the updated version doesn't
> have you replace the nesc-separator the same way.
>
> Kevin
>
> On Fri, Mar 21, 2008 at 5:22 PM, ST <[EMAIL PROTECTED]> wrote:
> >
> > I followed the following to get TinyOS on Intel-based Mac.
> >
> http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_%28Tiger_%26_Leopard%29
> >
> > I did install both msp430-tools-i686 and avr-tools-i686.
> >
> > When I do make telosb, it succeeds with these messages:
> > make telosb
> > mkdir -p build/telosb
> > compiling BlinkAppC to a telosb binary
> > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> > -fnesc-cfile=build/telosb/app.c -board= BlinkAppC.nc -lm
> > compiled BlinkAppC to build/telosb/main.exe
> > 2618 bytes in ROM
> > 55 bytes in RAM
> > msp430-objcopy --output-target=ihex build/telosb/main.exe
> > build/telosb/main.ihex
> > writing TOS image
> >
> >
> > However, for mica2 or micaz, I get the following error and any help on
> this
> > would be great.
> >
> > make micaz
> > mkdir -p build/micaz
> > compiling BlinkAppC to a micaz binary
> > ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
> > -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> > -fnesc-separator=\never1096Writ
> > E -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> > -fnesc-dump='referenced(interfacedefs, components)'
> > -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
> > avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
> > <commandline>: failed to preprocess
> > /opt/local/stow/nesc-1.2.9/lib/ncc/nesc_nx.h
> > avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
> > <commandline>: failed to preprocess
> > /Users/sameer/tinyos-2.x/tos/system/tos.h
> > avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
> > <commandline>: failed to preprocess
> > /Users/sameer/tinyos-2.x/tos/system/TinySchedulerC.nc
> > <commandline>: Scheduler `TinySchedulerC' has no scheduling interface
> named
> > `TaskBasic'
> > avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
> > <commandline>: failed to preprocess BlinkAppC.nc
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> ~Kevin
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help