conf: configure USB

This commit is contained in:
King Kévin 2023-01-07 01:38:57 +01:00
parent c54d633ed7
commit a83b498255
1 changed files with 16 additions and 5 deletions

View File

@ -1,18 +1,29 @@
CONFIG_IDF_TARGET="esp32s2"
CONFIG_IDF_TARGET_ESP32S2=y
#
# Serial flasher config
#
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
#
# TinyUSB (with DFU) Stack
#
CONFIG_TINYUSB_DFU=y
#
# Communication Device Class (CDC)
#
CONFIG_TINYUSB_DFU_CDC_ENABLED=y
CONFIG_TINYUSB_CDC_ENABLED=y
#
# Descriptor configuration
#
CONFIG_TINYUSB_DESC_CUSTOM_VID=0x1d50
CONFIG_TINYUSB_DESC_CUSTOM_PID=0x617b
CONFIG_TINYUSB_DESC_BCD_DEVICE=0x0100
CONFIG_TINYUSB_DESC_MANUFACTURER_STRING="CuVoodoo"
CONFIG_TINYUSB_DESC_PRODUCT_STRING="ESP32-S2"
CONFIG_TINYUSB_DESC_SERIAL_STRING="123456"
CONFIG_TINYUSB_DESC_CDC_STRING="console"
# end of Descriptor configuration
#
# Partition Table
#