Skip to content

Commit 2c97fea

Browse files
committed
STM32F3xx - Fix build errors
1 parent 5b0fb65 commit 2c97fea

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

hal/targets.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,11 +1040,7 @@
10401040
"extra_labels": ["STM", "STM32F3", "STM32F303", "STM32F303VC"],
10411041
"macros": ["DEVICE_RTC_LSI=1"],
10421042
"supported_toolchains": ["GCC_ARM"],
1043-
<<<<<<< 1a501c3bb8be167bb9cf38e5742dd60c191c4e04
1044-
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"]
1045-
=======
10461043
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"]
1047-
>>>>>>> STM32F3xx - Enable SERIAL_FC in targets.json
10481044
},
10491045
"DISCO_F334C8": {
10501046
"inherits": ["Target"],
@@ -1055,13 +1051,9 @@
10551051
"supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"],
10561052
"progen": {"target": "disco-f334c8"},
10571053
"detect_code": ["0810"],
1058-
<<<<<<< 1a501c3bb8be167bb9cf38e5742dd60c191c4e04
1059-
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
1060-
=======
10611054
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
1062-
>>>>>>> STM32F3xx - Enable SERIAL_FC in targets.json
10631055
"default_lib": "small",
1064-
"release_versions": ["2"]
1056+
"release_versions": ["2"]
10651057
},
10661058
"DISCO_F407VG": {
10671059
"inherits": ["Target"],

hal/targets/hal/TARGET_STM/TARGET_STM32F3/PeripheralPins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ extern const PinMap PinMap_PWM[];
5555

5656
extern const PinMap PinMap_UART_TX[];
5757
extern const PinMap PinMap_UART_RX[];
58-
extern const PinMap_UART_RTS[];
59-
extern const PinMap_UART_CTS[];
58+
extern const PinMap PinMap_UART_RTS[];
59+
extern const PinMap PinMap_UART_CTS[];
6060

6161
//*** SPI ***
6262

hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,12 @@ const PinMap PinMap_UART_RX[] = {
146146

147147
const PinMap PinMap_UART_RTS[] = {
148148
{PA_1, UART_2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)},
149-
{PB_14, UART_3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
150149
{PA_12, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
151150
{NC, NC, 0}
152151
};
153152

154153
const PinMap PinMap_UART_CTS[] = {
155154
{PA_0, UART_2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)},
156-
{PB_13, UART_3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
157155
{PA_11, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
158156
{PA_13, UART_3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
159157
{NC, NC, 0}

0 commit comments

Comments
 (0)