New BSP source structure

Chris Johns chrisj at rtems.org
Mon Jan 29 20:45:10 UTC 2018


On 29/1/18 6:32 pm, Sebastian Huber wrote:
> Hello,
> 
> now that all BSP header files are in
> 
> * bsps/include
> 
> * bsps/@RTEMS_CPU@/include
> 
> * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/include
> 
> we should also move the BSP sources to this new directory tree. How do we want
> to organize the BSP sources in bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@?
> 

Yes this is a good thing to do.

> * include
> 
> * start (Everything required to run a minimal application without devices)
> ** start.S
> ** bspstart.c
> ** linkcmds
> ** cache.c
> ** bspsmp.c
> 
> * dev (Everything device driver related)
> ** clock.c
> ** console.c
> ** i2c.c
> ** spi.c
> 
> * make
> ** somebsp.cfg
> 
> * network (Legacy network stack drivers)
> 
> * mpci (RTEMS_MULTIPROCESSING support)
> 

What about vendor sources for drivers?

> I am not a big fan of the excessive use of subdirectories which contain usually
> only one file.

I am the same. The directories can be simplified.

Chris



More information about the devel mailing list