zmk/app/boards/arm/bdn9
Peter Johanson 34c8b3f1e3 refactor: Update boards/shields for encoders.
* Update existing boards/shields for new `steps` and
  `triggers-per-rotation` set up.
2023-11-03 12:35:25 -07:00
..
bdn9_rev2_defconfig fix(boards): Move ARM clock config to DTS. 2022-04-03 00:10:29 -04:00
bdn9_rev2.conf fix(boards): Add encoder config to bdn9_rev2.conf 2022-12-10 19:33:50 -06:00
bdn9_rev2.dts refactor: Update boards/shields for encoders. 2023-11-03 12:35:25 -07:00
bdn9_rev2.keymap refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
bdn9_rev2.yaml feat(boards): Add BDN9 Rev2 board. 2020-12-31 14:46:15 -05:00
bdn9_rev2.yml refactor(boards): Add metadata for boards. 2021-09-11 00:50:36 -04:00
bdn9_rev2.zmk.yml feat: Add a few sample hardware metadata files. 2021-09-11 00:50:36 -04:00
board.cmake feat(boards): Add BDN9 Rev2 board. 2020-12-31 14:46:15 -05:00
Kconfig.board refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
Kconfig.defconfig refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
README.md feat(boards): Add BDN9 Rev2 board. 2020-12-31 14:46:15 -05:00

Building ZMK for the BDN9

Some general notes/commands for building standard BDN9 layouts from the assembly documentation.

Standard Build

west build -p -d build/bdn9 --board bdn9_rev2

Encoder Notes

If you built your BDN9 with encoders, you'll need to change the following in your local BDN9 config or add them to the end of the file.

CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y

Then, you'll want to uncomment the necessary encoder lines in your bdn9_rev2.keymap:

&sensors {
     status = "okay";
     sensors = <&left_encoder &mid_encoder &right_encoder>;
};

&left_encoder { status = "okay"; };
&mid_encoder { status = "okay"; };
&right_encoder { status = "okay"; };

And then add the correct sensor-bindings array to each keymap layer, e.g.:

sensor-bindings = <&inc_dec_kp PG_UP PG_DN &inc_dec_kp M_VOLU M_VOLD &inc_dec_kp C_PREV C_NEXT>;