Initial import of firmware and host projects
This commit is contained in:
47
app.overlay
Normal file
47
app.overlay
Normal file
@@ -0,0 +1,47 @@
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,boot-mode = &boot_mode0;
|
||||
};
|
||||
|
||||
hid_dev_0: hid_dev_0 {
|
||||
compatible = "zephyr,hid-device";
|
||||
label = "HID_BOOT";
|
||||
protocol-code = "keyboard";
|
||||
in-report-size = <8>;
|
||||
in-polling-period-us = <1000>;
|
||||
out-report-size = <8>;
|
||||
out-polling-period-us = <1000>;
|
||||
};
|
||||
|
||||
hid_dev_1: hid_dev_1 {
|
||||
compatible = "zephyr,hid-device";
|
||||
label = "HID_NKRO";
|
||||
protocol-code = "none";
|
||||
in-report-size = <31>;
|
||||
in-polling-period-us = <1000>;
|
||||
out-report-size = <31>;
|
||||
out-polling-period-us = <1000>;
|
||||
};
|
||||
|
||||
raw_hid: hid_dev_2 {
|
||||
compatible = "zephyr,hid-device";
|
||||
label = "HID_RAW";
|
||||
protocol-code = "none";
|
||||
in-report-size = <64>;
|
||||
in-polling-period-us = <1000>;
|
||||
out-report-size = <64>;
|
||||
out-polling-period-us = <1000>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpregret1 {
|
||||
status = "okay";
|
||||
|
||||
boot_mode0: boot_mode@0 {
|
||||
compatible = "zephyr,retention";
|
||||
status = "okay";
|
||||
reg = <0x0 0x1>;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user