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
Andrew Tridgell
24b481ac0d
build: fixed dependency on frame type in make target
2014-08-01 06:54:03 +10:00
Andrew Tridgell
fc368202ad
build: fixed build with latest upstream PX4 Firmware tree
2014-07-09 08:12:10 +10:00
Andrew Tridgell
5230684bad
build: disable some compiler errors for now
...
this needs more work, but allows us to build with upstream PX4
Firmware now
2014-07-08 20:28:45 +10:00
Andrew Tridgell
f31183f22d
build: added APM_BUILD_DIRECTORY define to build
...
this makes it possible to have different default parameter values for
different vehicle types in libraries, as long as you use the makefile
based build
2014-03-26 12:15:31 +11:00
Andrew Tridgell
e037b37880
PX4: added "make px4-cleandep" for faster rebuilding between branches
2014-01-22 17:15:34 +11:00
Andrew Tridgell
7a02c2720b
PX4: added defines for PX4 and NuttX version in logs
2014-01-14 15:35:41 +11:00
Andrew Tridgell
f3c36ccef1
px4: fixed IO build
2013-12-30 14:51:40 +11:00
Andrew Tridgell
b59f2d4326
build: put px4io elf files in build directory
2013-12-28 10:17:47 +11:00
Andrew Tridgell
3c5dcc7862
PX4: added -Wno-packed
...
we know that packed data structures are not as efficient
2013-12-11 11:10:26 +11:00
Andrew Tridgell
56752f4027
build: reduced PX4 warnings and avoid rebuilding when possible
2013-12-11 09:59:41 +11:00
Andrew Tridgell
6deeca1cc0
build: support all copter frame types on all boards
2013-11-13 09:12:02 +11:00
Andrew Tridgell
18c3b16aa8
build: added GIT_VERSION define to Makefile build
2013-11-09 10:09:19 +11:00
Andrew Tridgell
0c926c38b1
PX4: boot the FMU bootloader in ROMFS
2013-09-04 13:15:51 +10:00
Andrew Tridgell
935546d80d
PX4: setup build layout to assume PX4Firmware and PX4NuttX trees
...
both in directory above ardupilot
2013-08-30 13:32:23 +10:00
Andrew Tridgell
78e85b36a4
PX4: moved MAXOPTIMIZATION change to APM build system
...
simpler than patching Firmware
2013-08-30 13:01:34 +10:00
Andrew Tridgell
f48acffc52
PX4: always rebuild module.mk
...
this allows for switching build between different vehicle types
2013-08-30 13:01:34 +10:00
Andrew Tridgell
ad445379b5
PX4: speed up the build a lot
...
this avoids removal of built objects and dependencies by allowing the
PX4 build system to put all objects and dependencies in the per-board
build directories
2013-08-30 13:01:33 +10:00
Andrew Tridgell
16b5f923ae
PX4: remove the use of symlinks in PX4 build
...
this should make it more windows friendly
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1137de1002
PX4: make upload targets depend on build targets
...
this allows for "make px4-v1-upload" for faster development cycles
2013-08-30 13:01:33 +10:00
Andrew Tridgell
0e0afbd756
PX4: allow NuttX tree to be in directory above Firmware tree
2013-08-30 13:01:32 +10:00
Andrew Tridgell
16a3f0d47b
PX4: only put one IO firmware in ROMFS
...
saves a bit of space. This also fixes makefile based upload
2013-08-30 13:01:32 +10:00
Andrew Tridgell
272057ff6d
PX4: fixed build of v1 and v2 firmwares in one build
...
this does a clean on each build, which is horribly inefficient. To fix
that we need to work out what state information is preventing
switching targets in one build
2013-08-30 13:01:32 +10:00
Andrew Tridgell
25b2cc7bf6
PX4: moved px4io-*.bin to ROMFS
...
this is more convenient than users having to copy it over
2013-08-30 13:01:32 +10:00
Andrew Tridgell
d27b338e18
PX4: added io-v2 targets
2013-08-30 13:01:32 +10:00
Andrew Tridgell
140fc63a69
PX4: added px4-v2 targets
2013-08-30 13:01:32 +10:00
Julian Oes
56e94d70e9
PX4: Adaptations to latest build changes
2013-08-30 13:01:32 +10:00
Andrew Tridgell
28ffa4059b
PX4: added ARDUPILOT_BUILD define
...
will be used to avoid some code in the px4io driver
2013-06-24 21:51:17 +10:00
Kevin Hester
7652f403ea
PX4: Remove -Os because I've changed the px4 tree to have that as the
...
default
2013-06-18 12:14:50 +10:00
Andrew Tridgell
856d654601
PX4-build: cope with relative path in PX4_ROOT
2013-05-22 22:57:24 +10:00
Andrew Tridgell
3a66d304af
PX4: changed EXTRAFLAGS to EXTRADEFINES for PX4
2013-05-10 06:16:54 +10:00
Andrew Tridgell
0acceb04ff
build: added px4-archives target
2013-05-10 06:16:54 +10:00
Andrew Tridgell
06cf9def98
PX4: auto-build the archives if needed
2013-05-10 06:16:54 +10:00
Andrew Tridgell
73250efc01
build: added support for the new PX4 build system
2013-05-10 06:16:54 +10:00
Andrew Tridgell
0af84177da
px4: fixed passing of EXTRAFLAGS for ArduCopter frame type
2013-04-17 13:19:45 +10:00
Andrew Tridgell
a77b5e9954
build: fixed eclipse build on Windows for PX4
2013-02-21 21:03:55 +11:00
Andrew Tridgell
9efcdd7926
build: add CONFIG_APM=y to build
...
this allows us to disable some of the larger apps in the px4 build, to
save flash space
2013-01-22 07:49:12 +11:00
Andrew Tridgell
4200593206
build: added EXTERNAL_SCRIPTS to PX4 build
2013-01-21 08:27:02 +11:00
Andrew Tridgell
33bcd50284
build: added configure_px4fmu to clean target
2013-01-20 22:13:20 +11:00
Chris Gough
76ebcb9980
PX4 makefile: 'make configure_px4fmu' on px4 source before build
...
Pull Request #37
Ammended: squashed fixups down into a single commit
Signed-off-by: Pat Hickey <pat@moreproductive.org>
2013-01-19 11:13:40 -08:00
Andrew Tridgell
534169d148
build: fixed up px4-clean to clean both trees
2013-01-02 17:51:48 +11:00
Andrew Tridgell
92605a63ea
build: give an error if PX4_ROOT not defined for PX4 build
2013-01-02 17:32:28 +11:00
Andrew Tridgell
af647650c5
build: added makefile wrappers for px4 or AVR build
2013-01-02 17:28:09 +11:00