Skip to content

Commit e625766

Browse files
committed
samples: usb: shell: host_prj.conf overaly for esp32
Signed-off-by: Roman Leonov <[email protected]>
1 parent 321a7c4 commit e625766

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2023 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
zephyr_uhc0: &usb_otg {
8+
status = "okay";
9+
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
CONFIG_SHELL=y
2+
3+
CONFIG_USB_HOST_STACK=y
4+
CONFIG_USBH_SHELL=y
5+
6+
# CONFIG_DT_HAS_ZEPHYR_UHC_VIRTUAL_ENABLED=y
7+
# CONFIG_UHC_VIRTUAL=y
8+
9+
CONFIG_UHC_DWC2=y
10+
CONFIG_UHC_DWC2_DMA=y
11+
12+
# CONFIG_ASSERT=y # Enable asserts
13+
# CONFIG_LOG=y # Logging framework
14+
# CONFIG_LOG_MODE_IMMEDIATE=y # Useful in ISRs
15+
# CONFIG_PRINTK=y # Enable printk (low-level logging)
16+
# CONFIG_STACK_SENTINEL=y # Detect stack overflows
17+
# CONFIG_THREAD_NAME=y # Name threads for easier debugging
18+
# CONFIG_IRQ_OFFLOAD=y # Offload handlers in debug code
19+
20+
CONFIG_LOG=y
21+
CONFIG_USBH_LOG_LEVEL_WRN=y
22+
CONFIG_UHC_DRIVER_LOG_LEVEL_WRN=y

0 commit comments

Comments
 (0)