AVR32 example (GCC) does not build..
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:FreeRTOSDemoAVR32_UC3AT32UC3AGCC>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:FreeRTOSDemoAVR32_UC3AT32UC3AGCC>
AVR32 example (GCC) does not build..
Take a look at this thread: https://sourceforge.net/forum/forum.php?thread_id=2636701&forum_id=382005 in particular the bit about the Atmel Software Framework. I need to contact Atmel about this, it seems they may have changed some register names in the header files.
Regards.