Use board-specific or platform SPI pins in HAL_STM32 (#12323)
This commit is contained in:
committed by
Scott Lahteine
parent
60dbd8161c
commit
176654791e
@@ -22,14 +22,14 @@
|
||||
* Define SPI Pins: SCK, MISO, MOSI, SS
|
||||
*/
|
||||
#ifndef SCK_PIN
|
||||
#define SCK_PIN 13
|
||||
#define SCK_PIN PIN_SPI_SCK
|
||||
#endif
|
||||
#ifndef MISO_PIN
|
||||
#define MISO_PIN 12
|
||||
#define MISO_PIN PIN_SPI_MISO
|
||||
#endif
|
||||
#ifndef MOSI_PIN
|
||||
#define MOSI_PIN 11
|
||||
#define MOSI_PIN PIN_SPI_MOSI
|
||||
#endif
|
||||
#ifndef SS_PIN
|
||||
#define SS_PIN 14
|
||||
#define SS_PIN PIN_SPI_SS
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user