Unify spi_master headers (#24857)

* Move default config to .c file

* Explicitly define PAL modes for boards with custom init

* Unify spi_master headers
This commit is contained in:
Ryan 2025-01-27 08:37:37 +11:00 committed by GitHub
parent 0747f887d6
commit ee63d39058
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 183 additions and 175 deletions

View file

@ -22,8 +22,11 @@
/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ
#define SPI_SCK_PIN A5
#define SPI_SCK_PAL_MODE 5
#define SPI_MOSI_PIN A7
#define SPI_MOSI_PAL_MODE 5
#define SPI_MISO_PIN A6
#define SPI_MISO_PAL_MODE 5
#define AW20216S_CS_PIN_1 A15
#define AW20216S_CS_PIN_2 B15