feat(boards): Add Arduino Uno interconnect, nrf52840dk config.

This commit is contained in:
Peter Johanson 2022-12-09 17:07:45 -05:00 committed by Pete Johanson
parent 2a42fe658e
commit 12329b388e
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,10 @@
file_format: "1"
id: nrf52840dk_nrf52840
name: Nordic nRF52840 DK
type: board
arch: arm
outputs:
- usb
- ble
url: https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dk
exposes: [arduino_uno]

View file

@ -0,0 +1,15 @@
file_format: "1"
id: arduino_uno
name: Arduino Uno Rev3
type: interconnect
url: https://store-usa.arduino.cc/products/arduino-uno-rev3?selectedStore=us
manufacturer: Arduino
description: |
The Arduino Uno Rev3 is a board who's popularity lead to countless shields being developed for it. By
natural extension, once there were many shields designed for it, many other *boards* began to be developed
that were compatible to leverage the extensive available shields. Today, many dev kits come with Uno
headers to make it easy to work with them.
Note: ZMK doesn't support boards with AVR 8-bit processors, such as the ATmega32U4, because Zephyr™ only
supports 32-bit and 64-bit platforms. As a result, boards like the original Arduino Uno Rev3 itself are
*not* supported by ZMK.

View file

@ -0,0 +1,12 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
CONFIG_ZMK_USB=y
CONFIG_ZMK_BLE=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