diff --git a/port/esp32/components/btstack/component.mk b/port/esp32/components/btstack/component.mk index c2931b8bc..9953eef47 100644 --- a/port/esp32/components/btstack/component.mk +++ b/port/esp32/components/btstack/component.mk @@ -15,6 +15,8 @@ COMPONENT_ADD_INCLUDEDIRS := \ 3rd-party/bluedroid/encoder/include \ 3rd-party/hxcmod-player \ 3rd-party/hxcmod-player/mods \ + ../lwip/lwip/src/include \ + 3rd-party/lwip/dhcp-server \ 3rd-party/md5 \ 3rd-party/yxml \ src/classic \ @@ -24,6 +26,7 @@ COMPONENT_ADD_INCLUDEDIRS := \ src \ platform/embedded \ platform/freertos \ + platform/lwip \ include \ COMPONENT_PRIV_INCLUDEDIRS := \ @@ -34,6 +37,8 @@ COMPONENT_SRCDIRS := \ 3rd-party/bluedroid/encoder/srce \ 3rd-party/hxcmod-player \ 3rd-party/hxcmod-player/mods \ + ../lwip/lwip/src/apps/httpd \ + 3rd-party/lwip/dhcp-server \ 3rd-party/micro-ecc \ 3rd-party/md5 \ src/ble/gatt-service \ @@ -41,6 +46,7 @@ COMPONENT_SRCDIRS := \ src/classic \ src/ \ platform/freertos \ + platform/lwip \ . \ CFLAGS += -Wno-format diff --git a/port/esp32/create_examples.py b/port/esp32/create_examples.py index 2ba9809e5..733b9a1a5 100755 --- a/port/esp32/create_examples.py +++ b/port/esp32/create_examples.py @@ -48,7 +48,7 @@ def create_examples(script_path, suffix): for file in os.listdir(examples_embedded): if not file.endswith(".c"): continue - if file in ['panu_demo.c', 'sco_demo_util.c', 'ant_test.c', 'pan_lwip_http_server.c']: + if file in ['panu_demo.c', 'sco_demo_util.c', 'ant_test.c']: continue example = file[:-2] diff --git a/port/esp32/integrate_btstack.py b/port/esp32/integrate_btstack.py index b62ee2099..1672293d4 100755 --- a/port/esp32/integrate_btstack.py +++ b/port/esp32/integrate_btstack.py @@ -39,6 +39,7 @@ dirs_to_copy = [ 'src', '3rd-party/bluedroid', '3rd-party/hxcmod-player', +'3rd-party/lwip/dhcp-server', '3rd-party/micro-ecc', '3rd-party/md5', '3rd-party/yxml',