Browse Source

HAL_ChibiOS: raised timer clocks to 200MHz

this gives more flexibility in setting up timers for DShot
copter407
Andrew Tridgell 5 years ago
parent
commit
ca1053a28c
  1. 10
      libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h

10
libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h

@ -134,11 +134,11 @@ @@ -134,11 +134,11 @@
#define STM32_SW STM32_SW_PLL1_P_CK
#define STM32_RTCSEL STM32_RTCSEL_NOCLK
#define STM32_D1CPRE STM32_D1CPRE_DIV1
#define STM32_D1HPRE STM32_D1HPRE_DIV4
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
#define STM32_D1HPRE STM32_D1HPRE_DIV2
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
/*
* Peripherals clocks static settings.

Loading…
Cancel
Save