From 5a5f72a9da3900d94e2e979dd2bf073e2b914e4b Mon Sep 17 00:00:00 2001 From: Nascs Fang Date: Mon, 21 Oct 2024 18:55:14 +0800 Subject: [PATCH 1/2] fix: fix different uart dev display Signed-off-by: Nascs Fang --- docs/common/dev/_pico-uart.mdx | 4 +--- docs/x/x2l/software-development/c_sdk_examples.md | 2 +- docs/x/x4/software/c_sdk_examples.md | 2 +- .../current/common/dev/_pico-uart.mdx | 4 +--- .../current/x/x2l/software-development/c_sdk_examples.md | 2 +- .../current/x/x4/software/c_sdk_examples.md | 2 +- 6 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/common/dev/_pico-uart.mdx b/docs/common/dev/_pico-uart.mdx index 8ebcafd2e..972e528f8 100644 --- a/docs/common/dev/_pico-uart.mdx +++ b/docs/common/dev/_pico-uart.mdx @@ -107,9 +107,7 @@ make -j$(nproc) - 终端输入以下命令,查看串口输出 -```bash -sudo minicom -D /dev/ttyS4 -b 115200 -``` +
sudo minicom -D /dev/{props.tty_num} -b 115200
- 验证 diff --git a/docs/x/x2l/software-development/c_sdk_examples.md b/docs/x/x2l/software-development/c_sdk_examples.md index 2540a5cd4..85cbc995e 100644 --- a/docs/x/x2l/software-development/c_sdk_examples.md +++ b/docs/x/x2l/software-development/c_sdk_examples.md @@ -32,7 +32,7 @@ import UART from "../../../common/dev/\_pico-uart.mdx"; - + #### CPU 通过 UART 来控制 RP2040 的 40-PIN GPIO diff --git a/docs/x/x4/software/c_sdk_examples.md b/docs/x/x4/software/c_sdk_examples.md index d3b0e6734..f4d1215ab 100644 --- a/docs/x/x4/software/c_sdk_examples.md +++ b/docs/x/x4/software/c_sdk_examples.md @@ -42,7 +42,7 @@ import INTEL_UART from "../../../common/dev/\_pico-gpio-controlled-by-intel.mdx" - + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_pico-uart.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_pico-uart.mdx index 22106b333..c9c8d9e0e 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_pico-uart.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_pico-uart.mdx @@ -107,9 +107,7 @@ After successful compilation, a file named hello_uart.uf2 will be created in the - Enter the following command in the terminal to view the serial port output -```bash -sudo minicom -D /dev/ttyS4 -b 115200 -``` +
sudo minicom -D /dev/{props.tty_num} -b 115200
- Verification diff --git a/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md b/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md index e8b3dc083..1b573a00c 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md @@ -32,7 +32,7 @@ In order to operate the IO resources on RP2040, we need a complete software envi - + #### Communication between CPU and RP2040 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/x/x4/software/c_sdk_examples.md b/i18n/en/docusaurus-plugin-content-docs/current/x/x4/software/c_sdk_examples.md index 13dd6280d..a11f7ce7b 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/x/x4/software/c_sdk_examples.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/x/x4/software/c_sdk_examples.md @@ -42,7 +42,7 @@ In order to operate the IO resources on RP2040, we need a complete software envi - + From 5a1ce72f420c393781b4c0dabe5431321820c1c2 Mon Sep 17 00:00:00 2001 From: Nascs Fang Date: Mon, 21 Oct 2024 18:58:29 +0800 Subject: [PATCH 2/2] fix: fix x2l reset link Signed-off-by: Nascs Fang --- docs/x/x2l/software-development/c_sdk_examples.md | 2 +- .../current/x/x2l/software-development/c_sdk_examples.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/x/x2l/software-development/c_sdk_examples.md b/docs/x/x2l/software-development/c_sdk_examples.md index 85cbc995e..b96c61da6 100644 --- a/docs/x/x2l/software-development/c_sdk_examples.md +++ b/docs/x/x2l/software-development/c_sdk_examples.md @@ -32,7 +32,7 @@ import UART from "../../../common/dev/\_pico-uart.mdx"; - + #### CPU 通过 UART 来控制 RP2040 的 40-PIN GPIO diff --git a/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md b/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md index 1b573a00c..a73a8e4cd 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/x/x2l/software-development/c_sdk_examples.md @@ -32,7 +32,7 @@ In order to operate the IO resources on RP2040, we need a complete software envi - + #### Communication between CPU and RP2040