diff --git a/tools/test_apps/linux_compatible/driver_mock/main/driver_mock_main.c b/tools/test_apps/linux_compatible/driver_mock/main/driver_mock_main.c index 73b383da22..5585e61c8c 100644 --- a/tools/test_apps/linux_compatible/driver_mock/main/driver_mock_main.c +++ b/tools/test_apps/linux_compatible/driver_mock/main/driver_mock_main.c @@ -10,8 +10,19 @@ #include "driver/spi_master.h" #include "driver/spi_common.h" +#include "Mockrmt_encoder.h" +#include "Mockrmt_common.h" +#include "Mockrmt_tx.h" +#include "Mockrmt_rx.h" + +/*Test that mock functions exist*/ void app_main(void) { - /*Test that mock functions exist*/ i2c_driver_delete(0); + + rmt_channel_handle_t channel = 0; + rmt_new_bytes_encoder(NULL, NULL); + rmt_new_rx_channel(NULL, NULL); + rmt_del_channel(channel); + rmt_new_tx_channel(NULL, NULL); } diff --git a/tools/test_apps/linux_compatible/rmt_mock_build_test/CMakeLists.txt b/tools/test_apps/linux_compatible/rmt_mock_build_test/CMakeLists.txt deleted file mode 100644 index 950402826c..0000000000 --- a/tools/test_apps/linux_compatible/rmt_mock_build_test/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# The following lines of boilerplate have to be in your project's -# CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -set(COMPONENTS main) -list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/driver/") -project(rmt_mock_build_test) diff --git a/tools/test_apps/linux_compatible/rmt_mock_build_test/README.md b/tools/test_apps/linux_compatible/rmt_mock_build_test/README.md deleted file mode 100644 index 37c142df16..0000000000 --- a/tools/test_apps/linux_compatible/rmt_mock_build_test/README.md +++ /dev/null @@ -1,2 +0,0 @@ -| Supported Targets | Linux | -| ----------------- | ----- | diff --git a/tools/test_apps/linux_compatible/rmt_mock_build_test/main/CMakeLists.txt b/tools/test_apps/linux_compatible/rmt_mock_build_test/main/CMakeLists.txt deleted file mode 100644 index 3dee6aea15..0000000000 --- a/tools/test_apps/linux_compatible/rmt_mock_build_test/main/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -idf_component_register(SRCS "main.c" - PRIV_REQUIRES "driver") diff --git a/tools/test_apps/linux_compatible/rmt_mock_build_test/main/main.c b/tools/test_apps/linux_compatible/rmt_mock_build_test/main/main.c deleted file mode 100644 index 4dbcdf91c8..0000000000 --- a/tools/test_apps/linux_compatible/rmt_mock_build_test/main/main.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: CC0-1.0 - */ - -#include -#include "Mockrmt_encoder.h" -#include "Mockrmt_common.h" -#include "Mockrmt_tx.h" -#include "Mockrmt_rx.h" - -void app_main(void) -{ - rmt_channel_handle_t channel = 0; - - /*Test that mock functions exist*/ - rmt_new_bytes_encoder(NULL, NULL); - rmt_new_rx_channel(NULL, NULL); - rmt_del_channel(channel); - rmt_new_tx_channel(NULL, NULL); -} diff --git a/tools/test_apps/linux_compatible/rmt_mock_build_test/sdkconfig.defaults b/tools/test_apps/linux_compatible/rmt_mock_build_test/sdkconfig.defaults deleted file mode 100644 index 9b39f10b99..0000000000 --- a/tools/test_apps/linux_compatible/rmt_mock_build_test/sdkconfig.defaults +++ /dev/null @@ -1 +0,0 @@ -CONFIG_IDF_TARGET="linux"