Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mgos_uptime_micros(), fix sleep issues on CC32x and STM32
`mgos_uptime_micros()` provides a reliable, microsecond-accurate monotonic counter on all our supported platforms: * On ESP32 we have esp_timer_get_time() * On ESP8266 we have system_get_time() (plus overflow handling) * On ARM-based platforms we use FreeRTOS xTaskGetTickCount() + SYSTICK for fractional ticks CL: Add mgos_uptime_micros(), fix sleep issues on CC32x and STM32 PUBLISHED_FROM=fb548dc351b24de0f0ceb1b0f974be3b495264d3
- Loading branch information