Hi.
I want to compile the freertos Demo project for the AT32UC3B micro...when I execute the makefile, I have the following problems!
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 'LEDReadDisplay'
../../BOARDS/EVK1101/led.h:76: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.h:86: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDReadDisplayMask'
../../BOARDS/EVK1101/led.h:96: error: expected ')' before 'mask'
../../BOARDS/EVK1101/led.h:107: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDTest'
../../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 'LEDReadDisplayField'
../../BOARDS/EVK1101/led.h:153: error: expected ')' before 'field'
../../BOARDS/EVK1101/led.h:167: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDGetIntensity'
../../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: 'AVR32PINPA07' 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 'LEDDESCRIPTOR[0].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[0].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[0].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PWMPWM00FUNCTION' 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 'LEDDESCRIPTOR[0].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PINPA08' 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 'LEDDESCRIPTOR[1].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[1].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[1].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PWMPWM10FUNCTION' 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 'LEDDESCRIPTOR[1].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PINPA21' 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 'LEDDESCRIPTOR[2].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[2].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[2].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PWMPWM20FUNCTION' 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 'LEDDESCRIPTOR[2].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PINPA22' 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 'LEDDESCRIPTOR[3].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[3].GPIO')
../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer
../../BOARDS/EVK1101/led.c:77: warning: (near initialization for 'LEDDESCRIPTOR[3].PWM')
../../BOARDS/EVK1101/led.c:77: error: 'AVR32PWMPWM60FUNCTION' 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 'LEDDESCRIPTOR[3].PWM')
../../BOARDS/EVK1101/led.c:83: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDState'
../../BOARDS/EVK1101/led.c:86: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDReadDisplay'
../../BOARDS/EVK1101/led.c:92: error: expected ')' before 'leds'
../../BOARDS/EVK1101/led.c:119: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDReadDisplayMask'
../../BOARDS/EVK1101/led.c:125: error: expected ')' before 'mask'
../../BOARDS/EVK1101/led.c:155: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDTest'
../../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 'LEDReadDisplayField'
../../BOARDS/EVK1101/led.c:230: error: expected ')' before 'field'
../../BOARDS/EVK1101/led.c:236: error: expected '=', ',', ';', 'asm' or 'attribute' before 'LEDGet_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
Linking problems I guess!
Please...I need your help.
I think this is a duplicate of your post I just replied to.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.