Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation of custom LWIP #878

Merged
merged 2 commits into from
Jan 19, 2017
Merged

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Jan 19, 2017

This feature allows Sming users to compile their custom LWIP library based on the open-sourced Espressif LWIP version for SDK 1.5.

There are some catches:

  • Custom LWIP compilation will work for users of esp-open-sdk 1.4 BUT not for esp-alt-sdk 1.4 (a patch is proposed and waits for comment/approval: Allow compilation of the open LWIP for SDK 1.4. AutomationD/esp-alt-sdk#30)
  • By default LWIP compiles with espconn methods in it. They are needed by smartconfig and probably other closed-source libraries. If you don't use smartconfig you can compile liblwip_open with the following commands:
cd $SMING_HOME
rm compiler/lib/liblwip_open.a
make compiler/lib/liblwip_open.a ENABLE_CUSTOM_LWIP=1 ENABLE_ESPCONN=0

Related to #874, #515 and #313.

If a user does not need the espconn methods from LWIP he/she can compile Sming with
`make ENABLE_CUSTOM_LWIP=1 ENABLE_ESPCONN=0`
@slaff slaff mentioned this pull request Jan 19, 2017
15 tasks
@slaff slaff merged commit fdf41a3 into SmingHub:develop Jan 19, 2017
johndoe8967 added a commit to johndoe8967/Sming that referenced this pull request Jan 22, 2017
* commit 'fdf41a301df3f311da5ceb279603e4be0ecaeaf2':
  Allow compilation of custom LWIP (SmingHub#878)
  Compile libsming(ssl) on demand (SmingHub#879)
  Fix websocket client key generation (SmingHub#871)
  Preparation for release 3.0.1. (SmingHub#869)
  Fixed compilation of Sming with custom heap enabled. (SmingHub#868)
  spiffs_mount() added (SmingHub#865)
@slaff slaff deleted the feature/lwip-open branch February 23, 2017 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants