Skip to content

Commit 743b40a

Browse files
Teijo KinnunenEvelyne Donnaes
authored andcommitted
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
Enables simultaneous use of both SPIs without interference.
1 parent c7aa879 commit 743b40a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

targets/TARGET_STM/TARGET_STM32L0/TARGET_STM32L072xZ/TARGET_DISCO_L072CZ_LRWAN1/PeripheralNames.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ typedef enum {
5252
LPUART_1 = (int)LPUART1_BASE
5353
} UARTName;
5454

55+
#define DEVICE_SPI_COUNT 2
5556
typedef enum {
5657
SPI_1 = (int)SPI1_BASE,
5758
SPI_2 = (int)SPI2_BASE

targets/TARGET_STM/TARGET_STM32L0/TARGET_STM32L0x2xZ/TARGET_MTB_MURATA_ABZ/PeripheralNames.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ typedef enum {
5252
LPUART_1 = (int)LPUART1_BASE
5353
} UARTName;
5454

55+
#define DEVICE_SPI_COUNT 2
5556
typedef enum {
5657
SPI_1 = (int)SPI1_BASE,
5758
SPI_2 = (int)SPI2_BASE

0 commit comments

Comments
 (0)