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:
parent
98415626e3
commit
c558047dc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue