Skip to content

Commit

Permalink
put back mikoto_520 for backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang committed Feb 9, 2024
1 parent 40bbb9f commit e6b663e
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/boards/arm/mikoto/mikoto_520.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include "mikoto.dts"

#include "mikoto-pinctrl.dtsi"
#include "arduino_pro_micro_pins_v5.dtsi"
15 changes: 15 additions & 0 deletions app/boards/arm/mikoto/mikoto_520.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
identifier: mikoto_520
name: Mikoto 5.20 (deprecated)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- usb_device
- ble
- ieee802154
- pwm
- watchdog
10 changes: 10 additions & 0 deletions app/boards/arm/mikoto/mikoto_520.zmk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
file_format: "1"
id: [email protected]
name: Mikoto 5.20 (deprecated)
type: board
arch: arm
outputs:
- usb
- ble
url: https://github.com/zhiayang/mikoto
exposes: [pro_micro]
25 changes: 25 additions & 0 deletions app/boards/arm/mikoto/mikoto_520_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: MIT

CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_MIKOTO=y

# Enable MPU
CONFIG_ARM_MPU=y
CONFIG_PINCTRL=y

# enable GPIO
CONFIG_GPIO=y

CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_BUILD_OUTPUT_UF2=y

CONFIG_MPU_ALLOW_FLASH_WRITE=y
CONFIG_NVS=y
CONFIG_SETTINGS_NVS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y

CONFIG_ZMK_USB=y
CONFIG_ZMK_BLE=y

0 comments on commit e6b663e

Please sign in to comment.