On 10/22/2015 01:33 AM, Sebastian Huber wrote:
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.
That's good to know. Is it advisable to have all the drivers disabled by default? Of course, at
minimum a BSP needs a console driver.
Our console driver does use one task, and one or more mutexes. Is this something we should try
hard to change?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel