Skip to content

Commit

Permalink
fix(modem): Fix CI build per IDFv5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Apr 26, 2024
1 parent 06d013b commit d0c17ef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/esp_modem/.build-test-rules.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 0 additions & 4 deletions components/esp_modem/test/target_iperf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions components/esp_modem/test/target_iperf/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 0 additions & 2 deletions components/esp_modem/test/target_iperf/main/pppd_iperf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_console.h"
#include "cmd_system.h"

void register_pppd(void);

Expand All @@ -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");
Expand Down

0 comments on commit d0c17ef

Please sign in to comment.