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 7646f8f349bed7c33ecb4f29b343d1fbdf1f7169 Author: Junbo Zheng <[email protected]> AuthorDate: Sat Oct 31 23:36:32 2026 +0800 boards/arm/nrf53/thingy53: fix lowercase CONFIG_nrf53_SPI2_MASTER Kconfig defines the symbol uppercase but nrf53_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_NRF53_SPI2_MASTER=y. Kconfig: arch/arm/src/nrf53/Kconfig:240 config NRF53_SPI2_MASTER Before: #ifdef CONFIG_nrf53_SPI2_MASTER (src/nrf53_spi.c:186) After: #ifdef CONFIG_NRF53_SPI2_MASTER Signed-off-by: Junbo Zheng <[email protected]> --- boards/arm/nrf53/thingy53/src/nrf53_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/nrf53/thingy53/src/nrf53_spi.c b/boards/arm/nrf53/thingy53/src/nrf53_spi.c index e3eb1df7ee1..5366c27eef8 100644 --- a/boards/arm/nrf53/thingy53/src/nrf53_spi.c +++ b/boards/arm/nrf53/thingy53/src/nrf53_spi.c @@ -183,7 +183,7 @@ uint8_t nrf53_spi1status(struct spi_dev_s *dev, uint32_t devid) } #endif -#ifdef CONFIG_nrf53_SPI2_MASTER +#ifdef CONFIG_NRF53_SPI2_MASTER void nrf53_spi2select(struct spi_dev_s *dev, uint32_t devid, bool selected) {
