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 11128e554375d3881632a685e839eab105e837be Author: raiden00pl <[email protected]> AuthorDate: Mon Sep 14 12:54:11 2026 +0200 arch/arm/stm32: Add STM32C0 to HSI48 M0 driver add STM32C0 to HSI48 M0 driver Assisted-by: Claude Code Signed-off-by: raiden00pl <[email protected]> --- arch/arm/src/common/stm32/stm32_hsi48_m0_v1.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/src/common/stm32/stm32_hsi48_m0_v1.c b/arch/arm/src/common/stm32/stm32_hsi48_m0_v1.c index 9ba0a0f08e3..94a0a4e881a 100644 --- a/arch/arm/src/common/stm32/stm32_hsi48_m0_v1.c +++ b/arch/arm/src/common/stm32/stm32_hsi48_m0_v1.c @@ -49,6 +49,10 @@ # define STM32_HSI48_REG STM32_RCC_CR # define STM32_HSI48ON RCC_CR_HSI48ON # define STM32_HSI48RDY RCC_CR_HSI48RDY +#elif defined(CONFIG_ARCH_CHIP_STM32C0) +# define STM32_HSI48_REG STM32_RCC_CR +# define STM32_HSI48ON RCC_CR_HSIUSB48ON +# define STM32_HSI48RDY RCC_CR_HSIUSB48RDY #elif defined(CONFIG_ARCH_CHIP_STM32U0) # define STM32_HSI48_REG STM32_RCC_CRRCR # define STM32_HSI48ON RCC_CRRCR_HSI48ON
