Fix Updater potential overflow, add host tests by earlephilhower · Pull Request #6954 · esp8266/Arduino (original) (raw)

diff --git a/tests/host/Makefile b/tests/host/Makefile index 119e8f79..f6361f36 100644 --- a/tests/host/Makefile +++ b/tests/host/Makefile @@ -6,6 +6,7 @@ LIBRARIES_PATH := ../../libraries FORCE32 ?= 1 OPTZ ?= -Os V ?= 0 +DEFSYM_FS ?= -Wl,--defsym,_FS_start=0x40300000 -Wl,--defsym,_FS_end=0x411FA000 -Wl,--defsym,_FS_page=0x100 -Wl,--defsym,_FS_block=0x2000 -Wl,--defsym,_EEPROM_start=0x411fb000

MAKEFILE = (word1,(word 1, (word1,(MAKEFILE_LIST))

@@ -236,7 +237,7 @@ (BINDIR)/core.a:(BINDIR)/core.a: (BINDIR)/core.a:(C_OBJECTS) $(CPP_OBJECTS_CORE) ranlib -c $@

(OUTPUTBINARY):(OUTPUT_BINARY): (OUTPUTBINARY):(CPP_OBJECTS_TESTS) $(BINDIR)/core.a

#################################################

building ino sources

Now we have FS... as addresses, without .ld
Values are from eagle.flash.16m15m.ld