aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_keyboard.mk2
-rw-r--r--drivers/boards/IC_TEENSY_3_1/board.c (renamed from keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.c)0
-rw-r--r--drivers/boards/IC_TEENSY_3_1/board.h (renamed from keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.h)0
-rw-r--r--drivers/boards/IC_TEENSY_3_1/board.mk5
-rw-r--r--keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.mk5
-rw-r--r--keyboards/k_type/rules.mk2
-rw-r--r--keyboards/whitefox/rules.mk10
-rw-r--r--tmk_core/chibios.mk3
8 files changed, 17 insertions, 10 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 5a82abd31..90a3df776 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -143,6 +143,8 @@ ifeq ($(PLATFORM),CHIBIOS)
143 OPT_DEFS += -include $(KEYBOARD_PATH_1)/bootloader_defs.h 143 OPT_DEFS += -include $(KEYBOARD_PATH_1)/bootloader_defs.h
144 else ifneq ("$(wildcard $(KEYBOARD_PATH_1)/boards/$(BOARD)/bootloader_defs.h)","") 144 else ifneq ("$(wildcard $(KEYBOARD_PATH_1)/boards/$(BOARD)/bootloader_defs.h)","")
145 OPT_DEFS += -include $(KEYBOARD_PATH_1)/boards/$(BOARD)/bootloader_defs.h 145 OPT_DEFS += -include $(KEYBOARD_PATH_1)/boards/$(BOARD)/bootloader_defs.h
146 else ifneq ("$(wildcard $(TOP_DIR)/drivers/boards/$(BOARD)/bootloader_defs.h)","")
147 OPT_DEFS += -include $(TOP_DIR)/drivers/boards/$(BOARD)/bootloader_defs.h
146 endif 148 endif
147endif 149endif
148 150
diff --git a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.c b/drivers/boards/IC_TEENSY_3_1/board.c
index 1e952883d..1e952883d 100644
--- a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.c
+++ b/drivers/boards/IC_TEENSY_3_1/board.c
diff --git a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.h b/drivers/boards/IC_TEENSY_3_1/board.h
index 8853395ef..8853395ef 100644
--- a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.h
+++ b/drivers/boards/IC_TEENSY_3_1/board.h
diff --git a/drivers/boards/IC_TEENSY_3_1/board.mk b/drivers/boards/IC_TEENSY_3_1/board.mk
new file mode 100644
index 000000000..62f5b751c
--- /dev/null
+++ b/drivers/boards/IC_TEENSY_3_1/board.mk
@@ -0,0 +1,5 @@
1# List of all the board related files.
2BOARDSRC = $(BOARD_PATH)/boards/IC_TEENSY_3_1/board.c
3
4# Required include directories
5BOARDINC = $(BOARD_PATH)/boards/IC_TEENSY_3_1
diff --git a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.mk b/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.mk
deleted file mode 100644
index c946e27fc..000000000
--- a/keyboards/k_type/boards/K_TYPE_TEENSY_3_1/board.mk
+++ /dev/null
@@ -1,5 +0,0 @@
1# List of all the board related files.
2BOARDSRC = $(BOARD_PATH)/boards/K_TYPE_TEENSY_3_1/board.c
3
4# Required include directories
5BOARDINC = $(BOARD_PATH)/boards/K_TYPE_TEENSY_3_1
diff --git a/keyboards/k_type/rules.mk b/keyboards/k_type/rules.mk
index ca6c844fb..a1c56903b 100644
--- a/keyboards/k_type/rules.mk
+++ b/keyboards/k_type/rules.mk
@@ -40,7 +40,7 @@ MCU_STARTUP = k20x7
40 40
41# This board was copied from PJRC_TEENSY_3_1. The only difference should be a 41# This board was copied from PJRC_TEENSY_3_1. The only difference should be a
42# hack to ensure the watchdog has started before trying to disable it. 42# hack to ensure the watchdog has started before trying to disable it.
43BOARD = K_TYPE_TEENSY_3_1 43BOARD = IC_TEENSY_3_1
44 44
45# Cortex version 45# Cortex version
46# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 46# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
diff --git a/keyboards/whitefox/rules.mk b/keyboards/whitefox/rules.mk
index 32273e08a..9f222bf4f 100644
--- a/keyboards/whitefox/rules.mk
+++ b/keyboards/whitefox/rules.mk
@@ -38,7 +38,7 @@ MCU_STARTUP = k20x7
38# - PJRC_TEENSY_3 for Teensy 3.0 38# - PJRC_TEENSY_3 for Teensy 3.0
39# - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2 39# - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2
40# - MCHCK_K20 for Infinity KB 40# - MCHCK_K20 for Infinity KB
41BOARD = PJRC_TEENSY_3_1 41BOARD = IC_TEENSY_3_1
42 42
43# Cortex version 43# Cortex version
44# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 44# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
@@ -52,7 +52,9 @@ ARMV = 7
52# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ 52# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
53# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB 53# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
54#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000 54#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
55OPT_DEFS = 55OPT_DEFS =
56
57DFU_ARGS = -d 1c11:b007
56 58
57# Build Options 59# Build Options
58# comment out to disable the options. 60# comment out to disable the options.
@@ -70,5 +72,5 @@ BACKLIGHT_ENABLE = yes
70VISUALIZER_ENABLE = yes 72VISUALIZER_ENABLE = yes
71 73
72LED_DRIVER = is31fl3731c 74LED_DRIVER = is31fl3731c
73LED_WIDTH = 16 75LED_WIDTH = 16
74LED_HEIGHT = 5 \ No newline at end of file 76LED_HEIGHT = 5
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index 7c7f658b2..e53204905 100644
--- a/tmk_core/chibios.mk
+++ b/tmk_core/chibios.mk
@@ -63,6 +63,9 @@ else ifneq ("$(wildcard $(KEYBOARD_PATH_2)/boards/$(BOARD)/board.mk)","")
63else ifneq ("$(wildcard $(KEYBOARD_PATH_1)/boards/$(BOARD)/board.mk)","") 63else ifneq ("$(wildcard $(KEYBOARD_PATH_1)/boards/$(BOARD)/board.mk)","")
64 BOARD_PATH = $(KEYBOARD_PATH_1) 64 BOARD_PATH = $(KEYBOARD_PATH_1)
65 BOARD_MK += $(KEYBOARD_PATH_1)/boards/$(BOARD)/board.mk 65 BOARD_MK += $(KEYBOARD_PATH_1)/boards/$(BOARD)/board.mk
66else ifneq ("$(wildcard $(TOP_DIR)/drivers/boards/$(BOARD)/board.mk)","")
67 BOARD_PATH = $(TOP_DIR)/drivers
68 BOARD_MK += $(TOP_DIR)/drivers/boards/$(BOARD)/board.mk
66endif 69endif
67 70
68ifeq ("$(wildcard $(BOARD_MK))","") 71ifeq ("$(wildcard $(BOARD_MK))","")