aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/m20add
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-25 08:42:48 +0100
committerGitHub <[email protected]>2024-04-25 08:42:48 +0100
commit3d83b3e7c5dc18b77d82798fdad9d7552487cfe4 (patch)
tree8c96d1c4fd2fae989b1861e68bc1d3487a25787b /keyboards/matrix/m20add
parentb6d5cfe5751f9dba6d06b9fce110ed8c6160576c (diff)
downloadqmk_firmware-3d83b3e7c5dc18b77d82798fdad9d7552487cfe4.tar.gz
qmk_firmware-3d83b3e7c5dc18b77d82798fdad9d7552487cfe4.zip
Migrate build target markers to keyboard.json - Misc (#23609)
Diffstat (limited to 'keyboards/matrix/m20add')
-rw-r--r--keyboards/matrix/m20add/keyboard.json (renamed from keyboards/matrix/m20add/info.json)2
-rw-r--r--keyboards/matrix/m20add/rules.mk13
2 files changed, 3 insertions, 12 deletions
diff --git a/keyboards/matrix/m20add/info.json b/keyboards/matrix/m20add/keyboard.json
index 5a999bb484..fc58d242e6 100644
--- a/keyboards/matrix/m20add/info.json
+++ b/keyboards/matrix/m20add/keyboard.json
@@ -34,6 +34,8 @@
"extrakey": true,
"rgblight": true
},
+ "processor": "STM32F411",
+ "bootloader": "custom",
"layouts": {
"LAYOUT_tkl_ansi_tsangan": {
"layout": [
diff --git a/keyboards/matrix/m20add/rules.mk b/keyboards/matrix/m20add/rules.mk
index 150bd24e30..980cf9518b 100644
--- a/keyboards/matrix/m20add/rules.mk
+++ b/keyboards/matrix/m20add/rules.mk
@@ -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