Files
esp_llcc68_driver/CMakeLists.txt
crosstyan b99d063bd8 Add .gitignore file and refactor llcc68 component
- Added a comprehensive .gitignore file to exclude unnecessary files and directories for various platforms and tools.
- Removed the llcc68.cpp source file as part of the refactoring process.
- Updated llcc68.hpp to replace the `init_exti` function declaration with inline interrupt configuration logic.
- Changed `EXTI_PIN` to `EXTI_PINS` for clarity and consistency.
- Refactored the handling of CAD parameters and improved type safety by using `enum class` for `CAD_EXIT_MODE` and `CAD_SYMB`.
2025-05-15 11:20:50 +08:00

17 lines
503 B
CMake

idf_component_register(
SRCS
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()