not_used_name wrote on Wednesday, December 03, 2008:
Downloaded FreeRTOS and the GCC just a couple of minutes ago so they should be "fresh"…
Looked at line 77 in led.c were the errors are reported. I never even seen code like that so that didn’t help me much.
Any ideas as to what goes wrong here?
C:\FreeRTOS\Demo\AVR32_UC3\AT32UC3A\GCC>make
ECHO is off.
ECHO is off.
avr32-gcc (GCC) 4.2.2-atmel.1.0.8 (mingw32 special)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling \`…/…/BOARDS/EVK1100/led.c’ to \`…/…/BOARDS/EVK1100/led.o’.
Warning: Deprecated arch `uc’ specified. Please use ‘-march=ucr1’ instead. Conve
rting to arch ‘ucr1’
…/…/BOARDS/EVK1100/led.c:77: error: ‘AVR32_PWM_PWM_0_FUNCTION’ undeclared here
(not in a function)
…/…/BOARDS/EVK1100/led.c:77: error: ‘AVR32_PWM_PWM_1_FUNCTION’ undeclared here
(not in a function)
…/…/BOARDS/EVK1100/led.c:77: error: ‘AVR32_PWM_PWM_2_FUNCTION’ undeclared here
(not in a function)
…/…/BOARDS/EVK1100/led.c:77: error: ‘AVR32_PWM_PWM_3_FUNCTION’ undeclared here
(not in a function)
make: *** […/…/BOARDS/EVK1100/led.o] Error 1
C:\FreeRTOS\Demo\AVR32_UC3\AT32UC3A\GCC>