this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Create app.overlay

authored by

Ha_BOD and committed by
GitHub
bb57f53e a3454705

+45
+45
software/firmware/base_badge/app.overlay
··· 1 + / { 2 + aliases { 3 + accel0 = &lsm6ds3tr_c; 4 + magn0 = &qmc5883l; 5 + led-strip = &led_strip; 6 + imu0 = &lsm6ds3tr_c; 7 + xiao-i2c = &i2c22; 8 + xiao-spi = &spi20; 9 + }; 10 + }; 11 + 12 + &pinctrl { 13 + i2c22_default: i2c22_default { 14 + group1 { psels = <NRF_PSEL(TWIM_SDA, 1, 4)>, <NRF_PSEL(TWIM_SCL, 1, 5)>; }; 15 + }; 16 + spi20_default: spi20_default { 17 + group1 { psels = <NRF_PSEL(SPIM_MOSI, 2, 2)>; }; 18 + }; 19 + }; 20 + 21 + &i2c22 { 22 + status = "okay"; 23 + pinctrl-0 = <&i2c22_default>; 24 + pinctrl-names = "default"; 25 + qmc5883l: qmc5883l@0d { compatible = "qst,qmc5883l"; reg = <0x0d>; }; 26 + }; 27 + 28 + &i2c21 { 29 + status = "okay"; 30 + lsm6ds3tr_c: lsm6ds3tr_c@6a { compatible = "st,lsm6ds3"; reg = <0x6a>; }; 31 + }; 32 + 33 + &spi20 { 34 + status = "okay"; 35 + pinctrl-0 = <&spi20_default>; 36 + pinctrl-names = "default"; 37 + led_strip: ws2812@0 { 38 + compatible = "worldsemi,ws2812-spi"; 39 + reg = <0>; 40 + spi-max-frequency = <4000000>; 41 + chain-length = <24>; 42 + }; 43 + }; 44 + 45 + &rfsw_pwr { /delete-property/ regulator-boot-on; };