From f7b85a824e4e2146c000f82568b324d1b4b8e9db Mon Sep 17 00:00:00 2001 From: lzh Date: Thu, 4 Jan 2024 17:37:46 +0800 Subject: [PATCH] xmac and readme update --- bsp/phytium/aarch32/README.md | 4 ++-- bsp/phytium/aarch64/README.md | 4 ++-- bsp/phytium/libraries/drivers/drv_xmac.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsp/phytium/aarch32/README.md b/bsp/phytium/aarch32/README.md index 7c07e019b2..6c51dd4ed9 100644 --- a/bsp/phytium/aarch32/README.md +++ b/bsp/phytium/aarch32/README.md @@ -28,8 +28,8 @@ https://github.com/RT-Thread/toolchains-ci/releases/tag/v1.7 - 在tools/目录下新建gnu_gcc文件夹,将下载好的压缩包移至该文件夹下,并使用tar命令解压缩 ```shell -mkdir gun_gcc -cd ./gun_gcc +mkdir gnu_gcc +cd ./gnu_gcc tar jxvf arm-linux-musleabi_for_x86_64-pc-linux-gnu_stable.tar.bz2 ``` diff --git a/bsp/phytium/aarch64/README.md b/bsp/phytium/aarch64/README.md index 4c85dc8cd9..9b1d39637a 100644 --- a/bsp/phytium/aarch64/README.md +++ b/bsp/phytium/aarch64/README.md @@ -28,8 +28,8 @@ https://github.com/RT-Thread/toolchains-ci/releases/tag/v1.7 - 在tools/目录下新建gnu_gcc文件夹,将下载好的压缩包移至该文件夹下,并使用tar命令解压缩 ```shell -mkdir gun_gcc -cd ./gun_gcc +mkdir gnu_gcc +cd ./gnu_gcc tar jxvf aarch64-linux-musleabi_for_x86_64-pc-linux-gnu_stable.tar.bz2 ``` diff --git a/bsp/phytium/libraries/drivers/drv_xmac.c b/bsp/phytium/libraries/drivers/drv_xmac.c index 29cea5ec8a..44340c13fc 100644 --- a/bsp/phytium/libraries/drivers/drv_xmac.c +++ b/bsp/phytium/libraries/drivers/drv_xmac.c @@ -842,7 +842,7 @@ void FXmacLinkChange(void *arg) } else { - xmac_p->link_status = link_status; + xmac_p->link_status = FXMAC_LINKDOWN; } } }