1. 接入了Initer子系统,用于解决初始化依赖问题
2. 接入了led_ui,用于显示系统的实时状态
This commit is contained in:
+15
-1
@@ -5,14 +5,28 @@ project(Sakimi-UAV)
|
||||
|
||||
target_sources(app PRIVATE
|
||||
src/main.cpp
|
||||
|
||||
# Init子系统 负责处理各种子系统的init以及init依赖拓扑
|
||||
src/SubSystem/Initer/app_init.c
|
||||
# Init子系统注册
|
||||
src/SubSystem/Initer/SubInit/ui/init_ui.c
|
||||
|
||||
|
||||
# LED UI
|
||||
src/Tools/ui/status_led.c
|
||||
)
|
||||
|
||||
target_include_directories(app PRIVATE
|
||||
src
|
||||
# Init
|
||||
src/SubSystem/Initer
|
||||
|
||||
# LED UI
|
||||
src/Tools/ui
|
||||
)
|
||||
|
||||
# 自定义 iterable section(app_init_entry),供 APP_INIT 宏注册
|
||||
# zephyr_linker_sources(SECTIONS src/sys/app_init/app_init.ld)
|
||||
zephyr_linker_sources(SECTIONS src/SubSystem/Initer/app_init.ld)
|
||||
|
||||
# The vendored MAVLink generated headers use packed structs; the resulting
|
||||
# address-of-packed-member warnings are harmless.
|
||||
|
||||
Reference in New Issue
Block a user