df66f4f6ba
* Use SysTick as OS tick timer * Use LPTIM2 as tickless idle timer * Remove dummy LPTIM2 IRQ handler * Clean up clock init code * Rename os timer to idle timer * Advance hal ticks along with FreeRTOS's * Improve SysTick control during tickless idle * Improve idle timer precision * Correct SysTick IRQ priority * Main, FuriHal: move system startup to separate thread * Minor code cleanup Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
21 lines
249 B
C
21 lines
249 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initialize OS helpers
|
|
* Configure and start tick timer
|
|
*/
|
|
void furi_hal_os_init();
|
|
|
|
/* Advance OS tick counter
|
|
*/
|
|
void furi_hal_os_tick();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|