diff options
| author | HiFiPhile <[email protected]> | 2025-03-24 21:09:17 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-03-24 21:09:17 +0100 |
| commit | 3caff80c8ec5ba06be799d00dd1ff8ac9b58a5bc (patch) | |
| tree | be64d4af522196ee43b80510131e0b7ac9c0723a /examples/host/bare_api | |
| parent | abfbcf5ccca88017dfb50e237a4981e47057b3a8 (diff) | |
| parent | cf76af1056e9a3019d9b08503b783a86602374f0 (diff) | |
Merge remote-tracking branch 'upstream/master' into h7rs
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/host/bare_api')
| -rw-r--r-- | examples/host/bare_api/CMakePresets.json | 6 | ||||
| -rw-r--r-- | examples/host/bare_api/src/tusb_config.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/examples/host/bare_api/CMakePresets.json b/examples/host/bare_api/CMakePresets.json new file mode 100644 index 000000000..5cd8971e9 --- /dev/null +++ b/examples/host/bare_api/CMakePresets.json @@ -0,0 +1,6 @@ +{ + "version": 6, + "include": [ + "../../../hw/bsp/BoardPresets.json" + ] +} diff --git a/examples/host/bare_api/src/tusb_config.h b/examples/host/bare_api/src/tusb_config.h index fab233be0..a03675c5f 100644 --- a/examples/host/bare_api/src/tusb_config.h +++ b/examples/host/bare_api/src/tusb_config.h @@ -69,9 +69,10 @@ // Enable Host stack #define CFG_TUH_ENABLED 1 +// #define CFG_TUH_MAX3421 1 // use max3421 as host controller + #if CFG_TUSB_MCU == OPT_MCU_RP2040 // #define CFG_TUH_RPI_PIO_USB 1 // use pio-usb as host controller - // #define CFG_TUH_MAX3421 1 // use max3421 as host controller // host roothub port is 1 if using either pio-usb or max3421 #if (defined(CFG_TUH_RPI_PIO_USB) && CFG_TUH_RPI_PIO_USB) || (defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421) |
