Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
systick: Refactoring. #152
I feel that "fallback" is a bit misleading concept. I want to set the systick clock to the exact time value that I know.
There are two cases: either platform has the value for 10ms or not. It's also a bit more complicated as that reference value is only supported on reference clock, so in the end it's up to PT to initialise the systick clocking correctly (i.e. we don't even need to care about pre-defined constant).
I'm fine if "calibrated" source goes away in that case. Systick is kind of reserved for zinc/os internals (scheduler), so it's not really that of user-facing api.