69b4e18118
- aes67_board: Waveshare ESP32-P4-ETH pin profile and EMAC + IP101 driver install (PHY addr 1, reset GPIO51, ref clock in on GPIO50). - aes67_net: Ethernet netif with DHCP client; logs link up/down (speed, duplex, MAC) and the DHCP lease. - Verified on board: 100 Mbps full duplex, DHCP lease in ~8 s, ping 0% loss, ~0.2 ms RTT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
358 B
C
10 lines
358 B
C
// aes67_board: Board pin profiles (waveshare_esp32p4_eth.h, ...) and Ethernet init.
|
|
// Core component: must not depend on main/ (project code).
|
|
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
#include "esp_eth_driver.h"
|
|
|
|
// Create and install the Ethernet driver (EMAC + PHY) for this board. Does not start it.
|
|
esp_err_t aes67_board_eth_init(esp_eth_handle_t *out_eth);
|