Add missing definitions for MISO etc to F4 core

This commit is contained in:
Roger Clark 2016-05-06 10:14:45 +10:00
parent 2da4a3d309
commit 013d8e6183
1 changed files with 6 additions and 0 deletions

View File

@ -11,4 +11,10 @@
#define portConfigRegister(pin) ( &(PIN_MAP[pin].gpio_device->regs->CRL) )
static const uint8_t SS = BOARD_SPI1_NSS_PIN;
static const uint8_t SS1 = BOARD_SPI2_NSS_PIN;
static const uint8_t MOSI = BOARD_SPI1_MOSI_PIN;
static const uint8_t MISO = BOARD_SPI1_MISO_PIN;
static const uint8_t SCK = BOARD_SPI1_SCK_PIN;
#endif /* _VARIANT_ARDUINO_STM32_ */