This way people don't copy and paste to add a new board: make build
system is deprecated for Linux boards for a long time and is now
unsupported.
qflight remains as the only Linux board since it's not buildable
with waf. When it is, more files and pieces can be removed from mk/.
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to
have one additional I2C.
To keep GPS working is also necessary update the FPGA RTL to version
0xC1 or higher.
"make px4-heli" was not correctly setting up a heli build. Rather than
wasting time fixing the old makefile build I'd rather just remove that
option. "make px4-v2-heli" still works
Standardize on the following sequence for allowing different startup
sequences:
board-specific file
etc/rc on microSD card
etc/rc.txt on microSD card
Also remove comment about MODE variable that is not used by ArduPilot
Accept a 0 exit status, or a status >127 (indicating a signal
caused the process to exit) as success.
The original intent of ignoring the exit status was that
the python executable was segfaulting after successfully
building headers.
Recently builds have been failing because people have not been
doing recursive submodule updates, and the mavlink header generation
has failed. Since we are ignoring the error the build rumbles on
and fails later with a failed #include.
This patch tightens our ignoring of a bad exit status to just
signals.
Note that the waf build system does the same check.
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.