From e66125fafc0e924f273bab38b4a08088d951fbc9 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Tue, 12 Aug 2025 18:53:08 +0200 Subject: [PATCH] STM32H: drivers: renamed pll sources to "rcc" --- meson.build | 2 +- platform/drivers/SPI/spi_stm32h7.c | 2 +- platform/mcu/STM32H7xx/boot/startup.cpp | 2 +- platform/mcu/STM32H7xx/drivers/{pll.cpp => rcc.cpp} | 2 +- platform/mcu/STM32H7xx/drivers/{pll.h => rcc.h} | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) rename platform/mcu/STM32H7xx/drivers/{pll.cpp => rcc.cpp} (99%) rename platform/mcu/STM32H7xx/drivers/{pll.h => rcc.h} (98%) diff --git a/meson.build b/meson.build index 9fadc814..777cce66 100644 --- a/meson.build +++ b/meson.build @@ -280,7 +280,7 @@ mk22fn512_def += miosix_cm4f_def stm32h743_src = ['platform/mcu/STM32H7xx/boot/startup.cpp', 'platform/mcu/STM32H7xx/boot/bsp.cpp', 'platform/mcu/STM32H7xx/boot/libc_integration.cpp', - 'platform/mcu/STM32H7xx/drivers/pll.cpp', + 'platform/mcu/STM32H7xx/drivers/rcc.cpp', 'platform/mcu/STM32H7xx/drivers/delays.cpp', 'platform/drivers/GPIO/gpio_stm32.c', 'platform/drivers/ADC/adc_stm32h7.c', diff --git a/platform/drivers/SPI/spi_stm32h7.c b/platform/drivers/SPI/spi_stm32h7.c index a6df79ba..b7503608 100644 --- a/platform/drivers/SPI/spi_stm32h7.c +++ b/platform/drivers/SPI/spi_stm32h7.c @@ -15,7 +15,7 @@ * along with this program; if not, see * ***************************************************************************/ -#include +#include #include #include #include "spi_stm32.h" diff --git a/platform/mcu/STM32H7xx/boot/startup.cpp b/platform/mcu/STM32H7xx/boot/startup.cpp index ed8a0cb3..60801883 100644 --- a/platform/mcu/STM32H7xx/boot/startup.cpp +++ b/platform/mcu/STM32H7xx/boot/startup.cpp @@ -2,7 +2,7 @@ #include "interfaces/arch_registers.h" #include "core/interrupts.h" //For the unexpected interrupt call #include "core/cache_cortexMx.h" -#include "drivers/pll.h" +#include "drivers/rcc.h" #include "kernel/stage_2_boot.h" #include diff --git a/platform/mcu/STM32H7xx/drivers/pll.cpp b/platform/mcu/STM32H7xx/drivers/rcc.cpp similarity index 99% rename from platform/mcu/STM32H7xx/drivers/pll.cpp rename to platform/mcu/STM32H7xx/drivers/rcc.cpp index 5dc996f3..845e876c 100644 --- a/platform/mcu/STM32H7xx/drivers/pll.cpp +++ b/platform/mcu/STM32H7xx/drivers/rcc.cpp @@ -27,7 +27,7 @@ ***************************************************************************/ #include -#include "pll.h" +#include "rcc.h" /** * Clock tree configuration: diff --git a/platform/mcu/STM32H7xx/drivers/pll.h b/platform/mcu/STM32H7xx/drivers/rcc.h similarity index 98% rename from platform/mcu/STM32H7xx/drivers/pll.h rename to platform/mcu/STM32H7xx/drivers/rcc.h index 367ce0c1..7b8eed91 100644 --- a/platform/mcu/STM32H7xx/drivers/pll.h +++ b/platform/mcu/STM32H7xx/drivers/rcc.h @@ -26,8 +26,8 @@ * along with this program; if not, see * ***************************************************************************/ -#ifndef PLL_H -#define PLL_H +#ifndef RCC_H +#define RCC_H #include @@ -65,4 +65,4 @@ uint32_t getBusClock(const uint8_t bus); } #endif -#endif //PLL_H +#endif //RCC_H