Skip to content

esp32: network.PHY_GENERIC not available on ESP32-P4 #19033

@sfe-SparkFro

Description

@sfe-SparkFro

Port, board and/or hardware

esp32 port, any ESP32-P4 board

MicroPython version

MicroPython v1.27.0 on 2025-12-09; Generic ESP32P4 module with ESP32P4

Reproduction

Enter in the REPL:

import network
network.PHY_

Then press tab.

Expected behaviour

PHY_GENERIC should be listed and available for use.

Observed behaviour

PHY_GENERIC is not available:

>>> import network
>>> network.PHY_
PHY_DM9051      PHY_DP83848     PHY_IP101       PHY_KSZ8041
PHY_KSZ8081     PHY_KSZ8851SNL  PHY_LAN8710     PHY_LAN8720
PHY_RTL8201     PHY_W5500
>>> network.PHY_

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions