aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_stm32/rules.mk
blob: 1bf1a742ab859e3d476159adca8f48a7f44e0304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

CFLAGS += "-Wno-error=deprecated"

MCU_FAMILY = STM32
MCU_SERIES = STM32F1xx

MCU_LDSCRIPT = stm32f103_bootloader

MCU_STARTUP = stm32f1xx

BOARD = ERGODOX_STM32_BOARD

MCU = cortex-m3

ARMV = 7

OPT_DEFS =

EXTRAFLAGS=-O0 -g

BOOTMAGIC_ENABLE = no
MOUSEKEY_ENABLE = no	# Mouse keys
EXTRAKEY_ENABLE = yes	# Audio control and System control
CONSOLE_ENABLE = no	# Console for debug
COMMAND_ENABLE = no    # Commands for debug and configuration
SLEEP_LED_ENABLE = no  # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes	    # USB Nkey Rollover
CUSTOM_MATRIX = yes # Custom matrix file
NKRO_ENABLE      = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
UNICODE_ENABLE   = yes # Unicode