rt-thread/bsp/nuvoton_m487/applications/main.c

28 lines
468 B
C
Raw Normal View History

2018-11-19 09:49:32 +08:00
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#include <stdio.h>
#include <stdlib.h>
2019-04-17 17:46:51 +08:00
#include <dfs_fs.h>
#include <rtthread.h>
2018-11-19 09:49:32 +08:00
int main(int argc, char** argv)
{
2019-04-17 17:46:51 +08:00
#ifdef RT_USING_DFS
if(dfs_mount("flash0", "/", "efm", 0, 0) == 0)
{
rt_kprintf("mount efm ok\n");
}
else
{
rt_kprintf("mount efm fail\n");
}
#endif
2018-11-19 09:49:32 +08:00
}