diff options
Diffstat (limited to 'keyboards/planck/rev6/rules.mk')
| -rw-r--r-- | keyboards/planck/rev6/rules.mk | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index dce683a7f..1f3d1dfe5 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/rules.mk | |||
| @@ -2,41 +2,8 @@ | |||
| 2 | SRC = matrix.c | 2 | SRC = matrix.c |
| 3 | LAYOUTS += ortho_4x12 | 3 | LAYOUTS += ortho_4x12 |
| 4 | 4 | ||
| 5 | ## chip/board settings | ||
| 6 | # - the next two should match the directories in | ||
| 7 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 8 | MCU_FAMILY = STM32 | ||
| 9 | MCU_SERIES = STM32F3xx | ||
| 10 | |||
| 11 | # Linker script to use | ||
| 12 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | ||
| 13 | # or <this_dir>/ld/ | ||
| 14 | MCU_LDSCRIPT = STM32F303xC | ||
| 15 | |||
| 16 | # Startup code to use | ||
| 17 | # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | ||
| 18 | MCU_STARTUP = stm32f3xx | ||
| 19 | |||
| 20 | # Board: it should exist either in <chibios>/os/hal/boards/ | ||
| 21 | # or <this_dir>/boards | ||
| 22 | BOARD = GENERIC_STM32_F303XC | ||
| 23 | |||
| 24 | # Cortex version | 5 | # Cortex version |
| 25 | MCU = cortex-m4 | 6 | MCU = STM32F303 |
| 26 | |||
| 27 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 28 | ARMV = 7 | ||
| 29 | |||
| 30 | USE_FPU = yes | ||
| 31 | |||
| 32 | # Vector table for application | ||
| 33 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 34 | # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | ||
| 35 | # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000 | ||
| 36 | OPT_DEFS = | ||
| 37 | |||
| 38 | # Options to pass to dfu-util when flashing | ||
| 39 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | ||
| 40 | 7 | ||
| 41 | # Build Options | 8 | # Build Options |
| 42 | # comment out to disable the options. | 9 | # comment out to disable the options. |
