bonanza35 wrote on Monday, November 03, 2008:
Last May, schmidtw posted a question regarding inability to compile the FreeRTOS version 5.0.0 AVR32 demo program as downloaded in the FreeRTOS archive from www.freertos.org. (see https://sourceforge.net/forum/message.php?msg_id=4944798).
I am having the same trouble with version 5.1.0, in that I get:
$ make clean
$ make
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 here (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 only 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: *** […/…/DRIVERS/INTC/intc.o] Error 1
I have searched for AVR32_INTC_IPR0_INTLEV_SIZE and have found where it is used but not where it is defined.
Back in May, richardberry suggested going to the Atmel website and downloading one of their FreeRTOS projects and using that (see https://sourceforge.net/forum/message.php?msg_id=4945306). I tried that and was unable to find any FreeRTOS projects on the Atmel website… could only find brief mentions of FreeRTOS in a few text files and release notes.
Are there any updates on how to fix this?
Thanks…