Per-BSP confdefs (or resource allocation)

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 22 05:33:49 UTC 2015



On 21/10/15 21:53, Isaac Gutekunst wrote:
> Hi Devel,
>
> I looked for a while, but couldn't find a way to specify what 
> resources (semaphores, tasks, etc) a BSP requires for an empty project 
> (empty Init function).

There is no useful support for this and this is a constant source of 
problems.

One way out of this situation would be to use self-contained objects for 
the drivers.

>
> I took a look at this page: 
> https://docs.rtems.org/doc-current/share/rtems/html/bsp_howto/Initialization-Code-The-RTEMS-Configuration-Table.html 
> but couldn't glean the correct method.
>
> What is the preferred way to do so?
>
> Our BSP uses a number of resources for hardware drivers, including 
> UART, CAN, SPI, I2C and Ethernet.
>
>

In case an empty project includes all these drivers, then something is 
wrong with this BSP.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list