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

AVR32 example (GCC) does not build..

Posted by dre on December 3, 2008
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:\FreeRTOS\Demo\AVR32_UC3\AT32UC3A\GCC>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:\FreeRTOS\Demo\AVR32_UC3\AT32UC3A\GCC>

RE: AVR32 example (GCC) does not build..

Posted by Richard on December 4, 2008
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.


[ 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