commit
d648eb42ca
@ -1,28 +1,45 @@ |
||||
# MCU name
|
||||
MCU = STM32F411
|
||||
BOARD = BLACKPILL_STM32_F411
|
||||
RGB_MATRIX_ENABLE = no
|
||||
CUSTOM_UNICODE_ENABLE = no
|
||||
CUSTOM_POINTING_DEVICE = no
|
||||
CUSTOM_SPLIT_TRANSPORT_SYNC = no
|
||||
|
||||
|
||||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/blackpill) |
||||
# Bootloader selection
|
||||
# BOOTLOADER = stm32-dfu
|
||||
BOOTLOADER := tinyuf2
|
||||
|
||||
LTO_ENABLE := no
|
||||
|
||||
AUDIO_SUPPORTED = yes
|
||||
AUDIO_ENABLE = yes
|
||||
AUDIO_DRIVER = pwm_hardware
|
||||
|
||||
OVERLOAD_FEATURES = yes
|
||||
endif |
||||
|
||||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/stemcell) |
||||
OVERLOAD_FEATURES = yes
|
||||
endif |
||||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/splinky) |
||||
OVERLOAD_FEATURES = yes
|
||||
endif |
||||
|
||||
|
||||
ifeq ($(strip $(OVERLOAD_FEATURES)), yes) |
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
KEYBOARD_SHARED_EP = yes
|
||||
MOUSE_SHARED_EP = yes
|
||||
|
||||
EEPROM_DRIVER = spi
|
||||
WS2812_DRIVER = pwm
|
||||
SERIAL_DRIVER = usart
|
||||
AUDIO_DRIVER = pwm_hardware
|
||||
|
||||
AUDIO_SUPPORTED = yes
|
||||
AUDIO_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
NKRO_ENABLE = yes
|
||||
CONSOLE_ENABLE = yes
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
||||
AUTOCORRECT_ENABLE = yes
|
||||
|
||||
CUSTOM_UNICODE_ENABLE = yes
|
||||
CUSTOM_POINTING_DEVICE = yes
|
||||
CUSTOM_SPLIT_TRANSPORT_SYNC = yes
|
||||
|
||||
DEBOUNCE_TYPE = asym_eager_defer_pk
|
||||
endif |
||||
|
@ -1,26 +0,0 @@ |
||||
/* Copyright 2020 Nick Brassel (tzarc)
|
||||
* |
||||
* 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_PWM TRUE |
||||
#define HAL_USE_PAL TRUE |
||||
#define HAL_USE_SERIAL TRUE |
||||
// #define HAL_USE_I2C TRUE
|
||||
#define HAL_USE_SPI TRUE |
||||
#define SPI_USE_WAIT TRUE |
||||
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD |
||||
|
||||
#include_next <halconf.h> |
@ -0,0 +1,23 @@ |
||||
/**
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) |
||||
* |
||||
* 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 |
||||
|
||||
#define HAL_USE_SPI TRUE |
||||
#define HAL_USE_I2C TRUE |
||||
|
||||
#include_next "halconf.h" |
@ -0,0 +1,26 @@ |
||||
/**
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) |
||||
* |
||||
* 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_next "mcuconf.h" |
||||
|
||||
#undef RP_SPI_USE_SPI1 |
||||
#define RP_SPI_USE_SPI1 TRUE |
||||
|
||||
#undef RP_I2C_USE_I2C1 |
||||
#define RP_I2C_USE_I2C1 TRUE |
@ -1,40 +1,52 @@ |
||||
COMMAND_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_STARTUP_ANIMATION = yes
|
||||
AUDIO_ENABLE = yes
|
||||
HAPTIC_ENABLE = no
|
||||
TAP_DANCE_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
WPM_ENABLE = yes
|
||||
ENCODER_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
AUTOCORRECT_ENABLE = yes
|
||||
CAPS_WORD_ENABLE = yes
|
||||
DEFERRED_EXEC_ENABLE = yes
|
||||
|
||||
ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/elite_c) |
||||
RGBLIGHT_ENABLE = no
|
||||
AUTOCORRECT_ENABLE = no
|
||||
AUDIO_ENABLE = no
|
||||
ENCODER_ENABLE = no
|
||||
CUSTOM_BOOTMAGIC_ENABLE = no
|
||||
CUSTOM_UNICODE_ENABLE = no
|
||||
HAPTIC_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
OLED_ENABLE = no
|
||||
WPM_ENABLE = no
|
||||
ENCODER_ENABLE = no
|
||||
AUTOCORRECT_ENABLE = no
|
||||
LTO_SUPPORTED = yes
|
||||
OLED_DRIVER = custom
|
||||
RGBLIGHT_ENABLE = no
|
||||
SWAP_HANDS_ENABLE = no
|
||||
CUSTOM_UNICODE_ENABLE = no
|
||||
CAPS_WORD_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
WPM_ENABLE = no
|
||||
|
||||
ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/elite_c) |
||||
BOOTLOADER = qmk-hid
|
||||
BOOTLOADER_SIZE = 512
|
||||
CUSTOM_SPLIT_TRANSPORT_SYNC = no
|
||||
LTO_ENABLE = yes
|
||||
endif |
||||
ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/arduinomicro) |
||||
BOOTLOADER = qmk-hid
|
||||
BOOTLOADER_SIZE = 512
|
||||
CUSTOM_SPLIT_TRANSPORT_SYNC = no
|
||||
LTO_ENABLE = yes
|
||||
endif |
||||
ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/teensy2pp) |
||||
AUTOCORRECT_ENABLE = no
|
||||
CAPS_WORD_ENABLE = yes
|
||||
OVERLOAD_FEATURES = yes
|
||||
LTO_ENABLE = yes
|
||||
endif |
||||
ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/f411) |
||||
BOOTLOADER = tinyuf2
|
||||
AUTOCORRECT_ENABLE = yes
|
||||
LTO_SUPPORTED = no
|
||||
OVERLOAD_FEATURES = yes
|
||||
endif |
||||
# DEBOUNCE_TYPE = sym_eager_pk
|
||||
|
||||
OLED_DRIVER = custom
|
||||
ifeq ($(strip $(OVERLOAD_FEATURES)), yes) |
||||
AUDIO_ENABLE = yes
|
||||
CAPS_WORD_ENABLE = yes
|
||||
CUSTOM_BOOTMAGIC_ENABLE = yes
|
||||
CUSTOM_UNICODE_ENABLE = yes
|
||||
ENCODER_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_STARTUP_ANIMATION = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
SWAP_HANDS_ENABLE = yes
|
||||
WPM_ENABLE = yes
|
||||
endif |
||||
|
Loading…
Reference in new issue