From fbea8100432abbdfde3d866d5bea1d8b4f87d217 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 28 Nov 2014 14:58:25 +0000 Subject: esp8266: Change bignum from mpz to longlong; move some rodata to iram. Some rodata items can go in iram/irom segment, but not others. With this patch ESP now has 24256 bytes of heap ram. It passes 228 out of 248 tests from tests/basics directory. --- esp8266/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'esp8266/Makefile') diff --git a/esp8266/Makefile b/esp8266/Makefile index 1e5555a3a..10f6d7e2d 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -27,7 +27,7 @@ LDFLAGS = -nostdlib -T esp8266.ld -Map=$(@:.elf=.map) --cref LIBS = -L$(ESP_SDK)/lib -lmain -ljson -llwip -lpp -lnet80211 -lwpa -lphy -lnet80211 LIBGCC_FILE_NAME = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) -LIBS += -L $(dir $(LIBGCC_FILE_NAME)) -lgcc +LIBS += -L$(dir $(LIBGCC_FILE_NAME)) -lgcc # Debugging/Optimization ifeq ($(DEBUG), 1) @@ -40,6 +40,7 @@ LDFLAGS += --gc-sections endif SRC_C = \ + strtoll.c \ main.c \ esp_mphal.c \ gccollect.c \ -- cgit v1.2.3