arch/arm/src/stm32f0l0g0: don't compile stm32_pwr.c for STM32C0

PWR is not supported for STM32C0 yet, fix build error when CONFIG_STM32F0L0G0_PWR=y
which is required to access backup registers (we need enable PWR clock for this).

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2025-10-02 10:11:01 +02:00 committed by Alan C. Assis
parent 98415626e3
commit c558047dc1

View file

@ -33,7 +33,7 @@
#if defined(CONFIG_STM32F0L0G0_STM32G0)
# include "stm32g0_pwr.c"
#else
#elif defined(CONFIG_STM32F0L0G0_STM32F0) || defined(CONFIG_STM32F0L0G0_STM32L0)
# include "stm32f0l0_pwr.c"
#endif