Browse Source
* Document the Seeed(uino) XIAO interconnect * Add metadata files for two upstream boards, XIAO and XIAO BLE. * Add conf and overlay files to properly configure the boards for ZMK use.xmkb
Peter Johanson
3 years ago
committed by
Pete Johanson
7 changed files with 94 additions and 0 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
file_format: "1" |
||||
id: seeeduino_xiao |
||||
name: Seeeduino XIAO |
||||
type: board |
||||
arch: arm |
||||
outputs: |
||||
- usb |
||||
url: https://wiki.seeedstudio.com/Seeeduino-XIAO/ |
||||
exposes: [seeed_xiao] |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
file_format: "1" |
||||
id: seeeduino_xiao_ble |
||||
name: Seeeduino XIAO BLE |
||||
type: board |
||||
arch: arm |
||||
outputs: |
||||
- usb |
||||
- ble |
||||
url: https://wiki.seeedstudio.com/XIAO_BLE/ |
||||
exposes: [seeed_xiao] |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
file_format: "1" |
||||
id: seeed_xiao |
||||
name: Seeed XIAO |
||||
type: interconnect |
||||
url: https://wiki.seeedstudio.com/Seeeduino-XIAO/ |
||||
manufacturer: Seeed |
||||
description: | |
||||
The Seeed(uino) XIAO is a popular smaller format micro-controller, that has gained popularity as an alterative |
||||
to the SparkFun Pro Micro. Since its creation, several pin compatible controllers, such |
||||
as the Seeeduino XIAO BLE, Adafruit QT Py and Adafruit QT Py RP2040, have become available. |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
CONFIG_CONSOLE=n |
||||
CONFIG_SERIAL=n |
||||
CONFIG_UART_CONSOLE=n |
||||
CONFIG_UART_INTERRUPT_DRIVEN=n |
||||
CONFIG_ZMK_USB=y |
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
/* |
||||
* Copyright (c) 2022 The ZMK Contributors |
||||
* |
||||
* SPDX-License-Identifier: MIT |
||||
*/ |
||||
|
||||
/ { |
||||
chosen { |
||||
zephyr,console = &cdc_acm_uart; |
||||
}; |
||||
}; |
||||
|
||||
&usb0 { |
||||
cdc_acm_uart: cdc_acm_uart { |
||||
compatible = "zephyr,cdc-acm-uart"; |
||||
label = "CDC_ACM_0"; |
||||
}; |
||||
}; |
||||
|
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
|
||||
CONFIG_CONSOLE=n |
||||
CONFIG_SERIAL=n |
||||
CONFIG_UART_CONSOLE=n |
||||
CONFIG_UART_INTERRUPT_DRIVEN=n |
||||
CONFIG_ZMK_USB=y |
||||
CONFIG_ZMK_BLE=y |
||||
|
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
/* |
||||
* Copyright (c) 2021 The ZMK Contributors |
||||
* |
||||
* SPDX-License-Identifier: MIT |
||||
*/ |
||||
|
||||
|
||||
/ { |
||||
chosen { |
||||
zephyr,console = &cdc_acm_uart; |
||||
}; |
||||
|
||||
vbatt { |
||||
compatible = "zmk,battery-voltage-divider"; |
||||
label = "BATTERY"; |
||||
io-channels = <&adc 7>; |
||||
power-gpios = <&gpio0 14 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>; |
||||
output-ohms = <1000000>; |
||||
full-ohms = <(1000000 + 510000)>; |
||||
}; |
||||
}; |
||||
|
||||
&adc { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&usbd { |
||||
cdc_acm_uart: cdc_acm_uart { |
||||
compatible = "zephyr,cdc-acm-uart"; |
||||
label = "CDC_ACM_0"; |
||||
}; |
||||
}; |
||||
|
Loading…
Reference in new issue