diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-29 13:55:29 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-30 10:33:16 -0700 |
commit | cda33a489898c18024823b4d4b6e5e0c3b2de24a (patch) | |
tree | 4fd3dc9af57e9451df072788cef20c8bc129db3f /cmd/sbc_harness/config/config.h | |
parent | fb2322993268c0d8441971446a9c716b28545a7b (diff) |
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.
Diffstat (limited to 'cmd/sbc_harness/config/config.h')
-rw-r--r-- | cmd/sbc_harness/config/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 ******************************************************************/ |