Skip to content

Commit 32be5ad

Browse files
committed
Merge branch 'fix/building' into 'feature/esp_as_mcu_host'
fix/building Updated how Hosted is included for building See merge request app-frameworks/esp_hosted!522
2 parents 00d6279 + f1940f2 commit 32be5ad

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
if(CONFIG_SOC_WIFI_SUPPORTED)
2-
message(STATUS "Not using Hosted Wi-Fi")
3-
else()
1+
if(CONFIG_ESP_HOSTED_ENABLED)
42
message(STATUS "Using Hosted Wi-Fi")
53
set(FG_root_dir ".")
64
set(host_dir "${FG_root_dir}/host")
@@ -66,7 +64,9 @@ if(CONFIG_ESP_SDIO_HOST_INTERFACE)
6664
idf_component_optional_requires(PRIVATE sdmmc)
6765
endif()
6866

69-
if(CONFIG_IDF_TARGET_ESP32P4 AND (CONFIG_ESP_SPI_HOST_INTERFACE OR CONFIG_ESP_SPI_HD_HOST_INTERFACE))
70-
# used to workaround SPI transfer issue
71-
idf_component_optional_requires(PRIVATE esp_mm)
72-
endif()
67+
# Required if using ESP-IDF without commit 6b6065de509b5de39e4655fd425bf96f43b365f7:
68+
# fix(driver_spi): fix p4 cache auto writeback during spi(dma) rx
69+
# if(CONFIG_IDF_TARGET_ESP32P4 AND (CONFIG_ESP_SPI_HOST_INTERFACE OR CONFIG_ESP_SPI_HD_HOST_INTERFACE))
70+
# # used to workaround SPI transfer issue
71+
# idf_component_optional_requires(PRIVATE esp_mm)
72+
# endif()

Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
config ESP_HOSTED_ENABLED
22
bool
3-
default y if ESP_WIFI_REMOTE_ENABLED
4-
default y if !SOC_WIFI_SUPPORTED
3+
default y if ESP_WIFI_REMOTE_ENABLED && ESP_WIFI_REMOTE_LIBRARY_HOSTED
54
default n
65

76
menu "ESP-Hosted config"

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "0.0.19"
1+
version: "0.0.20"
22
description: ESP-Hosted provides driver such that any host can re-use ESP chipset as Wi-Fi or Bluetooth co-processor.
33
url: https://github.com/espressif/esp-hosted/tree/feature/esp_as_mcu_host
44
examples:

0 commit comments

Comments
 (0)