mirror of https://github.com/ARMmbed/mbed-os.git
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
Enables simultaneous use of both SPIs without interference.pull/10952/head
parent
181b2aab69
commit
54b9dad11e
|
@ -52,6 +52,7 @@ typedef enum {
|
||||||
LPUART_1 = (int)LPUART1_BASE
|
LPUART_1 = (int)LPUART1_BASE
|
||||||
} UARTName;
|
} UARTName;
|
||||||
|
|
||||||
|
#define DEVICE_SPI_COUNT 2
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SPI_1 = (int)SPI1_BASE,
|
SPI_1 = (int)SPI1_BASE,
|
||||||
SPI_2 = (int)SPI2_BASE
|
SPI_2 = (int)SPI2_BASE
|
||||||
|
|
|
@ -52,6 +52,7 @@ typedef enum {
|
||||||
LPUART_1 = (int)LPUART1_BASE
|
LPUART_1 = (int)LPUART1_BASE
|
||||||
} UARTName;
|
} UARTName;
|
||||||
|
|
||||||
|
#define DEVICE_SPI_COUNT 2
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SPI_1 = (int)SPI1_BASE,
|
SPI_1 = (int)SPI1_BASE,
|
||||||
SPI_2 = (int)SPI2_BASE
|
SPI_2 = (int)SPI2_BASE
|
||||||
|
|
Loading…
Reference in New Issue