修改进程内存位置

启用mpu内存保护
This commit is contained in:
sc committed 2025-11-27 02:25:08 +08:00
1 parent 6b977b2c62
commit a53eb282d2
10 files changed
+113 -31

No files matched your search

+1 -1
View File
@@ -125,4 +125,4 @@ int qspi_fal(void)
}
return RT_EOK;
}
INIT_APP_EXPORT(qspi_fal);
INIT_COMPONENT_EXPORT(qspi_fal);
+3 -3
View File
@@ -46,8 +46,8 @@ void sd_mount(void *parameter)
LOG_D("SD device 'sd' not found, retrying...");
}
// 避免空转,延时 100ms 再试
rt_thread_mdelay(100);
// 避免空转,延时 50ms 再试
rt_thread_mdelay(50);
retry++;
}
}
@@ -92,4 +92,4 @@ int stm32_sdcard_mount(void)
}
// 使用 INIT_COMPONENTS_INIT 或 INIT_APP_EXPORT 自动启动
//INIT_COMPONENTS_INIT(stm32_sdcard_mount); // 在组件初始化阶段运行
INIT_APP_EXPORT(stm32_sdcard_mount);
INIT_COMPONENT_EXPORT(stm32_sdcard_mount);