aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/hal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/hal_lld.h')
-rw-r--r--os/hal/platforms/STM32/hal_lld.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h
index 45f74aff0..9144a48aa 100644
--- a/os/hal/platforms/STM32/hal_lld.h
+++ b/os/hal/platforms/STM32/hal_lld.h
@@ -76,6 +76,8 @@
#define APB1CLK (SYSCLK / 2)
#define APB2CLK (SYSCLK / 2)
#define AHB1CLK (SYSCLK / 1)
+#define TIMCLK2 (APB2CLK * 2)
+#define TIMCLK1 (APB1CLK * 2)
/*
* Values derived from the clock settings.