Commit Graph

42 Commits

Author SHA1 Message Date
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