]> granicus.if.org Git - esp-idf/commitdiff
esp32: fix few components with dependency on networking stack
authorMahavir Jain <mahavir@espressif.com>
Wed, 14 Mar 2018 08:17:04 +0000 (13:47 +0530)
committerMahavir Jain <mahavir@espressif.com>
Thu, 19 Apr 2018 12:58:55 +0000 (18:28 +0530)
* Move smartconfig to its component directory, it should be possible to override
  this as whole component
* Fix few header includes related to lwIP networking stack

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
components/esp32/cpu_start.c
components/smartconfig/component.mk [new file with mode: 0644]
components/smartconfig/include/smartconfig.h [moved from components/esp32/smartconfig.h with 100% similarity]
components/smartconfig/smartconfig.c [moved from components/esp32/smartconfig.c with 100% similarity]
components/wpa_supplicant/port/include/os.h

index 7f0e1573d85eccd3e60cdfffbf43a3cdce2e055a..0454e3ac2d91f1c15dc1e53b3a22faa60a3573c0 100644 (file)
@@ -38,8 +38,6 @@
 #include "freertos/queue.h"
 #include "freertos/portmacro.h"
 
-#include "tcpip_adapter.h"
-
 #include "esp_heap_caps_init.h"
 #include "sdkconfig.h"
 #include "esp_system.h"
@@ -55,6 +53,7 @@
 #include "esp_newlib.h"
 #include "esp_brownout.h"
 #include "esp_int_wdt.h"
+#include "esp_task.h"
 #include "esp_task_wdt.h"
 #include "esp_phy_init.h"
 #include "esp_cache_err_int.h"
diff --git a/components/smartconfig/component.mk b/components/smartconfig/component.mk
new file mode 100644 (file)
index 0000000..58eac9a
--- /dev/null
@@ -0,0 +1,2 @@
+#
+# Component Makefile
index e6da894e92b2d0bd44cf117d82941e2041d9f4a6..468d54ffe826e984b3febc0e9f7a9cb9a3f92cba 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include "rom/ets_sys.h"
-#include "lwip/mem.h"
+
 typedef long os_time_t;
 
 /**