mirror of
https://github.com/esphome/esphome.git
synced 2026-09-24 13:34:07 +00:00
Add comment explaining why no IRAM_ATTR needed on RP2040
This commit is contained in:
@@ -94,6 +94,8 @@ void socket_delay(uint32_t ms) {
|
||||
cancel_alarm(alarm);
|
||||
}
|
||||
|
||||
// No IRAM_ATTR equivalent needed: on RP2040, CYW43 async_context runs LWIP
|
||||
// callbacks via pendsv (not hard IRQ), so they execute from flash safely.
|
||||
void socket_wake() {
|
||||
s_socket_woke = true;
|
||||
// Wake the main loop from __wfe() sleep. __sev() is a global event that
|
||||
|
||||
Reference in New Issue
Block a user