控制台日志实现迁出HAL生成文件至App/log并新增设计说明;defaultTask任务体迁至App/task,freertos.c恢复纯CubeMX接线形态

This commit is contained in:
2026-09-25 01:32:09 +08:00
parent b2bab1d2b5
commit 63cb3601fa
20 changed files with 4343 additions and 3151 deletions
+27
View File
@@ -0,0 +1,27 @@
/*
* 模块名称:Default Application Task
* 模块功能:主控任务(defaultTask)任务体:存储 bring-up(挂载/建卷/探针/自愈/
* 有界重试)、网络配置引擎属主(保存执行 + 2s 轮询)、控制台单写者
* (注册 + 主循环排空)、syslog 落盘、LED 心跳、栈水位观测
* 适用平台:STM32F407ZGTx + FreeRTOS(CMSIS-RTOS V2)
* 作者:王建锋
* 创建日期:2026-09-25
* 修改记录:
* v1.0 2026-09-25 王建锋 自 Src/freertos.c StartDefaultTask 任务体迁出
* (CubeMX 生成文件只留任务创建接线与崩溃钩子)
*/
#ifndef DEFAULT_TASK_H
#define DEFAULT_TASK_H
#ifdef __cplusplus
extern "C" {
#endif
void default_task_func(void *argument);
#ifdef __cplusplus
}
#endif
#endif /* DEFAULT_TASK_H */