added dongle support using mctech's code as module

This commit is contained in:
Darren Victoriano
2025-01-27 19:46:32 -08:00
parent 0f2844bb5d
commit f0e7228a41
3 changed files with 31 additions and 11 deletions

View File

@@ -19,8 +19,12 @@
# #
--- ---
include: include:
- board: nice_nano_v2 - board: seeeduino_xiao_ble
shield: corne_left nice_view_adapter nice_view shield: corne_dongle_xiao
cmake-args: -DCONFIG_ZMK_KEYBOARD_NAME=\"Xiao_Dongle\" -DCONFIG_ZMK_STUDIO=y
artifact-name: xiao_corne_dongle_xiao
snippet: studio-rpc-usb-uart snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: corne_left nice_view_adapter nice_view
- board: nice_nano_v2 - board: nice_nano_v2
shield: corne_right nice_view_adapter nice_view shield: corne_right nice_view_adapter nice_view

View File

@@ -1,9 +1,23 @@
# Uncomment the following line to enable deep sleep # Board Name
CONFIG_ZMK_SLEEP=y CONFIG_ZMK_KEYBOARD_NAME="Corne Bop"
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
# Uncomment the following line to increase the keyboard's wireless range # Enable and adjust nice!view
CONFIG_ZMK_DISPLAY=y
CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
CONFIG_ZMK_WIDGET_WPM_STATUS=n
# Disable in-built nice!view widget
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
CONFIG_ZMK_LV_FONT_DEFAULT_SMALL_MONTSERRAT_26=y
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_26=y
# Increase the bluetooth transmission power
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
# Set sleep timeout to 30 minutes
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
# Enable eager debouncing # Enable eager debouncing
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1 CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
@@ -13,8 +27,3 @@ CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=10
CONFIG_ZMK_STUDIO=y CONFIG_ZMK_STUDIO=y
CONFIG_ZMK_STUDIO_LOCKING=n CONFIG_ZMK_STUDIO_LOCKING=n
# Uncomment the following line to enable USB Logging (this increases power usage by a significant amount, turn it off when not in use)
# CONFIG_ZMK_USB_LOGGING=y
# Board Name
CONFIG_ZMK_KEYBOARD_NAME="Corne Bop"

View File

@@ -4,10 +4,17 @@ manifest:
url-base: https://github.com/zmkfirmware url-base: https://github.com/zmkfirmware
# Additional modules containing boards/shields/custom code can be listed here as well # Additional modules containing boards/shields/custom code can be listed here as well
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects # See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
# include corne with dongle pro_micro and xiao compatible
- name: mctechnology17
url-base: https://github.com/mctechnology17
projects: projects:
- name: zmk - name: zmk
remote: zmkfirmware remote: zmkfirmware
revision: main revision: main
import: app/west.yml import: app/west.yml
# include corne with dongle pro_micro and xiao compatible
- name: zmk-config
remote: mctechnology17
revision: main
self: self:
path: config path: config