mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-01-11 09:42:13 +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
11
main/CMakeLists.txt
Normal file
11
main/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
file(GLOB_RECURSE SRCS_CPP *.cpp)
|
||||
idf_component_register(SRCS ${SRCS_CPP}
|
||||
INCLUDE_DIRS "." REQUIRES esp_common arduinoWebSockets pubsubclient SmartRC-CC1101-Driver-Lib)
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format -Wno-misleading-indentation)
|
||||
|
||||
# Note: you must have a partition named the first argument (here it's "littlefs")
|
||||
# in your partition table csv file.
|
||||
littlefs_create_partition_image(spiffs data FLASH_IN_PROJECT)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue