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
> Also I woud advise against this common dir in boards, since it prevents
users from creating custom boards from built-in ones.
We can still create a custom board from an in-tree board that has the
common dir. We just have to either include the common dir or remove it
and adapt the makefiles as we
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 nu
I agree, it should a good idea if it could be turned into a Documentation page!
BR,
Alan
On 5/20/21, Sebastien Lorquet 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 buil
: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
> Rename Make.defs to Makefile
To be clear, here I'm referring to ../boards/nucleo-f446re/src/Make.defs
On Thu, May 20, 2021 at 2:27 PM Abdelatif Guettouche
wrote:
>
> I just copied the nucleo-fe446re board without the common directory.
>
> Here are the steps I took:
> Add the correct custom boa
I just copied the nucleo-fe446re board without the common directory.
Here are the steps I took:
Add the correct custom board CONFIGs to nsh/defconfig (and remove some
of the old ones)
Rename Make.defs to Makefile
Add include $(TOPDIR)/boards/Board.mk to the end of the file.
./tools/configure.sh .
(It looks like we dropped the list somehow, I'm bringing it back...)
> There is no way this common file is going into my custom board.
If you don't want it; just remove it. But you'll have to adapt your
Make.defs file. Mainly adding "include $(TOPDIR)/boards/Board.mk" at
the end.
Other small th
There is this issue that has more details, as well:
https://github.com/apache/incubator-nuttx/issues/2206
On Thu, May 20, 2021 at 12:44 PM Abdelatif Guettouche
wrote:
>
> Hi,
>
> Is it possible to share the defconfig? I just tried with an old one
> (based on STM32) and I have a clean build.
> Th
Hi,
Is it possible to share the defconfig? I just tried with an old one
(based on STM32) and I have a clean build.
The relevant configs that need to be correctly set are:
CONFIG_ARCH_BOARD_CUSTOM=y
CONFIG_ARCH_BOARD_CUSTOM_DIR="../boards/stm32/board-dir"
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
CON
Hello,
I have to update the nuttx in our project from pre-apache to last version.
We would like to use the external board feature.
As a test I copied the nucleo-f446re folder in boards/arm to somewhere
else (sibling to apps and nuttx), renamed it, and pointed to it in the
configuration. make
11 matches
Mail list logo