Commit Graph

321 Commits

Author SHA1 Message Date
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
raspilot 0134d105bf build: added support for raspilot 2015-09-14 14:22:15 +10:00
Angus Peart 5085fd025d mk: start oreoled driver before batt_smbus 2015-09-09 10:39:47 +09:00
Angus Peart cde4e582cd mk: only update oreoled firmware if required 2015-09-09 10:39:46 +09:00
Jonathan Challinger 93672add06 mk: always update oreoleds 2015-09-09 10:39:45 +09:00
Jonathan Challinger cdced64e27 mk: oreoled firmware v1.3 2015-09-09 10:39:44 +09:00
Víctor Mayoral Vilches 4431b33686 mk: ERLEBOARD legacy support
This config referred to the legacy Erle-Board
https://erlerobotics.com/blog/product/erle-board/
The configuration is preserved to support the
existing boards. "erle" renamed to "erleboard".
2015-09-09 10:31:55 +10:00
Eugene Agafonov dd22b19ddd mk: add 'upload' target to copy fresh ELF to Linux board using SCP
`make pxf upload` builds ELF and copy it to target
device using scp.

Target hostname should be specified in BOARD_LINUX_HOST variable
2015-09-09 10:05:45 +10:00
Brandon 8e6bb3164c Make: start irlock 2015-08-31 18:00:22 +09:00
Brandon 25c59f954a Make: add irlock to px4 build 2015-08-31 18:00:21 +09:00
Andrew Tridgell baeddfe4f3 PX4: enable probe of MPU9250 if available 2015-08-17 09:33:01 +10:00
Gustavo Jose de Sousa b5c5297d68 mk: remove include paths from make.inc
Now that the includes directives are stardardized, we don't need to add include
paths from make.inc anymore.
2015-08-11 16:38:25 +10:00
squilter 9cfc7a48da Board_AVR: locate recently-moved boards.txt file in arduino-core 2015-08-03 10:05:13 +10:00
squilter 506970fbd3 Tools: Add Bebop prereqs to Ubuntu script 2015-07-14 18:10:56 +09:00
Andrew Tridgell b33ed8ce39 build: added bebop build 2015-07-10 14:18:17 +10:00
Andrew Tridgell 698312a32c build: added more warnings and errors to SITL build
more closely match PX4 build
2015-07-06 09:21:39 +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 d45f6e8f1d PX4: fixed startup tone
'start' doesn't work any more
2015-06-12 17:55:29 +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 3ec1a0ca84 modules: show wiki URL on all submodule errors 2015-06-09 13:51:15 +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 a6d34c208d modules: throw an error message on submodule init 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 fc3b75710f modules: check also for modules/.git 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
Tim Ryan 5d749b7bb3 Typo "stil" => "sitl" in help.mk 2015-06-04 12:18:00 +09:00
Andrew Tridgell c5f680de44 build: removed support for .pde files in build 2015-06-01 18:19:48 +10:00
Andrew Tridgell 2d2cc6c574 build: fixed flymaple build 2015-06-01 13:02:18 +10:00
Andrew Tridgell d516dc7fde build: fixed dependency on frame type for px4 build 2015-06-01 10:19:31 +10:00
Andrew Tridgell 65d0ecdef7 build: fixed dependency on frame type and options
this ensures "make sitl-heli" rebuilds after a "make sitl"

Thanks to Michael Oborne for reporting this
2015-06-01 10:09:43 +10:00
Andrew Tridgell bcb6fe9ae7 build: make reading config.mk be info not warning 2015-05-30 21:00:50 +10:00
Andrew Tridgell 22ce36fc8b build: make px4-clean depend on px4-cleandep 2015-05-28 13:30:38 +10:00
Andrew Tridgell 544eb8ea3f build: fixed flymaple build with functors 2015-05-26 19:47:19 +10:00
Lucas De Marchi c423fb5f46 build: switch to c++11 2015-05-26 13:46:48 +10:00
Lucas De Marchi 58a3d70f8b build: avr: Fix build with gcc > 4.8
Pass -fno-use-cxa-atexit as option to compiler so it's possible to build
with gcc newer than 4.8.
2015-05-26 13:46:47 +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 b1f7b80f7e build: minimise the number of eval calls in build 2015-05-26 07:46:05 +10:00
Andrew Tridgell d48bd8708b build: allow ccache to be found on windows cygwin 2015-05-25 23:02:23 +10:00
Andrew Tridgell ef72d5bff2 build: don't expand all target unless a '-' is in main target 2015-05-25 22:41:13 +10:00
Andrew Tridgell 2b2259a6d7 SITL: use more granrular sleeps for windows 2015-05-25 17:05:44 +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