Skip to content

Commit

Permalink
Merge branch 'fix/building' into 'feature/esp_as_mcu_host'
Browse files Browse the repository at this point in the history
fix/building Updated how Hosted is included for building

See merge request app-frameworks/esp_hosted!522
  • Loading branch information
mantriyogesh committed Oct 9, 2024
2 parents 00d6279 + f1940f2 commit 32be5ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
if(CONFIG_SOC_WIFI_SUPPORTED)
message(STATUS "Not using Hosted Wi-Fi")
else()
if(CONFIG_ESP_HOSTED_ENABLED)
message(STATUS "Using Hosted Wi-Fi")
set(FG_root_dir ".")
set(host_dir "${FG_root_dir}/host")
Expand Down Expand Up @@ -66,7 +64,9 @@ if(CONFIG_ESP_SDIO_HOST_INTERFACE)
idf_component_optional_requires(PRIVATE sdmmc)
endif()

if(CONFIG_IDF_TARGET_ESP32P4 AND (CONFIG_ESP_SPI_HOST_INTERFACE OR CONFIG_ESP_SPI_HD_HOST_INTERFACE))
# used to workaround SPI transfer issue
idf_component_optional_requires(PRIVATE esp_mm)
endif()
# Required if using ESP-IDF without commit 6b6065de509b5de39e4655fd425bf96f43b365f7:
# fix(driver_spi): fix p4 cache auto writeback during spi(dma) rx
# if(CONFIG_IDF_TARGET_ESP32P4 AND (CONFIG_ESP_SPI_HOST_INTERFACE OR CONFIG_ESP_SPI_HD_HOST_INTERFACE))
# # used to workaround SPI transfer issue
# idf_component_optional_requires(PRIVATE esp_mm)
# endif()
3 changes: 1 addition & 2 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
config ESP_HOSTED_ENABLED
bool
default y if ESP_WIFI_REMOTE_ENABLED
default y if !SOC_WIFI_SUPPORTED
default y if ESP_WIFI_REMOTE_ENABLED && ESP_WIFI_REMOTE_LIBRARY_HOSTED
default n

menu "ESP-Hosted config"
Expand Down
2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.0.19"
version: "0.0.20"
description: ESP-Hosted provides driver such that any host can re-use ESP chipset as Wi-Fi or Bluetooth co-processor.
url: https://github.com/espressif/esp-hosted/tree/feature/esp_as_mcu_host
examples:
Expand Down

0 comments on commit 32be5ad

Please sign in to comment.