aboutsummaryrefslogtreecommitdiff
path: root/jack/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'jack/post_rules.mk')
-rw-r--r--jack/post_rules.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/jack/post_rules.mk b/jack/post_rules.mk
new file mode 100644
index 0000000..fb10049
--- /dev/null
+++ b/jack/post_rules.mk
@@ -0,0 +1,14 @@
+ifeq ($(MCU_SERIES), RP2040)
+ include picosdk_math.mk
+endif
+
+ifeq ($(strip $(RP2040_MATH_IN_ROM)), yes)
+ OPT_DEFS += -DRP2040_MATH_IN_ROM
+ MCU_LDSCRIPT = RP2040_FLASH_TIMECRIT_ROM_MATH
+endif
+
+ifeq ($(strip $(MOUSE_JIGGLE_ENABLE)), yes)
+ OPT_DEFS += -DMOUSE_JIGGLE_ENABLE
+ MOUSEKEY_ENABLE = yes
+ DEFERRED_EXEC_ENABLE = yes
+endif