Skip to content

Commit 1f3f144

Browse files
committed
led
1 parent 5c9bb8d commit 1f3f144

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

config/cradio.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
CONFIG_ZMK_POINTING=y
22
CONFIG_ZMK_SLEEP=y
33
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
4+
CONFIG_INDICATOR_LED_WIDGET=y
5+
CONFIG_INDICATOR_LED_SHOW_BLE=y
6+
CONFIG_INDICATOR_LED_SHOW_BATTERY_ON_BOOT=y

config/cradio.overlay

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,16 @@
22
kscan0 {
33
wakeup-source;
44
};
5+
leds {
6+
compatible = "gpio-leds";
7+
indicator_led: indicator_led {
8+
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
9+
label = "User LED";
10+
};
11+
};
12+
13+
aliases {
14+
indicator-led = &indicator_led;
15+
};
516
};
617

config/west.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ manifest:
44
remotes:
55
- name: zmkfirmware
66
url-base: https://github.com/zmkfirmware
7+
- name: bluedrink9
8+
url-base: https://github.com/bluedrink9
79
projects:
810
- name: zmk
911
remote: zmkfirmware
1012
import: app/west.yml
13+
- name: zmk-poor-mans-led-indicator
14+
remote: bluedrink9
15+
revision: main
1116
self:
1217
path: config

0 commit comments

Comments
 (0)