From 941d14f821010b339da9936a1859ad0de179f91a Mon Sep 17 00:00:00 2001 From: Simon John Date: Sat, 25 Apr 2015 14:35:40 +0100 Subject: [PATCH] Add support for SDK 1.0.1 release Includes C99 patch (wish they'd accept that upstream!) Doesn't need the SSL patch from the beta's --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f53e25d..51aeaf7 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,14 @@ TOP = $(PWD) TOOLCHAIN = $(TOP)/xtensa-lx106-elf -VENDOR_SDK = 1.0.0 +VENDOR_SDK = 1.0.1 UNZIP = unzip -q -o VENDOR_SDK_ZIP = $(VENDOR_SDK_ZIP_$(VENDOR_SDK)) VENDOR_SDK_DIR = $(VENDOR_SDK_DIR_$(VENDOR_SDK)) +VENDOR_SDK_ZIP_1.0.1 = esp_iot_sdk_v1.0.1_15_04_24.zip +VENDOR_SDK_DIR_1.0.1 = esp_iot_sdk_v1.0.1 VENDOR_SDK_ZIP_1.0.1b2 = esp_iot_sdk_v1.0.1_b2_15_04_10.zip VENDOR_SDK_DIR_1.0.1b2 = esp_iot_sdk_v1.0.1_b2 VENDOR_SDK_ZIP_1.0.1b1 = esp_iot_sdk_v1.0.1_b1_15_04_02.zip @@ -56,6 +58,10 @@ libcirom: $(TOOLCHAIN)/xtensa-lx106-elf/sysroot/lib/libcirom.a sdk_patch: .sdk_patch_$(VENDOR_SDK) +.sdk_patch_1.0.1: + patch -d $(VENDOR_SDK_DIR_1.0.1) -p1 < c_types-c99.patch + @touch $@ + .sdk_patch_1.0.1b2: libssl.zip esp_iot_sdk_v1.0.1_b2/.dir $(UNZIP) $< mv libssl/libssl.a $(VENDOR_SDK_DIR_1.0.1b2)/lib/ @@ -122,6 +128,9 @@ $(VENDOR_SDK_DIR)/.dir: $(VENDOR_SDK_ZIP) -mv License $(VENDOR_SDK_DIR) touch $@ +esp_iot_sdk_v1.0.1_15_04_24.zip: + wget --content-disposition "http://bbs.espressif.com/download/file.php?id=325" + esp_iot_sdk_v1.0.1_b2_15_04_10.zip: wget --content-disposition "http://bbs.espressif.com/download/file.php?id=293"