diff --git a/Makefile b/Makefile index 9d2b589f..91d22154 100644 --- a/Makefile +++ b/Makefile @@ -396,6 +396,10 @@ $(foreach image,$(GEN_IMAGES),$(eval $(call MakeImage,$(basename $(image))))) # INCLUDES := $(INCLUDES) -I $(SDK_PATH)/include -I $(SDK_PATH)/extra_include -INCLUDES += -I $(SDK_PATH)/include/lwip -I $(SDK_PATH)/include/lwip/ipv4 -I $(SDK_PATH)/include/lwip/ipv6 INCLUDES += -I $(SDK_PATH)/include/espressif +INCLUDES += -I $(SDK_PATH)/include/lwip +INCLUDES += -I $(SDK_PATH)/include/lwip/ipv4 +INCLUDES += -I $(SDK_PATH)/include/lwip/ipv6 +INCLUDES += -I $(SDK_PATH)/include/nopoll INCLUDES += -I $(SDK_PATH)/include/spiffs +INCLUDES += -I $(SDK_PATH)/include/ssl diff --git a/examples/websocket_demo/Makefile b/examples/websocket_demo/Makefile index 3c8b45be..5dfe57f4 100644 --- a/examples/websocket_demo/Makefile +++ b/examples/websocket_demo/Makefile @@ -49,29 +49,31 @@ COMPONENTS_eagle.app.v6 = \ user/libuser.a \ websocket/libwebsocket.a -LINKFLAGS_eagle.app.v6 = \ - -L$(SDK_PATH)/lib \ - -Wl,--gc-sections \ - -nostdlib \ - -T$(LD_FILE) \ - -Wl,--no-check-sections \ - -u call_user_start \ - -Wl,-static \ - -Wl,--start-group \ - -lminic \ - -lgcc \ - -lhal \ - -lphy \ - -lpp \ - -lnet80211 \ - -lwpa \ - -lcrypto \ - -lmain \ - -lfreertos \ - -llwip \ - -lsmartconfig \ - $(DEP_LIBS_eagle.app.v6) \ - -Wl,--end-group +LINKFLAGS_eagle.app.v6 = \ + -L$(SDK_PATH)/lib \ + -Wl,--gc-sections \ + -nostdlib \ + -T$(LD_FILE) \ + -Wl,--no-check-sections \ + -u call_user_start \ + -Wl,-static \ + -Wl,--start-group \ + -lcirom \ + -lgcc \ + -lhal \ + -lcrypto \ + -lfreertos \ + -llwip \ + -lmain \ + -lnet80211 \ + -lnopoll \ + -lphy \ + -lpp \ + -lsmartconfig \ + -lssl \ + -lwpa \ + $(DEP_LIBS_eagle.app.v6)\ + -Wl,--end-group DEPENDS_eagle.app.v6 = \ $(LD_FILE) \