summaryrefslogtreecommitdiff
path: root/bsp/nuvoton_m487/applications/main.c
blob: 28f91dba97c9fbf3fa889a2d8672ff9fd66e88e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * 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>
#include <dfs_fs.h>
#include <rtthread.h>

int main(int argc, char** argv)
{
#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
}