#define of CTL_TASKING
Hi,
I asked a quested many moons ago about the purpose of the preprocessor directing CTL_TASKING for the STM32 processors (in my case the STM32F4)....
... and I'm still confused.
What is the purpose of this definition? The only place I can find it (with respect to the STM32 stuff) is STM32_ctl.c. and if you dont 'define' it, it actually screws the ctl timers up (As the time increment defaults to 1, but ticks per second is 100)
Michael suggested in a old forum entrythat it was going to be used to save the fpu registers. I can see this in a old startup code (.bak file), but not in any active code.
Can someone please confirm if it just legacy stuff and should be ignored, or am I (worringly) missing some really important point.
cheers
Mark
Please sign in to leave a comment.
Comments
0 comments