From e95cd3ae22891b2fdd5244fdbdf008f06bafe89d Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Sat, 13 Aug 2016 22:09:22 -0700 Subject: [PATCH] Add patch for SDK 2.0.0 (20160809). --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d2768a..9c75fd1 100644 --- a/Makefile +++ b/Makefile @@ -184,8 +184,10 @@ $(VENDOR_SDK_DIR_1.5.4)/.dir: $(VENDOR_SDK_ZIP_1.5.4) sdk_patch: $(VENDOR_SDK_DIR)/.dir .sdk_patch_$(VENDOR_SDK) -.sdk_patch_2.0.0: user_rf_cal_sector_set.o +.sdk_patch_2.0.0: ESP8266_NONOS_SDK_V2.0.0_patch_16_08_09.zip user_rf_cal_sector_set.o echo -e "#undef ESP_SDK_VERSION\n#define ESP_SDK_VERSION 020000" >>$(VENDOR_SDK_DIR)/include/esp_sdk_ver.h + $(UNZIP) ESP8266_NONOS_SDK_V2.0.0_patch_16_08_09.zip + mv libmain.a libnet80211.a libpp.a $(VENDOR_SDK_DIR_2.0.0)/lib/ $(PATCH) -d $(VENDOR_SDK_DIR) -p1 < c_types-c99_sdk_2.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 $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar r $(VENDOR_SDK_DIR)/lib/libmain.a user_rf_cal_sector_set.o @@ -406,6 +408,8 @@ lib_mem_optimize_150714.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=594" Patch01_for_ESP8266_NONOS_SDK_V1.5.2.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1168" +ESP8266_NONOS_SDK_V2.0.0_patch_16_08_09.zip: + wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1654" clean-sdk: rm -rf $(VENDOR_SDK_DIR)