summaryrefslogtreecommitdiffstats
path: root/keyboards/annepro2/c18/config.h
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
committerlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
commit9581289745736ce068a1040f44cec37a2ca8830d (patch)
tree24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/annepro2/c18/config.h
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/annepro2/c18/config.h')
-rw-r--r--keyboards/annepro2/c18/config.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/keyboards/annepro2/c18/config.h b/keyboards/annepro2/c18/config.h
deleted file mode 100644
index 6b6307c3d0..0000000000
--- a/keyboards/annepro2/c18/config.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2018 Charlie Waters
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "pin_defs.h"
-#include "config_led.h"
-
-// key matrix size
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 14
-// layer size: MATRIX_ROWS * MATRIX_COLS * sizeof(uint16_t) = 140 bytes
-
-#define LINE_UART_TX B0
-#define LINE_UART_RX B1
-
-#define LINE_BT_UART_TX A4 // Master TX, BLE RX
-#define LINE_BT_UART_RX A5 // Master RX, BLE TX
-
-// outputs (rows are pulled low)
-#define MATRIX_ROW_PINS \
- { B5, B4, B3, B2, D1 }
-
-// inputs (columns are sampled)
-#define MATRIX_COL_PINS \
- { C4, C5, D0, B15, C11, A15, C12, C13, A8, A10, A11, A14, D2, D3 }
-
-// Obins stock firmware has something similar to this already enabled, but disabled by default in QMK
-#define PERMISSIVE_HOLD
-
-// SPI configuration
-#define SPI_DRIVER SPID1
-#define SPI_SCK_PIN A0
-#define SPI_MOSI_PIN A1
-#define SPI_MISO_PIN A2
-
-// Flash configuration
-#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN A3
-#define EXTERNAL_FLASH_SPI_CLOCK_DIVISOR 16
-#define EXTERNAL_FLASH_PAGE_SIZE 256
-#define EXTERNAL_FLASH_SECTOR_SIZE 4096
-#define EXTERNAL_FLASH_BLOCK_SIZE 4096
-#define EXTERNAL_FLASH_SIZE (256 * 1024) // 2M-bit flash size
-
-// Wear-leveling driver configuration
-#define WEAR_LEVELING_LOGICAL_SIZE 1024
-#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)