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

0 views
Skip to first unread message

Uwe Bonnes

unread,
Feb 27, 2012, 9:24:53 AM2/27/12
to en-nut-d...@egnite.de
Ole,

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/

Bye
--
Uwe Bonnes b...@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Ole Reinhardt

unread,
Feb 27, 2012, 11:59:34 AM2/27/12
to en-nut-d...@egnite.de
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

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Reply all
Reply to author
Forward
0 new messages