summaryrefslogtreecommitdiff
path: root/app/include/dt-bindings/zmk/reset.h
diff options
context:
space:
mode:
authorNick <nick.win999@gmail.com>2020-09-07 12:22:18 -0500
committerNick <nick.win999@gmail.com>2020-09-07 12:22:18 -0500
commitfa40558f73ae0b7f693d93ec931aecf9d52167a1 (patch)
tree3ab362de33ea29d2489d8a4414f88044b4e7137c /app/include/dt-bindings/zmk/reset.h
parentbc282a0a4f1af4f6f78a0dd63e5b022eb76a603c (diff)
parent61b249666b13f7f356c0e77ee5eb500d672d7dce (diff)
Merge commit '61b249666b13f7f356c0e77ee5eb500d672d7dce' into boards/dz60rgb
Diffstat (limited to 'app/include/dt-bindings/zmk/reset.h')
-rw-r--r--app/include/dt-bindings/zmk/reset.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/include/dt-bindings/zmk/reset.h b/app/include/dt-bindings/zmk/reset.h
new file mode 100644
index 0000000..b513649
--- /dev/null
+++ b/app/include/dt-bindings/zmk/reset.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#define RST_WARM 0x00
+#define RST_COLD 0x01
+
+// AdaFruit nrf52 Bootloader Specific. See https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107
+
+#define RST_UF2 0x57 \ No newline at end of file