2022-01-22 04:51:12 +01:00
|
|
|
# MCU name
|
|
|
|
MCU = STM32F303
|
|
|
|
|
|
|
|
# Bootloader selection
|
|
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
|
|
|
|
# Touch encoder needs
|
2022-02-09 21:02:53 +01:00
|
|
|
VPATH += keyboards/rgbkb/common
|
|
|
|
SRC += touch_encoder.c
|
|
|
|
SRC += common_oled.c
|
2022-01-22 04:51:12 +01:00
|
|
|
QUANTUM_LIB_SRC += i2c_master.c
|
|
|
|
|
|
|
|
# Build Options
|
|
|
|
# change yes to no to disable
|
|
|
|
#
|
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2022-07-30 00:42:34 +02:00
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
2022-01-22 04:51:12 +01:00
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
2022-08-07 15:01:10 +02:00
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2022-01-22 04:51:12 +01:00
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
|
|
AUDIO_ENABLE = yes # Audio output
|
|
|
|
AUDIO_DRIVER = dac_additive
|
|
|
|
|
|
|
|
DYNAMIC_MACRO_ENABLE = yes
|
|
|
|
DIP_SWITCH_ENABLE = yes
|
|
|
|
|
|
|
|
WS2812_DRIVER = pwm
|
|
|
|
RGBLIGHT_ENABLE = no
|
|
|
|
RGB_MATRIX_ENABLE = yes
|
|
|
|
RGB_MATRIX_DRIVER = WS2812
|
|
|
|
|
|
|
|
OLED_ENABLE = yes
|
|
|
|
OLED_DRIVER = SSD1306 # Enable the OLED Driver
|
|
|
|
|
|
|
|
ENCODER_ENABLE = yes
|
|
|
|
|
|
|
|
SPLIT_KEYBOARD = yes
|
|
|
|
SERIAL_DRIVER = usart
|
|
|
|
LTO_ENABLE = yes
|
|
|
|
OPT = 3
|
|
|
|
|
2022-02-09 21:02:53 +01:00
|
|
|
OPT_DEFS += -DOLED_FONT_H=\"keyboards/rgbkb/common/glcdfont.c\"
|
2022-01-22 04:51:12 +01:00
|
|
|
|
|
|
|
DEFAULT_FOLDER = rgbkb/sol3/rev1
|