Why Is the PPP Library Missing in PlatformIO framework-arduinoespressif32?

The PPP library, which is available in the default arduino-esp32 GitHub repository, seems to be missing in the PlatformIO framework-arduinoespressif32 for ESP32. This library is crucial for PPP (Point-to-Point Protocol) connections and is included in the standard Arduino framework for ESP32, but it does not appear to be available in the PlatformIO ecosystem by default.

When trying to use #include <PPP.h>, I am unable to locate the library within PlatformIO’s library management system.

Steps to Reproduce:

  1. In PlatformIO, create a new project with ESP32 and framework-arduinoespressif32.
  2. Try to include the PPP library in your code with #include <PPP.h>.
  3. Notice that PlatformIO cannot find the library, even though it exists in the official esp32-arduino GitHub repository.

Expected Behavior:

The PPP library should be available by default in the PlatformIO environment, similar to how it is included in the official ESP32 Arduino core repository.

My ini file:

[env:esp32s3]
platform = espressif32 @ ~6.1.0
board = esp32-s3-devkitc-1
board_build.flash_mode = dio
framework = arduino
monitor_speed = 115200
upload_speed = 921600'
lib_deps = 
    SPI
    knolleary/PubSubClient@^2.8
    4-20ma/ModbusMaster@^2.0.1
    adafruit/RTClib@^2.1.3
    bblanchon/ArduinoJson@^7.3.0
    plerup/EspSoftwareSerial@^8.2.0
    esp-mqtt

The respository you are looking at is Espressif Arduino 3.x which is not official available to PlatformIO.

But you can use pioarduino/platform-espressif32 to get the latest Espressif Arduino 3.x.
To get the latest Arduino 3.1.3 (which was released today) just change your platform.ini:

platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip

But be careful as there are breaking API changes. See Migration from 2.x to 3.0 - - — Arduino ESP32 latest documentation

Also note that not all libraries are 3.x ready (yet)

If you want to know more about the available platform versions, check platform-espressif32 versions · GitHub