[En-Nut-Discussion] Devnut_m3n: architecture dependend directories

Ole Reinhardt ole.reinhardt at embedded-it.de
Mon Jan 16 16:53:15 CET 2012

Hi Uwe,
> thinking about getting your massive file move into and later out of my
> playground make my (few) hairs even greyer ;-)

Sorry for that. The include/arch/cm3 directory got really confusing with
header files for three Cortex architectures and the CMSIS headers
> But shouldn't we have even more destinction, between vendor supplied files
> and NutOs-supplied files? At least for the stm32 files like
> nut/include/arch/cm3/stm/stm32f10x_rtc.h
> are still the ST-Lib files with few modification, while files like
> nut/arch/cm3/dev/stm/stm32_spi1.c
> are rewritten by Ulrich. The postion of the file in the file tree should
> clearly indicate the origin of the file.
> If all your lpc files are self written, this doesn't hold for you...

As Ulrich just mentioned: 

As long as the author (STM in this case) agreed to add the files under
BSD license I think it's ok to held them together with the self-written

With the LCP files it's just the same. Sure I use e.g. the lpc17xx.h
with very little modifications. But the license is compatible with the
BSD style license. I don't see any problem why not place them together
with the self-written files.

Here I agree to Ulrich to avoid these conditional includes where ever
possible. See my comments on Ulrichs mail.




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