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.

Normally to create a driver involves creating or modifying these files:

include/nuttx/driversubsystem/yourdriver.h
drivers/subsystem/yourdriver.c
drivers/subsystem/Kconfig
drivers/subsystem/Make.def
boards/arch/cpu/yourboard/src/arch_yourdrive.c
boards/arch/cpu/yourboard/src/arch_bringup.c

BR,

Alan

On Friday, August 13, 2021, rushi ghatkar <rushighatka...@gmail.com> wrote:

> 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 <rushighatka...@gmail.com>
> wrote:
>
> > 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 Ghatkar
> >
>

Reply via email to