Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

jcarceol
Copy link

No description provided.

Installation instructions added, some of them from George's report, some others are extra.
Copy link
Contributor

@amilcarlucas amilcarlucas left a 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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):

Comment on lines +34 to +36
Clone the `pt3.1-dcp` branch, including all submodules:
```bash
git clone --branch pt3.1-dcp --recurse-submodules https://github.com/Reblade/ardupilot.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Comment on lines +47 to +49
1. **Configure the build system for the CubeOrangeXL-DID board**:
```bash
./waf configure --board CubeOrangeXL-DID
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Prerequisites
### Prerequisites for Linux

@peterbarker
Copy link
Contributor

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

Copy link
Contributor

@khancyr khancyr left a 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
Copy link
Contributor

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

@jcarceol jcarceol closed this Sep 26, 2024
@jcarceol jcarceol deleted the Installation-instructions branch September 26, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants