diff options
author | tominabox1 <tjcampie@zmk.local> | 2020-08-23 16:46:04 -0500 |
---|---|---|
committer | tominabox1 <tjcampie@zmk.local> | 2020-08-23 16:46:04 -0500 |
commit | 83ddc8a6381673eeb91793981786b2dcf92d24dc (patch) | |
tree | 0197db766763deca0977529dbc0e87e6bab12904 /app/include/dt-bindings/zmk/reset.h | |
parent | 6b23c7f554dbb27794cda5bff42545b1532b02c8 (diff) | |
parent | 6806cd2a55d6f59eb6c056d406de930b3dd8c9ea (diff) |
Merge branch 'main' of https://github.com/zmkfirmware/zmk into main
Diffstat (limited to 'app/include/dt-bindings/zmk/reset.h')
-rw-r--r-- | app/include/dt-bindings/zmk/reset.h | 12 |
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 |