Hello. The TinyOS imports interrupt vector names from avr-libc. There are two forms in ioXXX.h "SIG_*" and "*_vect" for example: old) "#define SIG_OVERFLOW2 _VECTOR(10)" new) "#define TIMER2_OVF_vect _VECTOR(10)"
The TinyOS AVR subsystem (see lower) uses old form. avr-libc uses: - "old form only" for 5 platform (AT43USB32x, AT43USB35x, AT76C711, AT90C8534 and AT94K) - "old and new forms" for 54 platforms - "new form only" for 77 platforms I am porting TinyOS to newer AVR and I must copy some files from atm128 to "new" chip (mega1284p) directory only for "signal vector rename". Is there any reason to stay with old form in base tinyos sources ? Will the TinyOS files be patched by owners ? Thanks for options/answers, Martin Cerveny PS: Files with old form: ./tos/chips/atm128/adc/HplAtm128AdcP.nc ./tos/chips/atm128/HplAtm128UartP.nc ./tos/chips/atm128/i2c/HplAtm128I2CBusP.nc ./tos/chips/atm128/pins/HplAtm128InterruptPinP.nc ./tos/chips/atm128/pins/HplAtm128InterruptSigP.nc ./tos/chips/atm128/sim/atm128_sim.h ./tos/chips/atm128/spi/HplAtm128SpiP.nc ./tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc ./tos/chips/atm128/timer/HplAtm128Timer1P.nc ./tos/chips/atm128/timer/HplAtm128Timer2C.nc ./tos/chips/atm128/timer/HplAtm128Timer3P.nc ./tos/chips/atm128/timer/sim/HplAtm128CompareC.nc ./tos/chips/atm128/timer/sim/HplAtm128Counter0C.nc ./tos/chips/atm128/timer/sim/HplAtm128Counter2C.nc ./tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc ./tos/chips/atm1281/adc/HplAtm128AdcP.nc ./tos/chips/atm1281/HplAtm128UartP.nc ./tos/chips/atm1281/timer/HplAtm1281Timer1P.nc ./tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc ./tos/chips/atm1281/timer/HplAtm1281Timer3P.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128AdcP.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128I2CBusP.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128InterruptSigP.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128SpiP.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128Timer0AsyncP.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128Timer1P.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128Timer2C.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128Timer3P.nc ./tos/lib/tosthreads/chips/atm128/HplAtm128UartP.nc ./tos/lib/tosthreads/chips/atm128/sim/HplAtm128CompareC.nc ./tos/lib/tosthreads/chips/atm128/sim/HplAtm128Counter0C.nc ./tos/lib/tosthreads/chips/atm128/sim/HplAtm128Counter2C.nc ./tos/lib/tosthreads/chips/atm128/sim/HplAtm128Timer0AsyncP.nc ./tos/lib/tosthreads/chips/atm1281/HplAtm1281Timer1P.nc ./tos/lib/tosthreads/chips/atm1281/HplAtm1281Timer2AsyncP.nc ./tos/lib/tosthreads/chips/atm1281/HplAtm1281Timer3P.nc ./tos/lib/tosthreads/chips/atm1281/HplAtm128AdcP.nc ./tos/lib/tosthreads/chips/atm1281/HplAtm128UartP.nc ./tos/lib/tosthreads/platforms/mica2/chips/cc1000/HplCC1000SpiP.nc ./tos/platforms/btnode3/chips/cc1000/HplCC1000SpiP.nc ./tos/platforms/mica2/chips/cc1000/HplCC1000SpiP.nc _______________________________________________ Tinyos-devel mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
