Re enabled open-source LWIP using dummy.c

Fixed the RAM issue.
This commit is contained in:
HuangRui 2015-02-16 21:50:08 +08:00
parent 2d53b4e90a
commit bb0a5b1d7c
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,7 @@ SPECIAL_MKTARGETS=$(APP_MKTARGETS)
SUBDIRS= \ SUBDIRS= \
user \ user \
driver \ driver \
lwip \
json \ json \
upgrade \ upgrade \
platform \ platform \
@ -69,6 +70,7 @@ endif
COMPONENTS_eagle.app.v6 = \ COMPONENTS_eagle.app.v6 = \
user/libuser.a \ user/libuser.a \
driver/libdriver.a \ driver/libdriver.a \
lwip/liblwip.a \
json/libjson.a \ json/libjson.a \
upgrade/libupgrade.a \ upgrade/libupgrade.a \
platform/libplatform.a \ platform/libplatform.a \
@ -99,7 +101,6 @@ LINKFLAGS_eagle.app.v6 = \
-ljson \ -ljson \
-lsmartconfig \ -lsmartconfig \
-lssl \ -lssl \
-llwip \
$(DEP_LIBS_eagle.app.v6) \ $(DEP_LIBS_eagle.app.v6) \
-Wl,--end-group -Wl,--end-group

4
app/lwip/app/dummy.c Normal file
View File

@ -0,0 +1,4 @@
void espconn_init()
{
// dummy function, do nothing.
}