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.
Move non-assignment code to post_rules.mk (qmk#14207)
* 40percentclub/ut47: move non-assignment code to post_rules.mk * converter/palm_usb: move non-assignment code to post_rules.mk * converter/sun_usb: move non-assignment code to post_rules.mk * dm9records/ergoinu: move non-assignment code to post_rules.mk * ergotaco: move non-assignment code to post_rules.mk * handwired/symmetric70_proto: move non-assignment code to post_rules.mk * hhkb/ansi: move non-assignment code to post_rules.mk * hhkb/jp: move non-assignment code to post_rules.mk * lfkeyboards/lfk78: move non-assignment code to post_rules.mk * lfkeyboards/lfk87: move non-assignment code to post_rules.mk * lfkeyboards/lfkpad: move non-assignment code to post_rules.mk * lfkeyboards/mini1800: move non-assignment code to post_rules.mk * manta60: move non-assignment code to post_rules.mk * mschwingen/modelm: move non-assignment code to post_rules.mk * newgame40: move non-assignment code to post_rules.mk * numatreus: move non-assignment code to post_rules.mk * rgbkb/zen: move non-assignment code to post_rules.mk * rgbkb/zen/rev2: move non-assignment code to post_rules.mk * Revert "handwired/symmetric70_proto: move non-assignment code to post_rules.mk" This reverts commit cffaf00.
- Loading branch information
1 parent
80674c8
commit e5b714c
Showing
34 changed files
with
144 additions
and
155 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ifeq ($(strip $(LED_ENABLE)), yes) | ||
OPT_DEFS += -DLED_ENABLE | ||
SRC += led.c | ||
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ifdef HARDWARE_SERIAL | ||
# Untested with palm_usb | ||
SRC += protocol/serial_uart.c | ||
OPT_DEFS += -DHARDWARE_SERIAL | ||
else | ||
SRC += protocol/serial_soft.c | ||
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ifdef HARDWARE_SERIAL | ||
SRC += protocol/serial_uart.c | ||
OPT_DEFS += -DHARDWARE_SERIAL | ||
else | ||
SRC += protocol/serial_soft.c | ||
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ifneq ($(strip $(ERGOINU)),) | ||
ifeq ($(findstring promicroled, $(ERGOINU)), promicroled) | ||
DISABLE_PROMICRO_LEDs = no | ||
endif | ||
endif | ||
|
||
ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes) | ||
OPT_DEFS += -DDISABLE_PROMICRO_LEDs | ||
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# A bunch of stuff that you shouldn't touch unless you | ||
# know what you're doing. | ||
# | ||
# No touchy, capiche? | ||
ifeq ($(strip $(DEBUG_MATRIX)), yes) | ||
OPT_DEFS += -DDEBUG_MATRIX | ||
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ifeq ($(strip $(HHKB_RN42_ENABLE)), yes) | ||
|
||
OPT_DEFS += -DHHKB_RN42_ENABLE | ||
|
||
# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT | ||
# HHKB Alt controller. | ||
RN42_DIR = ../rn42 | ||
|
||
SRC += serial_uart.c \ | ||
../rn42/suart.S \ | ||
../rn42/rn42.c \ | ||
../rn42/rn42_task.c \ | ||
../rn42/battery.c \ | ||
../rn42/main.c | ||
|
||
VPATH += $(RN42_DIR) | ||
|
||
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ifeq ($(strip $(HHKB_RN42_ENABLE)), yes) | ||
|
||
OPT_DEFS += -DHHKB_RN42_ENABLE | ||
|
||
# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT | ||
# HHKB Alt controller. | ||
RN42_DIR = ../rn42 | ||
|
||
SRC += serial_uart.c \ | ||
../rn42/suart.S \ | ||
../rn42/rn42.c \ | ||
../rn42/rn42_task.c \ | ||
../rn42/battery.c \ | ||
../rn42/main.c | ||
|
||
VPATH += $(RN42_DIR) | ||
|
||
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Extra source files for IS3731 lighting | ||
SRC += TWIlib.c issi.c lighting.c | ||
|
||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DWATCHDOG_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(CAPSLOCK_LED)), yes) | ||
TMK_COMMON_DEFS += -DCAPSLOCK_LED | ||
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
ifeq ($(LFK_REV), A) | ||
MCU = at90usb1286 | ||
else | ||
MCU = at90usb646 | ||
endif | ||
|
||
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
TMK_COMMON_DEFS += -DISSI_ENABLE | ||
endif | ||
|
||
ifeq ($(strip $(WATCHDOG_ENABLE)), yes) | ||
TMK_COMMON_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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ifeq ($(LFK_REV), A) | ||
MCU = at90usb1286 | ||
else | ||
MCU = at90usb646 | ||
endif | ||
|
||
ifeq ($(strip $(ISSI_ENABLE)), yes) | ||
# TMK_COMMON_DEFS += -DISSI_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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | ||
OPT_DEFS += -DIOS_DEVICE_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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifeq ($(strip $(UART_DEBUG)), yes) | ||
OPT_DEFS += -DUART_DEBUG | ||
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifeq ($(strip $(IOS_DEVICE_ENABLE )), yes) | ||
OPT_DEFS += -DIOS_DEVICE_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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||
OPT_DEFS += -DLED_ANIMATIONS | ||
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ifeq ($(strip $(CTPC)), yes) | ||
CONVERT_TO_PROTON_C=yes | ||
endif | ||
|
||
ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes) | ||
SPLIT_KEYBOARD = no # currently unsupported on ARM | ||
RGBLIGHT_ENABLE = no # currently unsupported on ARM | ||
|
||
EXTRAFLAGS += -DUSE_PROTON_C | ||
else | ||
# Currently moved to Pro Micro only section because of lack of Proton-C support | ||
SPLIT_KEYBOARD = yes | ||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
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,5 @@ | ||
# Setup so that OLED can be turned on/off easily | ||
ifeq ($(strip $(OLED_ENABLE)), yes) | ||
# Custom local font file | ||
OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" | ||
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,9 +1,3 @@ | ||
ENCODER_ENABLE = yes | ||
|
||
OLED_ENABLE = no | ||
|
||
# Setup so that OLED can be turned on/off easily | ||
ifeq ($(strip $(OLED_ENABLE)), yes) | ||
# Custom local font file | ||
OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\" | ||
endif |
Oops, something went wrong.