Skip to content

Commit 2a5b97b

Browse files
robert-hhdpgeorge
authored andcommitted
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>
1 parent d8edae0 commit 2a5b97b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ports/mimxrt/mpconfigport.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ uint32_t trng_random_u32(void);
139139
#define MICROPY_PY_HASHLIB_MD5 (MICROPY_PY_SSL)
140140
#define MICROPY_PY_HASHLIB_SHA1 (MICROPY_PY_SSL)
141141
#define MICROPY_PY_CRYPTOLIB (MICROPY_PY_SSL)
142+
#ifndef MICROPY_PY_NETWORK_PPP_LWIP
143+
#define MICROPY_PY_NETWORK_PPP_LWIP (MICROPY_PY_LWIP)
144+
#endif
145+
#define MICROPY_PY_LWIP_PPP (MICROPY_PY_NETWORK_PPP_LWIP)
142146

143147
#ifndef MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE
144148
#define MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE (1)

0 commit comments

Comments
 (0)