nodemcu-firmware/components/driver_can/CMakeLists.txt

10 lines
143 B
CMake

if(IDF_TARGET STREQUAL "esp32")
idf_component_register(
SRCS "CAN.c"
INCLUDE_DIRS "include"
PRIV_REQUIRES "driver" "esp_rom"
)
endif()