diff --git a/docs/en/firmware.md b/docs/en/firmware.md index 38fd2407..a8c2d62f 100644 --- a/docs/en/firmware.md +++ b/docs/en/firmware.md @@ -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 ``` diff --git a/docs/ru/firmware.md b/docs/ru/firmware.md index 13b77404..57f43287 100644 --- a/docs/ru/firmware.md +++ b/docs/ru/firmware.md @@ -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 ```