|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
Layer 1 (Physical) - ESP backend: 802.11 radio + wired Ethernet (RMII / W5500 SPI) bring-up and live egress readout, straight off the Arduino-ESP32 WiFi/ETH wrappers and lwIP's default netif. More...
#include "network_drivers/physical/physical.h"Go to the source code of this file.
Layer 1 (Physical) - ESP backend: 802.11 radio + wired Ethernet (RMII / W5500 SPI) bring-up and live egress readout, straight off the Arduino-ESP32 WiFi/ETH wrappers and lwIP's default netif.
The vendor-specific half of the physical layer. The common API is in network_drivers/physical/physical.h and the vendor is chosen by the PC_VENDOR_* selector (board_drivers/board_profiles/pc_platform.h); this whole TU compiles to nothing on any non-ESP vendor, where physical.cpp's fallback stubs stand in (PC_PHYSICAL_HAS_BACKEND == 0). WiFi station bring-up is asynchronous (poll wifi_ready()); pc_net_egress() reads the live default-route netif and hands it to the pure pc_net_classify_ip() that lives in physical.cpp. Adding STM/RP/TI = a sibling board_drivers/physical/<vendor>/ TU guarded by that vendor's macro, no change here.
Definition in file physical_esp.cpp.