ESPSomfy-RTS/components/SmartRC-CC1101-Driver-Lib/CMakeLists.txt
Mathieu Tournier 4c23d252e9 Port project to use cmake build system.
This permits to develop the project more easily and efficiently than with Arduino iIDE (which is a pain)
Use the latest IDF framework version
Compile for esp32C5 chip
2025-12-28 19:07:08 +01:00

8 lines
348 B
CMake

idf_component_register(SRCS "${c1101_driver_SOURCE_DIR}/ELECHOUSE_CC1101_SRC_DRV.cpp"
INCLUDE_DIRS "${c1101_driver_SOURCE_DIR}/"
REQUIRES "arduino-esp32" # Library requires Arduino
)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-misleading-indentation -Wno-maybe-uninitialized)