aboutsummaryrefslogtreecommitdiff
path: root/esp8266/Makefile
diff options
context:
space:
mode:
authorDamien George2014-11-28 14:58:25 +0000
committerDamien George2014-11-28 14:58:25 +0000
commitfbea8100432abbdfde3d866d5bea1d8b4f87d217 (patch)
treef78953ebda69a6c76df5ef509f17955d711e9944 /esp8266/Makefile
parent5f100657188c3f6e53db9d90f7ceebc4753bf44b (diff)
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.
Diffstat (limited to 'esp8266/Makefile')
-rw-r--r--esp8266/Makefile3
1 files changed, 2 insertions, 1 deletions
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 \