improve esp32 ci, build esp32 with -DDMAX3421_HOST=1 for max3421 testing

revert change in hcd.h
This commit is contained in:
hathach
2023-09-28 16:15:31 +07:00
parent 6b8933cfe8
commit 8348631bf5
4 changed files with 44 additions and 49 deletions

View File

@@ -36,6 +36,14 @@
#define BUTTON_PIN 0
#define BUTTON_STATE_ACTIVE 0
// SPI for USB host shield
#define MAX3421_SPI_HOST SPI2_HOST
#define MAX3421_SCK_PIN 36
#define MAX3421_MOSI_PIN 35
#define MAX3421_MISO_PIN 37
#define MAX3421_CS_PIN 15
#define MAX3421_INTR_PIN 14
#ifdef __cplusplus
}
#endif