-
Notifications
You must be signed in to change notification settings - Fork 17.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation instructions #28238
Installation instructions #28238
Conversation
Installation instructions added, some of them from George's report, some others are extra.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it, it can not go in like this
@@ -1,3 +1,74 @@ | |||
## Installation Instructions | |||
|
|||
Follow these steps to clone the ArduPilot repository, set up your environment, and configure it for the CubeOrangeXL-DID autopilot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow these steps to clone the ArduPilot repository, set up your environment, and configure it for the CubeOrangeXL-DID autopilot. | |
Follow these steps to clone the ArduPilot repository, set up your environment, and configure it for a specific flight controller hardware board. |
sudo apt install python3 python3-pip | ||
``` | ||
|
||
3. **ARM GCC Toolchain** (required to compile ArduPilot for ARM-based boards like CubeOrange): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3. **ARM GCC Toolchain** (required to compile ArduPilot for ARM-based boards like CubeOrange): | |
3. **ARM GCC Toolchain** (required to compile ArduPilot for ARM-based boards): |
Clone the `pt3.1-dcp` branch, including all submodules: | ||
```bash | ||
git clone --branch pt3.1-dcp --recurse-submodules https://github.com/Reblade/ardupilot.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clone the `pt3.1-dcp` branch, including all submodules: | |
```bash | |
git clone --branch pt3.1-dcp --recurse-submodules https://github.com/Reblade/ardupilot.git | |
Usually you either want a stable branch like `Copter-4.5` or `Plane-4.5` or you want the latest development branch `master`. | |
Clone the desired branch, including all submodules, `Copter-4.5` in this example: | |
```bash | |
git clone --branch Copter-4.5 --recurse-submodules https://github.com/ArduPilot/ardupilot.git |
1. **Configure the build system for the CubeOrangeXL-DID board**: | ||
```bash | ||
./waf configure --board CubeOrangeXL-DID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. **Configure the build system for the CubeOrangeXL-DID board**: | |
```bash | |
./waf configure --board CubeOrangeXL-DID | |
1. **Configure the build system for the desired flight controller board, in this example the `CubeOrangeXL-DID` board**: | |
```bash | |
./waf configure --board CubeOrangeXL-DID |
|
||
### Build and Upload Firmware (Optional) | ||
|
||
Once configured, you can build and upload the firmware to the CubeOrangeXL autopilot: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once configured, you can build and upload the firmware to the CubeOrangeXL autopilot: | |
Once configured, you can build and upload the firmware to the flight controller: |
./waf copter --upload | ||
``` | ||
|
||
Now you have successfully cloned, configured, and built the ArduPilot firmware for the CubeOrangeXL-DID autopilot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now you have successfully cloned, configured, and built the ArduPilot firmware for the CubeOrangeXL-DID autopilot. | |
Now you have successfully cloned, configured, and built the ArduPilot firmware for your flight controller. |
|
||
Follow these steps to clone the ArduPilot repository, set up your environment, and configure it for the CubeOrangeXL-DID autopilot. | ||
|
||
### Prerequisites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Prerequisites | |
### Prerequisites for Linux |
Please also note https://ardupilot.org/dev/docs/git-interactive-rebase.html . If that's too hard for you I can do that bit once the content's right |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that won't do. Please just add a link to the wiki, those instructions are wrong and opinionated. thankx
|
||
3. **ARM GCC Toolchain** (required to compile ArduPilot for ARM-based boards like CubeOrange): | ||
```bash | ||
sudo apt install gcc-arm-none-eabi gdb-arm-none-eabi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that isn't our toolchain. don't use it
No description provided.