From a48b12fd71ee6a2e9fac7c62b66ba49b1d47ff39 Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Fri, 1 Apr 2016 14:30:29 -0700 Subject: [PATCH] Add patch for sdk 1.5.2, from http://bbs.espressif.com/viewtopic.php?f=46&t=1856 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 23015cd..1a4cf60 100644 --- a/Makefile +++ b/Makefile @@ -174,8 +174,10 @@ sdk_patch: $(VENDOR_SDK_DIR)/.dir .sdk_patch_$(VENDOR_SDK) cd $(VENDOR_SDK_DIR)/lib; mkdir -p tmp; cd tmp; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar x ../libcrypto.a; cd ..; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar rs libwpa.a tmp/*.o @touch $@ -.sdk_patch_1.5.2: +.sdk_patch_1.5.2: Patch01_for_ESP8266_NONOS_SDK_V1.zip echo -e "#undef ESP_SDK_VERSION\n#define ESP_SDK_VERSION 010502" >>$(VENDOR_SDK_DIR)/include/esp_sdk_ver.h + $(UNZIP) Patch01_for_ESP8266_NONOS_SDK_V1.5.2.zip + mv libssl.a libnet80211.a libmain.a $(VENDOR_SDK_DIR_1.5.2)/lib/ $(PATCH) -d $(VENDOR_SDK_DIR) -p1 < c_types-c99.patch cd $(VENDOR_SDK_DIR)/lib; mkdir -p tmp; cd tmp; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar x ../libcrypto.a; cd ..; $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar rs libwpa.a tmp/*.o @touch $@ @@ -366,6 +368,8 @@ libsmartconfig_2.4.2.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=585" lib_mem_optimize_150714.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=594" +Patch01_for_ESP8266_NONOS_SDK_V1.zip: + wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1168" clean-sdk: rm -rf $(VENDOR_SDK_DIR)