On Fri, Sep 14, 2012 at 6:18 PM, Eric Decker <[email protected]> wrote:

>
> The clue is...
>
> *#warning "device type not defined"
> *
> not sure why but something is screwy with your environment variables or
> with your development tree.
>
> I notice you are compiling from ~/Documents/TINYOS/Simple which is clearly
> outside the tree.
>
> Have you tried compiling Blink for the iris?
>
> On Sat, Sep 15, 2012 at 6:04 PM, Aliaksandr Razumkou <[email protected]>wrote:
>
>> For some reason I can't compile for iris platform. This works for micaz
>> but not iris. I'm using Arch Linux. Has anybody seen it before?
>>
>> jb@amazing:~/Documents/TINYOS/Simple$ make iris
>> mkdir -p build/iris
>>      compiling SimpleAppC to a iris binary
>> ncc -o build/iris/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
>> -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb
>> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
>> -DIDENT_APPNAME=\"SimpleAppC\" -DIDENT_USERNAME=\"jb\"
>> -DIDENT_HOSTNAME=\"amazing\" -DIDENT_USERHASH=0x1b0348deL
>> -DIDENT_TIMESTAMP=0x50552470L -DIDENT_UIDHASH=0x971f40a4L
>> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
>> -fnesc-dump='referenced(interfacedefs, components)'
>> -fnesc-dumpfile=build/iris/wiring-check.xml SimpleAppC.nc -lm
>> In file included from
>> /usr/lib/gcc/avr/4.1.2/../../../../avr/include/avr/wdt.h:41,
>>                   from /opt/tinyos-2.1.2/tos/platforms/iris/platform.h:1,
>>                   from /opt/tinyos-2.1.2/tos/system/tos.h:43:
>> /usr/lib/gcc/avr/4.1.2/../../../../avr/include/avr/io.h:364:6: warning:
>> #warning "device type not defined"
>> In file included from /opt/tinyos-2.1.2/tos/system/TinySchedulerC.nc:52:
>> In component `McuSleepC':
>> /opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:101: `SM0' undeclared
>> here (not in a function)
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to