[En-Nut-Discussion] DEVNUT_M3N: Added board directory for CM3 arch

Ole Reinhardt ole.reinhardt at embedded-it.de
Mon Feb 27 17:59:34 CET 2012


Hi Uwe,

> what is the reason to add this directory? 
> 
> ------------------------------------------------------------------------
> r3908 | olereinhardt | 2012-02-25 18:23:13 +0100 (Sa, 25. Feb 2012) | 2 Zeilen
> 
> Added board directory for CM3 arch
> 
> 
> Don't board specific definitions go into 
> nut/include/arch/[subarch/]board/
> ?
> Or what definitions do go intend to put into
> nut/arch/cm3/board/

As an example see nut/arch/arm/board/*.c

(from trunk)

You can put board specific init code in here which will be automaticaly
selected during compile time according to the PLATFORM variable
configured in the configurator.

I need this e.g. to initialise the SDRAM controller and configure board
specific I/O pin settings.

bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

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

http://www.embedded-it.de

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