DC/DC and PWM switch configuration via DTS

As these settings are clearly hardware-specific, configuration was
moved from Kconfig (hidden symbols) to DTS. New bindings added.
This commit is contained in:
Martin Jäger
2020-05-06 12:53:26 +02:00
parent 64b771cd42
commit ab504e3dfa
31 changed files with 220 additions and 188 deletions
+2 -2
View File
@@ -253,9 +253,9 @@ uint32_t PWM_UT::m_ccr = 0;
#endif /* UNIT_TEST */
#if (PWM_TIM == 1)
#if defined(STM32F0) || defined(STM32G4)
typedef PWM_TIM1 PWM_TIM_HW;
#elif (PWM_TIM == 3)
#elif defined(STM32L0)
typedef PWM_TIM3 PWM_TIM_HW;
#else
typedef PWM_UT PWM_TIM_HW;