summaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/bastion60/config.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@gmail.com>2023-07-25 13:07:43 -0400
committerGitHub <noreply@github.com>2023-07-25 11:07:43 -0600
commit87c7118b8829f58abb8f5adec2fccddd8bfcbb23 (patch)
treedfa74792721906c573521c1ea5248c480b44133a /keyboards/cannonkeys/bastion60/config.h
parent83bcfde106fc56b1af5aa73db7e8c5b9a8c99496 (diff)
Add Bastion60 PCB to QMK (#21527)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Danny <nooges@users.noreply.github.com>
Diffstat (limited to 'keyboards/cannonkeys/bastion60/config.h')
-rw-r--r--keyboards/cannonkeys/bastion60/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/bastion60/config.h b/keyboards/cannonkeys/bastion60/config.h
new file mode 100644
index 0000000000..206ca9cf56
--- /dev/null
+++ b/keyboards/cannonkeys/bastion60/config.h
@@ -0,0 +1,14 @@
+// Copyright 2023 Andrew Kannan
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+
+#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
+
+#define BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A
+
+#define WS2812_PIO_USE_PIO1