Skip to content

Commit

Permalink
Initial work for consolidation of ChibiOS platform files (qmk#8327)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
tzarc authored and noroadsleft committed Aug 29, 2020
1 parent e6d176c commit d43de0f
Show file tree
Hide file tree
Showing 59 changed files with 4,915 additions and 5,334 deletions.
9 changes: 1 addition & 8 deletions build_keyboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand All @@ -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 :=

Expand Down
568 changes: 0 additions & 568 deletions drivers/boards/BLACKPILL_STM32_F401/board.h

This file was deleted.

Loading

0 comments on commit d43de0f

Please sign in to comment.