mirror of https://github.com/zmkfirmware/zmk.git
refactor(boards): Move MakerDiary M2 board to HWMv2.
Run the HWMv2 script to convert the MakerDiary M2 board.
This commit is contained in:
parent
8f61f3349e
commit
5729006ac4
|
|
@ -1,9 +0,0 @@
|
|||
# Maker Diary nrf52840 M.2 board configuration
|
||||
|
||||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
config BOARD_NRF52840_M2
|
||||
bool "nrf52480_m2"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
|
||||
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
if BOARD_NRF52840_M2
|
||||
|
||||
config BOARD
|
||||
default "nrf52480_m2"
|
||||
|
||||
if USB_DEVICE_STACK
|
||||
|
||||
config USB_NRFX
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NRF52840_M2
|
||||
select SOC_NRF52840_QIAA
|
||||
imply RETAINED_MEM
|
||||
imply RETENTION
|
||||
imply RETENTION_BOOT_MODE
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
board:
|
||||
name: nrf52840_m2
|
||||
vendor: makerdiary
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
/dts-v1/;
|
||||
#include <nordic/nrf52840_qiaa.dtsi>
|
||||
#include <common/nordic/nrf52840_uf2_boot_mode.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Makerdiary nRF52840 M.2 module";
|
||||
|
|
@ -1,10 +1,6 @@
|
|||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
CONFIG_SOC_SERIES_NRF52X=y
|
||||
CONFIG_SOC_NRF52840_QIAA=y
|
||||
CONFIG_BOARD_NRF52840_M2=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Loading…
Reference in New Issue