STM32 DevEBox

2021-08-13 Thread disruptivesolutionsnl
Hi All, Ik had the STM32F407xE (https://github.com/mcauser/MCUDEV_DEVEBOX_F407VET6) and others on this site added in NuttX 8.2 BSD version. Is it plausible to bring these over to this NuttX version. Or is it already in place? Thanks again. Ben

Re: Lin

2021-08-13 Thread Frank-Christian Kruegel
Am 13.08.2021 um 16:50 schrieb Simon Filgis: Dear all, has anybody implemented a LIN driver for SAME70 USART? The SAME70 USART peripheral is capable of. A SW implementation (sllin.c - Pavel Pisa) would also be interesting! Would you extend sma_lowputc.c and sam_serial.c or would you grep USARTx

Re: Lin

2021-08-13 Thread Alan Carvalho de Assis
Hi Simon, I think we don't have LIN upper-half support on NuttX yet, but it could start with higher level API definition. I'm CC Mr. Pavel Pisa he is a NuttX contributor and could could be interested to help on it. Also we have people from Indian Tata Motors here, probably they already implement

Lin

2021-08-13 Thread Simon Filgis
Dear all, has anybody implemented a LIN driver for SAME70 USART? The SAME70 USART peripheral is capable of. A SW implementation (sllin.c - Pavel Pisa) would also be interesting! Would you extend sma_lowputc.c and sam_serial.c or would you grep USARTx in a separate file? Have a good Weekend, Sim

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi Alan sir, Thank you for the clarification. Regards, Rushikesh On Fri, Aug 13, 2021 at 5:34 PM Alan Carvalho de Assis wrote: > What do you mean by "try to make driver into app" ? > > Drivers need to be created on nuttx/drivers, not at apps/. Also you > cannot call a driver function direct

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread Alan Carvalho de Assis
What do you mean by "try to make driver into app" ? Drivers need to be created on nuttx/drivers, not at apps/. Also you cannot call a driver function directly from apps/, it is a violation of the OS abstraction. Your application needs to open the /dev/yourdriver to read/write from/to your driver.

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi @Alan & @Frank sir, I was also thinking the same, first check for the drivers I need and then copy it and the change as per my needs. Then change Makefiles, Make.defs, and Kconfigs files to make the driver include. Then make them an app to run on picocom. Will try to change driver as per nee

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread Frank-Christian Kruegel
Am 13.08.2021 um 10:43 schrieb rushi ghatkar: Hi, I have configured and installed Nuttx rtos on the Nucleo-H743zi2 board. Now I want to create my own driver. How to create our own driver? Has anyone created their own driver using Nuttx rtos on the STM32 board? Could anybody please tell me how

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread Alan Carvalho de Assis
Hi Rushikesh, First of all you need to say what driver you want to create. There are many drivers already available, so I suggest you to start searching for a driver of a device similar to yours. If it is a sensor, look at drivers/sensors, if it is a LCD look at drivers/lcd/, and so on. Normall

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi, Getting confused with where to create a driver, what is Makefile, Kconfig and Make.defs ? After creating a driver how to create an app to run that driver? Regards, Rushikesh Ghatkar On Fri, Aug 13, 2021 at 2:13 PM rushi ghatkar wrote: > Hi, > > I have configured and installed Nuttx rto

Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi, I have configured and installed Nuttx rtos on the Nucleo-H743zi2 board. Now I want to create my own driver. How to create our own driver? Has anyone created their own driver using Nuttx rtos on the STM32 board? Could anybody please tell me how to start? Thanks & Regards, Rushikesh Ghatka