aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/abelx/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/abelx/rules.mk')
-rw-r--r--keyboards/matrix/abelx/rules.mk57
1 files changed, 57 insertions, 0 deletions
diff --git a/keyboards/matrix/abelx/rules.mk b/keyboards/matrix/abelx/rules.mk
new file mode 100644
index 000000000..bd8156dd6
--- /dev/null
+++ b/keyboards/matrix/abelx/rules.mk
@@ -0,0 +1,57 @@
1## chip/board settings
2# - the next two should match the directories in
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6
7# Linker script to use
8# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
9# or <this_dir>/ld/
10MCU_LDSCRIPT = abelx_boot
11
12# Startup code to use
13# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14MCU_STARTUP = stm32f4xx
15
16# Board: it should exist either in <chibios>/os/hal/boards/
17# or <this_dir>/boards
18BOARD = abelx_bd
19
20# Cortex version
21MCU = cortex-m4
22
23# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
24ARMV = 7
25
26USE_FPU = yes
27
28# Vector table for application
29# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
30OPT_DEFS =
31
32# Options to pass to dfu-util when flashing
33#DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
34#DFU_SUFFIX_ARGS = -p DF11 -v 0483
35
36# Build Options
37# change yes to no to disable
38#
39BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
40MOUSEKEY_ENABLE = yes # Mouse keys
41EXTRAKEY_ENABLE = yes # Audio control and System control
42CONSOLE_ENABLE = no # Console for debug
43COMMAND_ENABLE = no # Commands for debug and configuration
44# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
45SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
46# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
47NKRO_ENABLE = no # USB Nkey Rollover
48BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
49RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
50BLUETOOTH_ENABLE = no # Enable Bluetooth
51AUDIO_ENABLE = no # Audio output
52NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
53
54CUSTOM_MATRIX = lite
55# project specific files
56SRC += matrix.c tca6424.c aw9523b.c
57QUANTUM_LIB_SRC += i2c_master.c