docs: update PX4 building instructions

This commit is contained in:
Oleg Kalachev
2022-04-06 02:51:20 +04:00
parent 6541d60d08
commit 169680129b
2 changed files with 12 additions and 12 deletions

View File

@@ -77,19 +77,19 @@ PX4 may be compiled from the source and automatically flashed to the flight cont
To do this, clone the PX4 repository:
```bash
git clone https://github.com/PX4/Firmware.git
git clone https://github.com/PX4/PX4-Autopilot.git
```
Select the appropriate version (tag) using `git checkout`. Then compile and upload the firmware:
```
make px4fmu-v4_default upload
```bash
make px4_fmu-v4_default upload
```
Where `px4fmu-v4_default` is the required firmware variant.
Where `px4_fmu-v4_default` is the required firmware variant.
In order to upload the `v3` firmware to Pixhawk, you may need to use the `force_upload` option:
```
make px4fmu-v3_default force-upload
```bash
make px4_fmu-v3_default force-upload
```

View File

@@ -79,19 +79,19 @@ PX4 может быть собран из исходников и загруже
Для это склонируйте репозиторий PX4:
```bash
git clone https://github.com/PX4/Firmware.git
git clone https://github.com/PX4/PX4-Autopilot.git
```
Выберите необходимую версию (тэг) с помощью `git checkout`. Затем соберите и загрузите прошивку:
```
make px4fmu-v4_default upload
```bash
make px4_fmu-v4_default upload
```
Где `px4fmu-v4_default` – требуемый вариант прошивки.
Где `px4_fmu-v4_default` – требуемый вариант прошивки.
Для загрузки прошивки `v3` в Pixhawk может понадобиться команда `force_upload`:
```
make px4fmu-v3_default force-upload
```bash
make px4_fmu-v3_default force-upload
```