Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ChibiOS: Add support for STM32F413xx #28845

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/common/stm32f47_mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@
#define STM32_PLLI2SQ_VALUE 4
#define STM32_PLLI2SR_VALUE 2
#define STM32_PLLI2SSRC STM32_PLLI2SSRC_PLLSRC
#if defined(STM32F413_MCUCONF)
#define STM32_CK48MSEL STM32_CK48MSEL_PLLI2S
#else
#define STM32_CK48MSEL STM32_CK48MSEL_PLLSAI
#endif

#elif HAL_EXPECTED_SYSCLOCK == 168000000
// medium frequency variants of F4, such as F405, F427
Expand Down Expand Up @@ -539,6 +543,8 @@
#define STM32_IRQ_UART6_PRIORITY 12
#define STM32_IRQ_UART7_PRIORITY 12
#define STM32_IRQ_UART8_PRIORITY 12
#define STM32_IRQ_UART9_PRIORITY 12
#define STM32_IRQ_UART10_PRIORITY 12
#define STM32_IRQ_USART1_PRIORITY 12
#define STM32_IRQ_USART2_PRIORITY 12
#define STM32_IRQ_USART3_PRIORITY 12
Expand All @@ -547,6 +553,8 @@
#define STM32_IRQ_USART6_PRIORITY 12
#define STM32_IRQ_USART7_PRIORITY 12
#define STM32_IRQ_USART8_PRIORITY 12
#define STM32_IRQ_USART9_PRIORITY 12
#define STM32_IRQ_USART10_PRIORITY 12

/*
* USB driver system settings.
Expand Down
Loading
Loading