mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
2fb43820c2
The legacy driver can't handle the breaking change between esp chips very well. And it's not elegant to extend new feature like DMA, ETM. The new driver can return a opaque handle for each RMT channel. An obvious transaction concept was also introduced. TX and RX functionalities are splited out.
19 lines
721 B
CMake
19 lines
721 B
CMake
# This is the project CMakeLists.txt file for the test subproject
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(rmt_test)
|
|
|
|
if(CONFIG_COMPILER_DUMP_RTL_FILES)
|
|
add_custom_target(check_test_app_sections ALL
|
|
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py
|
|
--rtl-dir ${CMAKE_BINARY_DIR}/esp-idf/driver/
|
|
--elf-file ${CMAKE_BINARY_DIR}/rmt_test.elf
|
|
find-refs
|
|
--from-sections=.iram0.text
|
|
--to-sections=.flash.text,.flash.rodata
|
|
--exit-code
|
|
DEPENDS ${elf}
|
|
)
|
|
endif()
|