You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Peter Johanson 0c3f1309c6 refactor(boards): Add metadata for boards. 3 years ago
..
Kconfig.board feat(boards): Add BDN9 Rev2 board. 4 years ago
Kconfig.defconfig feat(boards): Add BDN9 Rev2 board. 4 years ago
README.md feat(boards): Add BDN9 Rev2 board. 4 years ago
bdn9_rev2.dts feat(boards): Add BDN9 Rev2 board. 4 years ago
bdn9_rev2.keymap feat(boards): Add BDN9 Rev2 board. 4 years ago
bdn9_rev2.yaml feat(boards): Add BDN9 Rev2 board. 4 years ago
bdn9_rev2.yml refactor(boards): Add metadata for boards. 3 years ago
bdn9_rev2.zmk.yml feat: Add a few sample hardware metadata files. 3 years ago
bdn9_rev2_defconfig fix(boards): Enable pinmux for bdn9_rev2 by default. 4 years ago
board.cmake feat(boards): Add BDN9 Rev2 board. 4 years ago

README.md

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>;