Compiling esp-idf-svc v0.49.1 (esp-idf-svc)
error[E0560]: struct `esp_idf_hal::sys::eth_esp32_emac_config_t` has no field named `smi_mdc_gpio_num`
--> esp-idf-svc/src/eth.rs:445:13
|
445 | smi_mdc_gpio_num: mdc,
| ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::eth_esp32_emac_config_t` does not have this field
|
= note: available fields are: `__bindgen_anon_1`, `clock_config`, `dma_burst_len`, `intr_priority`
error[E0560]: struct `esp_idf_hal::sys::eth_esp32_emac_config_t` has no field named `smi_mdio_gpio_num`
--> esp-idf-svc/src/eth.rs:446:13
|
446 | smi_mdio_gpio_num: mdio,
| ^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::eth_esp32_emac_config_t` does not have this field
|
= note: available fields are: `__bindgen_anon_1`, `clock_config`, `dma_burst_len`, `intr_priority`
For more information about this error, try `rustc --explain E0560`.
error: could not compile `esp-idf-svc` (lib) due to 2 previous errors
It seems like a simple case of union / bindgen noise.
Fix for this error:
It seems like a simple case of union / bindgen noise.