Skip to content

Commit 2ceb737

Browse files
committed
add mikoto_520 board back
1 parent 7c25836 commit 2ceb737

File tree

5 files changed

+63
-1
lines changed

5 files changed

+63
-1
lines changed

Diff for: app/boards/arm/mikoto/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ config BOARD_ENABLE_DCDC_HV
88
bool "High voltage DCDC converter"
99
select SOC_DCDC_NRF52X_HV
1010
default y
11-
depends on (BOARD_MIKOTO_520)
11+
depends on (BOARD_MIKOTO)
1212

1313
choice BOARD_MIKOTO_CHARGER_CURRENT
1414
prompt "Charge current to supply to attached batteries"

Diff for: app/boards/arm/mikoto/mikoto_520.dts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2023 The ZMK Contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
7+
#include "mikoto.dts"
8+
9+
#include "mikoto-pinctrl.dtsi"
10+
#include "arduino_pro_micro_pins_v5.dtsi"
11+

Diff for: app/boards/arm/mikoto/mikoto_520.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
identifier: mikoto_520
2+
name: mikoto_520
3+
type: mcu
4+
arch: arm
5+
toolchain:
6+
- zephyr
7+
- gnuarmemb
8+
- xtools
9+
supported:
10+
- adc
11+
- usb_device
12+
- ble
13+
- ieee802154
14+
- pwm
15+
- watchdog

Diff for: app/boards/arm/mikoto/mikoto_520.zmk.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
file_format: "1"
2+
id: mikoto_520
3+
name: Mikoto v5.20
4+
type: board
5+
arch: arm
6+
outputs:
7+
- usb
8+
- ble
9+
url: https://github.com/zhiayang/mikoto
10+
exposes: [pro_micro]

Diff for: app/boards/arm/mikoto/mikoto_520_defconfig

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-License-Identifier: MIT
2+
# NOTE: copied from mikoto_defconfig
3+
4+
CONFIG_SOC_SERIES_NRF52X=y
5+
CONFIG_SOC_NRF52840_QIAA=y
6+
CONFIG_BOARD_MIKOTO=y
7+
8+
# Enable MPU
9+
CONFIG_ARM_MPU=y
10+
CONFIG_PINCTRL=y
11+
12+
# enable GPIO
13+
CONFIG_GPIO=y
14+
15+
CONFIG_USE_DT_CODE_PARTITION=y
16+
CONFIG_BUILD_OUTPUT_UF2=y
17+
18+
CONFIG_MPU_ALLOW_FLASH_WRITE=y
19+
CONFIG_NVS=y
20+
CONFIG_SETTINGS_NVS=y
21+
CONFIG_FLASH=y
22+
CONFIG_FLASH_PAGE_LAYOUT=y
23+
CONFIG_FLASH_MAP=y
24+
25+
CONFIG_ZMK_USB=y
26+
CONFIG_ZMK_BLE=y

0 commit comments

Comments
 (0)