mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 12:38:54 +08:00
New Crowdin translations - zh-CN (#25747)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
co-authored by
Crowdin Bot
parent
7fb8ea051f
commit
87559f717b
@@ -2,15 +2,15 @@
|
||||
|
||||
The _supported platforms_ for PX4 development are:
|
||||
|
||||
- [Ubuntu Linux (22.04/20.04/18.04)](../dev_setup/dev_env_linux_ubuntu.md) — Recommended
|
||||
- [Ubuntu Linux (24.04/22.04)](../dev_setup/dev_env_linux_ubuntu.md) — Recommended
|
||||
- [Windows (10/11)](../dev_setup/dev_env_windows_wsl.md) — via WSL2
|
||||
- [Mac OS](../dev_setup/dev_env_mac.md)
|
||||
- [macOS](../dev_setup/dev_env_mac.md)
|
||||
|
||||
## 支持的编译目标
|
||||
|
||||
下表显示了您可以在每个操作系统上构建何种 PX平台的固件编译。
|
||||
|
||||
| 平台 | Linux (Ubuntu) | Mac | Windows |
|
||||
| 平台 | Linux (Ubuntu) | macOS | Windows |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------: | :-------------------------: | :-------------------------: |
|
||||
| **NuttX based hardware:** [Pixhawk Series](../flight_controller/pixhawk_series.md), [Crazyflie](../complete_vehicles_mc/crazyflie2.md) | ✓ | ✓ | ✓ |
|
||||
| **Linux-based hardware:** [Raspberry Pi 2/3](../flight_controller/raspberry_pi_navio2.md) | ✓ | | |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Mac 上的开发环境
|
||||
# macOS Development Environment
|
||||
|
||||
MacOS 是受支持的 PX4 开发平台。
|
||||
根据本文的指示构建的开发环境可以用编译:
|
||||
@@ -22,8 +22,8 @@ The "base" macOS setup installs the tools needed for building firmware, and incl
|
||||
### Environment Setup
|
||||
|
||||
:::details
|
||||
Apple Silicon Macbook users!
|
||||
If you have an Apple M1, M2 etc. Macbook, make sure to run the terminal as x86 by setting up an x86 terminal:
|
||||
Apple Silicon MacBook users!
|
||||
If you have an Apple M1, M2 etc. MacBook, make sure to run the terminal as x86 by setting up an x86 terminal:
|
||||
|
||||
1. Locate the Terminal application within the Utilities folder (**Finder > Go menu > Utilities**)
|
||||
2. Select _Terminal.app_ and right-click on it, then choose **Duplicate**.
|
||||
@@ -50,7 +50,7 @@ First set up the environment
|
||||
2. Enforce Python 3 by appending the following lines to `~/.zshenv`
|
||||
|
||||
```sh
|
||||
# Point pip3 to MacOS system python 3 pip
|
||||
# Point pip3 to macOS system python 3 pip
|
||||
alias pip3=/usr/bin/pip3
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user