From 5c7a3dae7b4f133bb982533f3cb454f5710d561c Mon Sep 17 00:00:00 2001 From: slaff Date: Sat, 13 Jun 2015 00:55:59 +0200 Subject: [PATCH] Update SDK to version 1.1.2 --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9862ac2..dc95df6 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,14 @@ TOP = $(PWD) TOOLCHAIN = $(TOP)/xtensa-lx106-elf -VENDOR_SDK = 1.1.1 +VENDOR_SDK = 1.1.2 UNZIP = unzip -q -o VENDOR_SDK_ZIP = $(VENDOR_SDK_ZIP_$(VENDOR_SDK)) VENDOR_SDK_DIR = $(VENDOR_SDK_DIR_$(VENDOR_SDK)) +VENDOR_SDK_ZIP_1.1.2 = esp_iot_sdk_v1.1.2_15_06_12.zip +VENDOR_SDK_DIR_1.1.2 = esp_iot_sdk_v1.1.2 VENDOR_SDK_ZIP_1.1.1 = esp_iot_sdk_v1.1.1_15_06_05.zip VENDOR_SDK_DIR_1.1.1 = esp_iot_sdk_v1.1.1 VENDOR_SDK_ZIP_1.1.0 = esp_iot_sdk_v1.1.0_15_05_26.zip @@ -65,6 +67,11 @@ libcirom: $(TOOLCHAIN)/xtensa-lx106-elf/sysroot/lib/libcirom.a sdk_patch: .sdk_patch_$(VENDOR_SDK) +.sdk_patch_1.1.2: empty_user_rf_pre_init.o + patch -N -f -d $(VENDOR_SDK_DIR_1.1.2) -p1 < c_types-c99.patch + $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar r $(VENDOR_SDK_DIR_1.1.2)/lib/libmain.a empty_user_rf_pre_init.o + @touch $@ + .sdk_patch_1.1.1: empty_user_rf_pre_init.o patch -N -f -d $(VENDOR_SDK_DIR_1.1.1) -p1 < c_types-c99.patch $(TOOLCHAIN)/bin/xtensa-lx106-elf-ar r $(VENDOR_SDK_DIR_1.1.1)/lib/libmain.a empty_user_rf_pre_init.o @@ -157,6 +164,9 @@ $(VENDOR_SDK_DIR)/.dir: $(VENDOR_SDK_ZIP) $(UNZIP) $^ -mv License $(VENDOR_SDK_DIR) touch $@ + +esp_iot_sdk_v1.1.2_15_06_12.zip: + wget --content-disposition "http://bbs.espressif.com/download/file.php?id=521" esp_iot_sdk_v1.1.1_15_06_05.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=484"