summaryrefslogtreecommitdiffstats
path: root/hhkb/Makefile
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-22 01:21:53 +0900
committertmk <nobody@nowhere>2011-02-22 03:09:23 +0900
commitd2b9489a5e19fabb5d6ec285192b19dc25b36d5e (patch)
treeee312006103ccf8f6e18a54e9bca920700d0100d /hhkb/Makefile
parent60052acc0fe3e6429f5c1d24073b1f6af019bd19 (diff)
fixed hhkb to comply new API.
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 7c7ed0ee23..2c8cd5afcf 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