12#elif defined(USE_ESP8266)
16#define PROGMEM ICACHE_RODATA_ATTR
19#elif defined(USE_RP2040)
21#define IRAM_ATTR __attribute__((noinline, long_call, section(".time_critical")))
24#elif defined(USE_LIBRETINY)
40#if defined(USE_BK72XX)
42#elif defined(USE_LIBRETINY_VARIANT_RTL8710B)
44#define IRAM_ATTR __attribute__((noinline, section(".image2.ram.text")))
49#define IRAM_ATTR __attribute__((noinline, section(".sram.text")))
61#include <freertos/FreeRTOS.h>
62#include <freertos/task.h>
79 return xPortInIsrContext() != 0;
80#elif defined(USE_ESP8266)
86#elif defined(USE_RP2040)
88 __asm__
volatile(
"mrs %0, ipsr" :
"=r"(ipsr));
90#elif defined(USE_BK72XX)
93#elif defined(USE_LIBRETINY)
97 __asm__
volatile(
"mrs %0, ipsr" :
"=r"(ipsr));
125inline const char *
progmem_read_ptr(
const char *
const *addr) {
return *addr; }
struct @65::@66 __attribute__
Wake the main loop task from an ISR. ISR-safe.
uint32_t platform_is_in_interrupt_context(void)
Providing packet encoding functions for exchanging data with a remote host.
uint32_t arch_get_cpu_cycle_count()
const char * progmem_read_ptr(const char *const *addr)
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)
uint32_t arch_get_cpu_freq_hz()
uint32_t IRAM_ATTR HOT micros()
uint16_t progmem_read_uint16(const uint16_t *addr)
void HOT delay(uint32_t ms)
uint32_t IRAM_ATTR HOT millis()
uint8_t progmem_read_byte(const uint8_t *addr)