]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/practice60/rules.mk
convert to unix line-endings [skip ci]
[qmk_firmware.git] / keyboards / handwired / practice60 / rules.mk
1 # project specific files
2 SRC =   led.c \
3                   ws2812.c
4
5 # GENERIC STM32F103C8T6 board - stm32duino bootloader
6 OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000
7 MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
8 BOARD = GENERIC_STM32_F103
9
10 # OPT_DEFS =
11 # MCU_LDSCRIPT = STM32F103x8
12 # BOARD = GENERIC_STM32_F103
13
14 ## chip/board settings
15 # the next two should match the directories in
16 #  <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
17 MCU_FAMILY = STM32
18 MCU_SERIES = STM32F1xx
19 # linker script to use
20 # it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
21 #  or <this_dir>/ld/
22 # startup code to use
23 # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
24 MCU_STARTUP = stm32f1xx
25 # it should exist either in <chibios>/os/hal/boards/
26 #  or <this_dir>/boards
27 # Cortex version
28 # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
29 MCU  = cortex-m3
30 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
31 ARMV = 7
32 # If you want to be able to jump to bootloader from firmware on STM32 MCUs,
33 # set the correct BOOTLOADER_ADDRESS. Either set it here, or define it in
34 # ./bootloader_defs.h or in ./boards/<FOO>/bootloader_defs.h (if you have
35 # a custom board definition that you plan to reuse).
36 # If you're not setting it here, leave it commented out.
37 # It is chip dependent, the correct number can be looked up here (page 175):
38 # http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
39 # This also requires a patch to chibios:
40 #   <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
41 #STM32_BOOTLOADER_ADDRESS = 0x1FFFC800
42
43
44 #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
45 MOUSEKEY_ENABLE = yes   # Mouse keys
46 EXTRAKEY_ENABLE = yes   # Audio control and System control
47 CONSOLE_ENABLE = yes    # Console for debug
48 COMMAND_ENABLE = yes    # Commands for debug and configuration
49 SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
50 NKRO_ENABLE = yes           # USB Nkey Rollover
51 BACKLIGHT_ENABLE = yes
52 RGBLIGHT_ENABLE = yes
53
54 LAYOUTS = 60_ansi
55
56 DEFAULT_FOLDER = handwired/practice60