mirror of https://github.com/zmkfirmware/zmk.git
refactor(boards): Move BDN9 to HWMv2
Move BDN9 to HWMv2, using the base `bdn9` ID, no longer including the `_rev2` suffix in the ID.
This commit is contained in:
parent
7364fe69b0
commit
98828dba4d
|
|
@ -1,8 +0,0 @@
|
||||||
# keeb.io BDN9 board configuration
|
|
||||||
|
|
||||||
# Copyright (c) 2020 The ZMK Contributors
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
config BOARD_BDN9
|
|
||||||
bool "BDN9 rev2"
|
|
||||||
depends on SOC_STM32F072XB
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
file_format: "1"
|
|
||||||
id: bdn9_rev2
|
|
||||||
name: BDN9 Rev2
|
|
||||||
type: board
|
|
||||||
arch: arm
|
|
||||||
features:
|
|
||||||
- keys
|
|
||||||
- encoder
|
|
||||||
outputs:
|
|
||||||
- usb
|
|
||||||
url: https://keeb.io/products/bdn9-rev-2-3x3-9-key-macropad-rotary-encoder-and-rgb
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright (c) 2020 Pete Johanson
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
config BOARD_BDN9
|
||||||
|
select SOC_STM32F072XB
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <dt-bindings/zmk/matrix_transform.h>
|
#include <dt-bindings/zmk/matrix_transform.h>
|
||||||
|
|
||||||
#include "bdn9_rev2-layouts.dtsi"
|
#include "bdn9-layouts.dtsi"
|
||||||
|
|
||||||
&physical_layout0 {
|
&physical_layout0 {
|
||||||
transform = <&matrix_transform0>;
|
transform = <&matrix_transform0>;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
file_format: "1"
|
file_format: "1"
|
||||||
id: bdn9_rev2
|
id: bdn9
|
||||||
name: BDN9 Rev2
|
name: BDN9 (Rev2)
|
||||||
type: board
|
type: board
|
||||||
arch: arm
|
arch: arm
|
||||||
outputs:
|
outputs:
|
||||||
|
|
@ -9,3 +9,6 @@ features:
|
||||||
- keys
|
- keys
|
||||||
- encoder
|
- encoder
|
||||||
url: https://keeb.io/collections/bdn9-collection/products/bdn9-rev-2-3x3-9-key-macropad-rotary-encoder-and-rgb
|
url: https://keeb.io/collections/bdn9-collection/products/bdn9-rev-2-3x3-9-key-macropad-rotary-encoder-and-rgb
|
||||||
|
revisions:
|
||||||
|
- "2.0.0"
|
||||||
|
default_revision: "2.0.0"
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_STM32F0X=y
|
|
||||||
CONFIG_SOC_STM32F072XB=y
|
|
||||||
# 72MHz system clock
|
# 72MHz system clock
|
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
board:
|
||||||
|
name: bdn9
|
||||||
|
vendor: keebio
|
||||||
|
socs:
|
||||||
|
- name: stm32f072xb
|
||||||
|
revision:
|
||||||
|
format: major.minor.patch
|
||||||
|
default: 2.0.0
|
||||||
|
revisions:
|
||||||
|
- name: 2.0.0
|
||||||
|
|
@ -9,7 +9,7 @@ shield:
|
||||||
- settings_reset
|
- settings_reset
|
||||||
- tidbit
|
- tidbit
|
||||||
include:
|
include:
|
||||||
- board: bdn9_rev2
|
- board: bdn9
|
||||||
- board: nice60
|
- board: nice60
|
||||||
- board: xiao_ble
|
- board: xiao_ble
|
||||||
shield: hummingbird
|
shield: hummingbird
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue