Joel Spadin
c2299e2203
fix(shields): Fix deprecated encoder properties
...
Switched remaining shields over from resolution to steps.
2024-02-03 18:45:21 -06:00
Joel Spadin
f24a0bf9c8
fix(shields): Add labels to all sensors nodes
2024-02-03 18:45:21 -06:00
Johan Friis
aab09d504c
feat(docs): Document Karabiner interference with Mod-Morphs ( #2146 )
2024-01-30 00:07:48 -08:00
Xudong Zheng
4a5806ac73
feat(core): enable FPU if CPU has FPU
2024-01-29 17:54:34 -08:00
Cem Aksoylar
0755b7a64c
fix(ci): Update upload-artifact with merge step
2024-01-29 16:44:39 -08:00
Dhruvin Shah
5685074835
docs: correcting file path in config.md
2024-01-27 11:40:12 -06:00
senseored
b120daa16a
fix(boards): Assign preonic_rev3 chosen console
...
Quick fix to make USB-logging work on the Preonic.
2024-01-27 07:18:45 -08:00
Pete Johanson
275c0ce271
Revert "fix(ci): Update one lingering upload-artifacts action."
2024-01-26 00:46:00 -08:00
Peter Johanson
3c14c7c112
fix(ci): Update one lingering upload-artifacts action.
2024-01-26 00:40:05 -08:00
Peter Johanson
789c11629e
fix(ci): Bump setup-python version.
2024-01-26 00:26:46 -08:00
Peter Johanson
72d5c01e46
fix(ci): Move to maintained get-changed files.
2024-01-26 00:26:46 -08:00
Peter Johanson
1f8b45d57d
fix(ci): Updated actions to move away Node 16.
2024-01-26 00:26:46 -08:00
Joel Spadin
1dbd6910cb
chore(docs): Update tree-sitter-devicetree to 0.9.0
2024-01-25 18:03:37 -06:00
Joel Spadin
08d9391a8a
feat(keymap-upgrader): Upgrade renamed nodes
...
Added an upgrade function to fix renamed behavior nodes in the unlikely
event that someone was changing behavior settings this way instead of
using references.
2024-01-25 18:03:37 -06:00
Joel Spadin
bf5284b3b9
fix(keymap-upgrader): Note that changed lines are highlighted
2024-01-25 18:03:37 -06:00
Joel Spadin
d4be70587d
fix(keymap-upgrader): Filter key codes to bindings
...
Changed the key code upgrader to only replace codes that appear in
"bindings" properties. Modifier flags such as MOD_LCTL are no longer
valid as key codes, but they are still used in "mods" properties and
should not be replaced there.
2024-01-25 18:03:37 -06:00
Joel Spadin
37fcf190e6
feat(keymap-upgrader): Highlight changes
...
Updated the keymap upgrader to highlight which lines it changed as well
as indicate when nothing needed to be upgraded.
Also adjusted the line highlight colors to be more readable in both
light and dark color schemes.
2024-01-25 18:03:37 -06:00
Joel Spadin
84e056793b
fix(docs): Fix links to keymap upgrader
2024-01-25 18:03:37 -06:00
Joel Spadin
a0465391be
refactor: Improve keymap upgrader
...
Moved the keymap upgrader to a top-level page like the power profiler
to make it more discoverable. It upgrades more things than key codes
now, so putting it in the codes category doesn't make much sense.
Converted the upgrader code to TypeScript and split it up into smaller
files to make it easier to add new upgrade functions.
Added upgrade functions to remove/replace "label" properties and rename
matrix-transform.h to matrix_transform.h.
2024-01-25 18:03:37 -06:00
Peter Johanson
1a3529a3e6
fix(ci): Use proper variable expression.
2024-01-25 13:20:25 -08:00
honorless
6b547019c2
refactor: use zmk,matrix-transform instead of zmk,matrix_transform
...
* Align codebase with documentation.
2024-01-23 23:02:35 -06:00
honorless
a3fbc2a5ba
docs: suggest zmk,matrix-transform over zmk,matrix_transform
...
* While functionally equivalent, the hyphenated form of this property
is more consistent with other ZMK properties and adheres to DTS style
guidelines.
* Additionally, update links to use Zephyr 3.2 documentation instead
of 2.5 where appropriate.
2024-01-23 23:02:35 -06:00
Cem Aksoylar
19613128b9
fix(docs): Fix extra line issue in hardware headers
...
Need to make prettier ignore these, because otherwise it splits
them to separate lines and reverts the whole change
2024-01-20 22:28:41 -08:00
Cem Aksoylar
0dc04df09c
fix(docs): Fix eslint-plugin-react errors
...
Remove unused components, and disable proptype checking for children
in OsTabs custom component since I can't figure out a way to assign
propTypes to it in an mdx file.
2024-01-20 22:28:41 -08:00
Cem Aksoylar
7196f9f075
ci(docs): Disable eslint rule for unescaped entities
...
eslint-plugin-react is emitting a lot of react/no-unescaped-entities
errors in mdx files, primarily due to apostrophes. It seems not ideal
to have to escape every apostrophe in all mdx text, so this commit
disables the check.
There might be a better way to handle this issue, but I am not aware
of one right now.
2024-01-20 22:28:41 -08:00
Cem Aksoylar
fa91648cce
ci(docs): Use eslint plugin for automatic JSX runtime
...
Ref: https://docusaurus.io/docs/migration/v3#automatic-jsx-runtime
and https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md#when-not-to-use-it
2024-01-20 22:28:41 -08:00
Cem Aksoylar
e3f458e539
ci(docs): Fix tsc config for docusaurus 3
2024-01-20 22:28:41 -08:00
Cem Aksoylar
57684f8a66
fix(docs): Fix broken anchors in docs (but not blog)
2024-01-20 22:28:41 -08:00
Cem Aksoylar
5cbffd6625
fix(docs): Work around docusaurus bug causing broken links
...
Some links ended up broken after docusaurus 3 upgrade,
especially if they are the second on the same line and have anchors.
Likely due to https://github.com/facebook/docusaurus/issues/9518
2024-01-20 22:28:41 -08:00
Cem Aksoylar
1b326ff856
fix(docs): Fix relative links with trailing slashes
2024-01-20 22:28:41 -08:00
Cem Aksoylar
dcfe07d9f6
refactor(docs): Use new admonition title syntax and disable mdx v1 compat
2024-01-20 22:28:41 -08:00
Cem Aksoylar
ee855de349
fix(docs): Fix incorrect admonition title
2024-01-20 22:28:41 -08:00
Cem Aksoylar
f014eb45a7
refactor(docs): Use .mdx for docs with mdx features
...
Also applies prettier changes in touched files due to precommit
2024-01-20 22:28:41 -08:00
Cem Aksoylar
00962a7255
refactor(docs): Remove no longer necessary React imports
2024-01-20 22:28:41 -08:00
Cem Aksoylar
a0a952413a
fix(docs): Fix deprecated admonition types
2024-01-20 22:28:41 -08:00
Cem Aksoylar
13c856d1d3
fix(docs): Fix mdx 3 incompatibility
2024-01-20 22:28:41 -08:00
Cem Aksoylar
0827ff245f
chore(docs): Update docusaurus to 3
...
Following https://docusaurus.io/docs/migration/v3#upgrading-dependencies
and `npm update`
2024-01-20 22:28:41 -08:00
Peter Johanson
f71458aca0
fix(shields): Fix battery warnings for custom widgets.
2024-01-16 16:39:28 -08:00
crides
8c14b155e8
docs: confirm some consumer codes on iOS
...
Tested on iOS 16.6
2024-01-15 18:07:48 -08:00
Peter Johanson
0890aaeaff
chore: Run tests if any includes change.
2024-01-14 16:19:30 -08:00
Peter Johanson
e5050e40fe
feat(tests): Enable asserts for tests.
2024-01-14 16:19:30 -08:00
Peter Johanson
e89cffc959
fix(events): Remove our usage of assert.
...
* __ASSERT is converted to a do/while loop when asserts are enabled,
which doesn't work with our usage, so revert that addition.
2024-01-14 16:19:30 -08:00
Peter Johanson
331915f989
fix: Fix missed event manager usages from refactor.
2024-01-14 11:31:05 -08:00
Peter Johanson
644feeb40d
fix(core): Address review comments from Joel.
...
* Fix up some lingering events API tweaks for heap-less event manager.
2024-01-14 11:13:57 -08:00
Peter Johanson
33209dee1d
refactor(core): Move to stack allocated events.
...
* Move to local/stack allocated event API that doesn't require
dynamic allocation/freeing.
* Disable heap, we no longer use alloc/free unless using LVGL.
* Tons of refactors all over to account for the new event approach.
2024-01-14 11:13:57 -08:00
Peter Johanson
50e473276f
chore(ci): Split build and upload into separate steps
...
* Treat build and upload as distinct steps during a build, and don't fail
a PR if only the upload portion fails.
2024-01-14 10:42:04 -08:00
typorian
466cf92029
fix(docs): Document CONFIG_ZMK_USB_BOOT
2024-01-12 11:02:47 -08:00
dependabot[bot]
2829185a94
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 10:42:52 -08:00
Peter Johanson
db9ab30335
fix(boards): Fix up EXT_POWER naming for adv360pro;
...
* Restore setting loading by preserving old device name for the
external power node.
2024-01-08 17:50:19 -08:00
Xudong Zheng
6bf4870704
fix(battery): prevent bus fault when battery does not exist
...
zmk_battery_start_reporting() may be called from battery_event_listener(), which
will result in a bus fault when attempting to read a battery that does not exist
such as on a dongle.
2024-01-08 17:39:05 -08:00