forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate
TMK_COMMON_*
in makefiles (qmk#21517)
- Loading branch information
1 parent
5bcef4b
commit 7ca4aa4
Showing
17 changed files
with
72 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
OPT_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
OPT_DEFS += -DWATCHDOG_ENABLE | ||
endif | ||
|
||
# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired | ||
# # | ||
# # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight | ||
# # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB | ||
# # | ||
# # Set to B, C or D | ||
# LFK_REV = D | ||
|
||
# ifeq ($(LFK_REV), B) | ||
# MCU = atmega32u4 | ||
# else | ||
# MCU = at90usb1286 | ||
# endif | ||
# OPT_DEFS += -DLFK_REV_$(LFK_REV) | ||
# OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DISSI_ENABLE | ||
OPT_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE | ||
OPT_DEFS += -DWATCHDOG_ENABLE | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DISSI_ENABLE | ||
OPT_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE | ||
OPT_DEFS += -DWATCHDOG_ENABLE | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DISSI_ENABLE | ||
OPT_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE | ||
OPT_DEFS += -DWATCHDOG_ENABLE | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
OPT_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
OPT_DEFS += -DWATCHDOG_ENABLE | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SRC += matrix.c TWIlib.c issi.c lighting.c | ||
|
||
#ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
# OPT_DEFS += -DISSI_ENABLE | ||
#endif | ||
|
||
#ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
# OPT_DEFS += -DWATCHDOG_ENABLE | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/xprintf.S | ||
TMK_COMMON_SRC += $(PLATFORM_COMMON_DIR)/printf.c | ||
SRC += $(PLATFORM_COMMON_DIR)/xprintf.S | ||
SRC += $(PLATFORM_COMMON_DIR)/printf.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters