summaryrefslogtreecommitdiff
path: root/keyboards/meira/promicro/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/meira/promicro/rules.mk')
-rw-r--r--keyboards/meira/promicro/rules.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/meira/promicro/rules.mk b/keyboards/meira/promicro/rules.mk
index 3c81f1b344..22e49971f1 100644
--- a/keyboards/meira/promicro/rules.mk
+++ b/keyboards/meira/promicro/rules.mk
@@ -1 +1,14 @@
+# Processor frequency.
+# This will define a symbol, F_CPU, in all source code files equal to the
+# processor frequency in Hz. You can then use this symbol in your source code to
+# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
+# automatically to create a 32-bit value in your source code.
+#
+# This will be an integer division of F_USB below, as it is sourced by
+# F_USB after it has run through any CPU prescalers. Note that this value
+# does not *change* the processor frequency - it should merely be updated to
+# reflect the processor speed set externally so that the code can use accurate
+# software delays.
+F_CPU = 16000000
+
BLUETOOTH_ENABLE = no