File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
config/boards/shields/lilt4r Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ CONFIG_ZMK_POINTING=y
1717# LED機能を有効化
1818CONFIG_ZMK_RGB_UNDERGLOW=y
1919CONFIG_WS2812_STRIP=y
20+ CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
21+ CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_USB=n
2022
2123# 起動時のデフォルトエフェクト(0:常時点灯, 1:ブレス)
2224CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=0
Original file line number Diff line number Diff line change 8181 pinctrl-0 = <&pio0_spi0_default>;
8282 pinctrl-names = "default";
8383
84- compatible = "raspberrypi,pico-spi-pio"; // xiao rp2040 に変更必要
84+ compatible = "raspberrypi,pico-spi-pio";
8585 #address-cells = <1>;
8686 #size-cells = <0>;
8787 clocks = <&system_clk>;
8888 clock-frequency = <4000000>;
8989
90- clk-gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
91- mosi-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
92- miso-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
90+ clk-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; // 使わないので空ピンをダミーで
91+ mosi-gpios = <&xiao_d 6 GPIO_ACTIVE_HIGH>;
92+ miso-gpios = <&xiao_d 8 GPIO_ACTIVE_HIGH>; // 使わないので空ピンをダミーで
9393
9494 led_strip: ws2812@0 {
9595 compatible = "worldsemi,ws2812-spi";
9999 spi-max-frequency = <4000000>;
100100
101101 /* WS2812 */
102- chain-length = <10 >;
102+ chain-length = <2 >;
103103 spi-one-frame = <0x70>;
104104 spi-zero-frame = <0x40>;
105105 color-mapping = <LED_COLOR_ID_GREEN
You can’t perform that action at this time.
0 commit comments