Thats because the stm32l4 boards dont have a common folder.

Same for stm32f7

The problem is specific to stm32 (f4 and others). But it's significant because it's one of the most used stm32 product families.

I guess the common folder should be avoided.

Sebastien

Le 20/05/2021 à 15:46, Daniel Pereira Carvalho a écrit :
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