diff options
author | lokher <lokher@gmail.com> | 2022-12-06 17:10:48 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-12-07 15:50:49 +0800 |
commit | a336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch) | |
tree | 3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/tzarc/ghoul/rev1/rp2040 | |
parent | 27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff) |
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/tzarc/ghoul/rev1/rp2040')
-rw-r--r-- | keyboards/tzarc/ghoul/rev1/rp2040/config.h | 39 | ||||
-rw-r--r-- | keyboards/tzarc/ghoul/rev1/rp2040/halconf.h | 8 | ||||
-rw-r--r-- | keyboards/tzarc/ghoul/rev1/rp2040/info.json | 15 | ||||
-rw-r--r-- | keyboards/tzarc/ghoul/rev1/rp2040/mcuconf.h | 13 | ||||
-rw-r--r-- | keyboards/tzarc/ghoul/rev1/rp2040/rules.mk | 1 |
5 files changed, 0 insertions, 76 deletions
diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/config.h b/keyboards/tzarc/ghoul/rev1/rp2040/config.h deleted file mode 100644 index c428b26606..0000000000 --- a/keyboards/tzarc/ghoul/rev1/rp2040/config.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2018-2022 Nick Brassel (@tzarc) -// SPDX-License-Identifier: GPL-3.0-or-later -#pragma once - -#include "config_common.h" - -// Matrix configuration -#define SPI_MATRIX_CHIP_SELECT_PIN GP21 -#define SPI_MATRIX_DIVISOR 16 - -// Encoder -#define ENCODER_PUSHBUTTON_PIN GP7 - -// SPI Configuration -#define SPI_DRIVER SPID0 -#define SPI_SCK_PIN GP22 -#define SPI_MOSI_PIN GP23 -#define SPI_MISO_PIN GP20 - -// EEPROM configuration -#define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 8 -#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN GP3 -#define EXTERNAL_FLASH_SPI_CLOCK_DIVISOR 8 -#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN GP2 - -// RGB configuration -#define RGB_DI_PIN GP13 -#define RGB_ENABLE_PIN GP6 - -// ADC Configuration -#define ADC_RESOLUTION ? ? ? // ADC_CFGR1_RES_12BIT // TBD when RP2040 has analog support -#define ADC_SATURATION ? ? ? // ((1 << 12) - 1) // TBD when RP2040 has analog support -#define ADC_CURRENT_PIN GP26 -#define ADC_VOLTAGE_PIN GP27 - -// Display Configuration -#define OLED_CS_PIN GP16 -#define OLED_DC_PIN GP17 -#define OLED_RST_PIN GP18 diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/halconf.h b/keyboards/tzarc/ghoul/rev1/rp2040/halconf.h deleted file mode 100644 index a22be02412..0000000000 --- a/keyboards/tzarc/ghoul/rev1/rp2040/halconf.h +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2018-2022 Nick Brassel (@tzarc) -// SPDX-License-Identifier: GPL-3.0-or-later -#pragma once - -//#define HAL_USE_ADC TRUE -#define HAL_USE_SPI TRUE - -#include_next <halconf.h> diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/info.json b/keyboards/tzarc/ghoul/rev1/rp2040/info.json deleted file mode 100644 index 57b4cb772f..0000000000 --- a/keyboards/tzarc/ghoul/rev1/rp2040/info.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "keyboard_name": "Ghoul_RP2040", - "processor": "RP2040", - "bootloader": "rp2040", - "bootloader_instructions": "Hold the boot switch and tap the reset switch, or hold the top-left key when plugging in the board.", - "encoder": { - "rotary": [ - { - "pin_a": "GP8", - "pin_b": "GP5", - "resolution": 2 - } - ] - } -} diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/mcuconf.h b/keyboards/tzarc/ghoul/rev1/rp2040/mcuconf.h deleted file mode 100644 index abd4e19f7c..0000000000 --- a/keyboards/tzarc/ghoul/rev1/rp2040/mcuconf.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2018-2022 Nick Brassel (@tzarc) -// SPDX-License-Identifier: GPL-3.0-or-later -#pragma once - -#include_next <mcuconf.h> - -// Used for RGB -//#undef RP_ADC_USE_ADC1 -//#define RP_ADC_USE_ADC1 TRUE - -// Used for EEPROM -#undef RP_SPI_USE_SPI0 -#define RP_SPI_USE_SPI0 TRUE diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/rules.mk b/keyboards/tzarc/ghoul/rev1/rp2040/rules.mk deleted file mode 100644 index 997fce7e65..0000000000 --- a/keyboards/tzarc/ghoul/rev1/rp2040/rules.mk +++ /dev/null @@ -1 +0,0 @@ -WS2812_DRIVER = vendor |