Followup: AT32 evk1100 Compile Problems

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 (see

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  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?


davedoors wrote on Monday, November 03, 2008:

Search for "atmel software framework". The framework runs on FreeRTOS. Try here for a start although this might not be the right place

bonanza35 wrote on Monday, November 03, 2008:

Thanks, Dave.  I found about four of them, and they all build.  I should be able to figure out from them what is needed to get the AVR32 EVK1100 one to build.

Actually, though, my main interest is in getting FreeRTOS to run with the AVR32AP7000, primarily with the NGW100 board since that’s the only board I have right now.

I’ll start a new thread for that one.