Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    91a821c7
    esp32: align with esp-idf changes · 91a821c7
    Andy Green authored
    LWIP_SOCKET_OFFSET is now nonzero, which I handled a while back.
    
    But the C api support for it is broken in esp-idf.
    
    select() takes unmodified fds, but FD_SET / FD_ISSET etc must have the
    offset subtracted on their args.
    
    With this we are working on current HEAD esp-idf.
    91a821c7
    History
    esp32: align with esp-idf changes
    Andy Green authored
    LWIP_SOCKET_OFFSET is now nonzero, which I handled a while back.
    
    But the C api support for it is broken in esp-idf.
    
    select() takes unmodified fds, but FD_SET / FD_ISSET etc must have the
    offset subtracted on their args.
    
    With this we are working on current HEAD esp-idf.