Skip to content

Commit 6cb1953

Browse files
committed
fix
1 parent 23a8614 commit 6cb1953

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

config/cradio.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CONFIG_ZMK_POINTING=y
22
CONFIG_ZMK_SLEEP=y # Deep sleep 활성화 (필수!)
33
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 # inactivity 후 deep sleep 들어가는 시간 (밀리초). 기본 900000 = 15분
4-
CONFIG_ZMK_INDICATOR_LED=y
4+
# CONFIG_ZMK_INDICATOR_LED=y
5+
CONFIG_INDICATOR_LED=y
56
CONFIG_INDICATOR_LED_SHOW_BLE=y # BLE 상태 표시 활성화 (advertising 시 깜빡임)
67
# 옵션: 배터리 표시 등도 추가 가능
7-
CONFIG_INDICATOR_LED_SHOW_BATTERY=y
8+
CONFIG_INDICATOR_LED_SHOW_CRITICAL_BATTERY_CHANGES=y

config/cradio.overlay

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

config/west.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ manifest:
44
remotes:
55
- name: zmkfirmware
66
url-base: https://github.com/zmkfirmware
7-
- name: BlueDrink9 # 새로 추가
8-
url-base: https://github.com/BlueDrink9
9-
# Additional modules containing boards/shields/custom code can be listed here as well
7+
- name: bluedrink9
8+
url-base: https://github.com/bluedrink9 # Additional modules containing boards/shields/custom code can be listed here as well
109
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
1110
projects:
1211
- name: zmk
1312
remote: zmkfirmware
1413
import: app/west.yml
15-
- name: zmk-poor-mans-led-indicator # 새로 추가
16-
remote: BlueDrink9
17-
revision: main
18-
path: modules/zmk-poor-mans-led-indicator
14+
- name: zmk-poor-mans-led-indicator
15+
remote: bluedrink9
16+
revision: main
1917
self:
2018
path: config

0 commit comments

Comments
 (0)