summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/ansi/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb/ansi/post_rules.mk')
-rw-r--r--keyboards/hhkb/ansi/post_rules.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/hhkb/ansi/post_rules.mk b/keyboards/hhkb/ansi/post_rules.mk
new file mode 100644
index 0000000000..eb9a8f0adb
--- /dev/null
+++ b/keyboards/hhkb/ansi/post_rules.mk
@@ -0,0 +1,18 @@
+ifeq ($(strip $(HHKB_RN42_ENABLE)), yes)
+
+OPT_DEFS += -DHHKB_RN42_ENABLE
+
+# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT
+# HHKB Alt controller.
+RN42_DIR = keyboards/hhkb/rn42
+
+SRC += serial_uart.c \
+ suart.S \
+ rn42.c \
+ rn42_task.c \
+ battery.c \
+ main.c
+
+VPATH += $(RN42_DIR)
+
+endif