aboutsummaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-06-06 18:52:19 +1000
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit385d49cc39b57e74203e0c1c78c0789d249e4742 (patch)
treedbd8b3f7bc30a9d40d51ffaa5cd5a93d5eb47359 /build_keyboard.mk
parent5cc3ab38c9148cd6bc7ccdba176a88fbb95653b1 (diff)
downloadfirmware-385d49cc39b57e74203e0c1c78c0789d249e4742.tar.gz
firmware-385d49cc39b57e74203e0c1c78c0789d249e4742.tar.bz2
firmware-385d49cc39b57e74203e0c1c78c0789d249e4742.zip
Initial work for consolidation of ChibiOS platform files (#8327)
* Initial work for consolidation of board files and default ChibiOS configs. * Migrate F401/F411 black pills for testing. * Add early init bootloader jump flag. * Add support for I2C in order to use i2c_scanner keymap. * Add F401/F411 HSE bypass to get things booting. * Exempt "hooked" ChibiOS conf files from updater script. * Fix up ordering for bootloader_defs file check. * Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 410870487..b4e1efd9e 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -16,7 +16,6 @@ include common.mk
KEYBOARD_FILESAFE := $(subst /,_,$(KEYBOARD))
TARGET ?= $(KEYBOARD_FILESAFE)_$(KEYMAP)
KEYBOARD_OUTPUT := $(BUILD_DIR)/obj_$(KEYBOARD_FILESAFE)
-STM32_PATH := quantum/stm32
# Force expansion
TARGET := $(TARGET)
@@ -138,7 +137,7 @@ endif
ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
TARGET := $(TARGET)_proton_c
- include $(STM32_PATH)/proton_c.mk
+ include platforms/chibios/GENERIC_STM32_F303XC/configs/proton_c.mk
OPT_DEFS += -DCONVERT_TO_PROTON_C
endif
@@ -148,12 +147,6 @@ endif
include quantum/mcu_selection.mk
-ifdef MCU_FAMILY
- OPT_DEFS += -DQMK_STM32
- KEYBOARD_PATHS += $(STM32_PATH)
-endif
-
-
# Find all the C source files to be compiled in subfolders.
KEYBOARD_SRC :=