Jelajahi Sumber

Merge branch 'refactor/components_linux_compatible' into 'master'

Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
Zim Kalinowski 2 tahun lalu
induk
melakukan
fa1a3ce0b5
51 mengubah file dengan 295 tambahan dan 14 penghapusan
  1. 6 0
      components/app_trace/CMakeLists.txt
  2. 6 0
      components/app_update/CMakeLists.txt
  3. 6 0
      components/bootloader/CMakeLists.txt
  4. 6 0
      components/bootloader_support/CMakeLists.txt
  5. 6 0
      components/bt/CMakeLists.txt
  6. 7 0
      components/console/CMakeLists.txt
  7. 6 0
      components/cxx/CMakeLists.txt
  8. 4 0
      components/driver/CMakeLists.txt
  9. 4 0
      components/efuse/CMakeLists.txt
  10. 4 0
      components/esp_adc/CMakeLists.txt
  11. 6 0
      components/esp_app_format/CMakeLists.txt
  12. 6 0
      components/esp_bootloader_format/CMakeLists.txt
  13. 4 0
      components/esp_coex/CMakeLists.txt
  14. 6 0
      components/esp_eth/CMakeLists.txt
  15. 7 1
      components/esp_gdbstub/CMakeLists.txt
  16. 6 0
      components/esp_hid/CMakeLists.txt
  17. 6 0
      components/esp_https_ota/CMakeLists.txt
  18. 6 0
      components/esp_lcd/CMakeLists.txt
  19. 6 0
      components/esp_local_ctrl/CMakeLists.txt
  20. 4 0
      components/esp_mm/CMakeLists.txt
  21. 1 0
      components/esp_netif/Kconfig
  22. 2 2
      components/esp_netif/loopback/esp_netif_loopback.c
  23. 4 0
      components/esp_phy/CMakeLists.txt
  24. 6 0
      components/esp_pm/CMakeLists.txt
  25. 4 0
      components/esp_psram/CMakeLists.txt
  26. 6 0
      components/esp_ringbuf/CMakeLists.txt
  27. 6 0
      components/esp_timer/CMakeLists.txt
  28. 6 1
      components/esp_wifi/CMakeLists.txt
  29. 7 1
      components/espcoredump/CMakeLists.txt
  30. 6 0
      components/esptool_py/CMakeLists.txt
  31. 4 0
      components/idf_test/CMakeLists.txt
  32. 5 1
      components/ieee802154/CMakeLists.txt
  33. 6 0
      components/newlib/CMakeLists.txt
  34. 6 0
      components/nvs_sec_provider/CMakeLists.txt
  35. 7 1
      components/openthread/CMakeLists.txt
  36. 6 0
      components/perfmon/CMakeLists.txt
  37. 6 0
      components/protocomm/CMakeLists.txt
  38. 6 0
      components/sdmmc/CMakeLists.txt
  39. 6 0
      components/touch_element/CMakeLists.txt
  40. 4 0
      components/ulp/CMakeLists.txt
  41. 6 0
      components/usb/CMakeLists.txt
  42. 6 0
      components/vfs/CMakeLists.txt
  43. 0 0
      components/wear_levelling/out.txt
  44. 6 0
      components/wifi_provisioning/CMakeLists.txt
  45. 6 0
      components/wpa_supplicant/CMakeLists.txt
  46. 52 1
      docs/en/api-guides/host-apps.rst
  47. 0 5
      examples/protocols/http_server/simple/CMakeLists.txt
  48. 0 0
      examples/protocols/http_server/simple/sdkconfig.defaults
  49. 2 0
      examples/protocols/sockets/udp_client/sdkconfig.defaults.linux
  50. 1 1
      tools/test_apps/linux_compatible/hello_world_linux_compatible/CMakeLists.txt
  51. 0 0
      tools/test_apps/linux_compatible/hello_world_linux_compatible/sdkconfig.defaults

+ 6 - 0
components/app_trace/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs
     "app_trace.c"
     "app_trace_util.c"

+ 6 - 0
components/app_update/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "esp_ota_ops.c" "esp_ota_app_desc.c"
                     INCLUDE_DIRS "include"
                     REQUIRES partition_table bootloader_support esp_app_format esp_bootloader_format esp_partition

+ 6 - 0
components/bootloader/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(PRIV_REQUIRES partition_table esptool_py)
 
 # Do not generate flash file when building bootloader or is in early expansion of the build

+ 6 - 0
components/bootloader_support/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs
     "src/bootloader_common.c"
     "src/bootloader_common_loader.c"

+ 6 - 0
components/bt/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 # API headers that are used in the docs are also compiled
 # even if CONFIG_BT_ENABLED=n as long as CONFIG_IDF_DOC_BUILD=y
 

+ 7 - 0
components/console/CMakeLists.txt

@@ -1,3 +1,10 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is currently not supported by the POSIX/Linux simulator, but we may support it in the
+             # future (TODO: IDF-8103)
+endif()
+
 set(argtable_srcs argtable3/arg_cmd.c
                   argtable3/arg_date.c
                   argtable3/arg_dbl.c

+ 6 - 0
components/cxx/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not necessary on the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "cxx_exception_stubs.cpp"
                             "cxx_guards.cpp"
                         # Make sure that pthread is in component list

+ 4 - 0
components/driver/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 # Always compiled source files
 set(srcs
     "gpio/gpio.c"

+ 4 - 0
components/efuse/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(CONFIG_EFUSE_VIRTUAL)
     message(STATUS "Efuse virtual mode is enabled. If Secure boot or Flash encryption is on"
         " it does not provide any security. FOR TESTING ONLY!")

+ 4 - 0
components/esp_adc/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(includes "include" "interface" "${target}/include" "deprecated/include")
 
 set(srcs "adc_cali.c"

+ 6 - 0
components/esp_app_format/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(NOT BOOTLOADER_BUILD)
     set(src "esp_app_desc.c")
 else()

+ 6 - 0
components/esp_bootloader_format/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "esp_bootloader_desc.c"
                        INCLUDE_DIRS "include")
 

+ 4 - 0
components/esp_coex/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(idf_target IDF_TARGET)
 
+if(${idf_target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(CONFIG_ESP_COEX_SW_COEXIST_ENABLE OR CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE)
     if(CONFIG_APP_NO_BLOBS)
         set(link_binary_libs 0)

+ 6 - 0
components/esp_eth/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_build_get_property(components_to_build BUILD_COMPONENTS)
 
 set(srcs)

+ 7 - 1
components/esp_gdbstub/CMakeLists.txt

@@ -1,4 +1,10 @@
-set(srcs "src/gdbstub.c"
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
+set(srcs "src/gdbstub.c"
          "src/gdbstub_transport.c"
          "src/packet.c")
 

+ 6 - 0
components/esp_hid/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs "src/esp_hidd.c"
          "src/esp_hidh.c"
          "src/esp_hid_common.c")

+ 6 - 0
components/esp_https_ota/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "src/esp_https_ota.c"
                     INCLUDE_DIRS "include"
                     REQUIRES esp_http_client bootloader_support esp_app_format esp_event

+ 6 - 0
components/esp_lcd/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs "src/esp_lcd_common.c"
          "src/esp_lcd_panel_io.c"
          "src/esp_lcd_panel_io_i2c_v1.c"

+ 6 - 0
components/esp_local_ctrl/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(include_dirs include)
 set(priv_include_dirs proto-c src ../protocomm/proto-c)
 set(srcs  "src/esp_local_ctrl.c"

+ 4 - 0
components/esp_mm/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(includes "include")
 
 # Note: requires spi_flash for cache_utils, will be refactored

+ 1 - 0
components/esp_netif/Kconfig

@@ -21,6 +21,7 @@ menu "ESP NETIF Adapter"
         config ESP_NETIF_TCPIP_LWIP
             bool "LwIP"
             select ESP_NETIF_USES_TCPIP_WITH_BSD_API
+            depends on LWIP_ENABLE
             help
                 lwIP is a small independent implementation of the TCP/IP protocol suite.
 

+ 2 - 2
components/esp_netif/loopback/esp_netif_loopback.c

@@ -270,13 +270,13 @@ void esp_netif_free_rx_buffer(void *h, void* buffer)
 
 esp_err_t esp_netif_transmit(esp_netif_t *esp_netif, void* data, size_t len)
 {
-    ESP_LOGV(TAG, "Transmitting data: ptr:%p, size:%d", data, len);
+    ESP_LOGV(TAG, "Transmitting data: ptr:%p, size:%lu", data, (long unsigned int) len);
     return (esp_netif->driver_transmit)(esp_netif->driver_handle, data, len);
 }
 
 esp_err_t esp_netif_receive(esp_netif_t *esp_netif, void *buffer, size_t len, void *eb)
 {
-    ESP_LOGV(TAG, "Received data: ptr:%p, size:%d", buffer, len);
+    ESP_LOGV(TAG, "Received data: ptr:%p, size:%lu", buffer, (long unsigned int) len);
     esp_netif_transmit(esp_netif, buffer, len);
     if (eb) {
         esp_netif_free_rx_buffer(esp_netif, eb);

+ 4 - 0
components/esp_phy/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(idf_target IDF_TARGET)
 
+if(${idf_target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(IDF_TARGET STREQUAL "esp32p4")
     # TODO: IDF-7460
     return()

+ 6 - 0
components/esp_pm/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "pm_locks.c" "pm_trace.c" "pm_impl.c"
                        INCLUDE_DIRS include
                        PRIV_REQUIRES esp_system driver esp_timer

+ 4 - 0
components/esp_psram/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(includes "include")
 
 set(priv_requires heap spi_flash esp_mm)

+ 6 - 0
components/esp_ringbuf/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "ringbuf.c"
                     INCLUDE_DIRS "include"
                     LDFRAGMENTS linker.lf)

+ 6 - 0
components/esp_timer/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+idf_component_register(INCLUDE_DIRS include)
+else()
+
 set(srcs "src/esp_timer.c"
          "src/ets_timer_legacy.c"
          "src/system_time.c"
@@ -20,3 +24,5 @@ idf_component_register(SRCS "${srcs}"
                     PRIV_INCLUDE_DIRS private_include
                     REQUIRES esp_common
                     PRIV_REQUIRES soc driver)
+
+endif()

+ 6 - 1
components/esp_wifi/CMakeLists.txt

@@ -1,5 +1,10 @@
+idf_build_get_property(idf_target IDF_TARGET)
+
+if(${idf_target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(CONFIG_ESP_WIFI_ENABLED)
-    idf_build_get_property(idf_target IDF_TARGET)
 
     if(CONFIG_APP_NO_BLOBS)
         set(link_binary_libs 0)

+ 7 - 1
components/espcoredump/CMakeLists.txt

@@ -1,4 +1,10 @@
-set(srcs "src/core_dump_common.c"
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
+set(srcs "src/core_dump_common.c"
          "src/core_dump_checksum.c"
          "src/core_dump_flash.c"
          "src/core_dump_uart.c"

+ 6 - 0
components/esptool_py/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(REQUIRES bootloader PRIV_REQUIRES partition_table)
 
 if(NOT BOOTLOADER_BUILD)

+ 4 - 0
components/idf_test/CMakeLists.txt

@@ -1,3 +1,7 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(INCLUDE_DIRS "include" "include/${target}")

+ 5 - 1
components/ieee802154/CMakeLists.txt

@@ -1,4 +1,8 @@
-idf_build_get_property(idf_target IDF_TARGET)
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
 
 set(srcs "")
 set(include "include")

+ 6 - 0
components/newlib/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(BOOTLOADER_BUILD)
     # Bootloader builds need the platform_include directory (for assert.h), but nothing else
     idf_component_register(INCLUDE_DIRS platform_include)

+ 6 - 0
components/nvs_sec_provider/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "nvs_sec_provider.c"
                        INCLUDE_DIRS include
                        PRIV_REQUIRES bootloader_support efuse esp_partition nvs_flash)

+ 7 - 1
components/openthread/CMakeLists.txt

@@ -1,11 +1,17 @@
+idf_build_get_property(idf_target IDF_TARGET)
+
+if(${idf_target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 if(CONFIG_OPENTHREAD_ENABLED OR CONFIG_IDF_DOC_BUILD)
+
     set(public_include_dirs
         "include"
         "openthread/include")
 endif()
 
 if(CONFIG_OPENTHREAD_ENABLED)
-    idf_build_get_property(idf_target IDF_TARGET)
 
     set(private_include_dirs
         "openthread/examples/platforms"

+ 6 - 0
components/perfmon/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_build_get_property(arch IDF_TARGET_ARCH)
 
 if(NOT "${arch}" STREQUAL "xtensa")

+ 6 - 0
components/protocomm/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(include_dirs include/common
                  include/security
                  include/transports)

+ 6 - 0
components/sdmmc/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 idf_component_register(SRCS "sdmmc_cmd.c"
                             "sdmmc_common.c"
                             "sdmmc_init.c"

+ 6 - 0
components/touch_element/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(TOUCH_ELEMENT_COMPATIBLE_TARGETS "esp32s2" "esp32s3")
 
 if(IDF_TARGET IN_LIST TOUCH_ELEMENT_COMPATIBLE_TARGETS)

+ 4 - 0
components/ulp/CMakeLists.txt

@@ -1,5 +1,9 @@
 idf_build_get_property(target IDF_TARGET)
 
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs "")
 set(includes "")
 

+ 6 - 0
components/usb/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs)
 set(include)
 set(priv_include)

+ 6 - 0
components/vfs/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 list(APPEND sources "vfs.c"
                     "vfs_eventfd.c"
                     "vfs_uart.c"

+ 0 - 0
components/wear_levelling/out.txt


+ 6 - 0
components/wifi_provisioning/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs "src/wifi_config.c"
         "src/wifi_scan.c"
         "src/wifi_ctrl.c"

+ 6 - 0
components/wpa_supplicant/CMakeLists.txt

@@ -1,3 +1,9 @@
+idf_build_get_property(target IDF_TARGET)
+
+if(${target} STREQUAL "linux")
+    return() # This component is not supported by the POSIX/Linux simulator
+endif()
+
 set(srcs "port/os_xtensa.c"
     "port/eloop.c"
     "src/ap/ap_config.c"

+ 52 - 1
docs/en/api-guides/host-apps.rst

@@ -82,6 +82,9 @@ Note that any "Yes" here does not necessarily mean a full implementation or mock
    * - Component
      - Mock
      - Simulation
+   * - cmock
+     - No
+     - Yes
    * - driver
      - Yes
      - No
@@ -91,12 +94,27 @@ Note that any "Yes" here does not necessarily mean a full implementation or mock
    * - esp_event
      - Yes
      - Yes
+   * - esp_http_client
+     - No
+     - Yes
+   * - esp_http_server
+     - No
+     - Yes
+   * - esp_https_server
+     - No
+     - Yes
    * - esp_hw_support
      - Yes
      - Yes
-   * - esp_partition
+   * - esp_netif
      - Yes
+     - Yes
+   * - esp_netif_stack
      - No
+     - Yes
+   * - esp_partition
+     - Yes
+     - Yes
    * - esp_rom
      - No
      - Yes
@@ -108,7 +126,10 @@ Note that any "Yes" here does not necessarily mean a full implementation or mock
      - No
    * - esp_tls
      - Yes
+     - Yes
+   * - fatfs
      - No
+     - Yes
    * - freertos
      - Yes
      - Yes
@@ -120,19 +141,49 @@ Note that any "Yes" here does not necessarily mean a full implementation or mock
      - Yes
    * - http_parser
      - Yes
+     - Yes
+   * - json
+     - No
+     - Yes
+   * - linux
      - No
+     - Yes
    * - log
      - No
      - Yes
    * - lwip
      - Yes
+     - Yes
+   * - mbedtls
+     - No
+     - Yes
+   * - mqtt
+     - No
+     - Yes
+   * - nvs_flash
+     - No
+     - Yes
+   * - partition_table
      - No
+     - Yes
+   * - protobuf-c
+     - No
+     - Yes
+   * - pthread
+     - No
+     - Yes
    * - soc
      - No
      - Yes
+   * - spiffs
+     - No
+     - Yes
    * - spi_flash
      - Yes
      - No
    * - tcp_transport
      - Yes
      - No
+   * - unity
+     - No
+     - Yes

+ 0 - 5
examples/protocols/http_server/simple/CMakeLists.txt

@@ -1,10 +1,5 @@
 # The following lines of boilerplate have to be in your project's CMakeLists
 # in this exact order for cmake to work correctly
 cmake_minimum_required(VERSION 3.16)
-
-if("${IDF_TARGET}" STREQUAL "linux")
-    set(COMPONENTS main)
-endif()
-
 include($ENV{IDF_PATH}/tools/cmake/project.cmake)
 project(simple)

+ 0 - 0
examples/protocols/http_server/simple/sdkconfig.defaults


+ 2 - 0
examples/protocols/sockets/udp_client/sdkconfig.defaults.linux

@@ -1 +1,3 @@
 CONFIG_LWIP_ENABLE=y
+CONFIG_EXAMPLE_IPV4_ADDR="127.0.0.1"
+CONFIG_EXAMPLE_CONNECT_LWIP_TAPIF=n

+ 1 - 1
tools/test_apps/linux_compatible/hello_world_linux_compatible/CMakeLists.txt

@@ -3,5 +3,5 @@
 cmake_minimum_required(VERSION 3.16)
 
 include($ENV{IDF_PATH}/tools/cmake/project.cmake)
-set(COMPONENTS main)
+
 project(hello_world)

+ 0 - 0
tools/test_apps/linux_compatible/hello_world_linux_compatible/sdkconfig.defaults