mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-01-11 17:52:12 +01:00
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
This commit is contained in:
parent
eb75868adb
commit
4c23d252e9
58 changed files with 736 additions and 78 deletions
8
components/SmartRC-CC1101-Driver-Lib/CMakeLists.txt
Normal file
8
components/SmartRC-CC1101-Driver-Lib/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
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)
|
||||
|
||||
7
components/arduinoWebSockets/CMakeLists.txt
Normal file
7
components/arduinoWebSockets/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
file(GLOB_RECURSE SRCS_CPP ${arduinowebsockets_SOURCE_DIR}/src/*.cpp)
|
||||
|
||||
idf_component_register(SRCS ${SRCS_CPP}
|
||||
INCLUDE_DIRS "${arduinowebsockets_SOURCE_DIR}/src/"
|
||||
REQUIRES "arduino-esp32" # Library requires Arduino
|
||||
)
|
||||
7
components/pubsubclient/CMakeLists.txt
Normal file
7
components/pubsubclient/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
idf_component_register(SRCS "${pubsubclient_SOURCE_DIR}/src/PubSubClient.cpp"
|
||||
INCLUDE_DIRS "${pubsubclient_SOURCE_DIR}/src/."
|
||||
REQUIRES "arduino-esp32" # Library requires Arduino
|
||||
)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue