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

View file

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