summaryrefslogtreecommitdiffstats
path: root/keyboards/ferris/0_2
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/ferris/0_2
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/ferris/0_2')
-rw-r--r--keyboards/ferris/0_2/0_2.c17
-rw-r--r--keyboards/ferris/0_2/0_2.h44
-rw-r--r--keyboards/ferris/0_2/base/info.json6
-rw-r--r--keyboards/ferris/0_2/base/rules.mk0
-rw-r--r--keyboards/ferris/0_2/bling/bling.c84
-rw-r--r--keyboards/ferris/0_2/bling/config.h75
-rw-r--r--keyboards/ferris/0_2/bling/info.json6
-rw-r--r--keyboards/ferris/0_2/bling/readme.md16
-rw-r--r--keyboards/ferris/0_2/bling/rules.mk2
-rw-r--r--keyboards/ferris/0_2/chconf.h40
-rw-r--r--keyboards/ferris/0_2/compact/info.json6
-rw-r--r--keyboards/ferris/0_2/compact/readme.md17
-rw-r--r--keyboards/ferris/0_2/compact/rules.mk0
-rw-r--r--keyboards/ferris/0_2/config.h69
-rw-r--r--keyboards/ferris/0_2/halconf.h30
-rw-r--r--keyboards/ferris/0_2/high/info.json6
-rw-r--r--keyboards/ferris/0_2/high/readme.md17
-rw-r--r--keyboards/ferris/0_2/high/rules.mk0
-rw-r--r--keyboards/ferris/0_2/info.json7
-rw-r--r--keyboards/ferris/0_2/matrix.c250
-rw-r--r--keyboards/ferris/0_2/mcuconf.h36
-rw-r--r--keyboards/ferris/0_2/mini/info.json6
-rw-r--r--keyboards/ferris/0_2/mini/readme.md18
-rw-r--r--keyboards/ferris/0_2/mini/rules.mk0
-rw-r--r--keyboards/ferris/0_2/readme.md16
-rw-r--r--keyboards/ferris/0_2/rules.mk29
26 files changed, 0 insertions, 797 deletions
diff --git a/keyboards/ferris/0_2/0_2.c b/keyboards/ferris/0_2/0_2.c
deleted file mode 100644
index 519961dd38..0000000000
--- a/keyboards/ferris/0_2/0_2.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
-Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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/>.
-*/
-#include "0_2.h"
diff --git a/keyboards/ferris/0_2/0_2.h b/keyboards/ferris/0_2/0_2.h
deleted file mode 100644
index 2f58831df7..0000000000
--- a/keyboards/ferris/0_2/0_2.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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 "quantum.h"
-
-// clang-format off
-
-/* left hand right hand */
-#define LAYOUT_split_3x5_2(\
- K0_0, K0_1, K0_2, K0_3, K0_4, K0_5, K0_6, K0_7, K0_8, K0_9,\
- K1_0, K1_1, K1_2, K1_3, K1_4, K1_5, K1_6, K1_7, K1_8, K1_9,\
- K2_0, K2_1, K2_2, K2_3, K2_4, K2_5, K2_6, K2_7, K2_8, K2_9,\
- K3_3, K3_4, K3_5, K3_6)\
-/* matrix positions */\
-{\
- {K0_0, K0_1, K0_2, K0_3, K0_4},\
- {K1_0, K1_1, K1_2, K1_3, K1_4},\
- {K2_0, K2_1, K2_2, K2_3, K2_4},\
- {KC_NO, KC_NO, KC_NO, K3_3, K3_4},\
- \
- {K0_5, K0_6, K0_7, K0_8, K0_9},\
- {K1_5, K1_6, K1_7, K1_8, K1_9},\
- {K2_5, K2_6, K2_7, K2_8, K2_9},\
- {K3_5, K3_6, KC_NO, KC_NO, KC_NO}\
-}
-
-// clang-format on
-#define LAYOUT LAYOUT_split_3x5_2
diff --git a/keyboards/ferris/0_2/base/info.json b/keyboards/ferris/0_2/base/info.json
deleted file mode 100644
index d0d22b8047..0000000000
--- a/keyboards/ferris/0_2/base/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "Ferris 0.2",
- "usb": {
- "pid": "0x0001"
- }
-}
diff --git a/keyboards/ferris/0_2/base/rules.mk b/keyboards/ferris/0_2/base/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/ferris/0_2/base/rules.mk
+++ /dev/null
diff --git a/keyboards/ferris/0_2/bling/bling.c b/keyboards/ferris/0_2/bling/bling.c
deleted file mode 100644
index e4d0bdbf7e..0000000000
--- a/keyboards/ferris/0_2/bling/bling.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
-Copyright 2021 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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/>.
-*/
-#include "quantum.h"
-
-#include "drivers/led/issi/is31fl3731.h"
-
-/*
-| Left || Right |
-| | 3 | | 0 || 0 | | 3 | |
-| 5 | | | || | | | 6 |
-| | | | || | | | |
-| | | | 1 || 1 | | | |
-| | 4 | | || | | 4 | |
-| 6 | | | 2 || 2 | | | 5 |
-*/
-const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
- /* Refer to IS31 manual for these locations
- * driver
- * | R location
- * | | G location
- * | | | B location
- * | | | | */
- {0, C9_10, C8_10, C7_10}, // Left RGB 5
- {0, C9_12, C8_12, C7_12}, // Left RGB 3
- {0, C9_15, C8_15, C6_14}, // Left RGB 0
- {1, C1_2, C2_2, C4_3}, // Right RGB 0
- {1, C1_5, C2_5, C3_5}, // Right RGB 3
- {1, C1_8, C2_8, C3_8}, // Right RGB 6
- {1, C1_7, C2_7, C3_7}, // Right RGB 5
- {1, C1_6, C2_6, C3_6}, // Right RGB 4
- {1, C1_3, C2_3, C3_3}, // Right RGB 1
- {1, C1_4, C2_4, C3_4}, // Right RGB 2
- {0, C9_13, C8_13, C7_13}, // Left RGB 2
- {0, C9_14, C8_14, C7_14}, // Left RGB 1
- {0, C9_11, C8_11, C7_11}, // Left RGB 4
- {0, C9_9, C8_9, C7_9}, // Left RGB 6
-};
-// clang-format off
-led_config_t g_led_config = {
- // Key Matrix to LED Index
- {
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
- }, {
- // LED Index to Physical Position. The unit is roughly milimiters in the real world
- // | Left || Right |
- // x->| 10 | 32 | 64 || 160 | 192 | 214 |
- // y |_____|_____|____||_____|_____|_____|
- // 0 | | 1 | 2 || 3 | 4 | |
- // 16 | 0 | | || | | 5 |
- // 35 | | | 11 || 8 | | |
- // 45 | | 12 | || | 7 | |
- // 50 | 13 | | 10 || 9 | | 6 |
- // 0 1 2 3 4 5
- {10, 16}, {32, 0}, {64, 0}, {160, 0}, {192, 0}, {214, 16},
- // 6 7 8 9
- {214, 50}, {192, 45}, {160, 35}, {160, 50},
- // 10 11 12 13
- {64, 50}, {64, 35}, {32, 45}, {10, 50},
- }, {
- // LED Index to Flag
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
- }
-};
diff --git a/keyboards/ferris/0_2/bling/config.h b/keyboards/ferris/0_2/bling/config.h
deleted file mode 100644
index ceb02e737b..0000000000
--- a/keyboards/ferris/0_2/bling/config.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-Copyright 2021 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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
-
-/* LED Drivers */
-#define DRIVER_ADDR_1 0b1110100
-#define DRIVER_ADDR_2 0b1110101
-#define DRIVER_COUNT 2
-#define DRIVER_1_LED_TOTAL 7
-#define DRIVER_2_LED_TOTAL 7
-#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
-
-// RGB Matrix Animation modes. Explicitly enabled
-// For full list of effects, see:
-// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
-#define ENABLE_RGB_MATRIX_ALPHAS_MODS
-#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
-#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
-#define ENABLE_RGB_MATRIX_BREATHING
-#define ENABLE_RGB_MATRIX_BAND_SAT
-#define ENABLE_RGB_MATRIX_BAND_VAL
-#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
-#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
-#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
-#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
-#define ENABLE_RGB_MATRIX_CYCLE_ALL
-#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
-#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
-#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
-#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
-#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
-#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
-#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
-#define ENABLE_RGB_MATRIX_DUAL_BEACON
-#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
-#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
-#define ENABLE_RGB_MATRIX_RAINDROPS
-#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-#define ENABLE_RGB_MATRIX_HUE_BREATHING
-#define ENABLE_RGB_MATRIX_HUE_PENDULUM
-#define ENABLE_RGB_MATRIX_HUE_WAVE
-#define ENABLE_RGB_MATRIX_PIXEL_RAIN
-#define ENABLE_RGB_MATRIX_PIXEL_FLOW
-#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
-#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
-#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
-// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
-#define ENABLE_RGB_MATRIX_SPLASH
-#define ENABLE_RGB_MATRIX_MULTISPLASH
-#define ENABLE_RGB_MATRIX_SOLID_SPLASH
-#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
diff --git a/keyboards/ferris/0_2/bling/info.json b/keyboards/ferris/0_2/bling/info.json
deleted file mode 100644
index 5473c33295..0000000000
--- a/keyboards/ferris/0_2/bling/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "Ferris 0.2 - Bling",
- "usb": {
- "pid": "0x0002"
- }
-}
diff --git a/keyboards/ferris/0_2/bling/readme.md b/keyboards/ferris/0_2/bling/readme.md
deleted file mode 100644
index c20be1edd1..0000000000
--- a/keyboards/ferris/0_2/bling/readme.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Ferris 0.2 - Bling
-
-![Ferris 0.2 - Bling](https://i.imgur.com/8dmm5Mrh.jpg)
-
-Ferris 0.2 with RGB underglow.
-
-* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83)
-* Hardware Supported:
- * Ferris 0.2 - Bling: (STM32F072 MCU on the left, MCP23017 on the right, IS31FL3731 led driver chip on each side)
-* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com)
-
-Make examples for this keyboard (after setting up your build environment):
-
- make ferris/0_2/bling:default
-
-See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/ferris/0_2/bling/rules.mk b/keyboards/ferris/0_2/bling/rules.mk
deleted file mode 100644
index e04c8e4670..0000000000
--- a/keyboards/ferris/0_2/bling/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = IS31FL3731
diff --git a/keyboards/ferris/0_2/chconf.h b/keyboards/ferris/0_2/chconf.h
deleted file mode 100644
index c72955f65d..0000000000
--- a/keyboards/ferris/0_2/chconf.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright 2020 QMK
- *
- * 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/>.
- */
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/ferris/0_2/chconf.h -r platforms/chibios/common/configs/chconf.h`
- */
-
-#pragma once
-
-#define CH_CFG_ST_FREQUENCY 10000
-
-#define CH_CFG_OPTIMIZE_SPEED FALSE
-
-#define CH_CFG_USE_REGISTRY TRUE
-
-#define CH_CFG_USE_WAITEXIT TRUE
-
-#define CH_CFG_USE_CONDVARS TRUE
-
-#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
-
-#define CH_CFG_USE_MESSAGES TRUE
-
-#define CH_CFG_USE_MAILBOXES TRUE
-
-#include_next <chconf.h>
diff --git a/keyboards/ferris/0_2/compact/info.json b/keyboards/ferris/0_2/compact/info.json
deleted file mode 100644
index 4ca1555776..0000000000
--- a/keyboards/ferris/0_2/compact/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "Ferris 0.2 - Compact",
- "usb": {
- "pid": "0x0003"
- }
-}
diff --git a/keyboards/ferris/0_2/compact/readme.md b/keyboards/ferris/0_2/compact/readme.md
deleted file mode 100644
index b17b59bfae..0000000000
--- a/keyboards/ferris/0_2/compact/readme.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Ferris 0.2 - Compact
-
-![Ferris 0.2 - Compact, top view](https://i.imgur.com/V2ZLKjih.jpg)
-![Ferris 0.2 - Compact, bottom view](https://i.imgur.com/3icP8pzh.jpg)
-
-Ferris 0.2 - Compact with Kailh Choc support and Choc spacing.
-
-* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83)
-* Hardware Supported:
- * Ferris 0.2 - Compact: (STM32F072 MCU on the left, MCP23017 on the right)
-* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com)
-
-Make examples for this keyboard (after setting up your build environment):
-
- make ferris/0_2/compact:default
-
-See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/ferris/0_2/compact/rules.mk b/keyboards/ferris/0_2/compact/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/ferris/0_2/compact/rules.mk
+++ /dev/null
diff --git a/keyboards/ferris/0_2/config.h b/keyboards/ferris/0_2/config.h
deleted file mode 100644
index 5de356f3cf..0000000000
--- a/keyboards/ferris/0_2/config.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
-Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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
-
-/* key matrix size */
-#define MATRIX_ROWS 8
-#define MATRIX_COLS 10
-
-#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
-#define MATRIX_COLS_PER_SIDE (MATRIX_COLS / 2)
-
-#define UNUSED_MCU 24
-#define UNUSED_MCP 7
-
-// wiring
-#define MATRIX_ROW_PINS_MCU \
- { B7, B6, B5, A2 }
-#define MATRIX_COL_PINS_MCU \
- { B8, B4, B3, A15, A14 }
-#define UNUSED_PINS_MCU \
- { A0, A1, A3, A4, A5, A6, A7, A8, A9, A10, A13, B0, B1, B2, B9, B12, B13, B14, B15, C13, C14, C15, F0, F1 }
-#define MATRIX_ROW_PINS_MCP \
- { B0, B1, B2, B3 }
-#define MATRIX_COL_PINS_MCP \
- { A0, A1, A2, A3, A4 }
-#define UNUSED_PINS_MCP \
- { B4, B5, B6, B7, A5, A6, A7 }
-
-#define MATRIX_ROW_PINS \
- { B7, B6, B5, A2, A0, A0, A0, A0 }
-#define MATRIX_COL_PINS \
- { B8, B4, B3, A15, A14, A1, A1, A1, A1, A1 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
-/* define if matrix has ghost (lacks anti-ghosting diodes) */
-//#define MATRIX_HAS_GHOST
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
-/* i2c settings */
-
-#define I2C_DRIVER I2CD2
-#define I2C1_SCL_PIN B10
-#define I2C1_SDA_PIN B11
-#define I2C1_TIMINGR_PRESC 2U
-#define I2C1_TIMINGR_SCLDEL 1U
-#define I2C1_TIMINGR_SDADEL 0U
-#define I2C1_TIMINGR_SCLH 9U
-#define I2C1_TIMINGR_SCLL 26U
-#define I2C1_SCL_PAL_MODE 1
-#define I2C1_SDA_PAL_MODE 1
diff --git a/keyboards/ferris/0_2/halconf.h b/keyboards/ferris/0_2/halconf.h
deleted file mode 100644
index 037cbbdb40..0000000000
--- a/keyboards/ferris/0_2/halconf.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Copyright 2020 QMK
- *
- * 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/>.
- */
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/ferris/0_2/halconf.h -r platforms/chibios/common/configs/halconf.h`
- */
-
-#pragma once
-
-#define HAL_USE_I2C TRUE
-
-#define HAL_USE_PWM TRUE
-
-#define HAL_USE_SPI TRUE
-
-#include_next <halconf.h>
diff --git a/keyboards/ferris/0_2/high/info.json b/keyboards/ferris/0_2/high/info.json
deleted file mode 100644
index adb9d07af3..0000000000
--- a/keyboards/ferris/0_2/high/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "Ferris 0.2 - High",
- "usb": {
- "pid": "0x0005"
- }
-}
diff --git a/keyboards/ferris/0_2/high/readme.md b/keyboards/ferris/0_2/high/readme.md
deleted file mode 100644
index 2f01b2b260..0000000000
--- a/keyboards/ferris/0_2/high/readme.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Ferris 0.2 - High
-
-![Ferris 0.2 - High, top view](https://i.imgur.com/aOqVmvph.jpg)
-![Ferris 0.2 - High, bottom view](https://i.imgur.com/Nuqy5uJh.jpg)
-
-Ferris 0.2 - High with Cherry MX support.
-
-* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83)
-* Hardware Supported:
- * Ferris 0.2 - High: (STM32F072 MCU on the left, MCP23017 on the right)
-* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com)
-
-Make examples for this keyboard (after setting up your build environment):
-
- make ferris/0_2/high:default
-
-See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/ferris/0_2/high/rules.mk b/keyboards/ferris/0_2/high/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/ferris/0_2/high/rules.mk
+++ /dev/null
diff --git a/keyboards/ferris/0_2/info.json b/keyboards/ferris/0_2/info.json
deleted file mode 100644
index 9ab2ffbdfb..0000000000
--- a/keyboards/ferris/0_2/info.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "manufacturer": "Cuddly Keyboards Ltd.",
- "usb": {
- "vid": "0xC2AB",
- "device_version": "0.0.2"
- }
-}
diff --git a/keyboards/ferris/0_2/matrix.c b/keyboards/ferris/0_2/matrix.c
deleted file mode 100644
index ff0e66d65c..0000000000
--- a/keyboards/ferris/0_2/matrix.c
+++ /dev/null
@@ -1,250 +0,0 @@
-/*
-Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
- 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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/>.
-*/
-
-/*
- * This code was heavily inspired by the ergodox_ez keymap, and modernized
- * to take advantage of the quantum.h microcontroller agnostics gpio control
- * abstractions and use the macros defined in config.h for the wiring as opposed
- * to repeating that information all over the place.
- */
-
-#include QMK_KEYBOARD_H
-#include "i2c_master.h"
-#include <print.h>
-
-extern i2c_status_t mcp23017_status;
-#define MCP23017_I2C_TIMEOUT 1000
-#define I2C_WRITE 0x00
-#define I2C_READ 0x01
-// For a better understanding of the i2c protocol, this is a good read:
-// https://www.robot-electronics.co.uk/i2c-tutorial
-
-// I2C address:
-// See the datasheet, section 3.3.1 on addressing I2C devices and figure 3-6 for an
-// illustration
-// http://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
-// All address pins of the mcp23017 are connected to the ground on the ferris
-// | 0 | 1 | 0 | 0 | A2 | A1 | A0 |
-// | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
-#define I2C_ADDR 0b0100000
-#define I2C_ADDR_WRITE ((I2C_ADDR << 1) | I2C_WRITE)
-#define I2C_ADDR_READ ((I2C_ADDR << 1) | I2C_READ)
-
-// Register addresses
-// See https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/blob/master/Adafruit_MCP23017.h
-#define IODIRA 0x00 // i/o direction register
-#define IODIRB 0x01
-#define GPPUA 0x0C // GPIO pull-up resistor register
-#define GPPUB 0x0D
-#define MCP23017_GPIOA 0x12 // general purpose i/o port register (write modifies OLAT)
-#define MCP23017_GPIOB 0x13
-#define OLATA 0x14 // output latch register
-#define OLATB 0x15
-
-bool i2c_initialized = 0;
-i2c_status_t mcp23017_status = I2C_ADDR;
-
-uint8_t init_mcp23017(void) {
- print("init mcp23017\n");
- mcp23017_status = I2C_ADDR;
-
- // I2C subsystem
- if (i2c_initialized == 0) {
- i2c_init(); // on pins D(1,0)
- i2c_initialized = true;
- wait_ms(MCP23017_I2C_TIMEOUT);
- }
-
- // set pin direction
- // - unused : input : 1
- // - input : input : 1
- // - driving : output : 0
- // This means: we will read all the bits on GPIOA
- // This means: we will write to the pins 0-4 on GPIOB (in select_rows)
- uint8_t buf[] = {IODIRA, 0b11111111, 0b11110000};
- print("before transmit\n");
- mcp23017_status = i2c_transmit(I2C_ADDR_WRITE, buf, sizeof(buf), MCP23017_I2C_TIMEOUT);
- uprintf("after transmit %i\n", mcp23017_status);
- if (!mcp23017_status) {
- // set pull-up
- // - unused : on : 1
- // - input : on : 1
- // - driving : off : 0
- // This means: we will read all the bits on GPIOA
- // This means: we will write to the pins 0-4 on GPIOB (in select_rows)
- uint8_t pullup_buf[] = {GPPUA, 0b11111111, 0b11110000};
- mcp23017_status = i2c_transmit(I2C_ADDR_WRITE, pullup_buf, sizeof(pullup_buf), MCP23017_I2C_TIMEOUT);
- uprintf("after transmit2 %i\n", mcp23017_status);
- }
- return mcp23017_status;
-}
-
-/* matrix state(1:on, 0:off) */
-static matrix_row_t matrix[MATRIX_ROWS]; // debounced values
-
-static matrix_row_t read_cols(uint8_t row);
-static void unselect_row(uint8_t row);
-static void unselect_rows(void);
-static void unselect_cols(void);
-static void select_row(uint8_t row);
-
-static uint8_t mcp23017_reset_loop;
-
-static void init_mcu_pins(void) {
- unselect_rows();
- unselect_cols();
-}
-
-void matrix_init_custom(void) {
- debug_enable = true;
- debug_matrix = true;
- dprint("matrix_init_custom\n");
- // initialize row and col
- init_mcu_pins();
- mcp23017_status = init_mcp23017();
-
- // initialize matrix state: all keys off
- for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
- matrix[i] = 0;
- }
-}
-
-// Reads and stores a row, returning
-// whether a change occurred.
-static inline bool store_matrix_row(matrix_row_t current_matrix[], uint8_t index) {
- matrix_row_t temp = read_cols(index);
- if (current_matrix[index] != temp) {
- current_matrix[index] = temp;
- return true;
- }
- return false;
-}
-
-bool matrix_scan_custom(matrix_row_t current_matrix[]) {
- if (mcp23017_status) { // if there was an error
- if (++mcp23017_reset_loop == 0) {
- // if (++mcp23017_reset_loop >= 1300) {
- // since mcp23017_reset_loop is 8 bit - we'll try to reset once in 255 matrix scans
- // this will be approx bit more frequent than once per second
- print("trying to reset mcp23017\n");
- mcp23017_status = init_mcp23017();
- if (mcp23017_status) {
- print("right side not responding\n");
- } else {
- print("right side attached\n");
- }
- }
- }
-
- bool changed = false;
- for (uint8_t i = 0; i < MATRIX_ROWS_PER_SIDE; i++) {
- // select rows from left and right hands
- uint8_t left_index = i;
- uint8_t right_index = i + MATRIX_ROWS_PER_SIDE;
-
- changed |= store_matrix_row(current_matrix, left_index);
- changed |= store_matrix_row(current_matrix, right_index);
-
- unselect_rows();
- }
-
- return changed;
-}
-
-static matrix_row_t read_cols(uint8_t row) {
- select_row(row);
- if (row < MATRIX_ROWS_PER_SIDE) {
- pin_t matrix_col_pins_mcu[MATRIX_COLS_PER_SIDE] = MATRIX_COL_PINS_MCU;
- matrix_row_t current_row_value = 0;
- matrix_io_delay();
- // For each col...
- for (uint8_t col_index = 0; col_index < MATRIX_COLS_PER_SIDE; col_index++) {
- // Select the col pin to read (active low)
- uint8_t pin_state = readPin(matrix_col_pins_mcu[col_index]);
-
- // Populate the matrix row with the state of the col pin
- current_row_value |= pin_state ? 0 : (MATRIX_ROW_SHIFTER << col_index);
- }
- unselect_row(row);
- return current_row_value;
- } else {
- // we don't need a 30us delay anymore, because selecting a
- // right-hand row requires more than 30us for i2c.
- if (mcp23017_status) { // if there was an error
- return 0;
- } else {
- uint8_t buf[] = {MCP23017_GPIOA};
- mcp23017_status = i2c_transmit(I2C_ADDR_WRITE, buf, sizeof(buf), MCP23017_I2C_TIMEOUT);
- // We read all the pins on GPIOA.
- // The initial state was all ones and any depressed key at a given column for the currently selected row will have its bit flipped to zero.
- // The return value is a row as represented in the generic matrix code were the rightmost bits represent the lower columns and zeroes represent non-depressed keys while ones represent depressed keys.
- // Since the pins connected to eact columns are sequential, and counting from zero up (col 5 -> GPIOA0, col 6 -> GPIOA1 and so on), the only transformation needed is a bitwise not to swap all zeroes and ones.
- uint8_t data[] = {0};
- if (!mcp23017_status) {
- mcp23017_status = i2c_receive(I2C_ADDR_READ, data, sizeof(data), MCP23017_I2C_TIMEOUT);
- data[0] = ~(data[0]);
- }
- return data[0];
- }
- }
-}
-
-static void unselect_row(uint8_t row) {
- pin_t matrix_row_pins_mcu[MATRIX_ROWS_PER_SIDE] = MATRIX_ROW_PINS_MCU;
- setPinInputHigh(matrix_row_pins_mcu[row]);
-}
-
-static void unselect_rows(void) {
- // no need to unselect on mcp23017, because the select step sets all
- // the other row bits high, and it's not changing to a different
- // direction
-
- // unselect rows on microcontroller
- pin_t matrix_row_pins_mcu[MATRIX_ROWS_PER_SIDE] = MATRIX_ROW_PINS_MCU;
- for (int pin_index = 0; pin_index < MATRIX_ROWS_PER_SIDE; pin_index++) {
- pin_t pin = matrix_row_pins_mcu[pin_index];
- setPinInputHigh(pin);
- }
-}
-static void unselect_cols(void) {
- pin_t matrix_col_pins_mcu[MATRIX_COLS_PER_SIDE] = MATRIX_COL_PINS_MCU;
- for (int pin_index = 0; pin_index < MATRIX_COLS_PER_SIDE; pin_index++) {
- pin_t pin = matrix_col_pins_mcu[pin_index];
- setPinInputHigh(pin);
- }
-}
-
-static void select_row(uint8_t row) {
- if (row < MATRIX_