update: update host demo macros without value

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-12-15 20:53:45 +08:00
parent 1cbe3c5957
commit 3a1f3c3ba4
10 changed files with 158 additions and 79 deletions

View File

@@ -14,6 +14,10 @@
#include "esp_log.h"
#include "usbd_core.h"
#include "usbh_core.h"
#define CONFIG_TEST_USBH_SERIAL
#define CONFIG_TEST_USBH_HID
#include "demo/usb_host.c"
void app_main(void)

View File

@@ -15,5 +15,6 @@ CONFIG_CHERRYUSB_HOST_CH34X=y
CONFIG_CHERRYUSB_HOST_CP210X=y
CONFIG_CHERRYUSB_HOST_FTDI=y
CONFIG_CHERRYUSB_HOST_PL2303=y
CONFIG_CHERRYUSB_HOST_GSM=y
CONFIG_CHERRYUSB_HOST_VIDEO=y
CONFIG_CHERRYUSB_HOST_AUDIO=y

View File

@@ -38,7 +38,6 @@ sdk_compile_options("-O2")
sdk_inc(inc)
sdk_app_src(inc/arch/sys_arch.c)
sdk_app_src(src/main.c)
sdk_app_src(../../demo/usb_host.c)
sdk_inc(src/iperf)
sdk_app_src(src/iperf/iperf.c src/iperf/iperf_cli.c src/iperf/utils_getopt.c src/ping.c)

View File

@@ -24,6 +24,12 @@
#include "usbh_uac_stream.h"
#endif
#define CONFIG_TEST_USBH_SERIAL
#define CONFIG_TEST_USBH_HID
#define CONFIG_TEST_USBH_MSC
#include "demo/usb_host.c"
SDK_DECLARE_EXT_ISR_M(BOARD_CONSOLE_UART_IRQ, shell_uart_isr)
#define task_start_PRIORITY (configMAX_PRIORITIES - 2U)