This is a customised Ardupilot firmware builder which allows to integrate custom patches, recall old builds etc. This is hosted on a private server but publicly accessible and the source code can be downloaded by anyone. Detailed instruction on how to build your custom firmware patcher based with this code are in the readme below. A live version of this app can be accessed here: https://ardupilot.equalmass.com

Andrew Tridgell bd52b48d15 added a collapsible list 4 년 전
static bd52b48d15 added a collapsible list 4 년 전
templates bd52b48d15 added a collapsible list 4 년 전
.gitignore 519e1f8813 Initial commit 5 년 전
CustomBuild.conf 1d65a1a7b7 fixed apache2 config 4 년 전
LICENSE 519e1f8813 Initial commit 5 년 전
README.md a1d44d8df8 Update README.md 4 년 전
__init__.py dbb766af42 Attempted to get apache server running with wsgi (not currently working) 4 년 전
app.py 03a9fab8d0 tidy up feature list 4 년 전
app.wsgi 32ebd62a5a tidy ups of WSGI support 4 년 전

README.md

ArduPilot Custom Firmware Builder

Summary

This is a website that generates a downloadable custom ArduPilot firmware, based on user selection.

For developers

This website uses the flask library. The ardupilot directory must be in the same directory as the CustomBuild directory.

To run:

./app.py

For Apache web server on Ubuntu with wsgi

  • Install mod_wsgi for python 3:

    sudo apt-get install libapache2-mod-wsgi-py3 python-dev
    
  • In app.wsgi, specify the app directory (.../CustomBuild/).

  • Copy the config file to /etc/apache2/sites-available/ and specify the correct directory, user and group.

  • Enable the file:

    sudo a2ensite CustomBuild.conf
    
  • Open envvars, and specify the user and group.

    sudo vim /etc/apache/envvars
    
  • To stop Apache:

    sudo apache2ctl stop
    
  • To start Apache:

    sudo apache2ctl start
    

    Webpage: 127.0.0.1/CustomBuild/

Without wsgi

Insert the CustomBuild directory location for DocumentRoot and Directory below.

DocumentRoot "CustomBuild directory location"
<Directory CustomBuild directory location>
				Options Indexes FollowSymLinks MultiViews
				AllowOverride None
				Order allow,deny
				allow from all
Require all granted
</Directory>

To run the server:

/usr/local/opt/httpd/bin/httpd -D FOREGROUND