src refactor
This commit is contained in:
@@ -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 "."
|
||||
)
|
||||
Reference in New Issue
Block a user