refactor(boards): Move Pillbug to HWMv2

Migrate the MechWild PillBug board to HWMv2.
This commit is contained in:
Peter Johanson 2025-07-03 01:37:04 -06:00
parent 740acb2374
commit 9502b437d7
13 changed files with 15 additions and 13 deletions

View File

@ -1,6 +0,0 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
config BOARD_PILLBUG
bool "PillBug"
depends on SOC_NRF52840_QIAA

View File

@ -3,9 +3,6 @@
if BOARD_PILLBUG
config BOARD
default "PillBug"
if USB_DEVICE_STACK
config USB_NRFX

View File

@ -0,0 +1,8 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: Apache-2.0
config BOARD_PILLBUG
select SOC_NRF52840_QIAA
imply RETAINED_MEM
imply RETENTION
imply RETENTION_BOOT_MODE

View File

@ -0,0 +1,5 @@
board:
name: pillbug
vendor: mechwild
socs:
- name: nrf52840

View File

@ -7,6 +7,8 @@
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include <common/nordic/nrf52840_uf2_boot_mode.dtsi>
#include "pillbug-pinctrl.dtsi"
#include "blackpill_pins.dtsi"

View File

@ -1,10 +1,6 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_PILLBUG=y
# Enable MPU
CONFIG_ARM_MPU=y