Browse Source

Move chibios/cortex selection to local Makefiles.

tags/v2.9
flabbergast 8 years ago
parent
commit
2b4066bb93
2 changed files with 3 additions and 2 deletions
  1. 3
    0
      keyboard/stm32_onekey/Makefile
  2. 0
    2
      tmk_core/tool/chibios/chibios.mk

+ 3
- 0
keyboard/stm32_onekey/Makefile View File

@@ -35,6 +35,9 @@ MCU_STARTUP = stm32f0xx
# it should exist either in <chibios>/os/hal/boards/
# or <this_dir>/boards
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
ARMV = 6
# If you want to be able to jump to bootloader from firmware on STM32 MCUs,

+ 0
- 2
tmk_core/tool/chibios/chibios.mk View File

@@ -162,8 +162,6 @@ INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
# Compiler settings
#

MCU = cortex-m0

#TRGT = arm-elf-
TRGT = arm-none-eabi-
CC = $(TRGT)gcc

Loading…
Cancel
Save