File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
targets/TARGET_Silicon_Labs/TARGET_EFM32 Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ MBED_WEAK const PinMap PinMap_PWM[] = {
83
83
};
84
84
85
85
/*************SPI**************/
86
+ #if DEVICE_SPI
86
87
MBED_WEAK const PinMap PinMap_SPI_MOSI [] = {
87
88
#ifdef USART0_BASE
88
89
/* USART0 */
@@ -153,6 +154,7 @@ MBED_WEAK const PinMap PinMap_SPI_CS[] = {
153
154
/* Not connected */
154
155
{NC , NC , NC }
155
156
};
157
+ #endif
156
158
157
159
/************UART**************/
158
160
MBED_WEAK const PinMap PinMap_UART_TX [] = {
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ MBED_WEAK const PinMap PinMap_PWM[] = {
80
80
};
81
81
82
82
/*************SPI**************/
83
+ #if DEVICE_SPI
83
84
MBED_WEAK const PinMap PinMap_SPI_MOSI [] = {
84
85
#ifdef USART1_BASE
85
86
/* USART1 */
@@ -119,6 +120,7 @@ MBED_WEAK const PinMap PinMap_SPI_CS[] = {
119
120
/* Not connected */
120
121
{NC , NC , NC }
121
122
};
123
+ #endif
122
124
123
125
/************UART**************/
124
126
MBED_WEAK const PinMap PinMap_UART_TX [] = {
You can’t perform that action at this time.
0 commit comments