]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/co60/rev7/rules.mk
[Keyboard] Initial firmware and keymaps for the CO60 PCB (#5959)
[qmk_firmware.git] / keyboards / handwired / co60 / rev7 / rules.mk
1 # project specific files
2
3 ## chip/board settings
4 # - the next two should match the directories in
5 #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
6 MCU_FAMILY = STM32
7 MCU_SERIES = STM32F3xx
8
9 # Linker script to use
10 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
11 #   or <this_dir>/ld/
12 MCU_LDSCRIPT = STM32F303xC
13
14 # Startup code to use
15 #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
16 MCU_STARTUP = stm32f3xx
17
18 # Board: it should exist either in <chibios>/os/hal/boards/
19 #  or <this_dir>/boards
20 BOARD = GENERIC_STM32_F303XC
21
22 # Cortex version
23 MCU  = cortex-m4
24
25 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
26 ARMV = 7
27
28 USE_FPU = yes
29
30 # Vector table for application
31 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
32 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
33 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
34
35 # Options to pass to dfu-util when flashing
36 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
37 DFU_SUFFIX_ARGS = -v 0483 -p df11
38
39 # Code for backlight breathing:
40 SRC += led.c
41
42 # Build Options
43 #   comment out to disable the options.
44 #
45 BACKLIGHT_ENABLE = yes
46 BOOTMAGIC_ENABLE = no   # Virtual DIP switch configuration(+1000)
47 MOUSEKEY_ENABLE = yes   # Mouse keys(+4700)
48 EXTRAKEY_ENABLE = yes   # Audio control and System control(+450)
49 CONSOLE_ENABLE = no    # Console for debug(+400)
50 COMMAND_ENABLE = no     # Commands for debug and configuration
51 NKRO_ENABLE = yes       # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
52 AUDIO_ENABLE = no
53 RGBLIGHT_ENABLE = no    # Enable keyboard underlight functionality
54 MIDI_ENABLE = no        # MIDI controls
55 UNICODE_ENABLE = no     # Unicode
56 BLUETOOTH_ENABLE = no   # Enable Bluetooth with the Adafruit EZ-Key HID
57 LEADER_ENABLE = yes
58
59 LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_hhkb