1
0
Fork 0

Adds the toolchain dir to a variable

This commit is contained in:
Pedro de Oliveira 2017-03-23 10:46:49 +00:00
parent 06ebb82a70
commit 1666b1be96
1 changed files with 7 additions and 5 deletions

View File

@ -54,11 +54,13 @@ ASM_SOURCES = \
#######################################
# binaries
#######################################
CC = arm-none-eabi-gcc
AS = arm-none-eabi-gcc -x assembler-with-cpp
CP = arm-none-eabi-objcopy
AR = arm-none-eabi-ar
SZ = arm-none-eabi-size
TOOLCHAIN=/mnt/wd/toolchain/gcc-arm-none-eabi-6-2017-q1-update/install-native/bin
CC = ${TOOLCHAIN}/arm-none-eabi-gcc
AS = ${TOOLCHAIN}/arm-none-eabi-gcc -x assembler-with-cpp
CP = ${TOOLCHAIN}/arm-none-eabi-objcopy
AR = ${TOOLCHAIN}/arm-none-eabi-ar
SZ = ${TOOLCHAIN}/arm-none-eabi-size
HEX = $(CP) -O ihex
BIN = $(CP) -O binary -S