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:
Peter Johanson 2025-06-02 01:34:20 -06:00
parent 7364fe69b0
commit 98828dba4d
15 changed files with 22 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
# Copyright (c) 2020 Pete Johanson
# SPDX-License-Identifier: Apache-2.0
config BOARD_BDN9
select SOC_STM32F072XB

View File

@ -11,7 +11,7 @@
#include <dt-bindings/zmk/matrix_transform.h>
#include "bdn9_rev2-layouts.dtsi"
#include "bdn9-layouts.dtsi"
&physical_layout0 {
transform = <&matrix_transform0>;

View File

@ -1,6 +1,6 @@
file_format: "1"
id: bdn9_rev2
name: BDN9 Rev2
id: bdn9
name: BDN9 (Rev2)
type: board
arch: arm
outputs:
@ -9,3 +9,6 @@ features:
- keys
- encoder
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"

View File

@ -1,7 +1,5 @@
# SPDX-License-Identifier: MIT
CONFIG_SOC_SERIES_STM32F0X=y
CONFIG_SOC_STM32F072XB=y
# 72MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000

View File

@ -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

View File

@ -9,7 +9,7 @@ shield:
- settings_reset
- tidbit
include:
- board: bdn9_rev2
- board: bdn9
- board: nice60
- board: xiao_ble
shield: hummingbird