[En-Nut-Discussion] Nut/OS Build Problems for AVR32

Ole Reinhardt ole.reinhardt at embedded-it.de
Sun Apr 22 17:37:38 CEST 2012

Hi Michael, Hi Thiago,

I'm currently doing some build-tests for the different platforms,
supported by Nut/OS.

I'm working on the dev_cm3_integration branch, which was derived from
trunk not long ago. So the problems I found exists in the trunk too.

@Michael, I think some of these problems came in by your last change on
the AVR32 tree.

- nut/arch/avr32/dev/pm.h:
  A "#include <inttypes.h>" is needed (uint32_t is unkown otherwise)

- nut/arch/avr32/dev/ih_irqX.c:


  I think an include of "cfg/arch/avr32pio.h" would be needed and
  defaults for these settings should be defined either for the CPU in
  general of for each board config, right?

- nut/arch/avr32/dev/usart.c:
  undefined AVR32_USART_CSR_MASK 
  undefined AVR32_USART_IDR_MASK

  I have no Idea where these could be found... (defined them to a dummy
  value to do further compile testing)

Btw: I'm using the latest avr32 gcc and header from the Atmel website

avr32-gcc --version:

avr32-gcc (AVR_32_bit_GNU_Toolchain_3.2.3_261) 4.4.3

Perhaps you could take a look on these problems?

Thanks a lot,



Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting


Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 

More information about the En-Nut-Discussion mailing list