Skip to content

2.11.0

tagged this 19 Jan 00:04
`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
Assets 2
Loading