btashton opened a new issue #1808: URL: https://github.com/apache/incubator-nuttx/issues/1808
Right now if `./tools/configure.sh` fails the build will continue on to the make phase which will cause all kind of unhelpful error messages. For example this recent case was ignored because the change looked unrelated to the PR based on the compiler errors: ``` + /github/workspace/sources/nuttx/tools/testbuild.sh -j 2 -e '-Wno-cpp -Werror' testlist/arm-11.dat ==================================================================================== Configuration/Tool: stm32f4discovery/hciuart,CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL ------------------------------------------------------------------------------------ Cleaning... Configuring... boards/arm/sama5/giant-board/Kconfig:110: syntax error boards/arm/sama5/giant-board/Kconfig:109: invalid option make: *** [tools/Makefile.unix:471: olddefconfig] Error 1 Enabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL boards/arm/sama5/giant-board/Kconfig:110: syntax error boards/arm/sama5/giant-board/Kconfig:109: invalid option make: *** [tools/Makefile.unix:471: olddefconfig] Error 1 Building NuttX... In file included from /github/workspace/sources/nuttx/include/arch/chip/irq.h:49, from /github/workspace/sources/nuttx/include/arch/irq.h:38, from /github/workspace/sources/nuttx/include/nuttx/irq.h:53, from /github/workspace/sources/nuttx/include/nuttx/sched.h:40, from /github/workspace/sources/nuttx/include/sched.h:34, from /github/workspace/sources/nuttx/include/spawn.h:47, from ./exec_builtin.c:49: ##[error]/github/workspace/sources/nuttx/include/arch/stm32/chip.h:96:4: error: #error "Only one STM32 family must be selected !" ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org