Commit Graph

455 Commits

Author SHA1 Message Date
Eugene Shamaev b121145c33 mk: compilation settings to include CAN bus drivers and UAVCAN protocol 2017-04-10 22:38:13 +01:00
Lucas De Marchi 18ba1aa166 gitignore: do not ignore *.d inside PX4 build files
We have files inside a init.d directory which were being ignored due to
the .d suffix.
2017-03-24 12:06:19 +11:00
Lucas De Marchi fd6df40745 ROMFS: do not connect USB for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 81a9a70910 ROMFS: use different UART for errors in aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 7d8bed8a55 ROMFS: standardize board-override script
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
2017-03-24 12:06:19 +11:00
Lucas De Marchi 2349909033 AP_BoardConfig: start mtd driver 2017-03-24 12:06:19 +11:00
Lucas De Marchi d2aef41b08 build: add aerofc-v1 bootloader 2017-03-24 12:06:19 +11:00
Randy Mackay a52b1dd18f Build: remove batt_smbus from build 2017-02-09 10:45:02 +09:00
Andrew Tridgell b5a04f1f43 mk: removed oreoled.bin
fw update of oreoled doesn't work anyway. When we re-enable we need to
find another way to get it there
2017-01-29 16:31:06 +11:00
Andrew Tridgell 3f38b8c945 mk: enable uavcan on FMUv2 2017-01-29 16:31:06 +11:00
Andrew Tridgell 92933f7f04 mk: removed remaining PX4 rangefinder drivers 2017-01-27 18:12:20 +11:00
Andrew Tridgell 99d5f538f5 mk: removed PX4 trone driver 2017-01-27 18:11:29 +11:00
Randy Mackay 99ba42c26d Build: do not build PX4Firmware rgbled driver 2017-01-27 15:24:09 +09:00
Randy Mackay 82b1b41a61 PX4: do not start px4 firmware rgbled driver 2017-01-27 15:24:09 +09:00
Andrew Tridgell 960da45275 mk: fixed px4-v3 build with make 2017-01-13 08:43:28 +11:00
Andrew Tridgell 7a3c4fd2ee mk: removed most frame build targets 2017-01-12 17:39:37 +11:00
Andrew Tridgell 4cb9f772f2 mk: link SRV_Channel library 2017-01-12 17:39:37 +11:00
Andrew Tridgell 979c3a6270 mk: support px4-v3 with make
I really wish we didn't still need this!
2016-12-19 08:07:13 +11:00
Andrew Tridgell cd506834b7 mk: added AP_FlashStorage to makefile build
still needed by travis :-(
2016-12-02 09:49:39 +11:00
Andrew Tridgell 4ef4016e5e mk: removed PX4 irlock driver 2016-11-28 08:39:07 +11:00
Andrew Tridgell ca75f1fc12 mk: remove px4flow from build 2016-11-28 08:26:57 +11:00
Peter Barker e94c23e0a1 mk: stop ignoring exit status of mavlink header generation
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.
2016-11-16 00:08:49 +00:00
Andrew Tridgell 95de899229 mk: removed more drivers from rc.APM 2016-11-09 17:07:59 +11:00
Andrew Tridgell af947dbd38 mk: removed PX4 airspeed drivers 2016-11-09 17:07:59 +11:00
Lucas De Marchi 57aec40acb build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03:00
Lucas De Marchi ae53920e5b build: don't build examples with old build system
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.
2016-10-11 13:03:08 +11:00
Andrew Tridgell a69c1a6f90 build: added pymavlink submodule auto update 2016-09-16 09:04:30 +10:00
Andrew Tridgell 670dd22ad9 mk: make px4-clean remove vehicle object files 2016-09-05 18:22:01 +10:00
Andrew Tridgell 4c22c59933 mk: fixed bad parameter bug on px4-v2
we have been getting builds with bad parameter values when built with
"make px4". It seems to be mixing object files from two px4 targets
2016-09-05 11:22:36 +10:00
LukeMike 451390ddec VRBRAIN: removed sensor driver startup now managed into AP_BoardConfig 2016-08-11 07:52:39 +10:00
LukeMike 9be5e37faa VRBRAIN: moved common modules into vrbrain_common.mk and disabled unnecessary modules 2016-08-11 07:52:39 +10:00
LukeMike 11fb43e0c9 mk/vrbrain_targets: removed vrubrain-v52 from vrbrain target for mass building - board configuration in progress 2016-08-11 07:52:39 +10:00
Andrew Tridgell 00f3113e83 PX4: removed driver startup from rc.APM
moved to AP_BoardConfig instead
2016-08-10 19:54:00 +10:00
LukeMike bda59b890d VRBRAIN / mk: updated all makefiles and ROMFS for all VirtualRobotix boards 2016-08-07 20:31:52 +10:00
LukeMike cab1acee46 VRBRAIN / vrbrain_targets: updated makefile for all VirtualRobotix boards 2016-08-07 20:31:52 +10:00
LukeMike f9e1235593 VRBRAIN / targets: defined all VirtualRobotix targets 2016-08-07 20:31:52 +10:00
LukeMike 810f4bd44c VRBRAIN / environ: added vrcore (VR Core 1.0) and removed vrhero (not used) 2016-08-07 20:31:51 +10:00
Andrew Tridgell db8bf48747 build: added AP_ICEngine to build 2016-07-25 10:06:03 +10:00
Gustavo Jose de Sousa 308ee5fe45 mk: px4: remove misleading warnings about "old trees"
The user might just happen to have trees at those paths with work possibly
unrelated to ArduPilot.
2016-07-22 17:07:28 +10:00
Andrew Tridgell 241b6edfcf Build: added AP_Button to build 2016-07-22 15:01:20 +10:00
Andrew Tridgell fd286498af PX4: added otp to the build 2016-07-21 18:05:00 +10:00
Andrew Tridgell fc41e0e44e PX4: updated elf of bootloaders to match
for factory load
2016-07-15 11:49:59 +10:00
Andrew Tridgell 2d3fef72cd PX4: updated bootloaders 2016-07-15 08:35:36 +10:00
Andrew Tridgell f579c3e6eb mk: added a global make.inc
saves added global libraries to every subdirectory
2016-07-14 13:39:48 +10:00
Lucas De Marchi bf8d36fbe0 mk: add STDC format macros 2016-07-13 14:18:28 +10:00
Lucas De Marchi a014d0c790 mk: define missing headers for px4/qurt/sitl 2016-07-08 19:49:32 -03:00
Lucas De Marchi 1923d9029e mk: use SYSTYPE for Darwin and append to LIBS 2016-07-07 11:35:17 -03:00
Siddharth Bharat Purohit 98c97a689f MK: remove unused and undefined librt as build flag for macosx 2016-07-07 11:35:17 -03:00
Andrew Tridgell dece35e465 mk: fixed px4-cleandep warning 2016-05-31 21:22:40 +10:00
Andrew Tridgell 9de8b63814 mk: removed the attempt at highlight in warning
it just showed up as noise on gnome-terminal and actually made things
less clear

the sleep is annoying when testing things like build_examples.sh
2016-05-31 08:26:08 +10:00