From 06139ad196accccbea59ccf79c8c037f6e7b7e8e Mon Sep 17 00:00:00 2001 From: Ary-ovo <2452752059@qq.com> Date: Wed, 19 Jun 2024 00:22:33 +0800 Subject: [PATCH] test --- config/boards/arm/weekin840_m2/weekin840_m2.dts | 2 +- config/boards/shields/weekin_roc/boards/weekin840_m2.overlay | 4 ++-- config/boards/shields/weekin_roc/weekin_roc.conf | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/boards/arm/weekin840_m2/weekin840_m2.dts b/config/boards/arm/weekin840_m2/weekin840_m2.dts index d55a03c..7057fae 100644 --- a/config/boards/arm/weekin840_m2/weekin840_m2.dts +++ b/config/boards/arm/weekin840_m2/weekin840_m2.dts @@ -29,7 +29,7 @@ ext-power { compatible = "zmk,ext-power-generic"; label = "EXT_POWER"; - control-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + control-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; }; vbatt { diff --git a/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay b/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay index 676fc03..46c57ad 100644 --- a/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay +++ b/config/boards/shields/weekin_roc/boards/weekin840_m2.overlay @@ -3,13 +3,13 @@ &pinctrl { spi1_default: spi1_default { group1 { - psels = ; + psels = ; }; }; spi1_sleep: spi1_sleep { group1 { - psels = ; + psels = ; low-power-enable; }; }; diff --git a/config/boards/shields/weekin_roc/weekin_roc.conf b/config/boards/shields/weekin_roc/weekin_roc.conf index 9b76e6c..50ffbbe 100644 --- a/config/boards/shields/weekin_roc/weekin_roc.conf +++ b/config/boards/shields/weekin_roc/weekin_roc.conf @@ -2,3 +2,7 @@ CONFIG_ZMK_RGB_UNDERGLOW=y CONFIG_WS2812_STRIP=y +CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y + +CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=3 +CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=3