summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard <[email protected]>2026-11-23 02:01:58 +0800
committerRbb666 <[email protected]>2026-11-24 15:08:26 +0800
commit9586ba568a04058edb545491a4230039cc4a39f0 (patch)
tree7b903ee1711f2e256a3b55d19117289ae40a895e
parent8d60e5f437e8e8c9d5347222135a817947d662d6 (diff)
[docs] fix macOS QEMU quick start PATH expansion and restart script
- Use $HOME instead of a quoted ~ in the PATH export so the shell expands it to an absolute path. - Correct the restart script name from qemu_nographic.sh to the existing qemu-nographic.sh in bsp/qemu-vexpress-a9. Refs #12082
-rw-r--r--documentation/2.quick-start/quick_start_qemu/quick_start_qemu_macos.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/2.quick-start/quick_start_qemu/quick_start_qemu_macos.md b/documentation/2.quick-start/quick_start_qemu/quick_start_qemu_macos.md
index ad71623354..0c27db74ec 100644
--- a/documentation/2.quick-start/quick_start_qemu/quick_start_qemu_macos.md
+++ b/documentation/2.quick-start/quick_start_qemu/quick_start_qemu_macos.md
@@ -45,7 +45,7 @@ tar xf ~/gcc-arm-11.2-2022.02-darwin-x86_64-arm-none-eabi.tar.xz
Add the following line to `~/.bash_profile`
```shell
-export PATH="$PATH:~/gcc-arm-11.2-2022.02-darwin-x86_64-arm-none-eabi/bin"
+export PATH="$PATH:$HOME/gcc-arm-11.2-2022.02-darwin-x86_64-arm-none-eabi/bin"
```
Run the following command. This is only needed once after `~/.bash_profile` is modified
@@ -167,7 +167,7 @@ Type `list_device` to view all devices registered in the system. You can see the
![format the SD card](figures/macos-mkfs-sd0.png)
-The file system will not be loaded immediately after the first formatting of the SD card, and the file system will be loaded correctly only after the second boot. So exit the virtual machine, and then restart the virtual machine and project by entering `./qemu_nographic.sh` on the command line interface. Entering `ls` command, you can see that the `Directory` directory has been added, the file system has been loaded, and then you can experience the file system with other commands provided by RT-Thread:
+The file system will not be loaded immediately after the first formatting of the SD card, and the file system will be loaded correctly only after the second boot. So exit the virtual machine, and then restart the virtual machine and project by entering `./qemu-nographic.sh` on the command line interface. Entering `ls` command, you can see that the `Directory` directory has been added, the file system has been loaded, and then you can experience the file system with other commands provided by RT-Thread:
![commands of file system](figures/macos-filesys.png)