diff options
author | cole smith <38364556+daysgobye@users.noreply.github.com> | 2023-11-13 17:49:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 12:49:15 +1100 |
commit | 44062b50560d7a1c44eec0ee09f4441f06591b65 (patch) | |
tree | bbc917758d28baee52442c58533117dbb28de8ef /keyboards/boardsource/equals/48/config.h | |
parent | 50844a8e67c37329d5a08f1f35cd57bb7c7a8c24 (diff) |
Bs equals (#21690)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6A73@pm.me>
Diffstat (limited to 'keyboards/boardsource/equals/48/config.h')
-rw-r--r-- | keyboards/boardsource/equals/48/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/boardsource/equals/48/config.h b/keyboards/boardsource/equals/48/config.h new file mode 100644 index 0000000000..952fa269c6 --- /dev/null +++ b/keyboards/boardsource/equals/48/config.h @@ -0,0 +1,23 @@ +// Copyright 2023 Cole Smith (@boardsource) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U + +#define RGB_MATRIX_LED_COUNT 58 + +#define AUDIO_PIN GP29 +#define AUDIO_PWM_DRIVER PWMD6 +#define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_B + +#define AUDIO_INIT_DELAY + +// SPI Configuration +#define SPI_DRIVER SPID1 +#define SPI_SCK_PIN GP26 +#define SPI_MOSI_PIN GP27 + +// Display Configuration +#define OLED_CS_PIN GP25 +#define OLED_DC_PIN GP20 +#define OLED_RST_PIN GP28 |