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
commit afae49bd8473b657ee87a475f86d7eb5f1a744af Author: raiden00pl <[email protected]> AuthorDate: Thu Oct 22 10:55:06 2026 +0200 arch/arm/src/stm32h7: match arm_netinitialize() guard in stm32_fdcan_sock.h arm_internal.h defines arm_netinitialize() as an empty macro without CONFIG_NET. Declare the prototype under the same condition, so the header can be included in FDCAN builds without networking. Signed-off-by: raiden00pl <[email protected]> Assisted-by: Claude Code --- arch/arm/src/stm32h7/stm32_fdcan_sock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32h7/stm32_fdcan_sock.h b/arch/arm/src/stm32h7/stm32_fdcan_sock.h index 0bbe7d9dfc9..b9f0051597c 100644 --- a/arch/arm/src/stm32h7/stm32_fdcan_sock.h +++ b/arch/arm/src/stm32h7/stm32_fdcan_sock.h @@ -48,7 +48,7 @@ extern "C" { #endif -#ifndef CONFIG_NETDEV_LATEINIT +#if defined(CONFIG_NET) && !defined(CONFIG_NETDEV_LATEINIT) /**************************************************************************** * Function: arm_netinitialize
