Re: How do I build for different boards?

2024-12-19 Thread Tomek CEDRO
On Thu, Dec 19, 2024 at 7:20 PM Gregory Nutt wrote: > On 12/19/2024 12:07 PM, Tomek CEDRO wrote: > > On Thu, Dec 19, 2024 at 4:43 PM Gregory Nutt wrote: > >> I remember some discussion about a PR to support traditional out-of-tree > >> builds. Was that not merged? > > I do not recall but indeed

Re: How do I build for different boards?

2024-12-19 Thread Tomek CEDRO
On Thu, Dec 19, 2024 at 4:43 PM Gregory Nutt wrote: > I remember some discussion about a PR to support traditional out-of-tree > builds. Was that not merged? I do not recall but indeed having untouched git clone (or submodule) with no symlinks inside sounds best.. most people prefer that way me

Re: How do I build for different boards?

2024-12-19 Thread Laczen JMS
Hi Alan, Thank you for the quick reply. The proposed method would indeed work. To enhance it I could even use a little script to update the "mynsh" in the external directory (to support multiple defconfigs). The symbolic link however shows up as a difference in the repository and this complicates

Re: How do I build for different boards?

2024-12-19 Thread Gregory Nutt
I remember some discussion about a PR to support traditional out-of-tree builds.  Was that not merged?

Re: How do I build for different boards?

2024-12-19 Thread Tomek CEDRO
On Thu, Dec 19, 2024 at 9:02 AM Aaron M 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. Welcome to the NuttX community Aaron! :-)

Re: How do I build for different boards?

2024-12-19 Thread Alan C. Assis
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,

Re: How do I build for different boards?

2024-12-19 Thread Laczen JMS
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 be

Re: How do I build for different boards?

2024-12-19 Thread Alan C. Assis
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 as

How do I build for different boards?

2024-12-19 Thread Aaron M
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 work