~ruther/qmk_firmware

3d83b3e7c5dc18b77d82798fdad9d7552487cfe4 — Joel Challis 1 year, 1 day ago b6d5cfe
Migrate build target markers to keyboard.json - Misc (#23609)

43 files changed, 69 insertions(+), 157 deletions(-)

R keyboards/epomaker/tide65/{info.json => keyboard.json}
D keyboards/epomaker/tide65/rules.mk
R keyboards/keyten/lisa/{info.json => keyboard.json}
D keyboards/keyten/lisa/rules.mk
D keyboards/maple_computing/jnao/config.h
R keyboards/maple_computing/jnao/{info.json => keyboard.json}
R keyboards/maple_computing/lets_split_eh/{lets_split_eh.c => eh/eh.c}
R keyboards/maple_computing/lets_split_eh/eh/{info.json => keyboard.json}
R keyboards/marksard/treadstone48/rev2/{info.json => keyboard.json}
D keyboards/marksard/treadstone48/rev2/rules.mk
R keyboards/massdrop/alt/{info.json => keyboard.json}
R keyboards/massdrop/ctrl/{info.json => keyboard.json}
R keyboards/matrix/abelx/{info.json => keyboard.json}
M keyboards/matrix/abelx/rules.mk
R keyboards/matrix/m12og/rev1/{info.json => keyboard.json}
M keyboards/matrix/m12og/rev1/rev1.c
M keyboards/matrix/m12og/rev1/rules.mk
M keyboards/matrix/m12og/rev2/rev2.c
R keyboards/matrix/m20add/{info.json => keyboard.json}
M keyboards/matrix/m20add/rules.mk
R keyboards/matrix/noah/{info.json => keyboard.json}
M keyboards/matrix/noah/rules.mk
R keyboards/rgbkb/pan/rev1/32a/{info.json => keyboard.json}
R keyboards/rgbkb/sol/rev1/{info.json => keyboard.json}
R keyboards/rgbkb/sol/rev2/{info.json => keyboard.json}
R keyboards/rgbkb/zen/rev2/{info.json => keyboard.json}
M keyboards/splitkb/kyria/rev1/info.json
R keyboards/splitkb/kyria/rev1/proton_c/{info.json => keyboard.json}
M keyboards/splitkb/kyria/rev1/rules.mk
M keyboards/splitkb/kyria/rev2/info.json
R keyboards/splitkb/kyria/rev2/proton_c/{info.json => keyboard.json}
M keyboards/splitkb/kyria/rev2/rules.mk
R keyboards/suikagiken/suika85ergo/{info.json => keyboard.json}
D keyboards/suikagiken/suika85ergo/rules.mk
M keyboards/yushakobo/navpad/10/info.json
A keyboards/yushakobo/navpad/10/rev0/rules.mk
A keyboards/yushakobo/navpad/10/rev1/rules.mk
M keyboards/yushakobo/navpad/10/rules.mk
R keyboards/yushakobo/navpad/10_helix_r/{info.json => keyboard.json}
M keyboards/yushakobo/navpad/10_helix_r/rules.mk
R keyboards/yushakobo/quick17/{info.json => keyboard.json}
M keyboards/yushakobo/quick17/rules.mk
R keyboards/zsa/voyager/{info.json => keyboard.json}
R keyboards/epomaker/tide65/info.json => keyboards/epomaker/tide65/keyboard.json +0 -0
D keyboards/epomaker/tide65/rules.mk => keyboards/epomaker/tide65/rules.mk +0 -1
@@ 1,1 0,0 @@
# This file intentionally left blank

R keyboards/keyten/lisa/info.json => keyboards/keyten/lisa/keyboard.json +0 -0
D keyboards/keyten/lisa/rules.mk => keyboards/keyten/lisa/rules.mk +0 -0
D keyboards/maple_computing/jnao/config.h => keyboards/maple_computing/jnao/config.h +0 -24
@@ 1,24 0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE


R keyboards/maple_computing/jnao/info.json => keyboards/maple_computing/jnao/keyboard.json +6 -0
@@ 27,6 27,12 @@
    "command": true,
    "backlight": true
  },
  "qmk": {
    "locking": {
      "enabled": true,
      "resync": true
    }
  },
  "community_layouts": ["ortho_5x12", "ortho_4x12"],
  "layouts": {
    "LAYOUT_ortho_5x12": {

R keyboards/maple_computing/lets_split_eh/lets_split_eh.c => keyboards/maple_computing/lets_split_eh/eh/eh.c +0 -0
R keyboards/maple_computing/lets_split_eh/eh/info.json => keyboards/maple_computing/lets_split_eh/eh/keyboard.json +0 -0
R keyboards/marksard/treadstone48/rev2/info.json => keyboards/marksard/treadstone48/rev2/keyboard.json +0 -0
D keyboards/marksard/treadstone48/rev2/rules.mk => keyboards/marksard/treadstone48/rev2/rules.mk +0 -0
R keyboards/massdrop/alt/info.json => keyboards/massdrop/alt/keyboard.json +0 -0
R keyboards/massdrop/ctrl/info.json => keyboards/massdrop/ctrl/keyboard.json +0 -0
R keyboards/matrix/abelx/info.json => keyboards/matrix/abelx/keyboard.json +2 -0
@@ 34,6 34,8 @@
    "extrakey": true,
    "rgblight": true
  },
  "processor": "STM32F411",
  "bootloader": "custom",
  "layouts": {
    "LAYOUT_tkl_ansi": {
      "layout": [

M keyboards/matrix/abelx/rules.mk => keyboards/matrix/abelx/rules.mk +1 -27
@@ 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

R keyboards/matrix/m12og/rev1/info.json => keyboards/matrix/m12og/rev1/keyboard.json +2 -0
@@ 40,6 40,8 @@
    "build": {
        "lto": true
    },
    "bootloader": "custom",
    "processor": "STM32F103",
    "layout_aliases": {
        "LAYOUT_all": "LAYOUT_tkl_ansi_tsangan"
    },

M keyboards/matrix/m12og/rev1/rev1.c => keyboards/matrix/m12og/rev1/rev1.c +2 -0
@@ 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();
}

M keyboards/matrix/m12og/rev1/rules.mk => keyboards/matrix/m12og/rev1/rules.mk +1 -7
@@ 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

M keyboards/matrix/m12og/rev2/rev2.c => keyboards/matrix/m12og/rev2/rev2.c +3 -1
@@ 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) {

R keyboards/matrix/m20add/info.json => keyboards/matrix/m20add/keyboard.json +2 -0
@@ 34,6 34,8 @@
    "extrakey": true,
    "rgblight": true
  },
  "processor": "STM32F411",
  "bootloader": "custom",
  "layouts": {
    "LAYOUT_tkl_ansi_tsangan": {
      "layout": [

M keyboards/matrix/m20add/rules.mk => keyboards/matrix/m20add/rules.mk +1 -12
@@ 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

R keyboards/matrix/noah/info.json => keyboards/matrix/noah/keyboard.json +2 -0
@@ 83,6 83,8 @@
    "rgblight": true,
    "rgb_matrix": true
  },
  "processor": "STM32F411",
  "bootloader": "custom",
  "community_layouts": ["65_iso_blocker"],
  "layouts": {
    "LAYOUT_default": {

M keyboards/matrix/noah/rules.mk => keyboards/matrix/noah/rules.mk +1 -12
@@ 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

R keyboards/rgbkb/pan/rev1/32a/info.json => keyboards/rgbkb/pan/rev1/32a/keyboard.json +0 -0
R keyboards/rgbkb/sol/rev1/info.json => keyboards/rgbkb/sol/rev1/keyboard.json +0 -0
R keyboards/rgbkb/sol/rev2/info.json => keyboards/rgbkb/sol/rev2/keyboard.json +0 -0
R keyboards/rgbkb/zen/rev2/info.json => keyboards/rgbkb/zen/rev2/keyboard.json +0 -0
M keyboards/splitkb/kyria/rev1/info.json => keyboards/splitkb/kyria/rev1/info.json +9 -0
@@ 4,6 4,15 @@
        "pid": "0x9D9D",
        "device_version": "0.0.1"
    },
    "features": {
        "bootmagic": false,
        "encoder": true,
        "extrakey": true,
        "mousekey": false,
        "nkro": false,
        "oled": true,
        "rgblight": true
    },
    "rgblight": {
        "led_count": 20,
        "split_count": [10, 10]

R keyboards/splitkb/kyria/rev1/proton_c/info.json => keyboards/splitkb/kyria/rev1/proton_c/keyboard.json +0 -0
M keyboards/splitkb/kyria/rev1/rules.mk => keyboards/splitkb/kyria/rev1/rules.mk +1 -13
@@ 1,13 1,1 @@
BOOTMAGIC_ENABLE = no      # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no       # Mouse keys
EXTRAKEY_ENABLE = yes      # Audio control and System control
CONSOLE_ENABLE = no        # Console for debug
COMMAND_ENABLE = no        # Commands for debug and configuration
NKRO_ENABLE = no           # Enable N-Key Rollover
BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
AUDIO_ENABLE = no          # Audio output

OLED_ENABLE = yes          # Enables the use of OLED displays
ENCODER_ENABLE = yes       # Enables the use of one or more encoders
RGBLIGHT_ENABLE = yes      # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = no     # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
DEFAULT_FOLDER = splitkb/kyria/rev1/base

M keyboards/splitkb/kyria/rev2/info.json => keyboards/splitkb/kyria/rev2/info.json +9 -0
@@ 4,6 4,15 @@
        "pid": "0x9D9D",
        "device_version": "0.0.2"
    },
    "features": {
        "bootmagic": false,
        "encoder": true,
        "extrakey": true,
        "mousekey": false,
        "nkro": false,
        "oled": true,
        "rgblight": true
    },
    "rgblight": {
        "led_count": 20,
        "split_count": [10, 10]

R keyboards/splitkb/kyria/rev2/proton_c/info.json => keyboards/splitkb/kyria/rev2/proton_c/keyboard.json +0 -0
M keyboards/splitkb/kyria/rev2/rules.mk => keyboards/splitkb/kyria/rev2/rules.mk +1 -13
@@ 1,13 1,1 @@
BOOTMAGIC_ENABLE = no      # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no       # Mouse keys
EXTRAKEY_ENABLE = yes      # Audio control and System control
CONSOLE_ENABLE = no        # Console for debug
COMMAND_ENABLE = no        # Commands for debug and configuration
NKRO_ENABLE = no           # Enable N-Key Rollover
BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
AUDIO_ENABLE = no          # Audio output

OLED_ENABLE = yes          # Enables the use of OLED displays
ENCODER_ENABLE = yes       # Enables the use of one or more encoders
RGBLIGHT_ENABLE = yes      # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = no     # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
DEFAULT_FOLDER = splitkb/kyria/rev2/base

R keyboards/suikagiken/suika85ergo/info.json => keyboards/suikagiken/suika85ergo/keyboard.json +0 -0
D keyboards/suikagiken/suika85ergo/rules.mk => keyboards/suikagiken/suika85ergo/rules.mk +0 -1
@@ 1,1 0,0 @@
# This file intentionally left blank

M keyboards/yushakobo/navpad/10/info.json => keyboards/yushakobo/navpad/10/info.json +8 -0
@@ 7,6 7,14 @@
        "vid": "0x3265",
        "pid": "0x0008"
    },
    "features": {
        "bootmagic": true,
        "encoder": true,
        "extrakey": true,
        "mousekey": true,
        "nkro": false,
        "rgblight": true
    },
    "encoder": {
        "rotary": [
            {"pin_a": "B5", "pin_b": "B6"}

A keyboards/yushakobo/navpad/10/rev0/rules.mk => keyboards/yushakobo/navpad/10/rev0/rules.mk +1 -0
@@ 0,0 1,1 @@
SRC += navpad_prefs.c

A keyboards/yushakobo/navpad/10/rev1/rules.mk => keyboards/yushakobo/navpad/10/rev1/rules.mk +1 -0
@@ 0,0 1,1 @@
SRC += navpad_prefs.c

M keyboards/yushakobo/navpad/10/rules.mk => keyboards/yushakobo/navpad/10/rules.mk +0 -16
@@ 1,17 1,1 @@
# Build Options
#   change yes to no to disable
#
BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes       # Mouse keys
EXTRAKEY_ENABLE = yes       # Audio control and System control
CONSOLE_ENABLE = no         # Console for debug
COMMAND_ENABLE = no         # Commands for debug and configuration
NKRO_ENABLE = no            # Enable N-Key Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

ENCODER_ENABLE = yes

SRC += navpad_prefs.c
DEFAULT_FOLDER = yushakobo/navpad/10/rev1

R keyboards/yushakobo/navpad/10_helix_r/info.json => keyboards/yushakobo/navpad/10_helix_r/keyboard.json +8 -0
@@ 8,6 8,14 @@
        "pid": "0x0008",
        "device_version": "0.0.1"
    },
    "features": {
        "bootmagic": true,
        "encoder": true,
        "extrakey": true,
        "mousekey": true,
        "nkro": false,
        "rgblight": true
    },
    "matrix_pins": {
        "cols": ["F5", "F6", "B2", "B3", "B1", "F7", null],
        "rows": ["D4", "C6", "D7", "E6", "B4", "F4"]

M keyboards/yushakobo/navpad/10_helix_r/rules.mk => keyboards/yushakobo/navpad/10_helix_r/rules.mk +0 -15
@@ 1,16 1,1 @@
# Build Options
#   change yes to no to disable
#
BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes       # Mouse keys
EXTRAKEY_ENABLE = yes       # Audio control and System control
CONSOLE_ENABLE = no         # Console for debug
COMMAND_ENABLE = no         # Commands for debug and configuration
NKRO_ENABLE = no            # Enable N-Key Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

ENCODER_ENABLE = yes

SRC += navpad_prefs.c

R keyboards/yushakobo/quick17/info.json => keyboards/yushakobo/quick17/keyboard.json +8 -0
@@ 8,6 8,14 @@
        "pid": "0x0006",
        "device_version": "0.0.1"
    },
    "features": {
        "bootmagic": true,
        "encoder": true,
        "extrakey": true,
        "mousekey": true,
        "nkro": false,
        "rgb_matrix": true
    },
    "rgb_matrix": {
        "driver": "ws2812",
        "max_brightness": 150,

M keyboards/yushakobo/quick17/rules.mk => keyboards/yushakobo/quick17/rules.mk +0 -15
@@ 1,18 1,3 @@
# Build Options
#   change yes to no to disable
#
BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes       # Mouse keys
EXTRAKEY_ENABLE = yes       # Audio control and System control
CONSOLE_ENABLE = no         # Console for debug
COMMAND_ENABLE = no         # Commands for debug and configuration
NKRO_ENABLE = no            # Enable N-Key Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

RGB_MATRIX_ENABLE = yes
RGB_MATRIX_CUSTOM_KB = yes

SRC += quick17_prefs.c

R keyboards/zsa/voyager/info.json => keyboards/zsa/voyager/keyboard.json +0 -0
Do not follow this link