On Wed, Nov 27, 2024 at 3:42 AM Simon Filgis <si...@ingenieurbuero-filgis.de>
wrote:

> Dear all,
>
> I would like to add a board with STM32F030R8. I started with copying
> STM32F051-DISCOVERY. In menuconfig I can select the correct chip.
>
> I need to add defines in nuttx/include/arch/stm32f0l0g0/chip.h
>
> Then the build fails with:
> make[1]: *** No rule to make target '/workspace/nuttx//scripts/flash.ld',
> needed by '/workspace/nuttx//scripts/flash.ld.tmp'.  Stop.
> make[1]: *** Waiting for unfinished jobs....
> make: *** [tools/Unix.mk:551: nuttx] Error 2
>
> Can someone please give me a tip on how to proceed?
>
> Thank you,
>
> Simon


Hi,

In the make error:

make[1]: *** No rule to make target '/workspace/nuttx//scripts/flash.ld',

Notice where the path has two consecutive // between nuttx and scripts.
This should be the path to the board directory.

Since it's missing, I think the board hasn't been set in Kconfig, so the
make variables are being populated with an empty string.

Hope this helps,
Nathan

Reply via email to