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
The following commit(s) were added to refs/heads/master by this push:
new eb20f8d5daf boards/arm/stm32n6/stm32n6570-dk: Fix the IOB settings of
lvglcam.
eb20f8d5daf is described below
commit eb20f8d5daf4a4fc0d22178c81db8f625083551b
Author: Marco Casaroli <[email protected]>
AuthorDate: Sat Nov 28 22:32:17 2026 +0100
boards/arm/stm32n6/stm32n6570-dk: Fix the IOB settings of lvglcam.
The lvglcam configuration does not build. stm32_eth_v2.c stops with two
errors: "The IOBs must be aligned to the D-Cache lines" and
"CONFIG_IOB_NBUFFERS is too small for the Ethernet DMA rings".
The Ethernet v2 driver now takes its DMA buffers from the IOB pool. With
the D-Cache, CONFIG_IOB_ALIGNMENT and CONFIG_IOB_BUFSIZE must be multiples
of the D-Cache line size, and the pool must hold the RX and TX rings. The
change of the driver set these options in all the configurations with
Ethernet, but lvglcam came at the same time and did not get them.
Set CONFIG_IOB_ALIGNMENT=32, CONFIG_IOB_BUFSIZE=224 and
CONFIG_IOB_NBUFFERS=100, the same values as in the netnsh and jumbo
configurations of this board.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <[email protected]>
---
boards/arm/stm32n6/stm32n6570-dk/configs/lvglcam/defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/boards/arm/stm32n6/stm32n6570-dk/configs/lvglcam/defconfig
b/boards/arm/stm32n6/stm32n6570-dk/configs/lvglcam/defconfig
index da9cb129902..6e3ffb465b5 100644
--- a/boards/arm/stm32n6/stm32n6570-dk/configs/lvglcam/defconfig
+++ b/boards/arm/stm32n6/stm32n6570-dk/configs/lvglcam/defconfig
@@ -80,6 +80,9 @@ CONFIG_INPUT=y
CONFIG_INPUT_BUTTONS=y
CONFIG_INPUT_BUTTONS_LOWER=y
CONFIG_INPUT_GT9XX=y
+CONFIG_IOB_ALIGNMENT=32
+CONFIG_IOB_BUFSIZE=224
+CONFIG_IOB_NBUFFERS=100
CONFIG_LIBC_NETDB=y
CONFIG_LV_USE_CLIB_MALLOC=y
CONFIG_LV_USE_CLIB_SPRINTF=y