init
This commit is contained in:
17
CMakeLists.txt
Normal file
17
CMakeLists.txt
Normal file
@ -0,0 +1,17 @@
|
||||
idf_component_register(
|
||||
SRCS
|
||||
src/llcc68.cpp
|
||||
src/hal_spi.cpp
|
||||
INCLUDE_DIRS
|
||||
inc/
|
||||
REQUIRES
|
||||
driver
|
||||
app_utils
|
||||
app_constant
|
||||
)
|
||||
|
||||
# This option would make LLCC68 ignore `SPI_CMD_INVALID` error.
|
||||
option(APP_SPI_DISABLE_INVALID_STATUS_CHECK "Disable invalid status check" ON)
|
||||
if (APP_SPI_DISABLE_INVALID_STATUS_CHECK)
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC APP_SPI_DISABLE_INVALID_STATUS_CHECK)
|
||||
endif()
|
||||
Reference in New Issue
Block a user