[dfs] sync cromfs (#6739)

This commit is contained in:
guo 2022-12-14 22:28:34 +08:00 committed by GitHub
parent e2bdd8a184
commit 0bc01ad0d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1198 additions and 1 deletions

View File

@ -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

View 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')

File diff suppressed because it is too large Load Diff

View 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__*/