how add a custom driver to RTEMS
Mingyu Li
lmy2010lmy at gmail.com
Tue Sep 17 09:57:42 UTC 2019
Hi Mojtaba,
I believe the BSP guide (
https://docs.rtems.org/releases/rtems-docs-4.11.2/bsp-howto/index.html#)
might help you.
You can check which target (board) you are using
https://docs.rtems.org/releases/rtems-docs-4.11.2/bsp-howto/makefiles.html#creating-a-new-bsp-make-customization-file
.
For UART-like drivers, you may refer to the console part
https://docs.rtems.org/releases/rtems-docs-4.11.2/bsp-howto/console.html.
Work that needs to be done is to understand the interfaces and write
minimum glue code for them.
As for libbsd: https://github.com/RTEMS/rtems-libbsd/blob/master/libbsd.txt.
I would recommend reading more code samples just to warm up.
Hope this helps.
Bests,
Maxul
mojtaba nadi <mojtabanadi1376 at gmail.com> 于2019年9月17日周二 下午1:08写道:
> hello
> I want to add a custom driver (I added two uartlite IP in PL) to RTEMS
> using libbsd but i can't find any documentation that explain it step by
> step. I wonder if any body could help me to explain how can I add a
> custom driver step by step.
>
>
> regards,
> Mojtaba
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190917/dea4d3db/attachment-0002.html>
More information about the users
mailing list