diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py index f0b7e3a7ea..5b7441ad26 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py @@ -154,7 +154,14 @@ AltFunction_map = { "PB14:TIM1_CH2N" : 1, "PB14:TIM8_CH2N" : 3, "PB14:USART3_RTS" : 7, + "PB15:RTC_REFIN" : 0, + "PB15:TIM1_CH3N" : 1, + "PB15:TIM8_CH3N" : 3, "PB15:SPI2_MOSI" : 5, + "PB15:I2S2_SD" : 5, + "PB15:TIM12_CH2" : 9, + "PB15:OTG_HS_DP" : 12, + "PB15:EVENTOUT" : 15, "PB1:ETH_MII_RXD3" : 11, "PB1:EVENTOUT" : 15, "PB1:OTG_HS_ULPI_D2" : 10, @@ -182,8 +189,8 @@ AltFunction_map = { "PB5:I2C1_SMBA" : 4, "PB5:OTG_HS_ULPI_D7" : 10, "PB5:SPI1_MOSI" : 5, - "PB5:SPI3_MOSI" : 6, - "PB5:I2S3_SD" : 6, + "PB5:SPI3_MOSI" : 6, + "PB5:I2S3_SD" : 6, "PB5:TIM3_CH2" : 2, "PB6:CAN2_TX" : 9, "PB6:DCMI_D5" : 13, @@ -239,6 +246,7 @@ AltFunction_map = { "PC12:USART3_CK" : 7, "PC13:EVENTOUT" : 15, "PC14:EVENTOUT" : 15, + "PC15:EVENTOUT" : 15, "PC1:ETH_MDC" : 11, "PC1:EVENTOUT" : 15, "PC2:ETH_MII_TXD2" : 11, @@ -285,6 +293,9 @@ AltFunction_map = { "PC9:SDIO_D1" : 12, "PC9:TIM3_CH4" : 2, "PC9:TIM8_CH4" : 3, + "PD0:CAN1_RX" : 9, + "PD0:EVENTOUT" : 15, + "PD0:FSMC_D2" : 12, "PD10:EVENTOUT" : 15, "PD10:FSMC_D15" : 12, "PD10:USART3_CK" : 7, @@ -353,6 +364,9 @@ AltFunction_map = { "PE14:EVENTOUT" : 15, "PE14:FSMC_D11" : 12, "PE14:TIM1_CH4" : 1, + "PE15:TIM1_BKIN" : 1, + "PE15:FSMC_D12" : 12, + "PE15:EVENTOUT" : 1, "PE1:DCMI_D3" : 13, "PE1:EVENTOUT" : 15, "PE1:FSMC_NBL1" : 12, @@ -399,6 +413,8 @@ AltFunction_map = { "PF13:FSMC_A7" : 12, "PF14:EVENTOUT" : 15, "PF14:FSMC_A8" : 12, + "PF15:EVENTOUT" : 15, + "PF15:FSMC_A9" : 12, "PF1:EVENTOUT" : 15, "PF1:FSMC_A1" : 12, "PF1:I2C2_SCL" : 4, @@ -445,6 +461,9 @@ AltFunction_map = { "PG14:EVENTOUT" : 15, "PG14:FSMC_A25" : 12, "PG14:USART6_TX" : 8, + "PG15:USART6_CTS" : 8, + "PG15:DCMI_D13" : 13, + "PG15:EVENTOUT" : 15, "PG1:EVENTOUT" : 15, "PG1:FSMC_A11" : 12, "PG2:EVENTOUT" : 15, @@ -467,6 +486,7 @@ AltFunction_map = { "PG9:FSMC_NCE3" : 12, "PG9:FSMC_NE2" : 12, "PG9:USART6_RX" : 8, + "PH0:EVENTOUT" : 15, "PH10:DCMI_D1" : 13, "PH10:EVENTOUT" : 15, "PH10:TIM5_CH1" : 2,