This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 018a8c69f04b33314d47c4c69f30f3e34b32df28
Author: raiden00pl <[email protected]>
AuthorDate: Thu Nov 26 11:56:41 2026 +0100

    boards/nucleo-f302r8: Fix CONFIG_NAME_MAX in the cansock config.
    
    CONFIG_NAME_MAX=0 made every path name too long, so /dev/console could
    not be opened (-ENAMETOOLONG) and NSH exited at boot without output.
    Use 16, as the other nucleo-f302r8 configs.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 boards/arm/stm32f3/nucleo-f302r8/configs/cansock/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/stm32f3/nucleo-f302r8/configs/cansock/defconfig 
b/boards/arm/stm32f3/nucleo-f302r8/configs/cansock/defconfig
index 6146f56df2e..b2680c26b99 100644
--- a/boards/arm/stm32f3/nucleo-f302r8/configs/cansock/defconfig
+++ b/boards/arm/stm32f3/nucleo-f302r8/configs/cansock/defconfig
@@ -37,7 +37,7 @@ CONFIG_IOB_BUFSIZE=64
 CONFIG_IOB_NBUFFERS=5
 CONFIG_IRQ_WORK_STACKSIZE=1024
 CONFIG_LTO_FULL=y
-CONFIG_NAME_MAX=0
+CONFIG_NAME_MAX=16
 CONFIG_NET=y
 CONFIG_NETDEV_IFINDEX=y
 CONFIG_NETDEV_LATEINIT=y

Reply via email to