Hi Laczen, Good question, normally we use CustomBoards (AKA: out-tree or out-of-the-tree boards) to have a separated board from mainline:
https://nuttx.apache.org/docs/latest/guides/customboards.html But I think your case is different, you only want to use your defconfig separated from mainline, correct? In this case just use a symbolic link will work, enter inside boards/yourarch/yourfamily/yourboard/configs/ and create a symbolic link to the external directory where you board profile with defconfig is located: Example: $ cd boards/arm/stm32/stm32f4discovery/configs/ $ ln -s /home/user/boardconfigs/mynsh mynsh $ cd - $ ./tools/configure.sh stm32f4discovery:mynsh $ make -j BR, Alan On Thu, Dec 19, 2024 at 6:46 AM Laczen JMS <laczen...@gmail.com> wrote: > Hi Alan and Aaron, > > I am also a noob and facing what I think is a similar problem. I would > like to create some specific configuration (defconfig) outside of the > nuttx folder while maintaining my nuttx folder free from changes so > that I can keep the nuttx folder in sync with the repo. What is the > best way to achieve this ? > > Kind regards, > > Jehudi > > Op do 19 dec 2024 om 09:28 schreef Alan C. Assis <acas...@gmail.com>: > > > > Hi Aaron, > > > > Nice to know you have previous experience with NuttX on Sony Spresense. > > > > The process to support other boards is very similar, I suggest you to > read > > our official documentation: > > > > https://nuttx.apache.org/docs/latest/quickstart/index.html > > > > If you still have questions, please feel free to ask here. Also if you > > notice that there is something you expected to find in our documentation > > and it is not there, please let us know, this way we can improve it. > > > > BR, > > > > Alan > > > > On Thu, Dec 19, 2024 at 5:02 AM Aaron M <aaron.lists...@minn-tek.com> > wrote: > > > > > Sorry if this is inappropriate for the list, but I'm a relative noob to > > > Nuttx, and I'm just trying to find my way. I'll go elsewhere if you > > > point me in the correct direction for questions like this. > > > > > > My exposure to Nuttx has been strictly limited to Sony's Spresense, and > > > I have a suitable working environment in VSCode with Sony's SDK. But > if > > > I want to build for, say, the FRDM KL-25, or the RPi Pico 2, can I use > > > the same environment, er, somehow? Do I need to download separate > > > copies of the repo of Nuttx for each board? > > > > > > This link has a nice overview, but it doesn't cover how to handle > > > multiple boards: > > > > > > > https://www.cocoacrumbs.com/blog/2021-10-25-nuttx-on-the-stm32f769-disco-board/ > > > > > > > > > Thanks for any insight, and my deepest apologies if this is the wrong > > > place for these questions. > > > > > > Aaron > > > >