stm32: Limit stm32h7 chips to 400Mhz

Don't go above 400Mhz as otherwise it causes 32bit rollover issues.
(Parts of the code expect a rollover will not occur faster than 10
seconds.)

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-11-20 18:09:29 -05:00
parent bb08dc7ae9
commit 7b69ef0750
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ config CLOCK_FREQ
default 84000000 if MACH_STM32F401
default 168000000 if MACH_STM32F4x5
default 180000000 if MACH_STM32F446
default 480000000 if MACH_STM32H750
default 400000000 if MACH_STM32H7 # 400Mhz is max Klipper currently supports
config FLASH_SIZE
hex