Add OLED support for Riblee F411 (#10778)
* Add OLED support for Riblee F422 * Fix typo
This commit is contained in:
parent
4b839db384
commit
4ba0cb7ebc
7 changed files with 146 additions and 9 deletions
|
@ -28,7 +28,7 @@
|
|||
#define MATRIX_COLS 12
|
||||
|
||||
#define MATRIX_ROW_PINS { A6, A5, A4, A3, A2 }
|
||||
#define MATRIX_COL_PINS { B10, B1, B0, B15, A8, B3, B4, B5, B6, B7, B8, B9 }
|
||||
#define MATRIX_COL_PINS { B10, B1, B0, B15, A8, B3, B4, B5, B14, A0, B8, B9 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
@ -38,4 +38,6 @@
|
|||
|
||||
#define MOUSEKEY_INTERVAL 32
|
||||
|
||||
#define TAPPING_TERM 175
|
||||
#define TAPPING_TERM 175
|
||||
|
||||
#define OLED_DISPLAY_128X64
|
||||
|
|
20
keyboards/handwired/riblee_f411/halconf.h
Normal file
20
keyboards/handwired/riblee_f411/halconf.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* Copyright 2020 Janos Daniel Reibl <janos.daniel.reibl@protonmail.com> @riblee
|
||||
*
|
||||
* 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 3 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_I2C TRUE
|
||||
|
||||
#include_next "halconf.h"
|
25
keyboards/handwired/riblee_f411/mcuconf.h
Normal file
25
keyboards/handwired/riblee_f411/mcuconf.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Copyright 2020 Nick Brassel (tzarc)
|
||||
* Copyright 2020 Janos Daniel Reibl <janos.daniel.reibl@protonmail.com> @riblee
|
||||
*
|
||||
* 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 3 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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include_next "mcuconf.h"
|
||||
|
||||
#undef STM32_I2C_USE_I2C1
|
||||
#define STM32_I2C_USE_I2C1 TRUE
|
||||
|
||||
#undef I2C_DRIVER
|
||||
#define I2C_DRIVER I2CD1
|
|
@ -24,3 +24,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = ortho_5x12
|
||||
|
||||
OLED_DRIVER_ENABLE = yes
|
||||
RAW_ENABLE = yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue