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..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/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..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 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 - +