Quality RTOS & Embedded Software

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




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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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