diff --git a/components/esp_modem/.build-test-rules.yml b/components/esp_modem/.build-test-rules.yml index a757003a2b..08190d20fe 100644 --- a/components/esp_modem/.build-test-rules.yml +++ b/components/esp_modem/.build-test-rules.yml @@ -1,6 +1,6 @@ components/esp_modem/examples/ap_to_pppos: disable: - - if: IDF_TARGET in ["esp32h2"] + - if: IDF_TARGET in ["esp32h2", "esp32p4"] components/esp_modem/examples/modem_console: disable: diff --git a/components/esp_modem/test/target_iperf/CMakeLists.txt b/components/esp_modem/test/target_iperf/CMakeLists.txt index ab61aaaa6a..3c1ea7ed30 100644 --- a/components/esp_modem/test/target_iperf/CMakeLists.txt +++ b/components/esp_modem/test/target_iperf/CMakeLists.txt @@ -2,9 +2,5 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.5) -set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/system/console/advanced/components - $ENV{IDF_PATH}/examples/common_components/iperf - "../..") - include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(pppd_test) diff --git a/components/esp_modem/test/target_iperf/main/idf_component.yml b/components/esp_modem/test/target_iperf/main/idf_component.yml new file mode 100644 index 0000000000..7f6af031d7 --- /dev/null +++ b/components/esp_modem/test/target_iperf/main/idf_component.yml @@ -0,0 +1,6 @@ +## IDF Component Manager Manifest File +dependencies: + espressif/esp_modem: + version: "^1.1.0" + override_path: "../../.." + espressif/iperf-cmd: "^0.1.1" diff --git a/components/esp_modem/test/target_iperf/main/pppd_iperf_main.c b/components/esp_modem/test/target_iperf/main/pppd_iperf_main.c index d8c69f4f9e..c8a80f07e5 100644 --- a/components/esp_modem/test/target_iperf/main/pppd_iperf_main.c +++ b/components/esp_modem/test/target_iperf/main/pppd_iperf_main.c @@ -8,7 +8,6 @@ #include "sdkconfig.h" #include "esp_log.h" #include "esp_console.h" -#include "cmd_system.h" void register_pppd(void); @@ -22,7 +21,6 @@ void app_main(void) ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl)); /* Register commands */ - register_system_common(); register_pppd(); printf("\n =======================================================\n");