Skip to content

Commit

Permalink
HAL_ChibiOS: support H7 at 200MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and peterbarker committed Jun 27, 2024
1 parent d87404a commit 9847965
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@
#if HAL_CUSTOM_MCU_CLOCKRATE == 480000000
#define STM32_PLL1_DIVN_VALUE 120
#define STM32_PLL1_DIVQ_VALUE 12
#elif HAL_CUSTOM_MCU_CLOCKRATE == 200000000
#define STM32_PLL1_DIVN_VALUE 50
#define STM32_PLL1_DIVQ_VALUE 5
#else
#error "Unable to configure custom clockrate"
#endif
Expand Down

0 comments on commit 9847965

Please sign in to comment.