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 <mojtabanadi1...@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@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to