I'm working on adding NuttX support to the SparkFun STM32 board, but I'm having trouble adding the support to an in-tree build. Specifically I have done the following:
* Copied the OmnibusF4 directory to a new directory to use as a base * Updated the defconfig to use STM32_THING_PLUS instead of OMNIBUSF4 * Updated the boards/Kconfig file to add in the new baord The config does show up when I check with the tools/configure.sh script: robert@debian:~/nuttx$ ./tools/configure.sh -L | grep thing-plus stm32-thing-plus:nsh But once I try to use it, menuconfig doesn't work because the .config file that is generated thinks that it's a custom board, even though the ARCH_BOARD and ARCH_BOARD_STM32_THING_PLUS are set in the defconfig: robert@debian:~/nuttx$ grep ARCH_BOARD .config # CONFIG_ARCH_BOARD_DEBUG_H is not set # CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is not set # CONFIG_ARCH_BOARD_OLIMEX_STM32H405 is not set # CONFIG_ARCH_BOARD_OMNIBUSF4 is not set CONFIG_ARCH_BOARD_CUSTOM=y CONFIG_ARCH_BOARD_CUSTOM_NAME="" CONFIG_ARCH_BOARD_CUSTOM_DIR="" CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y # CONFIG_ARCH_BOARD_COMMON is not set So clearly I've missed something here, but what? I've done everything that should be done according to the porting guide on Confluence(cwiki), but I'm not sure if that's up to date. What might I be missing? -Robert Middleton