Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Allow compilation of the open LWIP for SDK 1.4. #30

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ sdk_patch: .sdk_patch_$(VENDOR_SDK_VERSION)

.sdk_patch_1.4.0:
patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(PATCHES_DIR)/c_types-c99.patch
patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(PATCHES_DIR)/dhcps_lease-1.4.0.patch
@touch $@

.sdk_patch_1.3.0:
Expand Down
12 changes: 12 additions & 0 deletions src/patches/dhcps_lease-1.4.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- esp_sdk.org/include/user_interface.h 2016-01-01 21:22:29.000000000 +0200
+++ esp_sdk/include/user_interface.h 2015-09-22 04:13:52.000000000 +0300
@@ -275,6 +275,9 @@
};

struct dhcps_lease {
+#ifdef LWIP_OPEN_SRC
+ bool enable;
+#endif
struct ip_addr start_ip;
struct ip_addr end_ip;
};