SD加载失败,如果加载成功,GUI程序不运行。
CPU SN: 31FF75873152323729682343\ | /
- RT - Thread Operating System
/ | \ 0.4.0 build Dec5 2011
2006 - 2011 Copyright by rt-thread team
SD0 File System init failed!
finsh>>
这是加载失败的显示,那么label除了字体不对外,全部正确。
如果加载正确,GUI程序运行,但不显示 。 void rt_init_thread_entry(void *parameter)
{
/* Filesystem Initialization */
#ifdef RT_USING_DFS
{
/* init the device filesystem */
dfs_init();
/* init the elm FAT filesystam*/
elm_init();
/* mount spi flash fat as root directory */
if (dfs_mount("sd0", "/", "elm", 0, 0) == 0)
rt_kprintf("SD0 File System initialized!\n");
else
rt_kprintf("SD0 File System init failed!\n");
}
#endif 应该是底层的驱动没有弄好吧。
页:
[1]