From aa3bf94f661197d4be5466fb718f531c90ae39b0 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 19 Sep 2024 10:11:01 +0100 Subject: [PATCH] PPP: Simplify config. PPP does not use socket extended state, and should be added automatically in the networking module. --- micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h index 3f9dd70..34f260c 100644 --- a/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h +++ b/micropython/board/PIMORONI_PICO_PLUS2/mpconfigboard.h @@ -34,12 +34,6 @@ // This is not checked by mpconfigport.h so we must set up networking below #if defined(MICROPY_PY_NETWORK_PPP_LWIP) -// TODO: This should be upstreamed to mpconfigport.h -#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) +// Nothing to do here? #endif \ No newline at end of file