Fixed wrong build options resulting in bogus disassembly

master
Ondřej Hruška 9 years ago
parent 0812f21fae
commit 99eea5d764
  1. 10
      Makefile

@ -15,11 +15,6 @@ ASOPTS = --cpu Cortex-M3 --apcs interwork
# Add library to include path # Add library to include path
ASOPTS += -I$(lib_dir) ASOPTS += -I$(lib_dir)
# Debug flags
ifeq ($(G), 1)
ASOPTS += -g
endif
##################################################################################### #####################################################################################
# LINKER CONFIG # LINKER CONFIG
@ -29,11 +24,6 @@ LDOPTS = --cpu Cortex-M3 --strict
LDOPTS += --ro-base 0x08000000 --entry 0x08000000 --rw-base 0x20000000 LDOPTS += --ro-base 0x08000000 --entry 0x08000000 --rw-base 0x20000000
LDOPTS += --entry Reset_Handler --first __Vectors LDOPTS += --entry Reset_Handler --first __Vectors
# Debug flags
ifneq ($(G), 1)
LDOPTS += --no_debug
endif
# Verbose flags (run make V=1) # Verbose flags (run make V=1)
ifeq ($(V), 1) ifeq ($(V), 1)
LDOPTS += --summary_stderr --map --xref --callgraph --symbols LDOPTS += --summary_stderr --map --xref --callgraph --symbols

Loading…
Cancel
Save