You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Simon Filgis <si...@ingenieurbuero-filgis.de> on 2024/11/27 08:42:05 UTC
New Board / New Chip
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
--
Hard- and Softwaredevelopment Consultant
Geschäftsführung: Simon Filgis
USt-IdNr.: DE305343278
ISO9001:2015 <https://activities.ingenieurbuero-filgis.de/certifications>
Re: New Board / New Chip
Posted by Simon Filgis <si...@ingenieurbuero-filgis.de>.
Dear Nathan,
indeed, with switching MCU board-config switches to custom automatically.
It needs to be filled by hand.
Thank you.
Simon
--
Hard- and Softwaredevelopment Consultant
Geschäftsführung: Simon Filgis
USt-IdNr.: DE305343278
ISO9001:2015 <https://activities.ingenieurbuero-filgis.de/certifications>
On Wed, Nov 27, 2024 at 1:55 PM Nathan Hartman <ha...@gmail.com>
wrote:
> On Wed, Nov 27, 2024 at 3:42 AM Simon Filgis <
> simon@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
>
Re: New Board / New Chip
Posted by Nathan Hartman <ha...@gmail.com>.
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