[RTEMS Project] #3285: Reorganize BSP source directory

RTEMS trac trac at rtems.org
Fri Apr 13 07:45:53 UTC 2018


#3285: Reorganize BSP source directory
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  task             |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  build            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber):

 I move slowly to the real BSP sources. After some review and effort
 calculation I propose a new structure for the BSPs in
 bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@:

 * include (this is already there, see #3254)
 * make
   * somebsp.cfg
 * start (everything required to run a minimal application without devices)
   * start.S
   * bspstart.c
   * linkcmds
 * cache (everything for the cache controller support)
 * irq (everything for the interrupt controller support)
 * console (everything for the console driver)
 * clock (everything for the clock driver
 * i2c (everything for the I2C driver)
 * spi (everything for the SPI driver)
 * net (legacy network stack drivers)
 * smp
   * bspsmp.c
 * mpci (RTEMS_MULTIPROCESSING support)
 * contrib (import of external sources)
   * The layout of external sources should be used as is if possible.

 This essentially removes the new dev directory of the original proposal
 and is closer to the existing BSP layout. The existing layout has standard
 directory names, but the file names vary greatly. This new proposal helps
 to move the files with less human intervention.

--
Ticket URL: <http://devel.rtems.org/ticket/3285#comment:71>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list