Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot 2025-07-13 16:00:19 +00:00
commit 15977415e4
4 changed files with 49 additions and 1 deletions

View File

@ -17,6 +17,23 @@
# define I2C1_SCL_PIN D0
#endif
/**======================
** SPI Driver
*========================**/
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID0
#endif
#ifndef SPI_SCK_PIN
# define SPI_SCK_PIN B1
#endif
#ifndef SPI_MISO_PIN
# define SPI_MISO_PIN B3
#endif
#ifndef SPI_MOSI_PIN
# define SPI_MOSI_PIN B2
#endif
/**======================
** UART Driver
*========================**/

View File

@ -17,6 +17,22 @@
# define I2C1_SCL_PIN D0
#endif
/**======================
** SPI Driver
*========================**/
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID0
#endif
#ifndef SPI_SCK_PIN
# define SPI_SCK_PIN B1
#endif
#ifndef SPI_MISO_PIN
# define SPI_MISO_PIN B3
#endif
#ifndef SPI_MOSI_PIN
# define SPI_MOSI_PIN B2
#endif
/**======================
** UART Driver
*========================**/

View File

@ -27,3 +27,18 @@
# define SERIAL_USART_DRIVER SD2
#endif
/**======================
** SPI Driver
*========================**/
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID1
#endif
#ifndef SPI_SCK_PIN
# define SPI_SCK_PIN B1
#endif
#ifndef SPI_MISO_PIN
# define SPI_MISO_PIN B3
#endif
#ifndef SPI_MOSI_PIN
# define SPI_MOSI_PIN B2
#endif

View File

@ -196,7 +196,7 @@
/*
* SPI driver system settings.
*/
#define STM32_SPI_USE_SPI1 FALSE
#define STM32_SPI_USE_SPI1 TRUE
#define STM32_SPI_USE_SPI2 FALSE
#define STM32_SPI_USE_SPI3 FALSE
#define STM32_SPI_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 0)