提交 ad0bf257 编写于 作者: O openharmony_ci 提交者: Gitee

!232 modify utils readme

Merge pull request !232 from liubb/noEmployeeNum_ChangeID_13287244_liubeibei
......@@ -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:
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.2.4.1.3 "><p id="p1550005422814"><a name="p1550005422814"></a><a name="p1550005422814"></a>Provides JavaScript APIs for obtaining device information and storing data.</p>
</td>
</tr>
<tr id="row1763022010287"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.2.4.1.1 "><p id="p463052016289"><a name="p463052016289"></a><a name="p463052016289"></a>IoT peripheral control</p>
</td>
<td class="cellrowborder" valign="top" width="24.77%" headers="mcps1.2.4.1.2 "><p id="p1163032011284"><a name="p1163032011284"></a><a name="p1163032011284"></a>LiteOS Cortex-M</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.2.4.1.3 "><p id="p5630820102812"><a name="p5630820102812"></a><a name="p5630820102812"></a>Provides the capability of performing operations for peripherals.</p>
</td>
</tr>
<tr id="row5553145162815"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.2.4.1.1 "><p id="p106300200288"><a name="p106300200288"></a><a name="p106300200288"></a>System attribute dumping</p>
</td>
<td class="cellrowborder" valign="top" width="24.77%" headers="mcps1.2.4.1.2 "><p id="p16300204280"><a name="p16300204280"></a><a name="p16300204280"></a>LiteOS Cortex-M and LiteOS Cortex-A</p>
......@@ -73,38 +66,26 @@ The Utils library provides the following capabilities on different platforms:
## Directory Structure<a name="section1464106163817"></a>
```
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
base/iot_hardware # IoT peripheral control
├── frameworks
│ └── wifiiot_lite # Implementation of the IoT peripheral control module
├── hals
│ └── wifiiot_lite # HAL API declaration
└── interfaces
└── kits # APIs of the IoT peripheral control module
vendor/hisi/hi3861/hi3861_adapter/hals/iot_hardware # HAL for IoT peripheral control
└── wifiiot_lite # Implementation of the APIs at the HAL
├── os_dump # System attribute dumping
└── timer_task # Timer implementation
```
## Usage<a name="section83091355151312"></a>
......@@ -176,9 +157,7 @@ vendor/hisi/hi3861/hi3861_adapter/hals/iot_hardware # HAL for IoT peripheral co
## Repositories Involved<a name="section6250105871917"></a>
**utils**
**Utils**
[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite/blob/master/README.md)
[iothardware\_peripheral](https://gitee.com/openharmony/iothardware_peripheral/blob/master/README.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 @@
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.2.4.1.3 "><p id="p1550005422814"><a name="p1550005422814"></a><a name="p1550005422814"></a>提供获取设备信息,数据存储的JS API。</p>
</td>
</tr>
<tr id="row1763022010287"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.2.4.1.1 "><p id="p463052016289"><a name="p463052016289"></a><a name="p463052016289"></a>IoT外设控制</p>
</td>
<td class="cellrowborder" valign="top" width="24.77%" headers="mcps1.2.4.1.2 "><p id="p1163032011284"><a name="p1163032011284"></a><a name="p1163032011284"></a>LiteOS-M内核</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.2.4.1.3 "><p id="p5630820102812"><a name="p5630820102812"></a><a name="p5630820102812"></a>IoT外设控制模块提供对外围设备的操作能力。</p>
</td>
</tr>
<tr id="row5553145162815"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.2.4.1.1 "><p id="p106300200288"><a name="p106300200288"></a><a name="p106300200288"></a>Dump系统属性</p>
</td>
<td class="cellrowborder" valign="top" width="24.77%" headers="mcps1.2.4.1.2 "><p id="p16300204280"><a name="p16300204280"></a><a name="p16300204280"></a>LiteOS-M内核、LiteOS-A内核</p>
......@@ -73,38 +66,26 @@
## 目录<a name="section1464106163817"></a>
```
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 # 公共基础库自测试用例
base/iot_hardware #IoT外设控制
├── frameworks
│ └── wifiiot_lite #IoT外设控制模块实现
├── hals
│ └── wifiiot_lite #HAL适配层接口声明
└── interfaces
└── kits #IoT外设控制模块接口
vendor/hisi/hi3861/hi3861_adapter/hals/iot_hardware #IoT外设控制HAL层
└── wifiiot_lite #HAL适配层接口实现
├── os_dump # Dump系统属性
└── timer_task # Timer实现
```
## 使用<a name="section83091355151312"></a>
......@@ -176,9 +157,7 @@ vendor/hisi/hi3861/hi3861_adapter/hals/iot_hardware #IoT外设控制HAL层
## 涉及仓<a name="section6250105871917"></a>
**公共基础**
**公共基础**
[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite/blob/master/README_zh.md)
[iothardware\_peripheral](https://gitee.com/openharmony/iothardware_peripheral/blob/master/README_zh.md)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册