PPP: Simplify config.

PPP does not use socket extended state, and should be
added automatically in the networking module.
This commit is contained in:
Phil Howard 2024-09-19 10:11:01 +01:00
parent 4b97c8512a
commit b5ab975594

View File

@ -34,12 +34,6 @@
// This is not checked by mpconfigport.h so we must set up networking below // This is not checked by mpconfigport.h so we must set up networking below
#if defined(MICROPY_PY_NETWORK_PPP_LWIP) #if defined(MICROPY_PY_NETWORK_PPP_LWIP)
// TODO: This should be upstreamed to mpconfigport.h // Nothing to do here?
#define MICROPY_HW_NIC_PPP { MP_ROM_QSTR(MP_QSTR_PPP), MP_ROM_PTR(&mp_network_ppp_lwip_type) },
#define MICROPY_BOARD_NETWORK_INTERFACES \
MICROPY_HW_NIC_PPP
#define MICROPY_PY_SOCKET_EXTENDED_STATE (1)
#endif #endif