feat(soc): add USB DFU and OTG console caps

Add USB DFU and OTG console SOC capability flags for esp32s2, esp32s3, and esp32p4.

Use these caps in Kconfig, documentation conditionals, and idf.py DFU actions so USB support
is derived from SOC capabilities instead of hardcoded target names.
This commit is contained in:
igor.masar
2026-05-27 10:58:50 +02:00
committed by Tomas Rezucha
parent a409bb50c5
commit d4d993c818
13 changed files with 76 additions and 52 deletions
@@ -95,6 +95,14 @@ config SOC_USB_OTG_SUPPORTED
bool
default y
config SOC_USB_DFU_SUPPORTED
bool
default y
config SOC_USB_OTG_CONSOLE_SUPPORTED
bool
default y
config SOC_USB_SERIAL_JTAG_SUPPORTED
bool
default y
@@ -51,6 +51,8 @@
#define SOC_RISCV_COPROC_SUPPORTED 1
#define SOC_BT_SUPPORTED 1
#define SOC_USB_OTG_SUPPORTED 1
#define SOC_USB_DFU_SUPPORTED 1
#define SOC_USB_OTG_CONSOLE_SUPPORTED 1
#define SOC_USB_SERIAL_JTAG_SUPPORTED 1
#define SOC_CCOMP_TIMER_SUPPORTED 1
#define SOC_ASYNC_MEMCPY_SUPPORTED 1