aboutsummaryrefslogtreecommitdiff
path: root/converter
diff options
context:
space:
mode:
Diffstat (limited to 'converter')
-rw-r--r--converter/adb_usb/Makefile14
-rw-r--r--converter/m0110_usb/Makefile7
-rw-r--r--converter/news_usb/Makefile.pjrc7
-rw-r--r--converter/ps2_usb/Makefile7
-rw-r--r--converter/ps2_usb/Makefile.pjrc_usart7
-rw-r--r--converter/ps2_usb/Makefile.vusb15
-rw-r--r--converter/terminal_usb/Makefile.102_pjrc7
-rw-r--r--converter/terminal_usb/Makefile.122_pjrc7
-rw-r--r--converter/x68k_usb/Makefile7
9 files changed, 52 insertions, 26 deletions
diff --git a/converter/adb_usb/Makefile b/converter/adb_usb/Makefile
index 248261df0..e9a90695b 100644
--- a/converter/adb_usb/Makefile
+++ b/converter/adb_usb/Makefile
@@ -8,8 +8,7 @@ TOP_DIR = ../..
8TARGET_DIR = . 8TARGET_DIR = .
9 9
10# keyboard dependent files 10# keyboard dependent files
11SRC = main.c \ 11SRC = keymap.c \
12 keymap.c \
13 matrix.c \ 12 matrix.c \
14 led.c \ 13 led.c \
15 adb.c 14 adb.c
@@ -42,16 +41,11 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
42#NKRO_ENABLE = yes # USB Nkey Rollover 41#NKRO_ENABLE = yes # USB Nkey Rollover
43 42
44 43
45 44# Search Path
46#---------------- Programming Options -------------------------- 45VPATH += $(TARGET_DIR)
47PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 46VPATH += $(TOP_DIR)
48
49
50 47
51include $(TOP_DIR)/protocol/pjrc.mk 48include $(TOP_DIR)/protocol/pjrc.mk
52include $(TOP_DIR)/protocol.mk 49include $(TOP_DIR)/protocol.mk
53include $(TOP_DIR)/common.mk 50include $(TOP_DIR)/common.mk
54include $(TOP_DIR)/rules.mk 51include $(TOP_DIR)/rules.mk
55
56dfu: PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex
57dfu: program
diff --git a/converter/m0110_usb/Makefile b/converter/m0110_usb/Makefile
index 4a687b933..1fee258a6 100644
--- a/converter/m0110_usb/Makefile
+++ b/converter/m0110_usb/Makefile
@@ -8,8 +8,7 @@ TOP_DIR = ../..
8TARGET_DIR = . 8TARGET_DIR = .
9 9
10# keyboard dependent files 10# keyboard dependent files
11SRC = main.c \ 11SRC = keymap.c \
12 keymap.c \
13 matrix.c \ 12 matrix.c \
14 led.c \ 13 led.c \
15 m0110.c 14 m0110.c
@@ -47,6 +46,10 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
47PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 46PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
48 47
49 48
49# Search Path
50VPATH += $(TARGET_DIR)
51VPATH += $(TOP_DIR)
52
50 53
51include $(TOP_DIR)/protocol/pjrc.mk 54include $(TOP_DIR)/protocol/pjrc.mk
52include $(TOP_DIR)/protocol.mk 55include $(TOP_DIR)/protocol.mk
diff --git a/converter/news_usb/Makefile.pjrc b/converter/news_usb/Makefile.pjrc
index 376133ad5..3233463d5 100644
--- a/converter/news_usb/Makefile.pjrc
+++ b/converter/news_usb/Makefile.pjrc
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap.c \
17 keymap.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 news.c 19 news.c
@@ -51,6 +50,10 @@ NKRO_ENABLE = yes # USB Nkey Rollover
51PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 50PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
52 51
53 52
53# Search Path
54VPATH += $(TARGET_DIR)
55VPATH += $(TOP_DIR)
56
54 57
55include $(TOP_DIR)/protocol/pjrc.mk 58include $(TOP_DIR)/protocol/pjrc.mk
56include $(TOP_DIR)/protocol.mk 59include $(TOP_DIR)/protocol.mk
diff --git a/converter/ps2_usb/Makefile b/converter/ps2_usb/Makefile
index 0bba191a3..1278a74be 100644
--- a/converter/ps2_usb/Makefile
+++ b/converter/ps2_usb/Makefile
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap.c \
17 keymap.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 ps2.c 19 ps2.c
@@ -51,6 +50,10 @@ NKRO_ENABLE = yes # USB Nkey Rollover
51PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 50PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
52 51
53 52
53# Search Path
54VPATH += $(TARGET_DIR)
55VPATH += $(TOP_DIR)
56
54 57
55include $(TOP_DIR)/protocol/pjrc.mk 58include $(TOP_DIR)/protocol/pjrc.mk
56include $(TOP_DIR)/protocol.mk 59include $(TOP_DIR)/protocol.mk
diff --git a/converter/ps2_usb/Makefile.pjrc_usart b/converter/ps2_usb/Makefile.pjrc_usart
index 3dad7e2f8..dd74712e4 100644
--- a/converter/ps2_usb/Makefile.pjrc_usart
+++ b/converter/ps2_usb/Makefile.pjrc_usart
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap.c \
17 keymap.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 ps2_usart.c 19 ps2_usart.c
@@ -51,6 +50,10 @@ NKRO_ENABLE = yes # USB Nkey Rollover
51PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 50PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
52 51
53 52
53# Search Path
54VPATH += $(TARGET_DIR)
55VPATH += $(TOP_DIR)
56
54 57
55include $(TOP_DIR)/protocol/pjrc.mk 58include $(TOP_DIR)/protocol/pjrc.mk
56include $(TOP_DIR)/protocol.mk 59include $(TOP_DIR)/protocol.mk
diff --git a/converter/ps2_usb/Makefile.vusb b/converter/ps2_usb/Makefile.vusb
index 4d5240c30..b08d30d57 100644
--- a/converter/ps2_usb/Makefile.vusb
+++ b/converter/ps2_usb/Makefile.vusb
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap.c \
17 keymap.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 ps2_usart.c 19 ps2_usart.c
@@ -85,6 +84,18 @@ AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)
85PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) 84PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
86 85
87 86
87# Boot Section Size in bytes
88# Teensy halfKay 512
89# Atmel DFU loader 4096
90# LUFA bootloader 4096
91# USBasp 2048
92OPT_DEFS += -DBOOT_SIZE=2048
93
94
95# Search Path
96VPATH += $(TARGET_DIR)
97VPATH += $(TOP_DIR)
98
88 99
89include $(TOP_DIR)/protocol/vusb.mk 100include $(TOP_DIR)/protocol/vusb.mk
90include $(TOP_DIR)/protocol.mk 101include $(TOP_DIR)/protocol.mk
diff --git a/converter/terminal_usb/Makefile.102_pjrc b/converter/terminal_usb/Makefile.102_pjrc
index e9d14e7a0..e2d1a00a5 100644
--- a/converter/terminal_usb/Makefile.102_pjrc
+++ b/converter/terminal_usb/Makefile.102_pjrc
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap_102.c \
17 keymap_102.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 ps2.c 19 ps2.c
@@ -51,6 +50,10 @@ NKRO_ENABLE = yes # USB Nkey Rollover
51PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 50PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
52 51
53 52
53# Search Path
54VPATH += $(TARGET_DIR)
55VPATH += $(TOP_DIR)
56
54 57
55include $(TOP_DIR)/protocol/pjrc.mk 58include $(TOP_DIR)/protocol/pjrc.mk
56include $(TOP_DIR)/protocol.mk 59include $(TOP_DIR)/protocol.mk
diff --git a/converter/terminal_usb/Makefile.122_pjrc b/converter/terminal_usb/Makefile.122_pjrc
index bec00510e..ee42dd743 100644
--- a/converter/terminal_usb/Makefile.122_pjrc
+++ b/converter/terminal_usb/Makefile.122_pjrc
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap_122.c \
17 keymap_122.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 ps2.c 19 ps2.c
@@ -51,6 +50,10 @@ F_CPU = 16000000
51PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex 50PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
52 51
53 52
53# Search Path
54VPATH += $(TARGET_DIR)
55VPATH += $(TOP_DIR)
56
54 57
55include $(TOP_DIR)/protocol/pjrc.mk 58include $(TOP_DIR)/protocol/pjrc.mk
56include $(TOP_DIR)/protocol.mk 59include $(TOP_DIR)/protocol.mk
diff --git a/converter/x68k_usb/Makefile b/converter/x68k_usb/Makefile
index c3b5fa29f..62b976c56 100644
--- a/converter/x68k_usb/Makefile
+++ b/converter/x68k_usb/Makefile
@@ -13,8 +13,7 @@ TOP_DIR = ../..
13TARGET_DIR = . 13TARGET_DIR = .
14 14
15# keyboard dependent files 15# keyboard dependent files
16SRC = main.c \ 16SRC = keymap.c \
17 keymap.c \
18 matrix.c \ 17 matrix.c \
19 led.c \ 18 led.c \
20 x68k.c 19 x68k.c
@@ -80,6 +79,10 @@ AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)
80PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex 79PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex
81 80
82 81
82# Search Path
83VPATH += $(TARGET_DIR)
84VPATH += $(TOP_DIR)
85
83 86
84include $(TOP_DIR)/protocol/pjrc.mk 87include $(TOP_DIR)/protocol/pjrc.mk
85include $(TOP_DIR)/protocol.mk 88include $(TOP_DIR)/protocol.mk