This is an automated email from the ASF dual-hosted git repository. simbit18 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 752d45758f77ed125df2f00f523deb3f373a418d Author: Junbo Zheng <[email protected]> AuthorDate: Sat Oct 31 23:36:32 2026 +0800 boards/arm/nrf52/nrf52832-dk: fix lowercase CONFIG_nrf52_SPI2_MASTER Kconfig defines the symbol uppercase but nrf52_spi.c uses the lowercase form, so the #ifdef is always false and the SPI2 master board hooks (spi2select, spi2status) never compile when a user enables CONFIG_NRF52_SPI2_MASTER=y. Kconfig: arch/arm/src/nrf52/Kconfig:203 config NRF52_SPI2_MASTER Before: #ifdef CONFIG_nrf52_SPI2_MASTER (src/nrf52_spi.c:165) After: #ifdef CONFIG_NRF52_SPI2_MASTER Signed-off-by: Junbo Zheng <[email protected]> --- boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c b/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c index 2ddf84487b3..f20162949ca 100644 --- a/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c +++ b/boards/arm/nrf52/nrf52832-dk/src/nrf52_spi.c @@ -162,7 +162,7 @@ uint8_t nrf52_spi1status(struct spi_dev_s *dev, uint32_t devid) } #endif -#ifdef CONFIG_nrf52_SPI2_MASTER +#ifdef CONFIG_NRF52_SPI2_MASTER void nrf52_spi2select(struct spi_dev_s *dev, uint32_t devid, bool selected) {
