Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

AT32UC3B Build problems

Posted by hhumberto on January 16, 2015

Hi!...I have problems when trying to compile at32uc3b demo project.

I have this screen:

[] 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


AT32UC3B Build problems

Posted by rtel on January 17, 2015

I suspect most of your problems will relate the the first error: "../../BOARDS/EVK1101/led.c:46:22: error: avr32/io.h: No such file or directory"

However, note the UC3 port is old, and only works on old revisions of UC3 chips. Your best bet is to take a demo from http://asf.atmel.com

Note the "legacy issues" section of this page: http://www.freertos.org/a00104.html


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner