lib/cmsis_rtos_v1: Implement support for kernel APIs
These APIs allow for checking whether the kernel is initialized, started or running. Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
This commit is contained in:
parent
d543e8c835
commit
76fc443b1e
2 changed files with 28 additions and 1 deletions
|
@ -256,7 +256,7 @@ uint32_t osKernelSysTick (void);
|
|||
|
||||
/// The RTOS kernel system timer frequency in Hz
|
||||
/// \note Reflects the system timer setting and is typically defined in a configuration file.
|
||||
#define osKernelSysTickFrequency 100000000
|
||||
#define osKernelSysTickFrequency sys_clock_hw_cycles_per_sec
|
||||
|
||||
/// Convert a microseconds value to a RTOS kernel system timer value.
|
||||
/// \param microsec time value in microseconds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue