diff --git a/en/device-dev/porting/porting-asr582x-combo-demo.md b/en/device-dev/porting/porting-asr582x-combo-demo.md index 7f6dbeca13a06096f90bf9ab948474df4d60ffab..787641e8b570b79429ff864e14a1e345649912fd 100644 --- a/en/device-dev/porting/porting-asr582x-combo-demo.md +++ b/en/device-dev/porting/porting-asr582x-combo-demo.md @@ -358,7 +358,7 @@ In addition, you need to add the hardware configuration description file of the #### GPIO Adaptation -1. The chip driver adaptation file is stored in the `//drivers/adapter/platform` directory. Add the `gpio_asr.c` and `gpio_asr.h` files to the `gpio` directory, and add the compilation conditions of the new driver file to `BUILD.gn`. +1. The chip driver adaptation file is stored in the `//drivers/hdf_core/adapter/platform` directory. Add the `gpio_asr.c` file to the `gpio` directory, and add the compilation conditions of the new driver file to `BUILD.gn`. ``` if (defined(LOSCFG_SOC_COMPANY_ASRMICRO)) { @@ -473,7 +473,7 @@ The compilation option entry of the subsystem is in the `config.json` file of th The source code of the lwIP component is stored in `//third_party/lwip`. The kernel in OpenHarmony is customized in `//kernel/liteos_m/components/net/lwip-2.1`, including the redefinition of some interfaces and structures. -For details about the porting process, see [lwIP Module Adaptation](porting-chip-board-lwip.md ). +For details about the porting process, see [lwIP Module Adaptation](porting-chip-board-lwip.md). In this example, the path for setting lwip in the `config.json` file is as follows: diff --git a/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md b/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md index eb7a7afb8a59945848545031b52ba4525d426960..a3b08b743ab140fa596e18e26190e49dbe802281 100755 --- a/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md +++ b/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md @@ -358,7 +358,7 @@ LOSCFG_DRIVERS_HDF_PLATFORM=y #### GPIO适配 -1. 芯片驱动适配文件位于`//drivers/adapter/platform`目录,在gpio目录增加gpio_asr.c和gpio_asr.h文件,在BUILD.gn中增加新增的驱动文件编译条件: +1. 芯片驱动适配文件位于`//drivers/hdf_core/adapter/platform`目录,在gpio目录增加gpio_asr.c文件,在BUILD.gn中增加新增的驱动文件编译条件: ``` if (defined(LOSCFG_SOC_COMPANY_ASRMICRO)) {