ESP-Miner/components/bm1397/CMakeLists.txt
Skot 3df855d9b4 Add BM1368 support
co-authored-by: John-Paul Compagnone <jpcompagnone@epicblockchain.io>
co-authored-by: johnny9 <985648+johnny9@users.noreply.github.com>
co-authored-by: Ben <wilsob12@gmail.com>
2024-02-10 13:37:39 -05:00

21 lines
483 B
CMake

idf_component_register(
SRCS
"bm1368.c"
"bm1366.c"
"bm1397.c"
"serial.c"
"crc.c"
INCLUDE_DIRS
"include"
REQUIRES
freertos
driver
stratum
)
# Include the header files from "main" directory
target_include_directories(${COMPONENT_LIB} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../main")
# Include the header files from "main/tasks" directory
target_include_directories(${COMPONENT_LIB} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../main/tasks")