1
0

Move chibios/cortex selection to local Makefiles.

This commit is contained in:
flabbergast 2015-10-12 10:38:47 +01:00
parent 9178ea2d73
commit 2b4066bb93
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,9 @@ MCU_STARTUP = stm32f0xx
# it should exist either in <chibios>/os/hal/boards/ # it should exist either in <chibios>/os/hal/boards/
# or <this_dir>/boards # or <this_dir>/boards
BOARD = ST_STM32F072B_DISCOVERY BOARD = ST_STM32F072B_DISCOVERY
# Cortex version
# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
MCU = cortex-m0
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
ARMV = 6 ARMV = 6
# If you want to be able to jump to bootloader from firmware on STM32 MCUs, # If you want to be able to jump to bootloader from firmware on STM32 MCUs,

View File

@ -162,8 +162,6 @@ INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
# Compiler settings # Compiler settings
# #
MCU = cortex-m0
#TRGT = arm-elf- #TRGT = arm-elf-
TRGT = arm-none-eabi- TRGT = arm-none-eabi-
CC = $(TRGT)gcc CC = $(TRGT)gcc