dts/arm: stm32: Don't disable systick
In some stm32 series systick was disabled in order to allow alternate use of lptim timer as kernel low power ticker. Doing this, dts based definition of CORTEX_M_SYSTICK Kconfig symbol is disabled and CORTEX_M_SYSTICK was redefined with 'default y' in stm32 soc files which makes things more complex to handle to alternate with LPTIM activation. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
2c5e2c2394
commit
29f4574052
4 changed files with 0 additions and 14 deletions
|
@ -393,7 +393,3 @@
|
||||||
&nvic {
|
&nvic {
|
||||||
arm,num-irq-priority-bits = <4>;
|
arm,num-irq-priority-bits = <4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&systick {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
|
@ -382,7 +382,3 @@
|
||||||
&nvic {
|
&nvic {
|
||||||
arm,num-irq-priority-bits = <4>;
|
arm,num-irq-priority-bits = <4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&systick {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
|
@ -180,8 +180,3 @@
|
||||||
&nvic {
|
&nvic {
|
||||||
arm,num-irq-priority-bits = <4>;
|
arm,num-irq-priority-bits = <4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&systick {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ if SOC_FAMILY_STM32
|
||||||
|
|
||||||
config CORTEX_M_SYSTICK
|
config CORTEX_M_SYSTICK
|
||||||
bool
|
bool
|
||||||
default y
|
|
||||||
depends on !STM32_LPTIM_TIMER
|
depends on !STM32_LPTIM_TIMER
|
||||||
|
|
||||||
# set the tick per sec as a divider of the LPTIM clock source
|
# set the tick per sec as a divider of the LPTIM clock source
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue