mirror of https://github.com/zmkfirmware/zmk.git
refactor(boards): Move Glove80 to HMWv2
Refactor the MoErgo Glove80 left/right to HWMv2.
This commit is contained in:
parent
be7fff63b5
commit
033cae9755
|
|
@ -1,8 +0,0 @@
|
||||||
# Copyright (c) 2021 The ZMK Contributors
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
config BOARD_ENABLE_DCDC
|
|
||||||
bool "Enable DCDC mode"
|
|
||||||
select SOC_DCDC_NRF52X
|
|
||||||
default y
|
|
||||||
depends on (BOARD_GLOVE80_LH || BOARD_GLOVE80_RH)
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
# Copyright (c) 2021 The ZMK Contributors
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
config BOARD_GLOVE80_LH
|
|
||||||
bool "Glove80 LH"
|
|
||||||
depends on SOC_NRF52840_QIAA
|
|
||||||
|
|
||||||
config BOARD_GLOVE80_RH
|
|
||||||
bool "Glove80 RH"
|
|
||||||
depends on SOC_NRF52840_QIAA
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Copyright (c) 2021 The ZMK Contributors
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
config BOARD_GLOVE80_LH
|
||||||
|
select SOC_NRF52840_QIAA
|
||||||
|
imply RETAINED_MEM
|
||||||
|
imply RETENTION
|
||||||
|
imply RETENTION_BOOT_MODE
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Copyright (c) 2021 The ZMK Contributors
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
config BOARD_GLOVE80_RH
|
||||||
|
select SOC_NRF52840_QIAA
|
||||||
|
imply RETAINED_MEM
|
||||||
|
imply RETENTION
|
||||||
|
imply RETENTION_BOOT_MODE
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
boards:
|
||||||
|
- name: glove80_rh
|
||||||
|
vendor: moergo
|
||||||
|
socs:
|
||||||
|
- name: nrf52840
|
||||||
|
- name: glove80_lh
|
||||||
|
vendor: moergo
|
||||||
|
socs:
|
||||||
|
- name: nrf52840
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include <nordic/nrf52840_qiaa.dtsi>
|
#include <nordic/nrf52840_qiaa.dtsi>
|
||||||
|
#include <common/nordic/nrf52840_uf2_boot_mode.dtsi>
|
||||||
|
|
||||||
#include <dt-bindings/zmk/matrix_transform.h>
|
#include <dt-bindings/zmk/matrix_transform.h>
|
||||||
#include "glove80-layouts.dtsi"
|
#include "glove80-layouts.dtsi"
|
||||||
|
|
@ -47,6 +48,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®1 {
|
||||||
|
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
|
||||||
|
};
|
||||||
|
|
||||||
&adc {
|
&adc {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
# Copyright (c) 2021 The ZMK Contributors
|
# Copyright (c) 2021 The ZMK Contributors
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y
|
|
||||||
CONFIG_SOC_NRF52840_QIAA=y
|
|
||||||
CONFIG_BOARD_GLOVE80_LH=y
|
|
||||||
|
|
||||||
# Enable both USB and BLE
|
# Enable both USB and BLE
|
||||||
CONFIG_ZMK_USB=y
|
CONFIG_ZMK_USB=y
|
||||||
CONFIG_ZMK_BLE=y
|
CONFIG_ZMK_BLE=y
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
# Copyright (c) 2021 The ZMK Contributors
|
# Copyright (c) 2021 The ZMK Contributors
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y
|
|
||||||
CONFIG_SOC_NRF52840_QIAA=y
|
|
||||||
CONFIG_BOARD_GLOVE80_RH=y
|
|
||||||
|
|
||||||
# Enable both USB and BLE
|
# Enable both USB and BLE
|
||||||
CONFIG_ZMK_USB=y
|
CONFIG_ZMK_USB=y
|
||||||
CONFIG_ZMK_BLE=y
|
CONFIG_ZMK_BLE=y
|
||||||
Loading…
Reference in New Issue