AT32UC3B FreeRtos Prolems

Thread Starter

hhumberto.av

Joined Jan 16, 2015
3
Hi.

I have problems when trying to compile the freeRtos Demo project for the AT32UC3B micro.

The error screen:

avr32-gcc (AVR_32_bit_GNU_Toolchain_3.4.2_435) 4.4.7
Copyright (C) 2010 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/EVK1101/led.c' to `../../BOARDS/EVK1101/led.o'.
Warning: Deprecated arch `uc' specified. Please use '-march=ucr1' instead. Using arch 'ucr1'
../../BOARDS/EVK1101/led.c:46:22: error: avr32/io.h: No such file or directory
In file included from ../../BOARDS/EVK1101/led.c:50:
../../BOARDS/EVK1101/led.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display'
../../BOARDS/EVK1101/led.h:76: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display_Mask'
../../BOARDS/EVK1101/led.h:96: error: expected ')' before 'mask'
../../BOARDS/EVK1101/led.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Test'
../../BOARDS/EVK1101/led.h:115: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.h:123: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.h:131: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display_Field'
../../BOARDS/EVK1101/led.h:153: error: expected ')' before 'field'
../../BOARDS/EVK1101/led.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Get_Intensity'
../../BOARDS/EVK1101/led.h:179: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:58: error: expected specifier-qualifier-list before 'U32'
../../BOARDS/EVK1101/led.c:63: error: expected specifier-qualifier-list before 'S32'
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PIN_PA07' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[0].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[0].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[0].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PWM_PWM_0_0_FUNCTION' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[0].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PIN_PA08' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[1].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[1].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[1].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PWM_PWM_1_0_FUNCTION' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[1].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PIN_PA21' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[2].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[2].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[2].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PWM_PWM_2_0_FUNCTION' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[2].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PIN_PA22' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[3].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[3].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[3].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32_PWM_PWM_6_0_FUNCTION' undeclared here (not in a function)
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LED_DESCRIPTOR[3].PWM')
../../BOARDS/EVK1101/led.c:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_State'
../../BOARDS/EVK1101/led.c:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display'
../../BOARDS/EVK1101/led.c:92: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display_Mask'
../../BOARDS/EVK1101/led.c:125: error: expected ')' before 'mask'
../../BOARDS/EVK1101/led.c:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Test'
../../BOARDS/EVK1101/led.c:161: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:182: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:203: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Read_Display_Field'
../../BOARDS/EVK1101/led.c:230: error: expected ')' before 'field'
../../BOARDS/EVK1101/led.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LED_Get_Intensity'
../../BOARDS/EVK1101/led.c:251: error: expected ')' before 'leds'
Makefile:559: recipe for target '../../BOARDS/EVK1101/led.o' failed
make: *** [../../BOARDS/EVK1101/led.o] Error 1
 
Top