summaryrefslogtreecommitdiff
path: root/keyboards/anavi/macropad10/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/anavi/macropad10/config.h')
-rw-r--r--keyboards/anavi/macropad10/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/anavi/macropad10/config.h b/keyboards/anavi/macropad10/config.h
new file mode 100644
index 0000000000..8d81cf3675
--- /dev/null
+++ b/keyboards/anavi/macropad10/config.h
@@ -0,0 +1,11 @@
+// Copyright 2022 Leon Anavi <leon@anavi.org>
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+/* Double tap reset button to enter bootloader */
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U