Skip to content

Source: platform_config.h

platform_config_esp32

What each ESP32 chip can do, derived from the SDK's own capability flags wherever possible.

Enumerations

Name Description
CodecType Which codec sits in front of the microphone, where a board puts one there.
EthPhyType Which Ethernet PHY a board carries; plain integers, which keeps SDK includes out of this header.

CodecType

enum CodecType

Which codec sits in front of the microphone, where a board puts one there.

Value Description
None
Es8311
None
Es8311

EthPhyType

enum EthPhyType

Which Ethernet PHY a board carries; plain integers, which keeps SDK includes out of this header.

Value Description
ethNone no Ethernet on this board, the default
ethLan8720 RMII, generic PHY.
ethIp101 RMII, IP101 PHY, P4 only.
ethW5500 SPI, an external W5500 module.
ethYt8531 RGMII, the S31's 1 Gb PHY.
ethOpeneth the emulator's MAC, which is what gives an emulated device a real IP stack
ethNone no Ethernet on this board, the default
ethLan8720 RMII, generic PHY.
ethIp101 RMII, IP101 PHY, P4 only.
ethW5500 SPI, an external W5500 module.
ethYt8531 RGMII, the S31's 1 Gb PHY.
ethOpeneth the emulator's MAC, which is what gives an emulated device a real IP stack

More info

Capabilities, not chip names

Gating keys off the SDK's own flags, so a new chip works untouched and only a seam the flags cannot answer earns an is<Chip> constant. Three chips earn one: the P4 and S3 for their Ethernet defaults, and the S31 for its RGMII PHY.

The i80 gate names LCD_CAM's own mode

The classic chip sets the broader flag for an unrelated peripheral. Gating on it once wired the parallel driver onto that chip and hung its boot on a bus it lacks.

Fixed pads are published

The EMAC's data pads are silicon's choice, so one list serves both the driver init and the pin map. A pad nobody declares reads as free while the MAC drives it: an LED lane on GPIO 10 corrupted every frame sent, with the link still reporting 1 Gb.