| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a website that generates a downloadable custom ArduPilot firmware, based on user selection.
Website: https://custom.ardupilot.org
Blog post: https://discuss.ardupilot.org/t/gsoc-2021-custom-firmware-builder/74946
It is expected that you have an environment where ArduPilot can be built. Otherwise, see https://ardupilot.org/dev/docs/building-setup-linux.html.
Fork and Clone the ArduPilot/CustomBuild repository
In the directory containg the CustomBuild repo just cloned, create a /base subdirectory and change to that directory.
Clone a fork of the ArduPilot/ardupilot repository. The structure should appear similar to that below:
default directory structure is as follows
/home/<username> -CustomBuild -base --ardupilot
python3 -m pip install --user -U flask
Use --basedir to adjust the base directory, the default one is base.
To run, in the CustomBuild directory execute the following command:
./app.py
Once running, you will be given a link to a local host port in which the interface is displayed for the build server. It can be run at this point. Output will NOT be accessible via the interface buttons for build directory. Builds are stored in the base/builds subdirectory
To create a full server with network access:
sudo apt-get install apache2 libapache2-mod-wsgi-py3 python3 python3-pip
Copy the config file to /etc/apache2/sites-available/ and specify the correct directory.
Edit the file as necessary for your use case
Enable the file:
sudo a2ensite CustomBuild.conf
sudo apache2ctl graceful
sudo apache2ctl stop
sudo apache2ctl start
Webpage: 127.0.0.1
| Back | FazBrowse Home | New Git URL |