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
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue