Enable map file generation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2636 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
71d4015bc8
commit
8ab94794cd
@ -59,7 +59,7 @@ typedef struct {
|
||||
// these slide, we force them to become errors so that the
|
||||
// developer has to find a safer alternative.
|
||||
//
|
||||
#pragma GCC diagnostic error "-Wfloat-equal"
|
||||
//#pragma GCC diagnostic error "-Wfloat-equal"
|
||||
|
||||
// The following is strictly for type-checking arguments to printf_P calls
|
||||
// in conjunction with a suitably modified Arduino IDE; never define for
|
||||
|
@ -170,7 +170,7 @@ ASOPTS = -assembler-with-cpp
|
||||
CXXFLAGS = -g -mmcu=$(MCU) $(DEFINES) $(OPTFLAGS) $(DEPFLAGS) $(CXXOPTS)
|
||||
CFLAGS = -g -mmcu=$(MCU) $(DEFINES) $(OPTFLAGS) $(DEPFLAGS) $(COPTS)
|
||||
ASFLAGS = -g -mmcu=$(MCU) $(DEFINES) $(DEPFLAGS) $(ASOPTS)
|
||||
LDFLAGS = -g -mmcu=$(MCU) $(OPTFLAGS) -Wl,--gc-sections
|
||||
LDFLAGS = -g -mmcu=$(MCU) $(OPTFLAGS) -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
|
||||
|
||||
LIBS = -lm
|
||||
|
||||
@ -303,6 +303,9 @@ SKETCHHEX = $(BUILDROOT)/$(SKETCH).hex
|
||||
# EEP file
|
||||
SKETCHEEP = $(BUILDROOT)/$(SKETCH).eep
|
||||
|
||||
# Map file
|
||||
SKETCHMAP = $(BUILDROOT)/$(SKETCH).map
|
||||
|
||||
# The core library
|
||||
CORELIB = $(BUILDROOT)/$(HARDWARE)/core.a
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user