add cmakelists for idf.py

This commit is contained in:
franchioping 2026-03-26 23:23:20 +00:00
parent 47f686d8ed
commit cd51f646a0
1 changed files with 6 additions and 0 deletions

6
CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
file(GLOB_RECURSE SOURCES "*.cpp")
idf_component_register(SRCS "${SOURCES}"
INCLUDE_DIRS "."
REQUIRES arduino-esp32 SPIFlash_LowPowerLab
)