Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists