Skip to content
Snippets Groups Projects
Commit c952f8e6 authored by dam1n19's avatar dam1n19
Browse files

SOC1-167: Arm target added to asm

parent 9e611e4a
No related branches found
No related tags found
No related merge requests found
...@@ -129,16 +129,16 @@ COMPILE_MICROLIB = 0 ...@@ -129,16 +129,16 @@ COMPILE_MICROLIB = 0
COMPILE_SMALLMUL = 0 COMPILE_SMALLMUL = 0
ifeq ($(TOOL_CHAIN),ds6) ifeq ($(TOOL_CHAIN),ds6)
ARM_TARGET = --target=arm-$(TARGET)
CC_TOOL = armclang CC_TOOL = armclang
ASM_TOOL = armclang -masm=armasm ASM_TOOL = armclang -masm=armasm $(ARM_TARGET)
ARM_CC_TARGET = --target=arm-$(TARGET)
else else
CC_TOOL = armcc CC_TOOL = armcc
ASM_TOOL = armasm ASM_TOOL = armasm
ARM_CC_TARGET = -Otime ARM_TARGET = -Otime
endif endif
ARM_CC_OPTIONS = $(ARM_CC_TARGET) -c -O3 -g -I $(DEVICE_DIR)/Include -I $(CORE_DIR) $(USER_DEFINE) ARM_CC_OPTIONS = $(ARM_TARGET) -c -O3 -g -I $(DEVICE_DIR)/Include -I $(CORE_DIR) $(USER_DEFINE)
ARM_ASM_OPTIONS = -g ARM_ASM_OPTIONS = -g
ARM_LINK_OPTIONS = "--keep=$(STARTUP_FILE).o(RESET)" "--first=$(STARTUP_FILE).o(RESET)" \ ARM_LINK_OPTIONS = "--keep=$(STARTUP_FILE).o(RESET)" "--first=$(STARTUP_FILE).o(RESET)" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment