Hi Alin,

So, I suppose that if I have a custom driver that I have no reason to share
and I want to keep it outside the NuttX folder tree, I can point the
nuttx/driver/platform symlink to the custom driver folder. Doing this the
Kconfig will appear on menuconfig. Is this correct?

If this is correct I am doing something wrong because it does not work for
me. When I configure the board the symlink I just created is overwritten to
original configuration, and restoring the symlink does not work either.

How should I proceed to build a custom driver outside the NuttX folder tree
using this approach?

Thanks

Daniel Pereira de Carvalho


Em ter., 4 de out. de 2022 às 04:25, alin.jerpe...@sony.com <
alin.jerpe...@sony.com> escreveu:

> Hi Daniel,
>
> There are boards (ex Spresense) that use drivers that are unique for those
> platforms
> In this case we use the symlinks to drivers folder but keep the drivers
> under the specific board that uses them
>
> Best regards
> Alin
>
>
> -----Original Message-----
> From: Daniel Pereira Carvalho <daniel...@gmail.com>
> Sent: den 3 oktober 2022 21:02
> To: dev@nuttx.apache.org
> Subject: dummy folders in nuttx tree
>
> Hi guys,
>
> Looking at nuttx folders I saw two folders called "dummy", specifically
> nuttx/dummy and nuttx/drivers/dummy. The last one is referenced by the
> symbolic link nuttx/drivers/platform. What is the reason for this?
>
> Thanks
>
> Daniel Pereira de Carvalho
>

Reply via email to