This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ed360bf9ab6 boards/stm32n6570-dk: Replace sdcard and usbhost with
jumbo.
ed360bf9ab6 is described below
commit ed360bf9ab6ed6ff667d2b646d57f721079c95d7
Author: raiden00pl <[email protected]>
AuthorDate: Thu Nov 19 14:12:17 2026 +0100
boards/stm32n6570-dk: Replace sdcard and usbhost with jumbo.
One jumbo configuration has every feature that does not conflict with
another: netnsh plus the microSD slot, the USB host, USB mass storage,
FAT and the L1 caches.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: raiden00pl <[email protected]>
---
.../arm/stm32n6/boards/stm32n6570-dk/index.rst | 17 ++---
.../configs/{sdcard => jumbo}/defconfig | 30 +++++++++
.../stm32n6570-dk/configs/usbhost/defconfig | 77 ----------------------
3 files changed, 36 insertions(+), 88 deletions(-)
diff --git a/Documentation/platforms/arm/stm32n6/boards/stm32n6570-dk/index.rst
b/Documentation/platforms/arm/stm32n6/boards/stm32n6570-dk/index.rst
index 18260476ee0..9f457b16868 100644
--- a/Documentation/platforms/arm/stm32n6/boards/stm32n6570-dk/index.rst
+++ b/Documentation/platforms/arm/stm32n6/boards/stm32n6570-dk/index.rst
@@ -213,7 +213,7 @@ USB host
The host runs at full speed on the embedded PHY (24 MHz reference, HSE / 2)
of the port selected with ``CONFIG_STM32N6_OTGHS_USB1``/``USB2``:
-* USB2 (default in ``usbhost``): the Type-A connector, VBUS switched by PB9.
+* USB2 (default in ``jumbo``): the Type-A connector, VBUS switched by PB9.
* USB1: the Type-C connector (CN18). VBUS comes from the TCPP03: PA4
enables it and the host driver closes its provider switch over I2C2
(0x34). The CC lines are not driven. Not tested on hardware.
@@ -270,14 +270,9 @@ lvgl
with ``lvgldemo &``. The image is close to the 511 KiB limit of the boot
ROM, so LVGL logging and extra fonts are left out.
-sdcard
-------
-
-NuttShell with the microSD slot on SDMMC2 and the FAT file system, see
-`microSD`_.
-
-usbhost
--------
+jumbo
+-----
-The ``nsh`` configuration with the USB host on the USB2 Type-A
-connector, the mass storage class and the FAT file system, see `USB host`_.
+``netnsh`` plus the microSD slot, the USB host on the USB2 Type-A
+connector, USB mass storage, FAT and the L1 caches. Features that do not
+conflict with each other are added here instead of to new configurations.
diff --git a/boards/arm/stm32n6/stm32n6570-dk/configs/sdcard/defconfig
b/boards/arm/stm32n6/stm32n6570-dk/configs/jumbo/defconfig
similarity index 73%
rename from boards/arm/stm32n6/stm32n6570-dk/configs/sdcard/defconfig
rename to boards/arm/stm32n6/stm32n6570-dk/configs/jumbo/defconfig
index af85524ba55..c67114b6efa 100644
--- a/boards/arm/stm32n6/stm32n6570-dk/configs/sdcard/defconfig
+++ b/boards/arm/stm32n6/stm32n6570-dk/configs/jumbo/defconfig
@@ -21,6 +21,8 @@ CONFIG_ARCH_CHIP_STM32N6=y
CONFIG_ARCH_INTERRUPTSTACK=4096
CONFIG_ARCH_IRQBUTTONS=y
CONFIG_ARCH_STACKDUMP=y
+CONFIG_ARMV8M_DCACHE=y
+CONFIG_ARMV8M_ICACHE=y
CONFIG_BOARD_LOOPSPERMSEC=84000
CONFIG_BUILTIN=y
CONFIG_DEBUG_FULLOPT=y
@@ -41,6 +43,21 @@ CONFIG_INPUT_BUTTONS_LOWER=y
CONFIG_MMCSD=y
CONFIG_MMCSD_SDIO=y
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y
+CONFIG_NET=y
+CONFIG_NETDB_DNSCLIENT=y
+CONFIG_NETDEV_PHY_IOCTL=y
+CONFIG_NETINIT_DHCPC=y
+CONFIG_NETUTILS_TELNETD=y
+CONFIG_NET_BROADCAST=y
+CONFIG_NET_ETH_PKTSIZE=1514
+CONFIG_NET_ICMP_SOCKET=y
+CONFIG_NET_LOOPBACK=y
+CONFIG_NET_PHYLIB=y
+CONFIG_NET_PHY_REALTEK_RTL8211F=y
+CONFIG_NET_ROUTE=y
+CONFIG_NET_STATISTICS=y
+CONFIG_NET_TCP=y
+CONFIG_NET_UDP=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_READLINE=y
@@ -54,23 +71,36 @@ CONFIG_RTC_DRIVER=y
CONFIG_RTC_NALARMS=2
CONFIG_RTC_PERIODIC=y
CONFIG_SCHED_HPWORK=y
+CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y
CONFIG_SDMMC2_SDIO_PULLUP=y
CONFIG_SPITOOL_MAXBUS=5
CONFIG_STM32N6_DEBUG=y
+CONFIG_STM32N6_OTGHS_USB2=y
CONFIG_STM32_DMA1=y
+CONFIG_STM32_ETHMAC=y
CONFIG_STM32_I2C1=y
CONFIG_STM32_I2C2=y
CONFIG_STM32_I2C4=y
+CONFIG_STM32_OTGHS=y
+CONFIG_STM32_PHYADDR=1
+CONFIG_STM32_RGMII=y
CONFIG_STM32_RNG=y
CONFIG_STM32_RTC=y
CONFIG_STM32_SDMMC2=y
CONFIG_STM32_SPI5=y
CONFIG_STM32_USART1=y
CONFIG_STM32_USART2=y
+CONFIG_SYSTEM_DHCPC_RENEW=y
CONFIG_SYSTEM_I2CTOOL=y
+CONFIG_SYSTEM_MDIO=y
CONFIG_SYSTEM_NSH=y
+CONFIG_SYSTEM_PING=y
CONFIG_SYSTEM_SPITOOL=y
CONFIG_USART1_SERIAL_CONSOLE=y
+CONFIG_USBHOST=y
+CONFIG_USBHOST_MSC=y
+CONFIG_USBHOST_WAITER=y
+CONFIG_USBHOST_WAITER_STACKSIZE=4096
CONFIG_USERLED=y
CONFIG_USERLED_LOWER=y
diff --git a/boards/arm/stm32n6/stm32n6570-dk/configs/usbhost/defconfig
b/boards/arm/stm32n6/stm32n6570-dk/configs/usbhost/defconfig
deleted file mode 100644
index a0e2ac258b9..00000000000
--- a/boards/arm/stm32n6/stm32n6570-dk/configs/usbhost/defconfig
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# This file is autogenerated: PLEASE DO NOT EDIT IT.
-#
-# You can use "make menuconfig" to make any modifications to the installed
.config file.
-# You can then do "make savedefconfig" to generate a new defconfig file that
includes your
-# modifications.
-#
-# CONFIG_ARCH_LEDS is not set
-CONFIG_ARCH="arm"
-CONFIG_ARCH_BOARD="stm32n6570-dk"
-CONFIG_ARCH_BOARD_COMMON=y
-CONFIG_ARCH_BOARD_STM32N6570_DK=y
-CONFIG_ARCH_BUTTONS=y
-CONFIG_ARCH_CHIP="stm32n6"
-CONFIG_ARCH_CHIP_STM32=y
-CONFIG_ARCH_CHIP_STM32N657X0=y
-CONFIG_ARCH_CHIP_STM32N6=y
-CONFIG_ARCH_INTERRUPTSTACK=4096
-CONFIG_ARCH_IRQBUTTONS=y
-CONFIG_ARCH_STACKDUMP=y
-CONFIG_ARMV8M_DCACHE=y
-CONFIG_ARMV8M_ICACHE=y
-CONFIG_BOARD_LOOPSPERMSEC=84000
-CONFIG_BUILTIN=y
-CONFIG_DEBUG_FULLOPT=y
-CONFIG_DEBUG_SYMBOLS=y
-CONFIG_EXAMPLES_ALARM=y
-CONFIG_FAT_LCNAMES=y
-CONFIG_FAT_LFN=y
-CONFIG_FS_FAT=y
-CONFIG_FS_PROCFS=y
-CONFIG_HAVE_CXX=y
-CONFIG_HAVE_CXXINITIALIZE=y
-CONFIG_I2C=y
-CONFIG_IDLETHREAD_STACKSIZE=4096
-CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_INPUT=y
-CONFIG_INPUT_BUTTONS=y
-CONFIG_INPUT_BUTTONS_LOWER=y
-CONFIG_NSH_BUILTIN_APPS=y
-CONFIG_NSH_FILEIOSIZE=512
-CONFIG_NSH_READLINE=y
-CONFIG_RAM_SIZE=2620416
-CONFIG_RAM_START=0x34180400
-CONFIG_RAW_BINARY=y
-CONFIG_RR_INTERVAL=200
-CONFIG_RTC_ALARM=y
-CONFIG_RTC_DATETIME=y
-CONFIG_RTC_DRIVER=y
-CONFIG_RTC_NALARMS=2
-CONFIG_RTC_PERIODIC=y
-CONFIG_SCHED_HPWORK=y
-CONFIG_SCHED_LPWORK=y
-CONFIG_SCHED_WAITPID=y
-CONFIG_SPITOOL_MAXBUS=5
-CONFIG_STM32N6_DEBUG=y
-CONFIG_STM32N6_OTGHS_USB2=y
-CONFIG_STM32_DMA1=y
-CONFIG_STM32_I2C1=y
-CONFIG_STM32_I2C2=y
-CONFIG_STM32_I2C4=y
-CONFIG_STM32_OTGHS=y
-CONFIG_STM32_RNG=y
-CONFIG_STM32_RTC=y
-CONFIG_STM32_SPI5=y
-CONFIG_STM32_USART1=y
-CONFIG_STM32_USART2=y
-CONFIG_SYSTEM_I2CTOOL=y
-CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_SPITOOL=y
-CONFIG_USART1_SERIAL_CONSOLE=y
-CONFIG_USBHOST=y
-CONFIG_USBHOST_MSC=y
-CONFIG_USBHOST_WAITER=y
-CONFIG_USBHOST_WAITER_STACKSIZE=4096
-CONFIG_USERLED=y
-CONFIG_USERLED_LOWER=y