Commit Graph

467 Commits

Author SHA1 Message Date
Francisco Ferreira a5f8782f91 mk: remove old unused tools
These tools are now submodules in PX4Firmware so we don't use these files anymore, removing them to stop confusion
2017-09-09 07:48:21 +10:00
Lucas De Marchi bfe2acac33 build: add -Wno-attributes for PX4
This will allow us to use [[fallthrough]] attribute as an
statement.
2017-08-22 23:59:13 -07:00
José Roberto de Souza e674d6ee20 AP_HAL_PX4: aeorfc: Move GPS to UART7
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.
2017-08-04 12:47:01 -07:00
Kevin Lopez Alvarez 5b7113a7d0 mk: Add bootloader for FMUv4pro 2017-07-24 13:47:06 +10:00
Kevin Lopez Alvarez 40f8500122 mk: initial FMUv4pro support 2017-07-24 13:45:37 +10:00
Peter Barker 7042d3e9c9 Global: all vehicles get AP_Relay and AP_ServoRelayEvent libraries 2017-07-17 00:06:31 +01:00
Andrew Tridgell 0c186de6fc mk: remove support for bare px4 build type
"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
2017-05-09 14:05:20 +10:00
Andrew Tridgell 560c802d7c mk: AP_Airspeed is needed for EKF linking 2017-05-04 22:59:02 -07:00
Francisco Ferreira e7bd64b7d6 PX4: remove mkblctrl driver initialization 2017-04-27 13:32:43 +01:00
Francisco Ferreira 2f326fe5e0 build: remove obsolote mkblctrl from PX4 builds 2017-04-27 13:32:43 +01:00
Francisco Ferreira e0de1517c1 mk: add AP_ADC to global library include
AP_ADC was removed from Sub make include file in 6806989 but it is used in Linux HAL so we have to always include it
2017-04-26 20:23:41 -07:00
Andrew Tridgell e8117f5f46 PX4: removed attempt at formatting microSD
this never worked, and its a bad idea anyway
2017-04-17 14:56:17 +10:00
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