Added conf for blackpill to help with the matrix scanning
This commit is contained in:
parent
f75828bca7
commit
2e851fe74e
4 changed files with 11 additions and 12 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Uncomment to turn on logging, and set ZMK logging to debug output
|
# Uncomment to turn on logging, and set ZMK logging to debug output
|
||||||
# CONFIG_ZMK_USB_LOGGING=y
|
#CONFIG_ZMK_USB_LOGGING=y
|
||||||
|
|
||||||
# Uncomment both to enable underglow
|
# Uncomment both to enable underglow
|
||||||
# CONFIG_ZMK_RGB_UNDERGLOW=y
|
#CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||||
# CONFIG_WS2812_STRIP=y
|
#CONFIG_WS2812_STRIP=y
|
||||||
|
|
||||||
# Uncomment both to enable encoder
|
# Uncomment both to enable encoder
|
||||||
# CONFIG_EC11=y
|
#CONFIG_EC11=y
|
||||||
# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
#CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||||
|
|
||||||
# Quality of life settings
|
# Quality of life settings
|
||||||
# CONFIG_ZMK_IDLE_TIMEOUT=300000
|
#CONFIG_ZMK_IDLE_TIMEOUT=300000
|
||||||
# CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
#CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||||
|
|
|
@ -75,7 +75,6 @@
|
||||||
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &kp RALT &mo FN &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
|
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &kp RALT &mo FN &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
|
||||||
>;
|
>;
|
||||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fn_layer {
|
fn_layer {
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
&trans &trans &trans &trans &trans &trans &trans &kp HOME &kp PG_DN &kp END
|
&trans &trans &trans &trans &trans &trans &trans &kp HOME &kp PG_DN &kp END
|
||||||
>;
|
>;
|
||||||
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
|
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
setting_layer {
|
setting_layer {
|
||||||
|
@ -101,7 +99,6 @@
|
||||||
&trans &out OUT_BLE &out OUT_USB &trans &trans &trans &trans &trans &trans &trans
|
&trans &out OUT_BLE &out OUT_USB &trans &trans &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
|
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
lock_layer {
|
lock_layer {
|
||||||
|
@ -113,7 +110,6 @@
|
||||||
&none &none &none &none &none &none &none &none &none &none &none &none &none &none &none
|
&none &none &none &none &none &none &none &none &none &none &none &none &none &none &none
|
||||||
&none &none &none &none &none &none &none &none &none &none
|
&none &none &none &none &none &none &none &none &none &none
|
||||||
>;
|
>;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
3
app/boards/shields/bb65/boards/blackpill_f401ce.conf
Normal file
3
app/boards/shields/bb65/boards/blackpill_f401ce.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Necessary to stop double matrix reads on first row
|
||||||
|
CONFIG_ZMK_KSCAN_MATRIX_WAIT_BEFORE_INPUTS=150
|
||||||
|
CONFIG_ZMK_KSCAN_MATRIX_WAIT_BETWEEN_OUTPUTS=150
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/led/led.h>
|
#include <dt-bindings/led/led.h>
|
||||||
|
|
||||||
&spi1 {
|
&spi1 {
|
||||||
compatible = "nordic,nrf-spim";
|
compatible = "nordic,nrf-spim";
|
||||||
|
|
Loading…
Add table
Reference in a new issue