From 6c4cc3a8a5219392c9170cbf9ae96da907556b65 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 22 Sep 2026 10:14:28 +1200 Subject: [PATCH] fix(airbrainh743): re-enable the W25N NAND flash driver (#28675) The NuttX 12.12.0 defconfig refresh dropped CONFIG_MTD_W25N and CONFIG_W25N_SPIFREQUENCY from this board while the other W25N boards (kakuteh7mini, kakuteh7v2) kept them. The option still exists in NuttX 12.12 and defaults to off, and the board's init.c only registers the flash under #ifdef CONFIG_MTD_W25N, so the onboard 128 MB NAND was no longer initialised: no /fs/flash, no logging, no flash-backed dataman. Restore both options with the 104 MHz SPI frequency the board used before. Signed-off-by: Julian Oes --- boards/gearup/airbrainh743/nuttx-config/nsh/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/gearup/airbrainh743/nuttx-config/nsh/defconfig b/boards/gearup/airbrainh743/nuttx-config/nsh/defconfig index 681a009a475..f49e1a9f70b 100644 --- a/boards/gearup/airbrainh743/nuttx-config/nsh/defconfig +++ b/boards/gearup/airbrainh743/nuttx-config/nsh/defconfig @@ -133,6 +133,7 @@ CONFIG_MTD=y CONFIG_MTD_BYTE_WRITE=y CONFIG_MTD_PARTITION=y CONFIG_MTD_PROGMEM=y +CONFIG_MTD_W25N=y CONFIG_NAME_MAX=40 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_ARGCAT=y @@ -250,4 +251,5 @@ CONFIG_USBDEV=y CONFIG_USBDEV_BUSPOWERED=y CONFIG_USBDEV_MAXPOWER=500 CONFIG_USEC_PER_TICK=1000 +CONFIG_W25N_SPIFREQUENCY=104000000 CONFIG_WATCHDOG=y