Re: Using RTEMS on Zynq ultrascale in 32bit mode

2018-10-11 Thread Mingyu Li
Hi Jan, RTEMS master currently supports ARM Xilinx Zynq: https://github.com/RTEMS/rtems/tree/master/bsps/arm/xilinx-zynq. Please have a look at https://docs.rtems.org/branches/master/cpu-supplement/arm.html. To understand the BSP framework, refer to

Re: Console API

2018-10-26 Thread Mingyu Li
Hi, I think you are referencing the right documentation. "rtems_termios_callbacks" should be what you need. Would you tell me what exact platform you are working on? I recommend you read the bsp source code that is mostly close to yours. Please feel free to ask. Best regards, Maxul Ярослав

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-09-19 Thread Mingyu Li
installed the ISR myself like this > > // USB related initializations > > _ARMV7M_Set_exception_priority_and_handler(ARMV7M_ > VECTOR_IRQ(STM32F7_IRQ_OTG_FS), BSP_ARMV7M_IRQ_PRIORITY_DEFAULT, > USB_OTG_Handler); > I am sure that the ISR is entered after the kernel task gets stuck. > > > regards, > Ca

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-09-18 Thread Mingyu Li
Hi Catalin. I find the problem you encountered interesting. I hope to offer some hints that might be helpful to you: 1. use a user task to first rtems_event_send then rtems_event_receive, in order to make sure the internal IPC of RTEMS kernel you are using (4.11.2) works as expected. 2. ensure

Re: how add a custom driver to RTEMS

2019-09-17 Thread Mingyu Li
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 .

Re: Error when building rtems

2020-03-08 Thread Mingyu Li
`which makeinfo` prints exactly "/usr/bin/makeinfo". Then "ln -s" should be avoided. Thanks for the reminder, Chris :) Chris Johns 于2020年3月9日周一 上午5:27写道: > On 9/3/20 1:51 am, Mingyu Li wrote: > > Suppose you are using Ubuntu, here is what you can do: > > &

Re: Error when building rtems

2020-03-08 Thread Mingyu Li
Hi Richi, What is the host system that you are using to build RTEMS? Suppose you are using Ubuntu, here is what you can do: sudo apt-get install texinfo ln -s `which makeinfo` /usr/bin/makeinfo Hope this helps! Bests, Mingyu G. S. Niteesh 于2020年3月8日周日 下午10:11写道: > Which documentation are

Re: RTEMS DEMO

2021-03-10 Thread Mingyu Li
Dear Eduardo, You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites, and search for keywords like mutex for some simple demos. Hope this helps. Please let me know if you have any further questions. Bests, Maxul Eduardo Escalante 于2021年3月10日周三 上午6:35写道: > Hello, I am a