mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-07-13 13:35:38 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
20
Living_SDK/3rdparty/experimental/uffs/include/aos_uffs.h
vendored
Normal file
20
Living_SDK/3rdparty/experimental/uffs/include/aos_uffs.h
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef FS_UFFS_H
|
||||
#define FS_UFFS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int vfs_uffs_register(void);
|
||||
int vfs_uffs_unregister(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
37
Living_SDK/3rdparty/experimental/uffs/include/uffs_port.h
vendored
Normal file
37
Living_SDK/3rdparty/experimental/uffs/include/uffs_port.h
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef UFFS_VFS_H
|
||||
#define UFFS_VFS_H
|
||||
|
||||
#include "uffs_config.h"
|
||||
#include "uffs/uffs_public.h"
|
||||
|
||||
#include <vfs_inode.h>
|
||||
#include <vfs_register.h>
|
||||
|
||||
#ifndef CONFIG_UFFS_ECC_MODE
|
||||
#define CONFIG_UFFS_ECC_MODE UFFS_ECC_NONE
|
||||
#endif
|
||||
|
||||
#if CONFIG_UFFS_ECC_MODE == UFFS_ECC_NONE
|
||||
#define CONFIG_UFFS_LAYOUT UFFS_LAYOUT_UFFS
|
||||
|
||||
#elif CONFIG_UFFS_ECC_MODE == UFFS_ECC_SOFT
|
||||
#define CONFIG_UFFS_LAYOUT UFFS_LAYOUT_UFFS
|
||||
|
||||
#elif CONFIG_UFFS_ECC_MODE == UFFS_ECC_HW_AUTO
|
||||
#define CONFIG_UFFS_LAYOUT UFFS_LAYOUT_FLASH
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_UFFS_START_BLOCK
|
||||
#define CONFIG_UFFS_START_BLOCK 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_UFFS_END_BLOCK
|
||||
#define CONFIG_UFFS_END_BLOCK 0xffffffff
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue