Better! Thank you! On Tue, Aug 3, 2021 at 10:20 AM Abdelatif Guettouche < abdelatif.guettou...@gmail.com> wrote:
> > Regarding my advice from a few minutes ago. Somebody in > > > https://github.com/apache/incubator-nuttx/issues/2206#issuecomment-721138548 > > complains that > > the process is not working. > > > That's only when the board is part of a group that has the "common" > directory and the common directory isn't wanted. So more tweaking was > needed there. > The SAMxx families don't have that, so creating a custom board from > the in-tree boards is straightforward. > > > On Tue, Aug 3, 2021 at 10:16 AM Maciej Wójcik <w8j...@gmail.com> wrote: > > > > Regarding my advice from a few minutes ago. Somebody in > > > https://github.com/apache/incubator-nuttx/issues/2206#issuecomment-721138548 > > complains that > > the process is not working. > > > > Just to be sure I will test it today and maybe finish that documentation. > > If I won't, still just try what is described there. I am sorry for the > > inconvenience. It looks a bit complicated, but it is quite simple in the > > end. > > > > Am Di., 3. Aug. 2021 um 10:10 Uhr schrieb Maciej Wójcik < > w8j...@gmail.com>: > > > > > In general, you probably don't want to change files in the OS > repository > > > just to attach your board. > > > > > > I was supposed to document how to do this correctly, more than a half > year > > > ago. I didn't, but what you need is described in this issue > > > > https://github.com/apache/incubator-nuttx/issues/2206#issuecomment-721138548 > > > > > > The whole idea is to call `./config.sh` with a relative path. Other > than > > > this you need to nest your board configuration in particular folder > > > structure. I don't remember exactly, but what is in that issue is > correct > > > and supported. > > > > > > Am Di., 3. Aug. 2021 um 09:57 Uhr schrieb Simon Filgis < > > > si...@ingenieurbuero-filgis.de>: > > > > > >> Dear all, > > >> > > >> I have my own board assembled with Atmel SAME70 and I would like to > work > > >> on > > >> the board files "outside" the nuttix structure in a separate folder > > >> (custom_board). Now I symlinked my custom_board folder into nuttx: > > >> > > >> cd ../nuttx/boards/arm/samv7 > > >> > ln -s ../../../../custom_board/ custom_board > > >> > > >> > > >> This only works if the find command gets a -L (follow symlinks) in > > >> > > >> function dumpcfgs > > >> > { > > >> > configlist=`find -L ${TOPDIR}/boards -name defconfig` > > >> > for defconfig in ${configlist}; do > > >> > config=`dirname ${defconfig} | sed -e "s,${TOPDIR}/boards/,,g"` > > >> > boardname=`echo ${config} | cut -d'/' -f3` > > >> > configname=`echo ${config} | cut -d'/' -f5` > > >> > echo " ${boardname}:${configname}" > > >> > done > > >> > } > > >> > > >> > > >> Has anybody any concern in adding -L to the find or in general with my > > >> approach? > > >> > > >> Regards, > > >> > > >> Simon > > >> > > >> Ingenieurbüro-Filgis > > >> USt-IdNr.: DE305343278 > > >> > > > >