mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-04-02 00:51:32 +02:00
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>
21 lines
483 B
CMake
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") |