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 >