Commit Graph

92 Commits

Author SHA1 Message Date
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
Andrew Tridgell b40d8f94d6 build: removed .d dependency files in sketch directory on px4-cleandep 2015-05-26 13:46:02 +10:00
Andrew Tridgell 23617b442e build: use a config.mk if it exists, but don't require it 2015-05-25 14:51:12 +10:00
Andrew Tridgell 3fbd0a1db0 build: removed the need for 'make configure'
and make default build display help
2015-05-21 10:54:19 +10:00
Andrew Tridgell d6bf851783 build: allow for slightly larger stack size on PX4
this allows building with gcc 4.9
2015-05-21 09:36:58 +10:00
Andrew Tridgell d8ba16f9cf build: support non-pde projects for PX4 build 2015-05-21 07:48:49 +10:00
Tom Pittenger b263c32507 Make: px4 warnings become errors 2015-04-24 14:04:30 +09:00
Andrew Tridgell 96d290a283 PX4: add PYTHONPATH for genmsg and gencpp tools 2015-02-14 12:25:44 +11:00
Jonathan Challinger 5059fc620c Build: add git hashes to .px4 files 2015-02-11 20:22:08 +11:00
Andrew Tridgell 15c5e153c8 PX4: re-enable some warnings as errors 2015-01-09 11:38:28 +11:00
Andrew Tridgell 5b46dec9a0 PX4: avoid build errors from new upstream -Werror directives 2015-01-09 11:37:57 +11:00
Andrew Tridgell 722ce0628a PX4: enable ccache on windows build 2014-12-04 08:12:47 +11:00
Andrew Tridgell 6d10797c59 build: enable uavcan if ../uavcan directory is present 2014-11-18 21:42:36 +11:00
Andrew Tridgell 26d3ad18b8 Revert "PX4: enabled support for UAVCAN"
This reverts commit 71b2306aa9.

This broke the build due to git submodules. We need to work out how
ArduPilot is going to handle the external uavcan module dependency
before we enable this again
2014-11-14 16:08:52 +11:00
Holger Steinhaus 71b2306aa9 PX4: enabled support for UAVCAN 2014-11-14 14:32:42 +11:00
Andrew Tridgell 6bf76acf96 PX4: add TESTS_MATHLIB_DISABLE define
this helps building with upstream master
2014-10-30 08:09:39 +11:00