forked from espressif/esp-idf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix/enable_simple_http_server_on_linux' into 'master'
fix(examples): simple http_server example build for Linux target See merge request espressif/esp-idf!36277
- Loading branch information
Showing
7 changed files
with
39 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
set(requires esp-tls nvs_flash esp_netif esp_http_server esp_wifi esp_eth) | ||
set(requires esp-tls nvs_flash esp_netif esp_http_server) | ||
idf_build_get_property(target IDF_TARGET) | ||
|
||
if(${target} STREQUAL "linux") | ||
list(APPEND requires esp_stubs protocol_examples_common) | ||
else() | ||
list(APPEND requires esp_wifi esp_eth) | ||
endif() | ||
|
||
idf_component_register(SRCS "main.c" | ||
INCLUDE_DIRS "." | ||
PRIV_REQUIRES ${requires}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters