[dfs] sync cromfs (#6739)
This commit is contained in:
parent
e2bdd8a184
commit
0bc01ad0d9
@ -142,7 +142,7 @@ if RT_USING_DFS
|
||||
default n
|
||||
|
||||
config RT_USING_DFS_CROMFS
|
||||
bool "Enable readonly compressed file system on flash"
|
||||
bool "Enable ReadOnly compressed file system on flash"
|
||||
default n
|
||||
# select PKG_USING_ZLIB
|
||||
|
||||
|
11
components/dfs/filesystems/cromfs/SConscript
Normal file
11
components/dfs/filesystems/cromfs/SConscript
Normal file
@ -0,0 +1,11 @@
|
||||
# RT-Thread building script for component
|
||||
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS','RT_USING_DFS_CROMFS'], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
1170
components/dfs/filesystems/cromfs/dfs_cromfs.c
Normal file
1170
components/dfs/filesystems/cromfs/dfs_cromfs.c
Normal file
File diff suppressed because it is too large
Load Diff
16
components/dfs/filesystems/cromfs/dfs_cromfs.h
Normal file
16
components/dfs/filesystems/cromfs/dfs_cromfs.h
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2020, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2020/08/21 ShaoJinchun firset version
|
||||
*/
|
||||
|
||||
#ifndef __DFS_CROMFS_H__
|
||||
#define __DFS_CROMFS_H__
|
||||
|
||||
int dfs_cromfs_init(void);
|
||||
|
||||
#endif /*__DFS_CROMFS_H__*/
|
Loading…
x
Reference in New Issue
Block a user