Commit Graph

342 Commits

Author SHA1 Message Date
Julien BERAUD bf5ac43142 mk: build the bebop statically
The toolchains aren't compatible and the size of the binary doesn't get too
big with the static flag so it avoids creating a chroot.
2015-11-13 12:15:36 +11:00
Caio Marcelo de Oliveira Filho 8630df00b3 build: disable warnings for unused params for FLYMAPLE
Other boards disable it, so the common code contains a lot of unused
parameters already. Use -Wno-unused-parameter to reduce the "noise".
2015-11-12 21:22:32 +11:00
Andrew Tridgell 3d8993ff33 build: added sitl-asan build target
this enables the address sanitiser for array bounds error detection
2015-11-10 16:21:41 +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 c823d64073 PX4: removed unused mixer files
reduce size of ROMFS
2015-11-07 16:37:51 +11:00
Andrew Tridgell 98ef21bc69 PX4: don't auto-start uavcan, use BRD_CAN_ENABLE instead 2015-11-06 10:23:54 +11:00
Víctor Mayoral Vilches 112df0a0a6 mk: Add Erle-Brain 2 support 2015-11-04 13:58:24 +11:00
Lucas De Marchi 5c29703732 build: remove tools to find arduino 2015-11-04 12:14:16 +11:00
Lucas De Marchi 633e9dc036 build: remove wrong comment about avr-gcc
Flymaple doesn't use avr-gcc.
2015-11-04 12:14:16 +11:00
Lucas De Marchi 0e6da397d1 build: remove AVR boards 2015-11-04 12:14:16 +11:00
Andrew Tridgell f1bcfa9d49 PX4: update to latest FMUv2 bootloader 2015-10-31 16:06:22 +11:00
Lucas De Marchi 29aa7001bf build: add minlure target 2015-10-22 12:04:53 +11:00
lanbo.gao 6b687ea7bc PX4: try to start both hmc5883 sensors for FMUv1
internal + external
2015-10-21 14:40:58 +11:00
Caio Marcelo de Oliveira Filho ec52df991c build: compile only the HAL files needed by the board
Instead of requiring every program to specify the HAL related modules,
let the build system do it (in practice everything we compiled depended
on HAL anyway). This allow including only the necessary files in the
compilation.
2015-10-21 09:16:07 +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
Andrew Tridgell 4e220284e0 PX4: allow I2C airspeed sensor on either bus 2015-10-16 18:38:40 +11:00
Caio Marcelo de Oliveira Filho 7c631d860f mk: fix list of warnings for board_native
When setting WARNFLAGCXX, the entry was missing a backslash character
and other entries were missing. It was also a duplicate, so removed it.
2015-10-10 14:34:52 +09:00
proficnc 18589f1ec7 Update README.txt
Added a link to show how to do get to the NSH shell
2015-10-06 14:54:51 +11:00
Víctor Mayoral Vilches fa5fb0a56a mk: ERLEBOARD add targets and help 2015-09-23 09:21:39 +10: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
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