On 6/6/2023 4:31 PM, Nathan Hartman wrote:
On Tue, Jun 6, 2023 at 5:44 PM Fotis Panagiotopoulos
<f.j.pa...@gmail.com> wrote:
Hello,
I just noticed the option STM32_TICKLESS_SYSTICK for the STM32.
However, it seems that it does nothing.
After a source code search, this option is not used anywhere.
There is no tickless implementation that supports the systick timer.
Shall I remove this?
Are there other STM32 sub-families that do support Tickless? Perhaps
it makes sense to port the support for that to this STM32 sub-family?
Cheers,
Nathan
Since Systick is common to all ARMv7-M architectures (except for some
clock source differences), you would think this should be common across
all ARMv7-M
ARMv6-M supports SYSTICK as well.
It looks there are the same junk definitions elsewhere but the feature
is not implemented anywhere.
$ grep -r SYSTICK * | grep TICKLESS
arm/src/gd32f4/Kconfig: depends on !GD32F4_TICKLESS_SYSTICK
arm/src/stm32/Kconfig:config STM32_TICKLESS_SYSTICK
arm/src/stm32/Kconfig: depends on !STM32_TICKLESS_SYSTICK
arm/src/stm32wb/Kconfig: depends on !STM32WB_TICKLESS_SYSTICK
Due to the limited range of the SYSTICK counter, SYSTICK is probably not
really the optimal choice for a SYSTICK timer. I am not sure if it is
really worth the effort to implement.