diff options
Diffstat (limited to 'keyboards/matrix/abelx/rules.mk')
| -rw-r--r-- | keyboards/matrix/abelx/rules.mk | 57 |
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) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 10 | MCU_LDSCRIPT = abelx_boot | ||
| 11 | |||
| 12 | # Startup code to use | ||
| 13 | # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | ||
| 14 | MCU_STARTUP = stm32f4xx | ||
| 15 | |||
| 16 | # Board: it should exist either in <chibios>/os/hal/boards/ | ||
| 17 | # or <this_dir>/boards | ||
| 18 | BOARD = abelx_bd | ||
| 19 | |||
| 20 | # Cortex version | ||
| 21 | MCU = cortex-m4 | ||
| 22 | |||
| 23 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 24 | ARMV = 7 | ||
| 25 | |||
| 26 | USE_FPU = yes | ||
| 27 | |||
| 28 | # Vector table for application | ||
| 29 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 30 | OPT_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 | # | ||
| 39 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 40 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 41 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 42 | CONSOLE_ENABLE = no # Console for debug | ||
| 43 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 44 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 45 | SLEEP_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 | ||
| 47 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 48 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 49 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 50 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 51 | AUDIO_ENABLE = no # Audio output | ||
| 52 | NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in | ||
| 53 | |||
| 54 | CUSTOM_MATRIX = lite | ||
| 55 | # project specific files | ||
| 56 | SRC += matrix.c tca6424.c aw9523b.c | ||
| 57 | QUANTUM_LIB_SRC += i2c_master.c | ||
