From cda33a489898c18024823b4d4b6e5e0c3b2de24a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 29 Nov 2024 13:55:29 -0700 Subject: Don't use TinyUSB BSP I guess the BSP is only meant for demos, and doesn't play nice with a larger project. Notably, board_init() re-initializes the UART hardware, causing weird glitches. --- cmd/sbc_harness/config/config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd/sbc_harness/config/config.h') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index 3a75c14..6d2ea89 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -68,6 +68,13 @@ /* USB KEYBOARD ***************************************************************/ +/** + * Which USB port to use for the Root Hub. + * + * The RP2040 only has 1 port, so it's gotta be port #0. + */ +#define CONFIG_USB_COMMON_RHPORT 0 + #define CONFIG_USB_COMMON_DEBUG 1 /* bool */ /* COROUTINE ******************************************************************/ -- cgit v1.2.3-2-g168b