]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/chibios_test/stm32_f103_onekey/Makefile
Add double arrow Unicode characters to FMU layer
[qmk_firmware.git] / keyboards / chibios_test / stm32_f103_onekey / Makefile
1 # project specific files
2 SRC =   matrix.c \
3             led.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 # GENERIC STM32F103C8T6 board - no bootloader (programmer over serial or SWD)
11 # OPT_DEFS =
12 # MCU_LDSCRIPT = STM32F103x8
13 # BOARD = GENERIC_STM32_F103
14
15 # MAPLE MINI
16 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x5000
17 # MCU_LDSCRIPT = STM32F103xB_maplemini_bootloader
18 # BOARD = MAPLEMINI_STM32_F103
19
20 ## chip/board settings
21 # the next two should match the directories in
22 #  <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
23 MCU_FAMILY = STM32
24 MCU_SERIES = STM32F1xx
25 # linker script to use
26 # it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
27 #  or <this_dir>/ld/
28 # startup code to use
29 # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
30 MCU_STARTUP = stm32f1xx
31 # it should exist either in <chibios>/os/hal/boards/
32 #  or <this_dir>/boards
33 # Cortex version
34 # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
35 MCU  = cortex-m3
36 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
37 ARMV = 7
38 # If you want to be able to jump to bootloader from firmware on STM32 MCUs,
39 # set the correct BOOTLOADER_ADDRESS. Either set it here, or define it in
40 # ./bootloader_defs.h or in ./boards/<FOO>/bootloader_defs.h (if you have
41 # a custom board definition that you plan to reuse).
42 # If you're not setting it here, leave it commented out.
43 # It is chip dependent, the correct number can be looked up here (page 175):
44 # http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
45 # This also requires a patch to chibios:
46 #   <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
47 #STM32_BOOTLOADER_ADDRESS = 0x1FFFC800
48
49
50 ifndef QUANTUM_DIR
51         include ../../../Makefile
52 endif