Tags: mac-michael/mongoose-os
Tags
Allow getting and setting config at different levels Also add arguments to `Config.Set` RPC: * `level` (int, default: 9 [user]) - make changes at the given level. * `save` (bool, default: true) - save the changes * `try_once` (bool, default: false) - when saving, make the changes only apply on next boot. * `reboot` (bool, default: false) - reboot after saving. `Config.Save` is now optional and obsolete. Make `mos license` save to level 1 by default to avoid blowing away license on user config reset. CL: Allow getting and setting config at different levels PUBLISHED_FROM=16dd8c6059bf4e347e9df71ace4e955100510e6e
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
PreviousNext