diff --git a/README.md b/README.md index 1f824b2a206b8f0586161b51acd28e7f24a7b9d3..8d1322b3c61fde86e054684a367b286aa900715b 100755 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The Utils repository stores basic components of OpenHarmony. These basic compone The Utils library provides the following capabilities on different platforms: -- LiteOS Cortex-M \(Hi3861 platform\): key value \(KV\) store, file operations, timer, IoT peripheral control, and system attribute dumping +- LiteOS Cortex-M \(Hi3861 platform\): key value \(KV\) store, file operations, timer, and system attribute dumping - LiteOS Cortex-A \(Hi3516 or Hi3518 platform\): KV store, timer, JavaScript APIs for device query and data storage, and system attribute dumping **Table 1** Utils capabilities @@ -53,13 +53,6 @@ The Utils library provides the following capabilities on different platforms:

Provides JavaScript APIs for obtaining device information and storing data.

-

IoT peripheral control

- -

LiteOS Cortex-M

- -

Provides the capability of performing operations for peripherals.

- -

System attribute dumping

LiteOS Cortex-M and LiteOS Cortex-A

@@ -73,27 +66,26 @@ The Utils library provides the following capabilities on different platforms: ## Directory Structure ``` -utils/native/lite/ # Root directory +utils/native/lite/ # Root directory ├── file # Implementation of the file system APIs ├── hals # HAL directory -│ └── file # Header files of the hardware abstraction layer for file operations +│ └── file # Header files of the hardware abstraction layer for file operations ├── include # Header files of external APIs ├── js # JavaScript APIs -│ └── builtin +│ └── builtin │ ├── common │ ├── deviceinfokit # Device information kit │ ├── filekit # File kit │ └── kvstorekit # KV store kit -├── kal # KAL directory +├── kal # KAL directory │ └── timer # KAL implementation of the timer -├── kv_store # KV store implementation +├── kv_store # KV store implementation │ ├── innerkits # Internal KV store APIs │ └── src # KV store source file ├── memory │ └── include # Memory pool management APIs -├── os_dump # System attribute dumping -├── timer_task # Timer implementation -└── unittest # Self-test cases +├── os_dump # System attribute dumping +└── timer_task # Timer implementation ``` ## Usage @@ -165,9 +157,7 @@ utils/native/lite/ # Root directory ## Repositories Involved -[utils](https://gitee.com/openharmony/docs/blob/master/en/readme/utils.md) +[Utils](https://gitee.com/openharmony/docs/blob/master/en/readme/utils.md) utils\_native\_lite -[iothardware\_peripheral](https://gitee.com/openharmony/iothardware_peripheral/blob/master/README.md) - diff --git a/README_zh.md b/README_zh.md index 3e9d00dc28ddb166afdf44f300fb43f256d61678..b13b99b4295ce106d8fed687d37bc3a596d0b007 100755 --- a/README_zh.md +++ b/README_zh.md @@ -11,7 +11,7 @@ 公共基础库在不同平台上提供的能力: -- LiteOS-M内核\(Hi3861平台\):KV\(key value\)存储、文件操作、定时器、IoT外设控制、Dump系统属性。 +- LiteOS-M内核\(Hi3861平台\):KV\(key value\)存储、文件操作、定时器、Dump系统属性。 - LiteOS-A内核\(Hi3516、Hi3518平台\):KV\(key value\)存储、定时器、JS API\(设备查询,数据存储\)、Dump系统属性。 **表 1** 公共基础库功能 @@ -53,13 +53,6 @@

提供获取设备信息,数据存储的JS API。

-

IoT外设控制

- -

LiteOS-M内核

- -

IoT外设控制模块提供对外围设备的操作能力。

- -

Dump系统属性

LiteOS-M内核、LiteOS-A内核

@@ -73,27 +66,26 @@ ## 目录 ``` -utils/native/lite/ # 公共基础库根目录 +utils/native/lite/ # 公共基础库根目录 ├── file # 文件接口实现 ├── hals # HAL目录 -│ └── file # 文件操作硬件抽象层头文件 +│ └── file # 文件操作硬件抽象层头文件 ├── include # 公共基础库对外接口文件 ├── js # JS API目录 -│ └── builtin +│ └── builtin │ ├── common │ ├── deviceinfokit # 设备信息Kit │ ├── filekit # 文件Kit │ └── kvstorekit # KV存储Kit -├── kal # KAL目录 +├── kal # KAL目录 │ └── timer # Timer的KAL实现 -├── kv_store # KV存储实现 +├── kv_store # KV存储实现 │ ├── innerkits # KV存储内部接口 │ └── src # KV存储源文件 ├── memory │ └── include # 内存池管理接口 -├── os_dump # Dump系统属性 -├── timer_task # Timer实现 -└── unittest # 公共基础库自测试用例 +├── os_dump # Dump系统属性 +└── timer_task # Timer实现 ``` ## 使用 @@ -169,5 +161,3 @@ utils/native/lite/ # 公共基础库根目录 utils\_native\_lite -[iothardware\_peripheral](https://gitee.com/openharmony/iothardware_peripheral/blob/master/README_zh.md) -