7#include <esp_clk_tree.h>
9#include <esp_idf_version.h>
10#include <esp_ota_ops.h>
11#include <esp_task_wdt.h>
13#include <freertos/FreeRTOS.h>
14#include <freertos/task.h>
24void IRAM_ATTR HOT
yield() { vPortYield(); }
25uint32_t IRAM_ATTR HOT
millis() {
return (uint32_t) (esp_timer_get_time() / 1000ULL); }
26void IRAM_ATTR HOT
delay(uint32_t ms) { vTaskDelay(ms / portTICK_PERIOD_MS); }
27uint32_t IRAM_ATTR HOT
micros() {
return (uint32_t) esp_timer_get_time(); }
39 esp_task_wdt_add(
nullptr);
43#ifndef USE_OTA_ROLLBACK
44 esp_ota_mark_app_valid_cancel_rollback();
53 esp_clk_tree_src_get_freq_hz(SOC_MOD_CLK_CPU, ESP_CLK_TREE_SRC_FREQ_PRECISION_CACHED, &freq);
69#if CONFIG_FREERTOS_UNICORE
struct @65::@66 __attribute__
Providing packet encoding functions for exchanging data with a remote host.
uint32_t arch_get_cpu_cycle_count()
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)
void IRAM_ATTR HOT yield()
uint32_t arch_get_cpu_freq_hz()
TaskHandle_t loop_task_handle
uint32_t IRAM_ATTR HOT micros()
void IRAM_ATTR HOT delay_microseconds_safe(uint32_t us)
Delay for the given amount of microseconds, possibly yielding to other processes during the wait.
void IRAM_ATTR HOT arch_feed_wdt()
void IRAM_ATTR HOT delay(uint32_t ms)
uint32_t IRAM_ATTR HOT millis()
void loop_task(void *pv_params)
uint8_t progmem_read_byte(const uint8_t *addr)