diff options
author | フィルターペーパー <[email protected]> | 2024-03-19 10:49:16 +0800 |
---|---|---|
committer | Cem Aksoylar <[email protected]> | 2024-03-19 23:48:57 -0700 |
commit | 1f7cd7a107789055bf58ac6c01af502773cef76a (patch) | |
tree | 489a4dd7d69596f0fc8b35497eb6db396a7eb5f3 | |
parent | 828943156ab5619f54be629dcee7c0ffc74a22be (diff) | |
download | zmk-1f7cd7a107789055bf58ac6c01af502773cef76a.tar.gz zmk-1f7cd7a107789055bf58ac6c01af502773cef76a.zip |
feat(docs): Add troubleshooting section for empty_file error
-rw-r--r-- | docs/docs/troubleshooting.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index 808808c4ca..2e9ab4dcb8 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -56,6 +56,14 @@ A `devicetree error` followed by a reference to the line number on `<keyboard>.k devicetree error: /__w/zmk-config/zmk-config/config/cradio.keymap:109 (column 4): parse error: expected ';' or ',' ``` +A `devicetree error` followed by an `empty_file.c` reference with `lacks #binding-cells` string indicates possible problems with improper parameters for specific bindings: + +``` +devicetree error: <Node /soc/gpio@50000300 in '/tmp/tmp.vJq9sMwkcY/zephyr/misc/empty_file.c'> lacks #binding-cells +``` + +This error can be triggered by incorrect binding syntax such as `&kp BT_SEL 0` instead of `&bt BT_SEL 0`. + #### devicetree_unfixed.h error A `devicetree_unfixed.h` error that follows with an "undeclared here" string indicates a problem with key bindings, like behavior nodes (e.g. `&kp` or `&mt`) with incorrect number of parameters: |