Include PPP (Point-to-Point Protocol) Support in MicroPython Firmware for Raspberry Pi Pico W / Pico 2W
Description
Background:
Currently, the official MicroPython firmware for Raspberry Pi Pico W and Pico 2W supports network connectivity via the onboard WiFi chip. However, some projects require network connectivity via external modems (e.g., 4G/LTE/3G GSM modules) using UART and PPP. The PPP module is not currently included in the official builds.
Use Case:
- Connecting Pico W or Pico 2W to the internet via a serial modem using PPP (e.g., when WiFi is unavailable or not suitable).
- Enabling MQTT and other network protocols over mobile data networks.
Request:
- Please consider adding PPP (Point-to-Point Protocol) support (as a module or built-in) to the official MicroPython firmware for Raspberry Pi Pico W and Pico 2W.
Benefits:
- Allows greater flexibility for IoT projects.
- Enables use of Pico W/2W in remote areas with cellular connectivity.
- Unifies network API for both WiFi and modem scenarios.
References:
Thank you!
Code Size
I am unsure
Implementation
I would like to sponsor development of this feature
Code of Conduct
Yes, I agree
ports/rp2: Enable PPP for Pico W.
Enables MICROPY_PY_NETWORK_PPP_LWIP for Pico W so that it can take advantage of PPP-supporting networking modules.
This would probably be too onerous for a regular Pico build. Even though it could work, I suspect the networking stack will blow the tight firmware allocation.
Edit: Woof! That's quite a bit more code bloat than I'd expected!