mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
2f89804e5c
"Enable USB when phy init" Kconfig option would call esp_phy function `phy_bbpll_en_usb()` that is not implemented for all targets. Selecting this option for unsupported target results in linking error. The necessity of this workaround is now defined soc_caps.h rather than in the Kconfig. Closes https://github.com/espressif/esp-idf/issues/12185
soc
The soc
component provides hardware description for targets supported by ESP-IDF.
- `xxx_reg.h` - defines registers related to the hardware
- `xxx_struct.h` - hardware description in C `struct`
- `xxx_channel.h` - definitions for hardware with multiple channels
- `xxx_caps.h` - features/capabilities of the hardware
- `xxx_pins.h` - pin definitions
- `xxx_periph.h/*.c` - includes all headers related to a peripheral; declaration and definition of IO mapping for that hardware