Skip to content

Commit

Permalink
feat(docs): Add troubleshooting section for empty_file error
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper committed Mar 19, 2024
1 parent 8289431 commit ccaceea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ Key positions are numbered starting from `0` at the top left key on the keymap,
A common mistake that leads to this error is to use [key press keycodes](behaviors/key-press.md) without the leading `&kp` binding. That is, having entries such as `SPACE` that should have been `&kp SPACE`.
:::

#### empty_file.c error

An `empty_file.c` error with `lacks #binding-cells` string indicates possible problems with improper bindings for specific codes:

```
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`.

### Split Keyboard Halves Unable to Pair

Split keyboard halves will automatically pair with one another, but there are some cases where this breaks, and the pairing needs to be reset, for example:
Expand Down

0 comments on commit ccaceea

Please sign in to comment.