← index #17877PR #16445
Likely Duplicate · high · value 3.548
QUERY · ISSUE

Include PPP (Point-to-Point Protocol) Support in MicroPython Firmware for Raspberry Pi Pico W / Pico 2W

openby tirejasopened 2025-08-10updated 2025-10-13
enhancementport-rp2

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

CANDIDATE · PULL REQUEST

ports/rp2: Enable PPP for Pico W.

openby Gadgetoidopened 2024-12-18updated 2025-08-14
port-rp2

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!

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied