diff options
| author | robert-hh <robert@hammelrath.com> | 2025-02-15 12:42:46 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-25 12:38:56 +1100 |
| commit | 2a5b97beaea2db3c7b8c6a77cf0ca854fdb16a4b (patch) | |
| tree | 4d6248f9cb8eaeefe5e5c98015cd9945e960cc4d | |
| parent | d8edae040fb194c95e9569a44968d4c3858e0ac0 (diff) | |
mimxrt/mpconfigport: Enable PPP for boards with lwIP.
PPP is now enabled on all boards with Ethernet support. PPP could be
enabled for other boards without Ethernet like the Teensy 4.0 as well in a
second step. Enabling for MIMXRT101x boards is hardly possible due to the
large RAM demand of lwIP.
Tested with a Teensy 4.1 board and a SimCom A7608 GPRS/LTE modem.
Signed-off-by: robert-hh <robert@hammelrath.com>
| -rw-r--r-- | ports/mimxrt/mpconfigport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index 728354239..96ffc1537 100644 --- a/ports/mimxrt/mpconfigport.h +++ b/ports/mimxrt/mpconfigport.h @@ -139,6 +139,10 @@ uint32_t trng_random_u32(void); #define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL) #define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL) #define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL) +#ifndef MICROPY_PY_NETWORK_PPP_LWIP +#define MICROPY_PY_NETWORK_PPP_LWIP (MICROPY_PY_LWIP) +#endif +#define MICROPY_PY_LWIP_PPP (MICROPY_PY_NETWORK_PPP_LWIP) #ifndef MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE #define MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE (1) |
