So had a play with 12.2 and came across an error when building.
make -j V=2 generates the following expanded output for the error:
grep -v "CONFIG_BASE_DEFCONFIG"
"/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config" >
"/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config.tmp"
echo "Create version.h"
if ! cmp -s "/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config.tmp"
"/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config.orig" ; then \
sed -i.bak "/CONFIG_BASE_DEFCONFIG/ { /-dirty/! s/\"$/-dirty\"/
}" "/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config"; \
else \
sed -i.bak "s/-dirty//g"
"/Users/markstevens/GitHub/NuttXAndPicoW/nuttx/.config"; \
fi
mkdir -p staging
Create version.h
sed: 1: "/CONFIG_BASE_DEFCONFIG/ ...": bad flag in substitute command: '}'
make: *** [include/nuttx/config.h] Error 1
make: *** Waiting for unfinished jobs….
Steps to reproduce:
git checkout releases/12.2
git clean -dfx
git reset —hard
./tools/configure.sh -l raspberrypi-pico-w:nsh
make menuconfig
— Change one setting, I disabled the hello example application and save the
settings.
make -j
OS: MacOS
Note that if you don not make a change using menuconfig then the system builds
OK.
I have tried with the build system configured as Mac and Linux.
Regards,
Mark
______________________________
[email protected]
> On 5 Jul 2023, at 08:06, Alin Jerpelea <[email protected]> wrote:
>
> The Apache NuttX project team is proud to announce
> Apache NuttX 12.2.0 has been released.
>
> The release artifacts and Release Notes can be found
> at:https://nuttx.apache.org/download/https://nuttx.apache.org/releases/12.2.0/
>
> Thanks,
> Alin Jerpelea
> on behalf of Apache NuttX PPMC