summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/config.h')
-rw-r--r--platforms/chibios/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platforms/chibios/config.h b/platforms/chibios/config.h
new file mode 100644
index 0000000000..006415a5dc
--- /dev/null
+++ b/platforms/chibios/config.h
@@ -0,0 +1,7 @@
+// Copyright 2023 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#ifndef CORTEX_ENABLE_WFI_IDLE
+# define CORTEX_ENABLE_WFI_IDLE TRUE
+#endif // CORTEX_ENABLE_WFI_IDLE