Hi,

I started testing NuttX on Raspberry Pi Pico board, using FreeBSD as
host for building. I was able to build NuttX using all configuration
files for this board (but one - nshsram, it does not finish, but I
don't care about it for now). All those configurations use default UART
placement (pins 0, 1).

These pins are not available on 01space board RP2040-0.42LCD, so I
changed UART placement to pins 28, 29 running 'make menuconfig'. This
way, .config in NuttX working/build directory is modified, and
resulting binary (or uf2 for this board) file works as expected.

This file, however, gets deleted when running 'make distclean' for
different build. Thus I run 'make savedefconfig', altering defconfig
file in working directory. This gets deleted on 'make distclean' as
well, so I manually created new directory, where I copied defconfig
file - boards/arm/rp2040/raspberrypi-pico/configs/nsh_28_29, and now my
config is listed in 'tools/configure.sh -L' output, so I can use it as
any other config file.

So my questions now - is this intended way for saving and reusing
config file? While it works for me, I'd like to have my configs
separated from standard source files, maybe as third parallel directory
to standard nuttx and apps, with ability to see them in
'tools/configure.sh -L' output, and using my configuration with
'tools/configure.sh <my_config>'.

Any hints for this one?

Regards,
Milan

Reply via email to