Commit Graph

107 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
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
Lucas De Marchi 57aec40acb build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03: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
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
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
Andrew Tridgell dece35e465 mk: fixed px4-cleandep warning 2016-05-31 21:22:40 +10:00
Luis Vale Gonçalves ae90945836 Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:44 -07:00
Francisco Ferreira c2391797d6 mk: allow git versions to be defined externally 2016-04-17 14:47:55 -03:00
Andrew Tridgell 3c5287e8db mk: create bootloaded directory for FMUv4 2016-04-16 20:51:59 +10:00
Andrew Tridgell d8f08591d5 PX4: fixed build with uavcan dependence on mavlink 2016-04-14 08:05:04 +10:00
Andrew Tridgell 4ef27ce446 mk: fixed px4io build 2016-04-14 08:05:04 +10:00
Ricardo de Almeida Gonzaga 730dc87b56 make: start using 'AP_Common/missing' to all boards 2016-04-05 21:06:25 -07:00
Francisco Ferreira d1910a9e5e mk: don't error on unknown pragmas 2016-03-30 01:32:45 -03:00
Lucas De Marchi 75d58bcfb6 Global: rename HAVE_NULLPTR_T with HAVE_STD_NULLPTR_T
This makes for a more standard name for these overrides.
2016-02-16 19:49:09 -02:00
Lucas De Marchi ae5da864e7 mk: make PX4, QURT and QFLIGHT use wrapper cstddef 2016-02-16 19:49:08 -02:00
Lucas De Marchi f4bc5c60ba mk: px4: replace cp -f with cp
-f is only needed for rm because it fails when the file being removed
doesn't exist. cp doesn't need it.
2016-02-15 13:36:28 -02:00
Peter Barker 529a0166d5 mk: px4: correct manipulation of files
- remove useless file copy
 - replace rm/cp idiom with cp -f
2016-02-15 13:35:43 -02:00
Lucas De Marchi 517a7f0f35 mk: add missing warnings from AP_Common.h
Copy the missing warnings from AP_Common.h and reorder the warnings to
be more clear on intent. This will later let us remove the warnings from
the header.
2016-02-12 20:41:29 +11:00
Andrew Tridgell 358dcd56e8 mk: put FMUv4 bootloader in ROMFS for Pixracer 2016-02-12 20:36:18 +11:00
Andrew Tridgell f6c2b55c3f mk: fixed dependency on mavlink header generation 2016-01-15 07:44:15 +11:00
Siddharth Bharat Purohit dd65495668 mk: generate mavlink headers using mavlink module files 2016-01-15 07:28:47 +11:00
squilter 65e2fb5367 Makefiles: add px4-v2-upload-solo
The IP of the Solo on its network is static, and will always be 10.1.1.10
2015-12-21 11:13:40 +09:00
Andrew Tridgell af82ca3c43 PX4: removed old Images in clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell 412bba0192 PX4: use Makefile.make
preparing for cmake build
2015-11-27 18:54:31 +11:00
Andrew Tridgell 1aa43b23f4 PX4: clean generated uORB topic headers in px4-clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell 09276ce068 build: added px4fmu-v4 support (for XRacer) 2015-11-27 18:54:30 +11:00
Andrew Tridgell 3624162b18 PX4: added size of binaries to build
this will help us monitor the use of flash
2015-11-09 13:25:49 +11:00
Andrew Tridgell a39b341308 PX4: clean out .d dependency files from uavcan on px4-cleandep 2015-10-20 15:09:28 +11:00
Andrew Tridgell 7ae5d3220a PX4: allow up to 1300 bytes frame size
needed for optimised EKF code
2015-10-20 14:36:58 +11:00
Andrew Tridgell 2ea23d66b0 PX4: use -fsingle-precision-constant for PX4 APM build
this will prevent us having to chase cases where developers forget to
add the f to a floating point constant in APM code
2015-10-19 12:12:20 +11:00
Lucas De Marchi 64d1f378b5 build: speedup PX4 build
By serializing only the right part it's possible to speedup a clean
build of ardupilot + PX4Firmware. In my machine, doing a
"make -j6 px4-v2" without ccache now works, completing the job in
2min10s (previously it was breaking in the generation of the config.h
header inside PX4.

For comparison, a complete build with -j1 on the same machine (the only
possible option without this patch) takes around 4min40s.
2015-09-14 17:23:46 +10:00
Andrew Tridgell 16ada34398 build: removed include of vehicle directory in build
this removes the temptation of including vehicle specific headers in
libraries
2015-06-29 15:34:43 +10:00
Andrew Tridgell 520d6cae6d build: fixed typo 2015-06-19 18:08:49 +10:00
Andrew Tridgell cfa63254b6 build: added support for developer.mk (at request of David) 2015-06-19 17:57:13 +10:00
Andrew Tridgell c4c97b14d3 build: only build required boards in NuttX archives
this speeds up the px4 build a lot
2015-06-19 17:44:18 +10:00
Andrew Tridgell c9e04cb98d PX4: fixed build with uavcan as submodule 2015-06-12 18:24:25 +10:00
Andrew Tridgell bbdb4e41bb px4: added ARDUPILOT_BUILD=1 to PX4 build
this allows us to not include some source files in PX4Firmware modules
2015-06-11 13:27:43 +10:00
Andrew Tridgell a3334e0602 PX4: updates for upstream merge 2015-06-09 19:45:00 +10:00
Andrew Tridgell 9698cae971 PX4: fixed copy of template build for PX4 2015-06-09 15:36:55 +10:00
Andrew Tridgell 4036a2e19b px4: show warning if old PX4 subdirectories exist 2015-06-09 14:07:44 +10:00
Andrew Tridgell 0e6f6c49c6 build: fixed subdirectory for NUTTX_SRC 2015-06-09 13:36:02 +10:00
Andrew Tridgell 3b886cd966 modules: show an error if config.mk specifies PX4 paths 2015-06-09 13:28:27 +10:00
Andrew Tridgell cf21cc8132 build: removed check for existance of PX4 subdirs
this prevents modules from initialising
2015-06-09 13:28:26 +10:00
Andrew Tridgell 5a6ac461d1 PX4: build using submodules 2015-06-09 13:28:26 +10:00
Andrew Tridgell a203dd2660 modules: added check_modules in PX4 build 2015-06-09 13:28:25 +10:00
Andrew Tridgell c5f680de44 build: removed support for .pde files in build 2015-06-01 18:19:48 +10:00
Andrew Tridgell 22ce36fc8b build: make px4-clean depend on px4-cleandep 2015-05-28 13:30:38 +10:00