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

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

commit 9cf3eacc4e46f29fa54817c3371a039730947fe2
Author: raiden00pl <[email protected]>
AuthorDate: Mon Jun 1 09:51:49 2026 +0200

    boards: fix various stm32 boards errors
    
    fix various stm32 boards errors found by CI
    
    Signed-off-by: raiden00pl <[email protected]>
---
 boards/arm/stm32f1/stm32_tiny/src/stm32_boot.c | 2 ++
 boards/arm/stm32f2/emw3162/src/stm32_wlan.c    | 2 +-
 boards/arm/stm32f2/photon/src/stm32_wlan.c     | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/boards/arm/stm32f1/stm32_tiny/src/stm32_boot.c 
b/boards/arm/stm32f1/stm32_tiny/src/stm32_boot.c
index b392a99ddf8..3150b338e92 100644
--- a/boards/arm/stm32f1/stm32_tiny/src/stm32_boot.c
+++ b/boards/arm/stm32f1/stm32_tiny/src/stm32_boot.c
@@ -106,6 +106,8 @@ void board_late_initialize(void)
 {
   int ret = OK;
 
+  UNUSED(ret);
+
 #ifdef CONFIG_PWM
   /* Initialize PWM and register the PWM device. */
 
diff --git a/boards/arm/stm32f2/emw3162/src/stm32_wlan.c 
b/boards/arm/stm32f2/emw3162/src/stm32_wlan.c
index ff0e8ccaf1d..4396b94401a 100644
--- a/boards/arm/stm32f2/emw3162/src/stm32_wlan.c
+++ b/boards/arm/stm32f2/emw3162/src/stm32_wlan.c
@@ -142,7 +142,7 @@ bool bcmf_board_etheraddr(struct ether_addr *ethaddr)
  * Name: emw3162_wlan_initialize
  ****************************************************************************/
 
-int emw3162_wlan_initialize()
+int emw3162_wlan_initialize(void)
 {
   int ret;
 
diff --git a/boards/arm/stm32f2/photon/src/stm32_wlan.c 
b/boards/arm/stm32f2/photon/src/stm32_wlan.c
index 88bfa4561e9..f1548ca8a85 100644
--- a/boards/arm/stm32f2/photon/src/stm32_wlan.c
+++ b/boards/arm/stm32f2/photon/src/stm32_wlan.c
@@ -123,7 +123,7 @@ bool bcmf_board_etheraddr(struct ether_addr *ethaddr)
  * Name: photon_wlan_initialize
  ****************************************************************************/
 
-int photon_wlan_initialize()
+int photon_wlan_initialize(void)
 {
   int ret;
 

Reply via email to