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.
Merge pull request qmk#9 from zhaqian12/merge
merge
- Loading branch information
Showing
2,861 changed files
with
19,639 additions
and
9,660 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ endif | |
|
||
.DEFAULT_GOAL := all | ||
|
||
OPT = g | ||
|
||
include paths.mk | ||
include $(BUILDDEFS_PATH)/message.mk | ||
|
||
|
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,37 @@ | ||
# Note for new boards -- CTPC and CONVERT_TO_PROTON_C are deprecated terms | ||
# and should not be replicated for new boards. These will be removed from | ||
# documentation as well as existing keymaps in due course. | ||
ifeq ($(strip $(CTPC)), yes) | ||
CONVERT_TO_PROTON_C=yes | ||
endif | ||
ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes) | ||
CONVERT_TO=proton_c | ||
|
||
cpfirmware: ctpc_warning | ||
.INTERMEDIATE: ctpc_warning | ||
ctpc_warning: elf | ||
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@) | ||
$(info The `CONVERT_TO_PROTON_C` and `CTPC` options are soon to be deprecated.) | ||
$(info Boards should be changed to use `CONVERT_TO=proton_c` instead.) | ||
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@) | ||
endif | ||
|
||
# TODO: opt in rather than assume everything uses a pro micro | ||
PIN_COMPATIBLE ?= promicro | ||
ifneq ($(CONVERT_TO),) | ||
# glob to search each platfrorm and/or check for valid converter | ||
CONVERTER := $(wildcard $(PLATFORM_PATH)/*/converters/$(PIN_COMPATIBLE)_to_$(CONVERT_TO)/) | ||
ifeq ($(CONVERTER),) | ||
$(call CATASTROPHIC_ERROR,Converting from '$(PIN_COMPATIBLE)' to '$(CONVERT_TO)' not possible!) | ||
endif | ||
|
||
TARGET := $(TARGET)_$(CONVERT_TO) | ||
|
||
# Configure any defaults | ||
OPT_DEFS += -DCONVERT_TO_$(strip $(shell echo $(CONVERT_TO) | tr '[:lower:]' '[:upper:]')) | ||
OPT_DEFS += -DCONVERTER_ENABLED | ||
VPATH += $(CONVERTER) | ||
|
||
# Finally run any converter specific logic | ||
include $(CONVERTER)/converter.mk | ||
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
Oops, something went wrong.