STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ

Enables simultaneous use of both SPIs without interference.
pull/10752/head
Teijo Kinnunen 2019-06-04 09:38:20 +03:00
parent f18e3364e9
commit 728c01f9e3
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ typedef enum {
LPUART_1 = (int)LPUART1_BASE
} UARTName;
#define DEVICE_SPI_COUNT 2
typedef enum {
SPI_1 = (int)SPI1_BASE,
SPI_2 = (int)SPI2_BASE

View File

@ -52,6 +52,7 @@ typedef enum {
LPUART_1 = (int)LPUART1_BASE
} UARTName;
#define DEVICE_SPI_COUNT 2
typedef enum {
SPI_1 = (int)SPI1_BASE,
SPI_2 = (int)SPI2_BASE