-
-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
644 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Ferris 0.1 | ||
|
||
![Ferris 0.1 - base, top view](https://i.imgur.com/s6nTn0Ch.jpg) | ||
![Ferris 0.1 - base, bottom view](https://i.imgur.com/Ymlac2Ah.jpg) | ||
|
||
An atmega32u4 based split 34 keys column staggered keyboard named and decorated after the rustlang mascott. All PCB files and some thoughts on the design are available on the [project's github page](https://github.com/pierrechevalier83/ferris) | ||
|
||
* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83) | ||
* Hardware Supported: | ||
* Ferris 0.1: atmega32u4 chip. Comes in 4 variants: base, low, high and compact | ||
* Hardware Availability: Pierre Chevalier has been selling keyboard kits (see the #ferris channel in the 40% discord chat). Wider availability is on the horizon. | ||
|
||
Make examples for this keyboard (after setting up your build environment): | ||
|
||
make ferris/0_1: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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
Copyright 2020 Pierre Chevalier <[email protected]> | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
Copyright 2020 Pierre Chevalier <[email protected]> | ||
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(\ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
Copyright 2020 Pierre Chevalier <[email protected]> | ||
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 | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0xC2AB | ||
#define PRODUCT_ID 0x0001 | ||
#define DEVICE_VER 0x0002 | ||
#define MANUFACTURER Pierre | ||
#define PRODUCT Ferris the keeb | ||
|
||
/* 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 } | ||
#define UNUSED_PINS \ | ||
{ A3, A4, A5, A6, A7, A8, A9, A10, A13, B0, B1, B2, B9, B12, B13, B14, B15, C13, C14, C15, F0, F1 } | ||
|
||
/* 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_BANK GPIOB | ||
#define I2C1_SCL 10 | ||
#define I2C1_SDA_BANK GPIOB | ||
#define I2C1_SDA 11 | ||
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* 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> |
Oops, something went wrong.