Skip to content

Crash on arduino-esp32 v3.1.1 #35

@tresler

Description

@tresler

Program crash with new version of Arduino. New version need TCP lock. You must include #include <lwip/tcpip.h> and in ESPAsyncE131::initMulticast change igmp_joingroup(&ifaddr, &multicast_addr); to:

if (!sys_thread_tcpip(LWIP_CORE_LOCK_QUERY_HOLDER)) {
   LOCK_TCPIP_CORE();
}
igmp_joingroup(&ifaddr, &multicast_addr);
if (sys_thread_tcpip(LWIP_CORE_LOCK_QUERY_HOLDER)) {
   UNLOCK_TCPIP_CORE();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions