2023-06-08 18:01:21 +02:00
|
|
|
# ESP32S3 has USB-OTG, let's prefer virtual Ethernet (USB-NCM device)
|
2023-06-01 22:44:11 +02:00
|
|
|
CONFIG_EXAMPLE_WIRED_INTERFACE_IS_USB=y
|
|
|
|
CONFIG_EXAMPLE_WIRED_INTERFACE_IS_ETHERNET=n
|
2023-06-08 18:01:21 +02:00
|
|
|
|
|
|
|
# TinyUSB needs to be initialized and run from one core
|
|
|
|
# that's why we pin the task to CPU0 and init tusb in the task
|
|
|
|
# on dual core devices (ESP32S3)
|
2023-06-01 22:44:11 +02:00
|
|
|
CONFIG_TINYUSB_TASK_AFFINITY_CPU0=y
|
|
|
|
CONFIG_TINYUSB_INIT_IN_DEFAULT_TASK=y
|
2023-06-08 18:01:21 +02:00
|
|
|
|
2023-06-01 22:44:11 +02:00
|
|
|
CONFIG_TINYUSB_NET_MODE_NCM=y
|