@@ -77,7 +77,6 @@ MBED_WEAK const PinMap PinMap_DAC[] = {
7777
7878MBED_WEAK const PinMap PinMap_I2C_SDA [] = {
7979 {PA_10 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
80- {PA_10_ALT0 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
8180 {PA_12 , I2C_2 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C2 )},
8281 {PB_7 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
8382 {PB_9 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
@@ -88,7 +87,6 @@ MBED_WEAK const PinMap PinMap_I2C_SDA[] = {
8887
8988MBED_WEAK const PinMap PinMap_I2C_SCL [] = {
9089 {PA_9 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
91- {PA_9_ALT0 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
9290 {PA_11 , I2C_2 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C2 )},
9391 {PB_6 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
9492 {PB_8 , I2C_1 , STM_PIN_DATA (STM_MODE_AF_OD , GPIO_NOPULL , GPIO_AF6_I2C1 )},
@@ -105,7 +103,7 @@ MBED_WEAK const PinMap PinMap_I2C_SCL[] = {
105103MBED_WEAK const PinMap PinMap_PWM [] = {
106104 // {PA_0, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 1, 0)}, // TIM2_CH1
107105 // {PA_1, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 2, 0)}, // TIM2_CH2
108- {PA_1_ALT0 , PWM_15 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF5_TIM15 , 1 , 1 )}, // TIM15_CH1N
106+ {PA_1 , PWM_15 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF5_TIM15 , 1 , 1 )}, // TIM15_CH1N
109107 // {PA_2, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 3, 0)}, // TIM2_CH3 // Connected to LPUART1_TX
110108 {PA_2_ALT0 , PWM_15 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF5_TIM15 , 1 , 0 )}, // TIM15_CH1 // Connected to LPUART1_TX
111109 // {PA_3, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 4, 0)}, // TIM2_CH4 // Connected to LPUART1_RX
@@ -120,9 +118,7 @@ MBED_WEAK const PinMap PinMap_PWM[] = {
120118 {PA_7_ALT2 , PWM_17 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF5_TIM17 , 1 , 0 )}, // TIM17_CH1
121119 {PA_8 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 1 , 0 )}, // TIM1_CH1
122120 {PA_9 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 2 , 0 )}, // TIM1_CH2
123- {PA_9_ALT0 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 2 , 0 )}, // TIM1_CH2
124121 {PA_10 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 3 , 0 )}, // TIM1_CH3
125- {PA_10_ALT0 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 3 , 0 )}, // TIM1_CH3
126122 {PA_11 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 4 , 0 )}, // TIM1_CH4
127123 // {PA_15, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 1, 0)}, // TIM2_CH1
128124 {PB_0 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 2 , 1 )}, // TIM1_CH2N
@@ -153,8 +149,8 @@ MBED_WEAK const PinMap PinMap_PWM[] = {
153149 // {PC_4, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 1, 0)}, // TIM2_CH1
154150 // {PC_5, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 2, 0)}, // TIM2_CH2
155151 // {PC_6, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 3, 0)}, // TIM2_CH3
156- {PC_6_ALT0 , PWM_3 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_TIM3 , 1 , 0 )}, // TIM3_CH1
157- {PC_7 , PWM_3 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_TIM3 , 2 , 0 )}, // TIM3_CH2
152+ {PC_6 , PWM_3 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_TIM3 , 1 , 0 )}, // TIM3_CH1
153+ {PC_7 , PWM_3 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_TIM3 , 2 , 0 )}, // TIM3_CH2
158154 // {PC_7_ALT0, PWM_2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF2_TIM2, 4, 0)}, // TIM2_CH4
159155 {PC_8 , PWM_1 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF2_TIM1 , 1 , 0 )}, // TIM1_CH1
160156 {PC_8_ALT0 , PWM_3 , STM_PIN_DATA_EXT (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_TIM3 , 3 , 0 )}, // TIM3_CH3
@@ -181,7 +177,6 @@ MBED_WEAK const PinMap PinMap_UART_TX[] = {
181177 {PA_2_ALT0 , LPUART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF6_LPUART1 )}, // Connected to LPUART1_TX
182178 {PA_5 , UART_3 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF4_USART3 )},
183179 {PA_9 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART1 )},
184- {PA_9_ALT0 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART1 )},
185180 {PA_14 , UART_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART2 )}, // Connected to TCK
186181 {PB_2 , UART_3 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF4_USART3 )},
187182 {PB_6 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF0_USART1 )},
@@ -203,7 +198,6 @@ MBED_WEAK const PinMap PinMap_UART_RX[] = {
203198 {PA_3 , UART_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART2 )},
204199 {PA_3_ALT0 , LPUART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF6_LPUART1 )}, // Connected to LPUART1_RX
205200 {PA_10 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART1 )},
206- {PA_10_ALT0 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART1 )},
207201 {PA_15 , UART_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF1_USART2 )},
208202 {PB_0 , UART_3 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF4_USART3 )},
209203 {PB_7 , UART_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_PULLUP , GPIO_AF0_USART1 )},
@@ -255,7 +249,6 @@ MBED_WEAK const PinMap PinMap_SPI_MOSI[] = {
255249 {PA_4 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_SPI2 )},
256250 {PA_7 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
257251 {PA_10 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI2 )},
258- {PA_10_ALT0 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI2 )},
259252 {PA_12 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
260253 {PB_5 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
261254 {PB_7 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_SPI2 )},
@@ -271,7 +264,6 @@ MBED_WEAK const PinMap PinMap_SPI_MISO[] = {
271264 {PA_3 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI2 )}, // Connected to LPUART1_RX
272265 {PA_6 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
273266 {PA_9 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF4_SPI2 )},
274- {PA_9_ALT0 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF4_SPI2 )},
275267 {PA_11 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
276268 {PB_2 , SPI_2 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF1_SPI2 )},
277269 {PB_4 , SPI_1 , STM_PIN_DATA (STM_MODE_AF_PP , GPIO_NOPULL , GPIO_AF0_SPI1 )},
0 commit comments