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.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/jack/post_rules.mk b/jack/post_rules.mk
index 9880cdb..fb10049 100644
--- a/jack/post_rules.mk
+++ b/jack/post_rules.mk
@@ -1,3 +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