19 lines
531 B
CMake
19 lines
531 B
CMake
# Add set(CONFIG_USE_RTE_Device true) in config.cmake to use this component
|
|
|
|
include_guard(GLOBAL)
|
|
message("${CMAKE_CURRENT_LIST_FILE} component is included.")
|
|
|
|
if((CONFIG_DEVICE_ID STREQUAL LPC55S69) AND CONFIG_USE_driver_lpc_dma)
|
|
|
|
add_config_file(${CMAKE_CURRENT_LIST_DIR}/RTE_Device.h "" RTE_Device.LPC55S69)
|
|
|
|
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}/.
|
|
)
|
|
|
|
else()
|
|
|
|
message(SEND_ERROR "RTE_Device.LPC55S69 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
|
|
|
|
endif()
|