|
|
@ -21,11 +21,12 @@
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* HAL for stm32duino.com based on Libmaple and compatible (STM32F1)
|
|
|
|
* HAL for stm32duino.com based on Libmaple and compatible (STM32F1)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Define SPI Pins: SCK, MISO, MOSI, SS
|
|
|
|
* Define SPI Pins: SCK, MISO, MOSI, SS
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Any PIN can be used for Chip Select (SS)
|
|
|
|
* Any PIN can be used for Chip Select (SS)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* SPI1 is enabled by default
|
|
|
|
* SPI1 is enabled by default
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if ENABLED(ENABLE_SPI3)
|
|
|
|
#if ENABLED(ENABLE_SPI3)
|
|
|
@ -46,4 +47,4 @@
|
|
|
|
#define MISO_PIN BOARD_SPI1_MISO_PIN
|
|
|
|
#define MISO_PIN BOARD_SPI1_MISO_PIN
|
|
|
|
#define MOSI_PIN BOARD_SPI1_MOSI_PIN
|
|
|
|
#define MOSI_PIN BOARD_SPI1_MOSI_PIN
|
|
|
|
#define SS_PIN BOARD_SPI1_NSS_PIN
|
|
|
|
#define SS_PIN BOARD_SPI1_NSS_PIN
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|