栈整改不抬栈:删旧档迁移、FIL静态化、日志行缓冲按模块收紧、钩子脱离HAL,defaultTask链5312→2776B
This commit is contained in:
@@ -98,7 +98,6 @@ static int s_read_count = 0;
|
||||
/* 路径常量(与生产逻辑无关,仅作为桩内部标识) */
|
||||
static const char *s_cfg_path = "/config.ini";
|
||||
static const char *s_tmp_path = "/config.tmp";
|
||||
static const char *s_legacy_path = "/netcfg.dat";
|
||||
|
||||
/* ---- 堆:直接映射宿主 CRT(单测不模拟 MicroLIB 512B 堆约束) ---- */
|
||||
void *cfg_store_alloc(size_t size) {
|
||||
@@ -171,7 +170,6 @@ int cfg_store_remove(const char *p_path) {
|
||||
|
||||
const char *cfg_store_config_path(void) { return s_cfg_path; }
|
||||
const char *cfg_store_tmp_path(void) { return s_tmp_path; }
|
||||
const char *cfg_store_legacy_path(void) { return s_legacy_path; }
|
||||
|
||||
/* ---- sys_log 桩:只计数自检留痕(不落盘) ---- */
|
||||
#include "sys_log.h"
|
||||
|
||||
Reference in New Issue
Block a user