Migrate build target markers to keyboard.json - Misc (#23609)
This commit is contained in:
parent
b6d5cfe575
commit
3d83b3e7c5
43 changed files with 69 additions and 157 deletions
|
@ -34,6 +34,8 @@
|
|||
"extrakey": true,
|
||||
"rgblight": true
|
||||
},
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "custom",
|
||||
"layouts": {
|
||||
"LAYOUT_tkl_ansi": {
|
||||
"layout": [
|
|
@ -1,33 +1,7 @@
|
|||
#
|
||||
# - the next two should match the directories in
|
||||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
|
||||
MCU_FAMILY = STM32
|
||||
MCU_SERIES = STM32F4xx
|
||||
|
||||
# Linker script to use
|
||||
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
||||
# or <this_dir>/ld/
|
||||
# custom bootloader
|
||||
MCU_LDSCRIPT = abelx_boot
|
||||
|
||||
# Startup code to use
|
||||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
|
||||
MCU_STARTUP = stm32f4xx
|
||||
|
||||
# Board: it should exist either in <chibios>/os/hal/boards/
|
||||
# or <this_dir>/boards
|
||||
BOARD = abelx_bd
|
||||
|
||||
# Cortex version
|
||||
MCU = cortex-m4
|
||||
|
||||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
|
||||
ARMV = 7
|
||||
|
||||
USE_FPU = yes
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = custom
|
||||
|
||||
CUSTOM_MATRIX = lite
|
||||
# project specific files
|
||||
SRC += matrix.c tca6424.c aw9523b.c
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"bootloader": "custom",
|
||||
"processor": "STM32F103",
|
||||
"layout_aliases": {
|
||||
"LAYOUT_all": "LAYOUT_tkl_ansi_tsangan"
|
||||
},
|
|
@ -29,4 +29,6 @@ void keyboard_post_init_kb(void) {
|
|||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(5, 255, 255);
|
||||
rgblight_mode_noeeprom(37);
|
||||
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
# MCU name
|
||||
MCU = STM32F103
|
||||
|
||||
# custom bootloader
|
||||
MCU_LDSCRIPT = m12og_v1
|
||||
|
||||
BOARD = m12og_v1
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = custom
|
||||
|
||||
CUSTOM_MATRIX = lite
|
||||
SRC += matrix.c
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
void matrix_init_user(void) {
|
||||
void matrix_init_kb(void) {
|
||||
setPinOutput(C6);
|
||||
setPinOutput(B2);
|
||||
setPinOutput(B1);
|
||||
|
||||
matrix_init_user();
|
||||
}
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
"extrakey": true,
|
||||
"rgblight": true
|
||||
},
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "custom",
|
||||
"layouts": {
|
||||
"LAYOUT_tkl_ansi_tsangan": {
|
||||
"layout": [
|
|
@ -1,18 +1,7 @@
|
|||
# MCU name
|
||||
MCU = STM32F411
|
||||
|
||||
# Linker script to use
|
||||
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
||||
# or <this_dir>/ld/
|
||||
# custom bootloader
|
||||
MCU_LDSCRIPT = m20add_boot
|
||||
|
||||
# Board: it should exist either in <chibios>/os/hal/boards/
|
||||
# or <this_dir>/boards
|
||||
BOARD = ST_NUCLEO64_F411RE
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = custom
|
||||
|
||||
CUSTOM_MATRIX = lite
|
||||
# project specific files
|
||||
SRC += matrix.c tca6424.c rgb_ring.c drivers/led/issi/is31fl3731.c
|
||||
|
|
|
@ -83,6 +83,8 @@
|
|||
"rgblight": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "custom",
|
||||
"community_layouts": ["65_iso_blocker"],
|
||||
"layouts": {
|
||||
"LAYOUT_default": {
|
|
@ -1,18 +1,7 @@
|
|||
# MCU name
|
||||
MCU = STM32F411
|
||||
|
||||
# Linker script to use
|
||||
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
||||
# or <this_dir>/ld/
|
||||
# custom bootloader
|
||||
MCU_LDSCRIPT = noah_boot
|
||||
|
||||
# Board: it should exist either in <chibios>/os/hal/boards/
|
||||
# or <this_dir>/boards
|
||||
BOARD = ST_NUCLEO64_F411RE
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = custom
|
||||
|
||||
WS2812_DRIVER_REQUIRED = yes
|
||||
|
||||
CUSTOM_MATRIX = yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue