update s3 devkitm with max3421 pin following metro s3, check max3421 version to make sure it is valid

This commit is contained in:
hathach
2023-10-27 17:40:53 +07:00
parent a2390802f8
commit 9cba9a753b
3 changed files with 7 additions and 6 deletions

View File

@@ -38,9 +38,9 @@
// 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_SCK_PIN 39
#define MAX3421_MOSI_PIN 42
#define MAX3421_MISO_PIN 21
#define MAX3421_CS_PIN 15
#define MAX3421_INTR_PIN 14