Skip to content

Commit 0018442

Browse files
committed
Add EFM32GG11_STK3701 support
1 parent 3f742c9 commit 0018442

File tree

139 files changed

+316344
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+316344
-12
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/PeripheralNames.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ typedef enum {
5555
#ifdef I2C1_BASE
5656
I2C_1 = I2C1_BASE,
5757
#endif
58+
#ifdef I2C2_BASE
59+
I2C_2 = I2C2_BASE,
60+
#endif
5861
} I2CName;
5962
#endif
6063

@@ -89,6 +92,12 @@ typedef enum {
8992
#ifdef USART3_BASE
9093
SPI_3 = USART3_BASE,
9194
#endif
95+
#ifdef USART4_BASE
96+
SPI_4 = USART4_BASE,
97+
#endif
98+
#ifdef USART5_BASE
99+
SPI_5 = USART5_BASE,
100+
#endif
92101
} SPIName;
93102
#endif
94103

@@ -106,6 +115,12 @@ typedef enum {
106115
#ifdef USART3_BASE
107116
USART_3 = USART3_BASE,
108117
#endif
118+
#ifdef USART4_BASE
119+
USART_4 = USART4_BASE,
120+
#endif
121+
#ifdef USART5_BASE
122+
USART_5 = USART5_BASE,
123+
#endif
109124
#ifdef UART0_BASE
110125
UART_0 = UART0_BASE,
111126
#endif

targets/TARGET_Silicon_Labs/TARGET_EFM32/PeripheralPins.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,11 @@ extern const PinMap PinMap_UART_TX[];
6262
extern const PinMap PinMap_UART_RX[];
6363
#endif
6464

65+
#if DEVICE_CAN
66+
/************CAN***************/
67+
extern const PinMap PinMap_CAN_TX[];
68+
extern const PinMap PinMap_CAN_RX[];
69+
#endif
70+
6571
#endif
6672

0 commit comments

Comments
 (0)