Compare commits

...

3 Commits

Author SHA1 Message Date
dependabot[bot]
50ddc516ca chore(deps): bump the tree-sitter group across 1 directory with 2 updates
Bumps the tree-sitter group with 2 updates in the /docs directory: tree-sitter-devicetree and [web-tree-sitter](https://github.com/tree-sitter/tree-sitter).


Updates `tree-sitter-devicetree` from 0.12.1 to 0.14.1

Updates `web-tree-sitter` from 0.24.3 to 0.25.3
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases)
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.24.3...v0.25.3)

---
updated-dependencies:
- dependency-name: tree-sitter-devicetree
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tree-sitter
- dependency-name: web-tree-sitter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tree-sitter
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 05:03:04 +00:00
Mariappan Ramasamy
a1aca03aa0 feat(boards): Add Kconfig for nrf52840dongle ZMK board variant (#3284) 2026-03-21 08:30:18 -06:00
Pete Johanson
e4fb39d4a6 fix(studio): Allow setting UART RPC thread priority (#3290)
To ensure we can tune things when other threads may have priority,
preventing UART processing in time for the studio UI requirements,
adjust our default UART thread priority, and allow overriding as needed.
2026-03-20 03:51:46 -04:00
5 changed files with 41 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2026 The ZMK Contributors
# SPDX-License-Identifier: MIT
config BOARD_NRF52840DONGLE
select ZMK_BOARD_COMPAT if BOARD_NRF52840DONGLE_NRF52840_ZMK

View File

@@ -59,11 +59,20 @@ config ZMK_STUDIO_TRANSPORT_UART
select RING_BUFFER
default y if $(dt_chosen_enabled,$(DT_CHOSEN_ZMK_STUDIO_RPC_UART))
if ZMK_STUDIO_TRANSPORT_UART
config ZMK_STUDIO_TRANSPORT_UART_RX_STACK_SIZE
int "RX Stack Size"
depends on !UART_INTERRUPT_DRIVEN
default 512
config ZMK_STUDIO_TRANSPORT_UART_RX_PRIORITY
int "RX Thread Priority"
depends on !UART_INTERRUPT_DRIVEN
default 9
endif
config ZMK_STUDIO_TRANSPORT_BLE
bool "BLE (GATT)"
select RING_BUFFER
@@ -71,9 +80,12 @@ config ZMK_STUDIO_TRANSPORT_BLE
depends on ZMK_BLE
default y
config BT_CONN_TX_MAX
default 64 if ZMK_STUDIO_TRANSPORT_BLE
if ZMK_STUDIO_TRANSPORT_BLE
config ZMK_STUDIO_TRANSPORT_BLE_PREF_LATENCY
int "BLE Transport preferred latency"
default 10
@@ -81,6 +93,8 @@ config ZMK_STUDIO_TRANSPORT_BLE_PREF_LATENCY
When the studio UI is connected, a lower latency can be requested in order
to make the interactions between keyboard and studio faster.
endif
endmenu
config ZMK_STUDIO_RPC_THREAD_STACK_SIZE

View File

@@ -65,7 +65,7 @@ static void uart_rx_main(void) {
}
K_THREAD_DEFINE(uart_transport_read_thread, CONFIG_ZMK_STUDIO_TRANSPORT_UART_RX_STACK_SIZE,
uart_rx_main, NULL, NULL, NULL, K_LOWEST_APPLICATION_THREAD_PRIO, 0, 0);
uart_rx_main, NULL, NULL, NULL, CONFIG_ZMK_STUDIO_TRANSPORT_UART_RX_PRIORITY, 0, 0);
#endif

38
docs/package-lock.json generated
View File

@@ -22,8 +22,8 @@
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^18.0.0",
"react-toastify": "^10.0.6",
"tree-sitter-devicetree": "^0.12.1",
"web-tree-sitter": "^0.24.3"
"tree-sitter-devicetree": "^0.15.0",
"web-tree-sitter": "^0.26.7"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.9.2",
@@ -16205,9 +16205,9 @@
}
},
"node_modules/node-addon-api": {
"version": "8.5.0",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.5.0.tgz",
"integrity": "sha512-/bRZty2mXUIFY/xU5HLvveNHlswNJej+RnxBjOMkidWfwZzgTbPG1E3K5TOxRLOR+5hX7bSofy8yf1hZevMS8A==",
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.6.0.tgz",
"integrity": "sha512-gBVjCaqDlRUk0EwoPNKzIr9KkS9041G/q31IBShPs1Xz6UTA+EXdZADbzqAJQrpDRq71CIMnOP5VMut3SL0z5Q==",
"license": "MIT",
"engines": {
"node": "^18 || ^20 || >= 21"
@@ -21382,29 +21382,29 @@
}
},
"node_modules/tree-sitter": {
"version": "0.21.1",
"resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.21.1.tgz",
"integrity": "sha512-7dxoA6kYvtgWw80265MyqJlkRl4yawIjO7S5MigytjELkX43fV2WsAXzsNfO7sBpPPCF5Gp0+XzHk0DwLCq3xQ==",
"version": "0.25.0",
"resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.25.0.tgz",
"integrity": "sha512-PGZZzFW63eElZJDe/b/R/LbsjDDYJa5UEjLZJB59RQsMX+fo0j54fqBPn1MGKav/QNa0JR0zBiVaikYDWCj5KQ==",
"hasInstallScript": true,
"license": "MIT",
"peer": true,
"dependencies": {
"node-addon-api": "^8.0.0",
"node-gyp-build": "^4.8.0"
"node-addon-api": "^8.3.0",
"node-gyp-build": "^4.8.4"
}
},
"node_modules/tree-sitter-devicetree": {
"version": "0.12.1",
"resolved": "https://registry.npmjs.org/tree-sitter-devicetree/-/tree-sitter-devicetree-0.12.1.tgz",
"integrity": "sha512-JccTH8TmgO9B4tAaCEZ8O7yOEtoixBRRnNZYO8W9tnNsv29Y+avsN6V8li2CfwooB1eqZIEbsPLKxN/e7bG+Cg==",
"version": "0.15.0",
"resolved": "https://registry.npmjs.org/tree-sitter-devicetree/-/tree-sitter-devicetree-0.15.0.tgz",
"integrity": "sha512-O+Wpo+3WZCvDgspXYpqRfU0euy5yMB6rV+nRF0Ytm+jbUldIf7rFtBqv7XweB/gkSLl/pbqLD1IVis+MTuOQKA==",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"node-addon-api": "^8.2.1",
"node-gyp-build": "^4.8.2"
"node-addon-api": "^8.5.0",
"node-gyp-build": "^4.8.4"
},
"peerDependencies": {
"tree-sitter": "^0.21.0"
"tree-sitter": "^0.25.0"
},
"peerDependenciesMeta": {
"tree_sitter": {
@@ -22584,9 +22584,9 @@
}
},
"node_modules/web-tree-sitter": {
"version": "0.24.7",
"resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.24.7.tgz",
"integrity": "sha512-CdC/TqVFbXqR+C51v38hv6wOPatKEUGxa39scAeFSm98wIhZxAYonhRQPSMmfZ2w7JDI0zQDdzdmgtNk06/krQ==",
"version": "0.26.7",
"resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.26.7.tgz",
"integrity": "sha512-KiZhelTvBA/ziUHEO7Emb75cGVAq8iGZNabYaZm53Zpy50NsXyOW+xSHlwHt5CVg/TRPZBfeVLTTobF0LjFJ1w==",
"license": "MIT"
},
"node_modules/webpack": {

View File

@@ -29,8 +29,8 @@
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^18.0.0",
"react-toastify": "^10.0.6",
"tree-sitter-devicetree": "^0.12.1",
"web-tree-sitter": "^0.24.3"
"tree-sitter-devicetree": "^0.15.0",
"web-tree-sitter": "^0.26.7"
},
"browserslist": {
"production": [