更新模板到最新状态
This commit is contained in:
18
app/CMakeLists.txt
Normal file
18
app/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
list(APPEND incs ".")
|
||||
list(APPEND incs "../components/system/include")
|
||||
list(APPEND incs "../components/system/source")
|
||||
list(APPEND incs "../components/system/source/k_kit")
|
||||
list(APPEND incs "../components/system/source/shell")
|
||||
|
||||
list(APPEND srcs "../app/app_main.c")
|
||||
list(APPEND srcs "../app/console.c")
|
||||
list(APPEND srcs "../app/drivers/data_port/sb_data_port.c")
|
||||
list(APPEND srcs "../app/drivers/data_port/uart/uart_port.c")
|
||||
list(APPEND srcs "../app/button/button_event.c")
|
||||
list(APPEND srcs "../app/config/board_config.c")
|
||||
|
||||
idf_component_register(
|
||||
INCLUDE_DIRS ${incs}
|
||||
SRCS ${srcs}
|
||||
REQUIRES driver nvs_flash
|
||||
)
|
||||
Reference in New Issue
Block a user