-
Notifications
You must be signed in to change notification settings - Fork 523
Open
Description
Hi,
I tried to install tinyos from source on an Ubuntu 17.04. Compilation of TinyOS works fine. After installation I tried to compile the Blink App for a TelosB mote, which also works fine.
When I try to compile for the iris mote, the avr/io.h complains about "device type not found". I installed gcc-avr and avr-libc from the official ubuntu repositories.
The complete error message is:
user@userVM:~/tinyos-main/apps/Blink$ make iris
[INFO] compiling BlinkAppC to a iris binary
nescc -o build/iris/main.exe -Os -gcc=avr-gcc -Wnesc-all -fnesc-include=tos -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -fnesc-cfile=build/iris/app.c -fnesc-separator=__ -I../../tos/platforms/iris -I../../tos/platforms/micaz -I../../tos/platforms/mica -I../../tos/platforms/iris/chips/rf230 -I../../tos/chips/rf230 -I../../tos/lib/rfxlink/layers -I../../tos/lib/rfxlink/util -I../../tos/platforms/iris/chips/at45db -I../../tos/platforms/mica2/chips/at45db -I../../tos/platforms/mica/chips/at45db -I../../tos/chips/at45db -I../../tos/platforms/iris/chips/ds2401 -I../../tos/platforms/mica2/chips/ds2401 -I../../tos/chips/ds2401 -I../../tos/chips/atm1281 -I../../tos/chips/atm1281/adc -I../../tos/chips/atm1281/timer -I../../tos/chips/atm128 -I../../tos/chips/atm128/adc -I../../tos/chips/atm128/pins -I../../tos/chips/atm128/spi -I../../tos/chips/atm128/i2c -I../../tos/chips/atm128/timer -I../../tos/lib/timer -I../../tos/lib/serial -I../../tos/lib/power -I../../tos/lib/diagmsg -mmcu=atmega1281 -fnesc-target=avr -fnesc-no-debug -DPLATFORM_IRIS -Wall -Wshadow --param max-inline-insns-single=100000 -Wno-unused-but-set-variable -Wno-enum-compare -I../../tos/system -I../../tos/types -I../../tos/interfaces -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"user\" -DIDENT_HOSTNAME=\"userVM\" -DIDENT_USERHASH=0xc400e479L -DIDENT_TIMESTAMP=0x58ff18f6L -DIDENT_UIDHASH=0x2090bb6eL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkAppC.nc -lm
In file included from /usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:41,
from ../../tos/platforms/iris/platform.h:1,
from ../../tos/system/tos.h:43:
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/io.h:623:6: warning: #warning "device type not defined"
In file included from ../../tos/platforms/iris/platform.h:1,
from ../../tos/system/tos.h:43:
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h: In function `wdt_enable':
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:406: `WDT' undeclared (first use in this function)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:406: (Each undeclared identifier is reported only once
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:406: for each function it appears in.)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:417: `WDCE' undeclared (first use in this function)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:417: `WDE' undeclared (first use in this function)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h: In function `wdt_disable':
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:446: `WDT' undeclared (first use in this function)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:460: `WDCE' undeclared (first use in this function)
/usr/lib/gcc/avr/4.9.2/../../../avr/include/avr/wdt.h:460: `WDE' undeclared (first use in this function)
In file included from ../../tos/system/TinySchedulerC.nc:52:
In component `McuSleepC':
../../tos/chips/atm1281/McuSleepC.nc: At top level:
../../tos/chips/atm1281/McuSleepC.nc:99: `SM0' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:100: `SM2' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:100: `SM1' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:100: `SM0' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:101: `SM1' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:101: `SM0' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:102: `SM2' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:102: `SM1' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc:103: `SM1' undeclared here (not in a function)
../../tos/chips/atm1281/McuSleepC.nc: In function `getPowerState':
../../tos/chips/atm1281/McuSleepC.nc:115: `TIMSK0' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:115: `OCIE0A' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:115: `OCIE0B' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:116: `TIMSK1' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:116: `ICIE1' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:116: `OCIE1A' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:116: `OCIE1B' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:116: `OCIE1C' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:117: `TIMSK3' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:117: `ICIE3' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:117: `OCIE3A' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:117: `OCIE3B' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:117: `OCIE3C' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:122: `SPCR' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:122: `SPIE' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:126: `UCSR0B' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:126: `TXEN0' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:126: `RXEN0' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:129: `UCSR1B' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:129: `TXEN1' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:129: `RXEN1' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:133: `TWCR' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:133: `TWEN' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:137: `ADCSRA' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:137: `ADEN' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc: In function `McuSleep.sleep':
../../tos/chips/atm1281/McuSleepC.nc:149: `SMCR' undeclared (first use in this function)
../../tos/chips/atm1281/McuSleepC.nc:150: `SE' undeclared (first use in this function)
In file included from ../../tos/platforms/micaz/MotePlatformC.nc:44,
from ../../tos/platforms/mica/PlatformC.nc:56,
from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `MotePlatformP':
../../tos/platforms/micaz/MotePlatformP.nc: In function `PlatformInit.init':
../../tos/platforms/micaz/MotePlatformP.nc:51: `PORTC' undeclared (first use in this function)
../../tos/platforms/micaz/MotePlatformP.nc:52: `DDRC' undeclared (first use in this function)
In file included from ../../tos/platforms/micaz/MotePlatformC.nc:44,
from ../../tos/platforms/mica/PlatformC.nc:56,
from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc: At top level:
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `PORTA' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `DDRA' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `PINA' undeclared here (not in a function)
In file included from ../../tos/platforms/micaz/MotePlatformC.nc:44,
from ../../tos/platforms/mica/PlatformC.nc:56,
from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `PORTB' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `DDRB' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `PINB' undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `PORTC' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `DDRC' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `PINC' undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `PORTD' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `DDRD' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `PIND' undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `PORTE' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `DDRE' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `PINE' undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `PINF' undeclared here (not in a function)
In file included from ../../tos/platforms/micaz/MotePlatformC.nc:44,
from ../../tos/platforms/mica/PlatformC.nc:56,
from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `PORTF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `DDRF' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `PINF' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: component arguments must be constants
In component `HplAtm128GeneralIOC':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `PORTG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `DDRG' undeclared here (not in a function)
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `PING' undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: component arguments must be constants
../../tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: component arguments must be constants
In file included from ../../tos/platforms/mica/PlatformC.nc:56,
from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `MeasureClockC':
../../tos/platforms/iris/MeasureClockC.nc: In function `Init.init':
../../tos/platforms/iris/MeasureClockC.nc:85: `TCCR1B' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:85: `CS10' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:86: `ASSR' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:86: `AS2' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:87: `TCCR2B' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:87: `CS21' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:87: `CS20' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:92: `TCNT1' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:103: `TCNT2' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:118: `TIFR1' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:118: `TIFR2' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:119: `TCN2UB' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:119: `OCR2BUB' undeclared (first use in this function)
../../tos/platforms/iris/MeasureClockC.nc:119: `TCR2BUB' undeclared (first use in this function)
In file included from ../../tos/system/MainC.nc:61,
from BlinkAppC.nc:56:
In component `RealMainP':
../../tos/system/RealMainP.nc: In function `main':
../../tos/system/RealMainP.nc:71: `MCUSR' undeclared (first use in this function)
In file included from ../../tos/chips/atm1281/timer/Atm128AlarmAsyncC.nc:67,
from ../../tos/platforms/mica/AlarmCounterMilliP.nc:33,
from ../../tos/platforms/mica/HilTimerMilliC.nc:55,
from ../../tos/system/TimerMilliP.nc:52,
from ../../tos/system/TimerMilliC.nc:48,
from BlinkAppC.nc:57:
In component `Atm1281AlarmAsyncP':
../../tos/chips/atm1281/timer/Atm1281AlarmAsyncP.nc: In function `setInterrupt':
../../tos/chips/atm1281/timer/Atm1281AlarmAsyncP.nc:140: `OCF2A' undeclared (first use in this function)
In file included from ../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncC.nc:89,
from ../../tos/chips/atm1281/timer/Atm128AlarmAsyncC.nc:68,
from ../../tos/platforms/mica/AlarmCounterMilliP.nc:33,
from ../../tos/platforms/mica/HilTimerMilliC.nc:55,
from ../../tos/system/TimerMilliP.nc:52,
from ../../tos/system/TimerMilliC.nc:48,
from BlinkAppC.nc:57:
In component `HplAtm1281Timer2AsyncP':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.get':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:99: `TCNT2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.set':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:103: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:103: `TCN2UB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:105: `TCNT2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.getScale':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:109: `TCCR2B' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.getControlA':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:123: `TCCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.getControlB':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:127: `TCCR2B' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.setControlA':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:132: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:132: `TCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:134: `TCCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.setControlB':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:138: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:138: `TCR2BUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:140: `TCCR2B' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.getInterruptMask':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:145: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.setInterruptMask':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:150: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.getInterruptFlag':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:155: `TIFR2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerCtrl.setInterruptFlag':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:160: `TIFR2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.reset':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:164: `TIFR2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:164: `TOV2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.start':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:165: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:165: `TOIE2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Timer.stop':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:166: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:166: `TOIE2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Compare.reset':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:180: `TIFR2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:180: `OCF2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Compare.start':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:181: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:181: `OCIE2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Compare.stop':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:182: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:182: `OCIE2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Compare.get':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:191: `OCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `Compare.set':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:197: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:197: `OCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:199: `OCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `stabiliseTimer2':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:205: `TCCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:206: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:206: `TCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `McuPowerOverride.lowestState':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:223: `TIMSK2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:223: `OCIE2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:223: `TOIE2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:228: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:228: `TCN2UB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:228: `OCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:228: `TCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:230: `OCR2A' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:230: `TCNT2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.getAssr':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:259: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.setAssr':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:263: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.setTimer2Asynchronous':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:267: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:267: `AS2' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.controlABusy':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:271: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:271: `TCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.controlBBusy':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:275: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:275: `TCR2BUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.compareABusy':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:279: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:279: `OCR2AUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.compareBBusy':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:283: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:283: `OCR2BUB' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc: In function `TimerAsync.countBusy':
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:287: `ASSR' undeclared (first use in this function)
../../tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:287: `TCN2UB' undeclared (first use in this function)
../../support/make/Makerules:369: die Regel für Ziel „exe“ scheiterte
make: *** [exe] Fehler 1
Metadata
Metadata
Assignees
Labels
No labels