src refactor

This commit is contained in:
2025-12-07 15:02:44 -06:00
parent efcbcab48a
commit e99b778468
7 changed files with 24 additions and 110 deletions

View File

@@ -1,5 +1,9 @@
idf_component_register(SRCS "main.cpp"
PRIV_REQUIRES spi_flash
REQUIRES esp_driver_gpio
INCLUDE_DIRS ".")
file(GLOB SRC_FILES "*.c" "*.cpp")
idf_component_register(
SRCS ${SRC_FILES}
PRIV_REQUIRES spi_flash
REQUIRES esp_driver_gpio
INCLUDE_DIRS "."
)