ecf2d82159
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <zhangbingru@rt-thread.com> Co-authored-by: zhkag <zhkag@foxmail.com>
14 lines
447 B
C
14 lines
447 B
C
#include <dfs_romfs.h>
|
|
|
|
static const struct romfs_dirent _romfs_root[] = {
|
|
{ROMFS_DIRENT_DIR, "etc", RT_NULL, 0},
|
|
{ROMFS_DIRENT_DIR, "mnt", RT_NULL, 0},
|
|
{ROMFS_DIRENT_DIR, "boot", RT_NULL, 0},
|
|
{ROMFS_DIRENT_DIR, "boot-resource", RT_NULL, 0},
|
|
{ROMFS_DIRENT_DIR, "bin", RT_NULL, 0}
|
|
};
|
|
|
|
const struct romfs_dirent romfs_root = {
|
|
ROMFS_DIRENT_DIR, "/", (rt_uint8_t *)_romfs_root, sizeof(_romfs_root) / sizeof(_romfs_root[0])};
|
|
|