Revert "Revert "Merge pull request #1 from zmkfirmware/main""

This reverts commit 5383bdd4df.
This commit is contained in:
kurtis-lew 2020-09-14 20:39:30 -07:00
parent 5383bdd4df
commit f6932992d2
4 changed files with 7 additions and 1 deletions

View file

@ -67,6 +67,10 @@ endif
## Shield Overlay
![Labelled Pro Micro pins](assets/pro-micro/pro-micro-pins-labelled.jpg)
ZMK uses the green color coded pin names to generate devicetree node references. For example, to refer to the node `D0` in the devicetree files, use `&pro_micro_d 0` or to refer to `A1`, use `&pro_micro_a 1`.
The `<shield_name>.overlay` is the devicetree description of the keyboard shield that is merged with the primary board devicetree description before the build. For ZMK, this file at a minimum should include the [chosen]() node named `zmk,kscan` that references a KSCAN driver instance. For a simple 3x3 macropad matrix,
this might look something like: