summaryrefslogtreecommitdiff
path: root/hhkb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hhkb/Makefile')
-rw-r--r--hhkb/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/hhkb/Makefile b/hhkb/Makefile
index 7c7ed0ee2..2c8cd5afc 100644
--- a/hhkb/Makefile
+++ b/hhkb/Makefile
@@ -8,11 +8,13 @@ COMMON_DIR = ..
TARGET_DIR = .
# keyboard dependent files
-TARGET_SRC = tmk.c \
+TARGET_SRC = main_pjrc.c \
keymap.c \
matrix.c \
led.c
+CONFIG_H = config.h
+
# MCU name, you MUST set this to match the board you are using
# type "make clean" after changing this, so all files will be rebuilt
@@ -38,5 +40,11 @@ USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System c
USB_NKRO_ENABLE = yes # USB Nkey Rollover
+
+#---------------- Programming Options --------------------------
+PROGRAM_CMD = teensy_loader_cli.exe -mmcu=$(MCU) -w -v $(TARGET).hex
+
+
+
include $(COMMON_DIR)/Makefile.pjrc
include $(COMMON_DIR)/Makefile.common