wrap up build cmake & make support for max3421, to enable the Host driver, 'MAX3421_HOST=1' must be added as part of make/cmake command

This commit is contained in:
hathach
2023-09-11 11:35:51 +07:00
parent e32c1e08bd
commit ab9585401b
34 changed files with 101 additions and 50 deletions

View File

@@ -10,3 +10,4 @@ mcu:RP2040
mcu:MSP432E4
mcu:RX65X
mcu:RAXXX
mcu:MAX3421

View File

@@ -38,9 +38,6 @@
// change to 1 if using pico-pio-usb as host controller for raspberry rp2040
#define CFG_TUH_RPI_PIO_USB 0
#define BOARD_TUH_RHPORT CFG_TUH_RPI_PIO_USB
//#elif CFG_TUSB_MCU == OPT_MCU_NRF5X
// // Use external USB controller (via SPI) MAX3421E (aka usb host shield)
// #define CFG_TUH_MAX3421 1
#endif
// RHPort number used for host can be defined by board.mk, default to port 0