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 fe42e755a11b5db9e4e24869c82ad4860f6600a9
Author: raiden00pl <[email protected]>
AuthorDate: Fri May 29 16:23:50 2026 +0200

    !arm/stm32h7: standardize public API prefix to stm32_
    
    BREAKING CHANGE: Public STM32H7 APIs were renamed from stm32h7_*
    forms to canonical stm32_* forms.
    
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/arm/src/stm32h7/stm32_adc.c                   |  7 +++--
 arch/arm/src/stm32h7/stm32_adc.h                   |  7 +++--
 arch/arm/src/stm32h7/stm32_dualcore.c              |  8 +++---
 arch/arm/src/stm32h7/stm32_dualcore.h              |  8 +++---
 arch/arm/src/stm32h7/stm32_flash.h                 | 24 ++++++++---------
 arch/arm/src/stm32h7/stm32_qspi.c                  | 16 ++++++------
 arch/arm/src/stm32h7/stm32_qspi.h                  | 10 ++++----
 arch/arm/src/stm32h7/stm32_start.c                 |  4 +--
 arch/arm/src/stm32h7/stm32h743xx_flash.c           | 30 +++++++++++-----------
 arch/arm/src/stm32h7/stm32h7b3xx_flash.c           | 30 +++++++++++-----------
 .../arm/stm32h7/linum-stm32h753bi/src/stm32_w25q.c |  2 +-
 boards/arm/stm32h7/nucleo-h723zg/src/stm32_adc.c   |  6 ++---
 boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c   |  6 ++---
 boards/arm/stm32h7/nucleo-h743zi2/src/stm32_adc.c  |  4 +--
 boards/arm/stm32h7/nucleo-h745zi/src/stm32_adc.c   |  4 +--
 boards/arm/stm32h7/nucleo-h753zi/src/stm32_adc.c   |  4 +--
 .../arm/stm32h7/stm32h747i-disco/src/stm32_adc.c   |  4 +--
 17 files changed, 86 insertions(+), 88 deletions(-)

diff --git a/arch/arm/src/stm32h7/stm32_adc.c b/arch/arm/src/stm32h7/stm32_adc.c
index af06b0b83bf..1db742bb688 100644
--- a/arch/arm/src/stm32h7/stm32_adc.c
+++ b/arch/arm/src/stm32h7/stm32_adc.c
@@ -2277,7 +2277,7 @@ static void adc_dmaconvcallback(DMA_HANDLE handle, 
uint8_t isr,
  ****************************************************************************/
 
 /****************************************************************************
- * Name: stm32h7_adc_initialize
+ * Name: stm32_adc_initialize
  *
  * Description:
  *   Initialize the ADC.
@@ -2302,9 +2302,8 @@ static void adc_dmaconvcallback(DMA_HANDLE handle, 
uint8_t isr,
  *
  ****************************************************************************/
 
-struct adc_dev_s *stm32h7_adc_initialize(int intf,
-                                         const uint8_t *chanlist,
-                                         int cchannels)
+struct adc_dev_s *stm32_adc_initialize(int intf, const uint8_t *chanlist,
+                                       int cchannels)
 {
   struct adc_dev_s   *dev;
   struct stm32_dev_s *priv;
diff --git a/arch/arm/src/stm32h7/stm32_adc.h b/arch/arm/src/stm32h7/stm32_adc.h
index df7e5132e05..ce6a460ca92 100644
--- a/arch/arm/src/stm32h7/stm32_adc.h
+++ b/arch/arm/src/stm32h7/stm32_adc.h
@@ -785,7 +785,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Name: stm32h7_adc_initialize
+ * Name: stm32_adc_initialize
  *
  * Description:
  *   Initialize the ADC.
@@ -801,9 +801,8 @@ extern "C"
  ****************************************************************************/
 
 struct adc_dev_s;
-struct adc_dev_s *stm32h7_adc_initialize(int intf,
-                                         const uint8_t *chanlist,
-                                         int nchannels);
+struct adc_dev_s *stm32_adc_initialize(int intf, const uint8_t *chanlist,
+                                       int nchannels);
 #undef EXTERN
 #ifdef __cplusplus
 }
diff --git a/arch/arm/src/stm32h7/stm32_dualcore.c 
b/arch/arm/src/stm32h7/stm32_dualcore.c
index 5288a3f2206..85ab5e0ba3c 100644
--- a/arch/arm/src/stm32h7/stm32_dualcore.c
+++ b/arch/arm/src/stm32h7/stm32_dualcore.c
@@ -137,14 +137,14 @@ static void stm32_cpu2sem_take(void)
     defined(CONFIG_STM32H7_CORTEXM4_ENABLED)
 
 /****************************************************************************
- * Name: stm32h7_start_cm4
+ * Name: stm32_start_cm4
  *
  * Description:
  *   Start CM4 core
  *
  ****************************************************************************/
 
-void stm32h7_start_cm4(void)
+void stm32_start_cm4(void)
 {
   uint32_t regval = 0;
 
@@ -177,14 +177,14 @@ void stm32h7_start_cm4(void)
 
 #ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM4
 /****************************************************************************
- * Name: stm32h7_waitfor_cm7
+ * Name: stm32_waitfor_cm7
  *
  * Description:
  *   Wait for CM7 core initialization
  *
  ****************************************************************************/
 
-void stm32h7_waitfor_cm7(void)
+void stm32_waitfor_cm7(void)
 {
   if (stm32_cm4_boot() == true)
     {
diff --git a/arch/arm/src/stm32h7/stm32_dualcore.h 
b/arch/arm/src/stm32h7/stm32_dualcore.h
index ab0524de3bf..64f42ade6b3 100644
--- a/arch/arm/src/stm32h7/stm32_dualcore.h
+++ b/arch/arm/src/stm32h7/stm32_dualcore.h
@@ -54,26 +54,26 @@ extern "C"
     defined(CONFIG_STM32H7_CORTEXM4_ENABLED)
 
 /****************************************************************************
- * Name: stm32h7_start_cm4
+ * Name: stm32_start_cm4
  *
  * Description:
  *   Start CM4 core
  *
  ****************************************************************************/
 
-void stm32h7_start_cm4(void);
+void stm32_start_cm4(void);
 #endif
 
 #ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM4
 /****************************************************************************
- * Name: stm32h7_waitfor_cm7
+ * Name: stm32_waitfor_cm7
  *
  * Description:
  *   Wait for CM7 core initialization
  *
  ****************************************************************************/
 
-void stm32h7_waitfor_cm7(void);
+void stm32_waitfor_cm7(void);
 #endif
 
 #undef EXTERN
diff --git a/arch/arm/src/stm32h7/stm32_flash.h 
b/arch/arm/src/stm32h7/stm32_flash.h
index 39481210dda..cdd73d3b31d 100644
--- a/arch/arm/src/stm32h7/stm32_flash.h
+++ b/arch/arm/src/stm32h7/stm32_flash.h
@@ -48,27 +48,27 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Name: stm32h7_flash_getopt
+ * Name: stm32_flash_getopt
  *
  * Description:
  *   Returns the current flash option bytes from the FLASH_OPTSR_CR register.
  *
  ****************************************************************************/
 
-uint32_t stm32h7_flash_getopt(void);
+uint32_t stm32_flash_getopt(void);
 
 /****************************************************************************
- * Name: stm32h7_flash_optmodify
+ * Name: stm32_flash_optmodify
  *
  * Description:
  *   Modifies the current flash option bytes, given bits to set and clear.
  *
  ****************************************************************************/
 
-void stm32h7_flash_optmodify(uint32_t clear, uint32_t set);
+void stm32_flash_optmodify(uint32_t clear, uint32_t set);
 
 /****************************************************************************
- * Name: stm32h7_flash_swapbanks
+ * Name: stm32_flash_swapbanks
  *
  * Description:
  *   Swaps banks 1 and 2 in the processor's memory map.  Takes effect
@@ -76,37 +76,37 @@ void stm32h7_flash_optmodify(uint32_t clear, uint32_t set);
  *
  ****************************************************************************/
 
-void stm32h7_flash_swapbanks(void);
+void stm32_flash_swapbanks(void);
 
 /****************************************************************************
- * Name: stm32h7_flash_lock
+ * Name: stm32_flash_lock
  *
  * Description:
  *   Locks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_lock(void);
+int stm32_flash_lock(void);
 
 /****************************************************************************
- * Name: stm32h7_flash_unlock
+ * Name: stm32_flash_unlock
  *
  * Description:
  *   Unlocks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_unlock(void);
+int stm32_flash_unlock(void);
 
 /****************************************************************************
- * Name: stm32h7_flash_writeprotect
+ * Name: stm32_flash_writeprotect
  *
  * Description:
  *   Enable or disable the write protection of a flash sector.
  *
  ****************************************************************************/
 
-int stm32h7_flash_writeprotect(size_t page, bool enabled);
+int stm32_flash_writeprotect(size_t page, bool enabled);
 
 #undef EXTERN
 #if defined(__cplusplus)
diff --git a/arch/arm/src/stm32h7/stm32_qspi.c 
b/arch/arm/src/stm32h7/stm32_qspi.c
index c346fa55125..c6f72058489 100644
--- a/arch/arm/src/stm32h7/stm32_qspi.c
+++ b/arch/arm/src/stm32h7/stm32_qspi.c
@@ -2543,7 +2543,7 @@ static int qspi_hw_initialize(struct stm32h7_qspidev_s 
*priv)
  ****************************************************************************/
 
 /****************************************************************************
- * Name: stm32h7_qspi_initialize
+ * Name: stm32_qspi_initialize
  *
  * Description:
  *   Initialize the selected QSPI port in master mode
@@ -2556,7 +2556,7 @@ static int qspi_hw_initialize(struct stm32h7_qspidev_s 
*priv)
  *
  ****************************************************************************/
 
-struct qspi_dev_s *stm32h7_qspi_initialize(int intf)
+struct qspi_dev_s *stm32_qspi_initialize(int intf)
 {
   struct stm32h7_qspidev_s *priv;
   uint32_t regval;
@@ -2683,7 +2683,7 @@ errout_with_dmach:
 }
 
 /****************************************************************************
- * Name: stm32h7_qspi_enter_memorymapped
+ * Name: stm32_qspi_enter_memorymapped
  *
  * Description:
  *   Put the QSPI device into memory mapped mode
@@ -2697,9 +2697,9 @@ errout_with_dmach:
  *
  ****************************************************************************/
 
-void stm32h7_qspi_enter_memorymapped(struct qspi_dev_s *dev,
-                                     const struct qspi_meminfo_s *meminfo,
-                                     uint32_t lpto)
+void stm32_qspi_enter_memorymapped(struct qspi_dev_s *dev,
+                                   const struct qspi_meminfo_s *meminfo,
+                                   uint32_t lpto)
 {
   struct stm32h7_qspidev_s *priv = (struct stm32h7_qspidev_s *)dev;
   uint32_t regval;
@@ -2775,7 +2775,7 @@ void stm32h7_qspi_enter_memorymapped(struct qspi_dev_s 
*dev,
 }
 
 /****************************************************************************
- * Name: stm32h7_qspi_exit_memorymapped
+ * Name: stm32_qspi_exit_memorymapped
  *
  * Description:
  *   Take the QSPI device out of memory mapped mode
@@ -2788,7 +2788,7 @@ void stm32h7_qspi_enter_memorymapped(struct qspi_dev_s 
*dev,
  *
  ****************************************************************************/
 
-void stm32h7_qspi_exit_memorymapped(struct qspi_dev_s *dev)
+void stm32_qspi_exit_memorymapped(struct qspi_dev_s *dev)
 {
   struct stm32h7_qspidev_s *priv = (struct stm32h7_qspidev_s *)dev;
 
diff --git a/arch/arm/src/stm32h7/stm32_qspi.h 
b/arch/arm/src/stm32h7/stm32_qspi.h
index 36724b2538e..dd2c257584c 100644
--- a/arch/arm/src/stm32h7/stm32_qspi.h
+++ b/arch/arm/src/stm32h7/stm32_qspi.h
@@ -83,7 +83,7 @@ extern "C"
  ****************************************************************************/
 
 struct qspi_dev_s;
-struct qspi_dev_s *stm32h7_qspi_initialize(int intf);
+struct qspi_dev_s *stm32_qspi_initialize(int intf);
 
 /****************************************************************************
  * Name: stm32l4_qspi_enter_memorymapped
@@ -101,9 +101,9 @@ struct qspi_dev_s *stm32h7_qspi_initialize(int intf);
  *
  ****************************************************************************/
 
-void stm32h7_qspi_enter_memorymapped(struct qspi_dev_s *dev,
-                                     const struct qspi_meminfo_s *meminfo,
-                                     uint32_t lpto);
+void stm32_qspi_enter_memorymapped(struct qspi_dev_s *dev,
+                                   const struct qspi_meminfo_s *meminfo,
+                                   uint32_t lpto);
 
 /****************************************************************************
  * Name: stm32l4_qspi_exit_memorymapped
@@ -119,7 +119,7 @@ void stm32h7_qspi_enter_memorymapped(struct qspi_dev_s *dev,
  *
  ****************************************************************************/
 
-void stm32h7_qspi_exit_memorymapped(struct qspi_dev_s *dev);
+void stm32_qspi_exit_memorymapped(struct qspi_dev_s *dev);
 
 #undef EXTERN
 #if defined(__cplusplus)
diff --git a/arch/arm/src/stm32h7/stm32_start.c 
b/arch/arm/src/stm32h7/stm32_start.c
index 88d53cf8bb7..70c7d4ade3f 100644
--- a/arch/arm/src/stm32h7/stm32_start.c
+++ b/arch/arm/src/stm32h7/stm32_start.c
@@ -195,7 +195,7 @@ void __start(void)
 #ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM4
   /* Wait for CM7 initialization done */
 
-  stm32h7_waitfor_cm7();
+  stm32_waitfor_cm7();
 #endif
 
   /* If enabled reset the MPU */
@@ -309,7 +309,7 @@ void __start(void)
 
   /* Start CM4 core after clock configuration is done */
 
-  stm32h7_start_cm4();
+  stm32_start_cm4();
 #endif
 
   nx_start();
diff --git a/arch/arm/src/stm32h7/stm32h743xx_flash.c 
b/arch/arm/src/stm32h7/stm32h743xx_flash.c
index 1d68c42c786..ddf3c13a5b8 100644
--- a/arch/arm/src/stm32h7/stm32h743xx_flash.c
+++ b/arch/arm/src/stm32h7/stm32h743xx_flash.c
@@ -508,14 +508,14 @@ static void stm32h7_save_flashopt(struct 
stm32h7_flash_priv_s *priv)
  ****************************************************************************/
 
 /****************************************************************************
- * Name: stm32h7_flash_unlock
+ * Name: stm32_flash_unlock
  *
  * Description:
  *   Unlocks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_unlock(size_t addr)
+int stm32_flash_unlock(size_t addr)
 {
   int ret = -ENODEV;
   struct stm32h7_flash_priv_s *priv = stm32h7_flash_bank(addr);
@@ -536,14 +536,14 @@ int stm32h7_flash_unlock(size_t addr)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_lock
+ * Name: stm32_flash_lock
  *
  * Description:
  *   Locks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_lock(size_t addr)
+int stm32_flash_lock(size_t addr)
 {
   int ret = -ENODEV;
   struct stm32h7_flash_priv_s *priv = stm32h7_flash_bank(addr);
@@ -564,14 +564,14 @@ int stm32h7_flash_lock(size_t addr)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_writeprotect
+ * Name: stm32_flash_writeprotect
  *
  * Description:
  *   Enable or disable the write protection of a flash sector.
  *
  ****************************************************************************/
 
-int stm32h7_flash_writeprotect(size_t block, bool enabled)
+int stm32_flash_writeprotect(size_t block, bool enabled)
 {
   struct stm32h7_flash_priv_s *priv;
   uint32_t setbits   = 0;
@@ -605,14 +605,14 @@ int stm32h7_flash_writeprotect(size_t block, bool enabled)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_getopt
+ * Name: stm32_flash_getopt
  *
  * Description:
  *   Returns the current flash option bytes from the FLASH_OPTSR_CR register.
  *
  ****************************************************************************/
 
-uint32_t stm32h7_flash_getopt(void)
+uint32_t stm32_flash_getopt(void)
 {
   struct stm32h7_flash_priv_s *priv;
   priv = stm32h7_flash_bank(STM32_FLASH_BANK1);
@@ -625,14 +625,14 @@ uint32_t stm32h7_flash_getopt(void)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_optmodify
+ * Name: stm32_flash_optmodify
  *
  * Description:
  *   Modifies the current flash option bytes, given bits to set and clear.
  *
  ****************************************************************************/
 
-void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
+void stm32_flash_optmodify(uint32_t clear, uint32_t set)
 {
   struct stm32h7_flash_priv_s *priv;
   bool was_locked;
@@ -652,7 +652,7 @@ void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_swapbanks
+ * Name: stm32_flash_swapbanks
  *
  * Description:
  *   Swaps banks 1 and 2 in the processor's memory map.  Takes effect
@@ -660,16 +660,16 @@ void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
  *
  ****************************************************************************/
 
-void stm32h7_flash_swapbanks(void)
+void stm32_flash_swapbanks(void)
 {
-  uint32_t opts = stm32h7_flash_getopt();
+  uint32_t opts = stm32_flash_getopt();
   if (opts & FLASH_OPTCR_SWAPBANK)
     {
-      stm32h7_flash_optmodify(FLASH_OPTCR_SWAPBANK, 0);
+      stm32_flash_optmodify(FLASH_OPTCR_SWAPBANK, 0);
     }
   else
     {
-      stm32h7_flash_optmodify(0, FLASH_OPTCR_SWAPBANK);
+      stm32_flash_optmodify(0, FLASH_OPTCR_SWAPBANK);
     }
 }
 
diff --git a/arch/arm/src/stm32h7/stm32h7b3xx_flash.c 
b/arch/arm/src/stm32h7/stm32h7b3xx_flash.c
index c76b4e307a3..278d0d2171d 100644
--- a/arch/arm/src/stm32h7/stm32h7b3xx_flash.c
+++ b/arch/arm/src/stm32h7/stm32h7b3xx_flash.c
@@ -478,14 +478,14 @@ static void stm32h7_save_flashopt(struct 
stm32h7_flash_priv_s *priv)
  ****************************************************************************/
 
 /****************************************************************************
- * Name: stm32h7_flash_unlock
+ * Name: stm32_flash_unlock
  *
  * Description:
  *   Unlocks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_unlock(size_t addr)
+int stm32_flash_unlock(size_t addr)
 {
   int ret = -ENODEV;
   struct stm32h7_flash_priv_s *priv = stm32h7_flash_bank(addr);
@@ -506,14 +506,14 @@ int stm32h7_flash_unlock(size_t addr)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_lock
+ * Name: stm32_flash_lock
  *
  * Description:
  *   Locks a bank
  *
  ****************************************************************************/
 
-int stm32h7_flash_lock(size_t addr)
+int stm32_flash_lock(size_t addr)
 {
   int ret = -ENODEV;
   struct stm32h7_flash_priv_s *priv = stm32h7_flash_bank(addr);
@@ -534,14 +534,14 @@ int stm32h7_flash_lock(size_t addr)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_writeprotect
+ * Name: stm32_flash_writeprotect
  *
  * Description:
  *   Enable or disable the write protection of a flash sector.
  *
  ****************************************************************************/
 
-int stm32h7_flash_writeprotect(size_t block, bool enabled)
+int stm32_flash_writeprotect(size_t block, bool enabled)
 {
   struct stm32h7_flash_priv_s *priv;
   uint32_t setbits   = 0;
@@ -575,14 +575,14 @@ int stm32h7_flash_writeprotect(size_t block, bool enabled)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_getopt
+ * Name: stm32_flash_getopt
  *
  * Description:
  *   Returns the current flash option bytes from the FLASH_OPTSR_CR register.
  *
  ****************************************************************************/
 
-uint32_t stm32h7_flash_getopt(void)
+uint32_t stm32_flash_getopt(void)
 {
   struct stm32h7_flash_priv_s *priv;
   priv = stm32h7_flash_bank(STM32_FLASH_BANK1);
@@ -595,14 +595,14 @@ uint32_t stm32h7_flash_getopt(void)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_optmodify
+ * Name: stm32_flash_optmodify
  *
  * Description:
  *   Modifies the current flash option bytes, given bits to set and clear.
  *
  ****************************************************************************/
 
-void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
+void stm32_flash_optmodify(uint32_t clear, uint32_t set)
 {
   struct stm32h7_flash_priv_s *priv;
   bool was_locked;
@@ -622,7 +622,7 @@ void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
 }
 
 /****************************************************************************
- * Name: stm32h7_flash_swapbanks
+ * Name: stm32_flash_swapbanks
  *
  * Description:
  *   Swaps banks 1 and 2 in the processor's memory map.  Takes effect
@@ -630,16 +630,16 @@ void stm32h7_flash_optmodify(uint32_t clear, uint32_t set)
  *
  ****************************************************************************/
 
-void stm32h7_flash_swapbanks(void)
+void stm32_flash_swapbanks(void)
 {
-  uint32_t opts = stm32h7_flash_getopt();
+  uint32_t opts = stm32_flash_getopt();
   if (opts & FLASH_OPTCR_SWAPBANK)
     {
-      stm32h7_flash_optmodify(FLASH_OPTCR_SWAPBANK, 0);
+      stm32_flash_optmodify(FLASH_OPTCR_SWAPBANK, 0);
     }
   else
     {
-      stm32h7_flash_optmodify(0, FLASH_OPTCR_SWAPBANK);
+      stm32_flash_optmodify(0, FLASH_OPTCR_SWAPBANK);
     }
 }
 
diff --git a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_w25q.c 
b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_w25q.c
index 26a494c7619..98c8454c49c 100644
--- a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_w25q.c
+++ b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_w25q.c
@@ -79,7 +79,7 @@ int stm32_w25qxxx_setup(void)
   struct mtd_dev_s *mtd_dev;
   int ret = -1;
 
-  qspi_dev = stm32h7_qspi_initialize(0);
+  qspi_dev = stm32_qspi_initialize(0);
   if (!qspi_dev)
     {
       _err("ERROR: Failed to initialize W25 minor %d: %d\n",
diff --git a/boards/arm/stm32h7/nucleo-h723zg/src/stm32_adc.c 
b/boards/arm/stm32h7/nucleo-h723zg/src/stm32_adc.c
index 8170b1decc7..60de3707aae 100644
--- a/boards/arm/stm32h7/nucleo-h723zg/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h723zg/src/stm32_adc.c
@@ -171,7 +171,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -203,7 +203,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(2, g_adc2_chanlist, ADC2_NCHANNELS);
+      adc = stm32_adc_initialize(2, g_adc2_chanlist, ADC2_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC2 interface\n");
@@ -235,7 +235,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");
diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c 
b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
index 46744e439de..a4ac81103a6 100644
--- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
@@ -171,7 +171,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -203,7 +203,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(2, g_adc2_chanlist, ADC2_NCHANNELS);
+      adc = stm32_adc_initialize(2, g_adc2_chanlist, ADC2_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC2 interface\n");
@@ -235,7 +235,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");
diff --git a/boards/arm/stm32h7/nucleo-h743zi2/src/stm32_adc.c 
b/boards/arm/stm32h7/nucleo-h743zi2/src/stm32_adc.c
index 04a0ef65f5d..c11ea35b3f3 100644
--- a/boards/arm/stm32h7/nucleo-h743zi2/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h743zi2/src/stm32_adc.c
@@ -157,7 +157,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -188,7 +188,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");
diff --git a/boards/arm/stm32h7/nucleo-h745zi/src/stm32_adc.c 
b/boards/arm/stm32h7/nucleo-h745zi/src/stm32_adc.c
index 731b1421e93..7ab6b8a0331 100644
--- a/boards/arm/stm32h7/nucleo-h745zi/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h745zi/src/stm32_adc.c
@@ -160,7 +160,7 @@ int stm32_adc_setup(int adcno)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -191,7 +191,7 @@ int stm32_adc_setup(int adcno)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");
diff --git a/boards/arm/stm32h7/nucleo-h753zi/src/stm32_adc.c 
b/boards/arm/stm32h7/nucleo-h753zi/src/stm32_adc.c
index 3bd182ef382..8bc9ba8841a 100644
--- a/boards/arm/stm32h7/nucleo-h753zi/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h753zi/src/stm32_adc.c
@@ -157,7 +157,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -188,7 +188,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");
diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c 
b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
index 43d90ea1c58..89c9a723d69 100644
--- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
+++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
@@ -149,7 +149,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
+      adc = stm32_adc_initialize(1, g_adc1_chanlist, ADC1_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC1 interface\n");
@@ -180,7 +180,7 @@ int stm32_adc_setup(void)
 
       /* Call stm32_adcinitialize() to get an instance of the ADC interface */
 
-      adc = stm32h7_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
+      adc = stm32_adc_initialize(3, g_adc3_chanlist, ADC3_NCHANNELS);
       if (adc == NULL)
         {
           aerr("ERROR: Failed to get ADC3 interface\n");

Reply via email to