7#include <freertos/FreeRTOS.h>
8#include <freertos/task.h>
21static StaticTask_t loop_task_tcb;
23 loop_task_stack[ESPHOME_LOOP_TASK_STACK_SIZE];
36 uint8_t mac[MAC_ADDRESS_SIZE];
42#if CONFIG_FREERTOS_UNICORE
47 loop_task_stack, &loop_task_tcb, 1);
void ESPHOME_ALWAYS_INLINE loop()
Make a loop iteration. Call this in your loop() function.
struct @66::@67 __attribute__
Wake the main loop task from an ISR. ISR-safe.
void set_mac_address(uint8_t *mac)
Set the MAC address to use from the provided byte array (6 bytes).
TaskHandle_t loop_task_handle
Application App
Global storage of Application pointer - only one Application can exist.
void loop_task(void *pv_params)
bool get_custom_mac_address(uint8_t *mac)
Read the custom MAC address from eFuse into the provided byte array (6 bytes).