Simple free rtos app

powernest wrote on Thursday, July 12, 2012:

Hi,

Could any one please show me a link for a simple application using free rtos that can run on EVK1100 using AVR Studio 5.1. I have used the ASF application provided by AVR studio but it doesnt seem to work on h/w. Would be highly appreicable if anyone could guide me.

Thanks in Advance.

powernest wrote on Friday, July 13, 2012:

Hi,

I have downloaded AvrStudio 6 (Latest version) and tried to use the toolchain to build the Freertos (V7.1.1). I am getting the following compilation error when built for GCC (EVK1100). I’m really kind of doubtful if the FreeRtos has ever been ported for AVR32 EVK1100.

c:\FreeRTOSV7.1.1\Demo\AVR32_UC3\AT32UC3A\GCC > make

avr32-gcc (AVR_32_bit_GNU_Toolchain_3.4.0_332) 4.4.3
Copyright (C) 2010 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’.
Compiling \`…/…/DRIVERS/INTC/intc.c’ to \`…/…/DRIVERS/INTC/intc.o’.
…/…/DRIVERS/INTC/intc.c:52: error: ‘AVR32_INTC_IPR0_INTLEV_SIZE’ undeclared he
re (not in a function)
…/…/DRIVERS/INTC/intc.c: In function ‘_get_interrupt_handler’:
…/…/DRIVERS/INTC/intc.c:111: error: ‘avr32_intc_t’ has no member named ‘icr3’
…/…/DRIVERS/INTC/intc.c: In function ‘INTC_register_interrupt’:
…/…/DRIVERS/INTC/intc.c:199: error: ‘AVR32_INTC_IPR0_INTLEV_MASK’ undeclared (
first use in this function)
…/…/DRIVERS/INTC/intc.c:199: error: (Each undeclared identifier is reported on
ly once
…/…/DRIVERS/INTC/intc.c:199: error: for each function it appears in.)
…/…/DRIVERS/INTC/intc.c:199: error: ‘AVR32_INTC_IPR0_INTLEV_OFFSET’ undeclared
(first use in this function)
make: ***  Error 1

rtel wrote on Friday, July 13, 2012:

There is a known issue listed for the AVR32 ports (http://www.freertos.org/a00104.html?1#knownissues), which will be updated soon.  For now, please use the Atmel Studio distribution, which you can find with Atmel Studio 6, or http://asf.atmel.com

Regards.