I've just tested the external board build following these simple steps.

1 - Clone nuttx and nuttx-apps on base dir
2 - Created a new dir called board
    $ mkir board
    $ cd board
3 - Copied nucleo-l432kc board directory
    $  cp -r ../nuttx/boards/arm/stm32l4/nucleo-l432kc/ ./
4 - Configure nuttx to build the external board. From nuttx folder
    $ ./tools/configure.sh ../board/nucleo-l432kc/configs/nsh/
5 - Build
    $ make

These steps seems to work fine for me.

Thanks

Daniel Pereira de Carvalho


Em qui., 20 de mai. de 2021 às 10:35, Alan Carvalho de Assis <
acas...@gmail.com> escreveu:

> I agree, it should a good idea if it could be turned into a Documentation
> page!
>
> BR,
>
> Alan
>
> On 5/20/21, Sebastien Lorquet <sebast...@lorquet.fr> wrote:
> > :o
> >
> > it worked.
> >
> > How am I supposed to guess this?
> >
> > Your email should be copied verbatim in the official documentation
> > somewhere under "how to create and build a custom board"
> >
> > Also I woud advise against this common dir in boards, since it prevents
> > users from creating custom boards from built-in ones.
> >
> > Duplication is not always bad, as we know...
> >
> > Sebastien
> >
> >
> > Le 20/05/2021 à 15:27, Abdelatif Guettouche a écrit :
> >> Rename Make.defs to Makefile
> >
>

Reply via email to