feat(example): 新增飞行控制 C 示例项目

- 提供传感器、滤波、控制律和执行器等模块化示例
- 包含约 35 个函数用于代码分析与文档生成流程测试
- 使用 Makefile 支持最小化编译验证
This commit is contained in:
xingchen
2026-09-01 09:25:26 +08:00
commit 816da48299
12 changed files with 436 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
CC ?= gcc
CFLAGS ?= -Iinclude -Wall -Wextra -std=c99
SRC := $(wildcard src/*.c)
OBJ := $(SRC:.c=.o)
all: do178_small_app
do178_small_app: $(OBJ)
$(CC) $(OBJ) -o $@
clean:
rm -f $(OBJ) do178_small_app