[Core] Cleanup rules.mk for F303 keyboards (#7306)
* Cleanup rules.mk for F303 keyboards * Fix small typo
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
# project specific files
|
# MCU name
|
||||||
LAYOUTS += ortho_4x12
|
MCU = STM32F303
|
||||||
|
|
||||||
# Cortex version
|
|
||||||
MCU = STM32F303
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# comment out to disable the options.
|
# comment out to disable the options.
|
||||||
@@ -22,3 +19,5 @@ RGBLIGHT_ENABLE = no
|
|||||||
# SERIAL_LINK_ENABLE = yes
|
# SERIAL_LINK_ENABLE = yes
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes
|
||||||
RGB_MATRIX_ENABLE = IS31FL3737
|
RGB_MATRIX_ENABLE = IS31FL3737
|
||||||
|
|
||||||
|
LAYOUTS += ortho_4x12
|
||||||
|
|||||||
@@ -7,15 +7,15 @@ ifneq ($(findstring STM32F303, $(MCU)),)
|
|||||||
|
|
||||||
# Linker script to use
|
# Linker script to use
|
||||||
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
|
||||||
# or <this_dir>/ld/
|
# or <keyboard_dir>/ld/
|
||||||
MCU_LDSCRIPT ?= STM32F303xC
|
MCU_LDSCRIPT ?= STM32F303xC
|
||||||
|
|
||||||
# Startup code to use
|
# Startup code to use
|
||||||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
|
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
|
||||||
MCU_STARTUP ?= stm32f3xx
|
MCU_STARTUP ?= stm32f3xx
|
||||||
|
|
||||||
# Board: it should exist either in <chibios>/os/hal/boards/
|
# Board: it should exist either in <chibios>/os/hal/boards/,
|
||||||
# or <this_dir>/boards
|
# <keyboard_dir>/boards/, or drivers/boards/
|
||||||
BOARD ?= GENERIC_STM32_F303XC
|
BOARD ?= GENERIC_STM32_F303XC
|
||||||
|
|
||||||
# Cortex version
|
# Cortex version
|
||||||
@@ -27,7 +27,7 @@ ifneq ($(findstring STM32F303, $(MCU)),)
|
|||||||
USE_FPU = yes
|
USE_FPU = yes
|
||||||
|
|
||||||
# Vector table for application
|
# Vector table for application
|
||||||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
|
# 0x00000000-0x00001000 area is occupied by bootloader.*/
|
||||||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
||||||
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
|
# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user