summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/QMK_PM2040/configs/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/boards/QMK_PM2040/configs/chconf.h')
-rw-r--r--platforms/chibios/boards/QMK_PM2040/configs/chconf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/platforms/chibios/boards/QMK_PM2040/configs/chconf.h b/platforms/chibios/boards/QMK_PM2040/configs/chconf.h
new file mode 100644
index 0000000000..d53f57edd9
--- /dev/null
+++ b/platforms/chibios/boards/QMK_PM2040/configs/chconf.h
@@ -0,0 +1,13 @@
+// Copyright 2022 Stefan Kerkmann
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define CH_CFG_SMP_MODE TRUE
+#define CH_CFG_ST_RESOLUTION 32
+#define CH_CFG_ST_FREQUENCY 1000000
+#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_ST_TIMEDELTA 20
+
+#include_next <chconf.h>