Fix & clean up tronguylabs/m122_3270 (#13684)
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides below
|
||||
|
||||
// Blackpill pin assignments: reversed the rows from the Teensy version for easier PCB layout
|
||||
// DO NOT USE the following pins: A9 (has pulldown on it), A11/A12 (USB lines), B2 (external pulldown)
|
||||
// C13 has an LED, and C13/C14/C15 are best used as inputs (with DIODE_DIRECTION set to ROW2COL, the
|
||||
@@ -26,4 +24,4 @@
|
||||
#define MATRIX_ROW_PINS { C13, C14, C15, A0, A1, A2, A3, A4 }
|
||||
|
||||
// The BlackPill version is version 2
|
||||
#define DEVICE_VER 0x0002
|
||||
#define DEVICE_VER 0x0002
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# BlackPill controller for m122-3270
|
||||
|
||||
This directory contains the BlackPill-specific definitions for the M122-3270 keyboard.
|
||||
|
||||
@@ -1,7 +1,22 @@
|
||||
# Overrides for the Blackpill version
|
||||
|
||||
# MCU name
|
||||
MCU = STM32F411
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
Reference in New Issue
Block a user