mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 21:12:22 +02:00
feat(examples): Add build/host tests to examples
This commit is contained in:
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)
|
||||
# For ESP32 platform target
|
||||
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
|
||||
|
||||
if(${IDF_TARGET} STREQUAL "linux")
|
||||
if("${IDF_TARGET}" STREQUAL "linux")
|
||||
# For linux-target we have two options:
|
||||
# - With lwIP (must be defined on command line, e.g. idf.py -DWITH_LWIP=1)
|
||||
# access networking from linux `tap` interface (TAP networking mode)
|
||||
|
@ -1,2 +0,0 @@
|
||||
CONFIG_IDF_TARGET="linux"
|
||||
# CONFIG_ESP_EVENT_POST_FROM_ISR is not set
|
||||
|
3
examples/mqtt/sdkconfig.defaults.esp32h2
Normal file
3
examples/mqtt/sdkconfig.defaults.esp32h2
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_IDF_TARGET="esp32h2"
|
||||
CONFIG_EXAMPLE_CONNECT_WIFI=n
|
||||
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
|
2
examples/mqtt/sdkconfig.defaults.linux
Normal file
2
examples/mqtt/sdkconfig.defaults.linux
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_IDF_TARGET="linux"
|
||||
# CONFIG_ESP_EVENT_POST_FROM_ISR is not set
|
Reference in New Issue
Block a user