add bluehand and fix compilation issues

This commit is contained in:
DonPavlov 2022-10-20 19:21:34 +00:00
parent a6b0c9d2d3
commit ce8bf736ea
2 changed files with 11 additions and 10 deletions

View file

@ -7,7 +7,6 @@
/dts-v1/; /dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi> #include <nordic/nrf52840_qiaa.dtsi>
#include "arduino_pro_micro_pins.dtsi"
/ { / {
model = "BlueHand"; model = "BlueHand";
@ -19,7 +18,6 @@
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,console = &cdc_acm_uart; zephyr,console = &cdc_acm_uart;
zmk,kscan = &kscan0; zmk,kscan = &kscan0;
zmk,matrix_transform = &layout_grid_transform;
}; };
kscan0: kscan_0 { kscan0: kscan_0 {
@ -51,10 +49,10 @@
}; };
}; };
zephyr,user { /*zephyr,user {
/* period cell corresponds to initial period */ * pwms = <&sw_pwm 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>;
pwms = <&sw_pwm 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>; * };
}; */
}; };
&adc { &adc {
@ -122,7 +120,8 @@
}; };
}; };
&sw_pwm { /* &sw_pwm {
status = "okay"; * status = "okay";
channel-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; * channel-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
}; * };
*/

View file

@ -2,6 +2,7 @@ board:
- nice_nano_v2 - nice_nano_v2
- nrfmicro_13 - nrfmicro_13
- proton_c - proton_c
- bluehand
shield: shield:
- corne_left - corne_left
- corne_right - corne_right
@ -33,3 +34,4 @@ include:
- board: nice_nano_v2 - board: nice_nano_v2
shield: lily58_left nice_view_adapter nice_view shield: lily58_left nice_view_adapter nice_view
nickname: "niceview" nickname: "niceview"
- board: bluehand