未验证 提交 1875d5bf 编写于 作者: O openharmony_ci 提交者: Gitee

!3625 website更新--不涉及翻译

Merge pull request !3625 from Austin/OpenHarmony-3.1-Release
...@@ -34,7 +34,7 @@ In addition, OpenHarmony provides a series of optional system components that ca ...@@ -34,7 +34,7 @@ In addition, OpenHarmony provides a series of optional system components that ca
| Topic | Development Scenario | Documents | | Topic | Development Scenario | Documents |
| -------- | -------- | -------- | | -------- | -------- | -------- |
| About&nbsp;OpenHarmony | Getting&nbsp;familiar&nbsp;with&nbsp;OpenHarmony | -&nbsp;[About&nbsp;OpenHarmony](https://gitee.com/openharmony)<br/>-&nbsp;[Glossary](glossary/glossary.md) | | About&nbsp;OpenHarmony | Getting&nbsp;familiar&nbsp;with&nbsp;OpenHarmony | -&nbsp;[About&nbsp;OpenHarmony](https://gitee.com/openharmony)<br/>-&nbsp;[Glossary](../glossary.md) |
| Development&nbsp;resources | Preparing&nbsp;for&nbsp;your&nbsp;development | -&nbsp;[Obtaining&nbsp;Source&nbsp;Code](get-code/sourcecode-acquire.md)<br/>-&nbsp;[Tool&nbsp;Acquisition](get-code/gettools-acquire.md) | | Development&nbsp;resources | Preparing&nbsp;for&nbsp;your&nbsp;development | -&nbsp;[Obtaining&nbsp;Source&nbsp;Code](get-code/sourcecode-acquire.md)<br/>-&nbsp;[Tool&nbsp;Acquisition](get-code/gettools-acquire.md) |
| Quick&nbsp;start | Getting&nbsp;started&nbsp;with&nbsp;setup,&nbsp;build,<br/>&nbsp;burning,&nbsp;debugging,&nbsp;and<br/>&nbsp;running&nbsp;of&nbsp;OpenHarmony | [Mini&nbsp;and&nbsp;Small&nbsp;Systems](quick-start/quickstart-lite-overview.md)) | | Quick&nbsp;start | Getting&nbsp;started&nbsp;with&nbsp;setup,&nbsp;build,<br/>&nbsp;burning,&nbsp;debugging,&nbsp;and<br/>&nbsp;running&nbsp;of&nbsp;OpenHarmony | [Mini&nbsp;and&nbsp;Small&nbsp;Systems](quick-start/quickstart-lite-overview.md)) |
| Basic&nbsp;capabilities | Using&nbsp;basic&nbsp;capabilities&nbsp;of<br/>&nbsp;OpenHarmony | -&nbsp;[Kernel&nbsp;for&nbsp;Mini&nbsp;Systems](kernel/kernel-mini-overview.md)<br/>-&nbsp;[Kernel&nbsp;for&nbsp;Small&nbsp;Systems](kernel/kernel-small-overview.md)<br/>-&nbsp;[Drivers](driver/driver-hdf-overview.md)<br/>-&nbsp;[Subsystems](subsystems/subsys-build-mini-lite.md)<br/>-&nbsp;[Security&nbsp;Guidelines](security/security-guidelines-overall.md)<br/>-&nbsp;[Privacy&nbsp;Protection](security/security-privacy-protection.md) | | Basic&nbsp;capabilities | Using&nbsp;basic&nbsp;capabilities&nbsp;of<br/>&nbsp;OpenHarmony | -&nbsp;[Kernel&nbsp;for&nbsp;Mini&nbsp;Systems](kernel/kernel-mini-overview.md)<br/>-&nbsp;[Kernel&nbsp;for&nbsp;Small&nbsp;Systems](kernel/kernel-small-overview.md)<br/>-&nbsp;[Drivers](driver/driver-hdf-overview.md)<br/>-&nbsp;[Subsystems](subsystems/subsys-build-mini-lite.md)<br/>-&nbsp;[Security&nbsp;Guidelines](security/security-guidelines-overall.md)<br/>-&nbsp;[Privacy&nbsp;Protection](security/security-privacy-protection.md) |
...@@ -48,7 +48,7 @@ In addition, OpenHarmony provides a series of optional system components that ca ...@@ -48,7 +48,7 @@ In addition, OpenHarmony provides a series of optional system components that ca
| Topic | Development&nbsp;Scenario | Documents | | Topic | Development&nbsp;Scenario | Documents |
| -------- | -------- | -------- | | -------- | -------- | -------- |
| About&nbsp;OpenHarmony | Getting&nbsp;familiar&nbsp;with&nbsp;OpenHarmony | -&nbsp;[About&nbsp;OpenHarmony](https://gitee.com/openharmony/docs/blob/master/en/OpenHarmony-Overview.md)<br/>-&nbsp;[Glossary](glossary/glossary.md) | | About&nbsp;OpenHarmony | Getting&nbsp;familiar&nbsp;with&nbsp;OpenHarmony | -&nbsp;[About&nbsp;OpenHarmony](https://gitee.com/openharmony/docs/blob/master/en/OpenHarmony-Overview.md)<br/>-&nbsp;[Glossary](../glossary.md) |
| Development&nbsp;resources | Preparing&nbsp;for&nbsp;your&nbsp;development | -&nbsp;[Obtaining&nbsp;Source&nbsp;Code](get-code/sourcecode-acquire.md)<br/>-&nbsp;[Tool&nbsp;Acquisition](get-code/gettools-acquire.md) | | Development&nbsp;resources | Preparing&nbsp;for&nbsp;your&nbsp;development | -&nbsp;[Obtaining&nbsp;Source&nbsp;Code](get-code/sourcecode-acquire.md)<br/>-&nbsp;[Tool&nbsp;Acquisition](get-code/gettools-acquire.md) |
| Quick&nbsp;start | Getting&nbsp;started&nbsp;with&nbsp;setup,&nbsp;build,<br/>&nbsp;burning,&nbsp;debugging,&nbsp;and<br/>&nbsp;running&nbsp;of&nbsp;OpenHarmony | [Standard&nbsp;System](quick-start/quickstart-standard-overview.md) | | Quick&nbsp;start | Getting&nbsp;started&nbsp;with&nbsp;setup,&nbsp;build,<br/>&nbsp;burning,&nbsp;debugging,&nbsp;and<br/>&nbsp;running&nbsp;of&nbsp;OpenHarmony | [Standard&nbsp;System](quick-start/quickstart-standard-overview.md) |
| Basic&nbsp;capabilities | Using&nbsp;basic&nbsp;capabilities&nbsp;of&nbsp;OpenHarmony | -&nbsp;[Kernel&nbsp;for&nbsp;Standard&nbsp;Systems](kernel/kernel-standard-overview.md)<br/>-&nbsp;[Drivers](driver/driver-hdf-overview.md)<br/>-&nbsp;[Subsystems](subsystems/subsys-build-standard-large.md)<br/>-&nbsp;[Security&nbsp;Guidelines](security/security-guidelines-overall.md)<br/>-&nbsp;[Privacy&nbsp;Protection](security/security-privacy-protection.md) | | Basic&nbsp;capabilities | Using&nbsp;basic&nbsp;capabilities&nbsp;of&nbsp;OpenHarmony | -&nbsp;[Kernel&nbsp;for&nbsp;Standard&nbsp;Systems](kernel/kernel-standard-overview.md)<br/>-&nbsp;[Drivers](driver/driver-hdf-overview.md)<br/>-&nbsp;[Subsystems](subsystems/subsys-build-standard-large.md)<br/>-&nbsp;[Security&nbsp;Guidelines](security/security-guidelines-overall.md)<br/>-&nbsp;[Privacy&nbsp;Protection](security/security-privacy-protection.md) |
......
...@@ -190,8 +190,12 @@ ...@@ -190,8 +190,12 @@
- **Possible Cause 1:** Python is not installed. - **Possible Cause 1:** Python is not installed.
- **Solutions** - **Solutions**
[Install Python](../quick-start/quickstart-lite-env-setup-linux.md). Run the following command to install Python 3:
```
sudo apt-get install python3.8
```
- **Possible Cause 2:** The soft link that points to the Python does not exist in the **usr/bin** directory. - **Possible Cause 2:** The soft link that points to the Python does not exist in the **usr/bin** directory.
...@@ -226,6 +230,9 @@ ...@@ -226,6 +230,9 @@
- **Solutions** - **Solutions**
[Install Python](../quick-start/quickstart-lite-env-setup-linux.md). Run the following command to install Python 3:
```
sudo apt-get install python3.8
```
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
2. Burn the U-Boot file by following the procedures for burning a U-Boot file over USB. 2. Burn the U-Boot file by following the procedures for burning a U-Boot file over USB.
Select the U-Boot files of corresponding development boards for burning by referring to [Programming Flash Memory on the Hi3516](../quick-start/quickstart-lite-steps-hi3516-running.md)/[Programming Flash Memory on the Hi3518](../quick-start/quickstart-lite-steps-hi3518-running.md) Select the U-Boot files of corresponding development boards for burning by referring to [Programming Flash Memory on the Hi3516](../quick-start/quickstart-lite-steps-hi3516-running.md)/[Programming Flash Memory on the Hi3518](../quick-start/quickstart-ide-lite-steps-hi3516-burn.md)
3. Log in to the serial port after the burning is complete. 3. Log in to the serial port after the burning is complete.
......
# Interrupt Management<a name="EN-US_TOPIC_0000001123863135"></a> # Interrupt Management<a name="EN-US_TOPIC_0000001123863135"></a>
- [Basic Concepts](#section1699312388210)
- [Available APIs](#section158501652121514)
- [How to Develop](#section11841123033618)
- [Development Example](#section460018317164)
- [Verification](#section668510614519)
## Basic Concepts<a name="section1699312388210"></a> ## Basic Concepts<a name="section1699312388210"></a>
An interrupt is a signal to the processor emitted by hardware or software indicating an event that needs immediate attention. An interrupt alerts the processor to a high-priority condition requiring the interruption of the current code being executed by the processor. When a hardware interrupt is triggered, the interrupt handler is located based on the interrupt ID and then executed to handle the interrupt. An interrupt is a signal to the processor emitted by hardware or software indicating an event that needs immediate attention. An interrupt alerts the processor to a high-priority condition requiring the interruption of the current code being executed by the processor. When a hardware interrupt is triggered, the interrupt handler is located based on the interrupt ID and then executed to handle the interrupt.
......
...@@ -81,7 +81,7 @@ board_include_dirs = [] ...@@ -81,7 +81,7 @@ board_include_dirs = []
After the product directory, product definition, and board settings are correctly configured, run the precompilation command `hb set` in the project root directory. Then you can find the related product in the displayed list. After the product directory, product definition, and board settings are correctly configured, run the precompilation command `hb set` in the project root directory. Then you can find the related product in the displayed list.
![ohos_config.json](figures/asr582x_ohos_config.png) ![ohos_config.json](figure/asr582x_ohos_config.png)
After selecting a product, press **Enter**. The `ohos_config.json` file is automatically generated in the root directory. Information about the product to be compiled is listed here. After selecting a product, press **Enter**. The `ohos_config.json` file is automatically generated in the root directory. Information about the product to be compiled is listed here.
...@@ -151,7 +151,7 @@ endchoice ...@@ -151,7 +151,7 @@ endchoice
To compile the board BOARD_DEV_WIFI_A, you need to select **SOC_COMPANY_ASRMICRO**, **SOC_SERIES_ASR582X**, and **SOC_ASR5822S**. You can do so by running `make menuconfig` in `kernel/liteos_m`. To compile the board BOARD_DEV_WIFI_A, you need to select **SOC_COMPANY_ASRMICRO**, **SOC_SERIES_ASR582X**, and **SOC_ASR5822S**. You can do so by running `make menuconfig` in `kernel/liteos_m`.
![asr5822s_select.json](figures/asr5822s_select.png) ![asr5822s_select.json](figure/asr5822s_select.png)
The configurations are saved in `//vendor/asrmicro/wifi_demo/kernel_configs/debug.config` by default. You can directly modify the configurations in **debug.config**. The configurations are saved in `//vendor/asrmicro/wifi_demo/kernel_configs/debug.config` by default. You can directly modify the configurations in **debug.config**.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Compilation Environment Setup<a name="section3336103410314"></a> ## Compilation Environment Setup<a name="section3336103410314"></a>
Set up the basic environment by following instructions in [Ubuntu Build Environment](../quick-start/quickstart-lite-env-setup-linux.md). Both the user space and LiteOS Cortex-A kernel space are compiled using the LLVM compiler. If you choose to port the Linux kernel, run the following command to install the gcc-arm-linux-gnueabi cross compiler for compiling the Linux kernel-space image: Set up the basic environment by following instructions in [Ubuntu Build Environment](../quick-start/quickstart-lite-steps-hi3861-setting.md). Both the user space and LiteOS Cortex-A kernel space are compiled using the LLVM compiler. If you choose to port the Linux kernel, run the following command to install the gcc-arm-linux-gnueabi cross compiler for compiling the Linux kernel-space image:
``` ```
sudo apt-get install gcc-arm-linux-gnueabi sudo apt-get install gcc-arm-linux-gnueabi
......
...@@ -218,7 +218,7 @@ The following steps show how to configure and modify the toolchains for cross-co ...@@ -218,7 +218,7 @@ The following steps show how to configure and modify the toolchains for cross-co
1. Set up the OpenHarmony environment. 1. Set up the OpenHarmony environment.
Using Hi3518EV300 as an example, compile the OpenHarmony image and burn it to the development board. For details, see [Developing the First Example Program Running on Hi3518](../quick-start/quickstart-lite-steps-hi3518-running.md). Using Hi3518EV300 as an example, compile the OpenHarmony image and burn it to the development board. For details, see [Developing the First Example Program Running on Hi3518](../quick-start/quickstart-lite-steps-hi3516-running.md).
The following screen is displayed after a successful login to the OS. The following screen is displayed after a successful login to the OS.
......
...@@ -241,7 +241,7 @@ The following table describes the APIs for responding to modem service requests, ...@@ -241,7 +241,7 @@ The following table describes the APIs for responding to modem service requests,
### Debugging and Verification<a name="section10207938171413"></a> ### Debugging and Verification<a name="section10207938171413"></a>
1. Use the [hdc\_std](en-us_topic_0000001080478129.md#section05992022154916) tool to connect to a debugging device. Then, run the following command to send the generated **libril\_vendor.z.so** library file to the **/system/lib/** directory of the device. 1. Use the [hdc\_std](../subsystems/subsys-toolchain-hdc-guide.md) tool to connect to a debugging device. Then, run the following command to send the generated **libril\_vendor.z.so** library file to the **/system/lib/** directory of the device.
``` ```
hdc_std file send libril_vendor.z.so /system/lib/ hdc_std file send libril_vendor.z.so /system/lib/
...@@ -380,7 +380,7 @@ The following table describes the API for reporting modem events. ...@@ -380,7 +380,7 @@ The following table describes the API for reporting modem events.
### Debugging and Verification<a name="section16999174401516"></a> ### Debugging and Verification<a name="section16999174401516"></a>
1. Use the [hdc\_std](en-us_topic_0000001080478129.md#section05992022154916) tool to connect to a debugging device. Then, run the following command to send the generated **libril\_vendor.z.so** library file to the **/system/lib/** directory of the device. 1. Use the [hdc\_std](subsystems/subsys-toolchain-hdc-guide.md) tool to connect to a debugging device. Then, run the following command to send the generated **libril\_vendor.z.so** library file to the **/system/lib/** directory of the device.
``` ```
hdc_std file send libril_vendor.z.so /system/lib/ hdc_std file send libril_vendor.z.so /system/lib/
......
...@@ -4,6 +4,3 @@ ...@@ -4,6 +4,3 @@
- **[hdc\_std](subsys-toolchain-hdc-guide.md)** - **[hdc\_std](subsys-toolchain-hdc-guide.md)**
- **[hiperf](subsys-toolchain-hiperf.md)**
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
- [Introduction to the Hi3516 Development Board](quick-start/quickstart-standard-board-introduction-hi3516.md) - [Introduction to the Hi3516 Development Board](quick-start/quickstart-standard-board-introduction-hi3516.md)
- [Introduction to the RK3568 Development Board](quick-start/quickstart-standard-board-introduction-rk3568.md) - [Introduction to the RK3568 Development Board](quick-start/quickstart-standard-board-introduction-rk3568.md)
- [Reference](quick-start/quickstart-standard-reference.md) - [Reference](quick-start/quickstart-standard-reference.md)
- [Obtaining Source Code](get-code/sourcecode-acquire.md) - [Obtaining Source Code](get-code/sourcecode-acquire.md)
- Compatibility and Security - Compatibility and Security
- [Privacy Protection](security/security-privacy-protection.md) - [Privacy Protection](security/security-privacy-protection.md)
- [Security Guidelines](security/security-guidelines-overall.md) - [Security Guidelines](security/security-guidelines-overall.md)
...@@ -311,11 +311,11 @@ ...@@ -311,11 +311,11 @@
- [Linux Kernel Overview](kernel/kernel-standard-overview.md) - [Linux Kernel Overview](kernel/kernel-standard-overview.md)
- [Applying Patches on OpenHarmony Development Boards](kernel/kernel-standard-patch.md) - [Applying Patches on OpenHarmony Development Boards](kernel/kernel-standard-patch.md)
- [Guidelines for Building the Linux Kernel](kernel/kernel-standard-build.md) - [Guidelines for Building the Linux Kernel](kernel/kernel-standard-build.md)
- [Enhanced Kernel Features](kernel-standard-enhanced-features.md) - Enhanced Kernel Features
- [Enhanced SWAP](kernel-standard-mm-eswap.md) - [Enhanced SWAP](kernel/kernel-standard-mm-eswap.md)
- [Task Scheduling](kernel-standard-sched.md) - Task Scheduling
- [Related Thread Group](kernel-standard-sched-rtg.md) - [Related Thread Group](kernel/kernel-standard-sched-rtg.md)
- [Lightweight CPU Isolation](kernel-standard-sched-cpuisolation.md) - [Lightweight CPU Isolation](kernel/kernel-standard-sched-cpuisolation.md)
- Driver - Driver
- HDF - HDF
- [HDF Overview](driver/driver-hdf-overview.md) - [HDF Overview](driver/driver-hdf-overview.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册