Commit Graph

455 Commits

Author SHA1 Message Date
Andreas Antener 0581f1af52 added motor_ramp to fmu v4 2016-06-20 20:24:46 +02:00
Andreas Antener fabb37975d added motor_ramp to v2 config 2016-06-20 20:24:45 +02:00
Andreas Antener 1aeb139157 added motor ramp app, draft impl 2016-06-20 20:24:45 +02:00
Michael Schaeuble f95f37cb7b Update to DF commit with the MS5607 driver 2016-06-20 12:55:01 +02:00
Michael Schaeuble cc0d28e59b Update DF to include the MS5607 driver 2016-06-20 12:55:01 +02:00
Michael Schaeuble 847562f5d7 Don't build px4_simple_app anymore 2016-06-20 12:55:01 +02:00
Michael Schaeuble 52d8723d55 Add df_ms5607_wrapper (a renamed copy from BMP280) 2016-06-20 12:55:01 +02:00
Michael Schaeuble 696a378120 Add modules and commands to bebop build 2016-06-20 12:55:01 +02:00
Michael Schaeuble 9933494d53 Add parrot bebop build structure 2016-06-20 12:55:01 +02:00
Julian Oes b24eded7a0 cmake: use module name if no main is available 2016-06-07 22:10:56 +02:00
Julian Oes cdd45a7b2d cmake: add define for module name 2016-06-07 22:10:56 +02:00
Julian Oes 224b20b3e4 cmake_hexagon: updated submodule (#4756)
This contains the latest fixes for the SDK 3.0.
2016-06-07 11:19:44 +02:00
Julian Oes eea102f63d cmake: POSIX/RPi build don't need patch/genromfs (#4733) 2016-06-05 12:02:13 +02:00
Kartik Mohta 5e00155e03 Update cmake/cmake_hexagon
New updates required to use the Hexagon SDK v3.0 from Qualcomm
2016-06-05 09:05:09 +02:00
Mark Charlebois ec620ecc14 Updated cmake_hexagon for SDK 2.0 support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois cc15785091 Updated cmake_hexagon
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois bea416e117 Updated cmake_hexagon for support of required posix build headers
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois 30a3311fe6 Fixed qurt_eagle_travis build
Added missing stub function and added SDK 2 and 3 support.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois 02e3f28d87 Added back support for SDK 2.0 as well as 3.0
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
Mark Charlebois 6ac0eabb5a Changes required to support Hexagon SDK 3.0
The inc and lib directories were renamed to incs and libs.

This requires an updated cmake_hexagon and come changes to qurt paths in
PX4.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-06-01 23:50:28 +02:00
jwilson c6250657eb Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:12 +02:00
Michael Schäuble d9422e0296 Add Parrot Bebop as build target (#4698)
* Add parrot bebop build structure

* Add upload functionality to bebop build

* Add modules and commands to bebop build
2016-05-31 13:04:22 +02:00
Julian Oes 95a7057768 cmake: fix merge mistake 2016-05-30 15:26:02 +01:00
Lorenz Meier 4a0d7808a5 Remove LPE config 2016-05-29 16:34:23 +02:00
Lorenz Meier aa961c8d28 FMUv2: Allow LPE config 2016-05-29 16:28:15 +02:00
Mark Charlebois af1e20a1d0 Added fc_addon uart_esc support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:06:14 +02:00
Mark Charlebois 0b3cd3d008 Restored cmake/configs/qurt_sdflight_default.cmake
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:05:45 +02:00
Mark Charlebois b8c22718af Added build of rc_receiver to qurt_eagle_legacy_driver_default
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:05:45 +02:00
Mark Charlebois 6f8f8279b7 Added support for fc_addon drivers
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:05:45 +02:00
Lorenz Meier b412980f90 Enable top in SITL 2016-05-28 12:10:19 +02:00
Julian Oes 9d489b9b0f Snapdragon: rename uart_esc to pwm_out_rc_in
The name uart_esc was initially taken by Qualcomm's UART ESC driver but
then got changed into the current mavlink ESC/RC helper. Since the
uart_esc is still around, we should prevent the names clashing.
2016-05-28 11:42:12 +02:00
Lorenz Meier ff5a481c34 Remove unneeded EKF2 configs 2016-05-28 11:34:08 +02:00
Lorenz Meier 1d3669714b EKF2 config: Do not build other estimators 2016-05-22 14:28:07 +02:00
Daniel Agar 5be1f3a856 ASan use normal optimization (MEMORY_DEBUG=1)
- see #4530
2016-05-22 10:27:29 +02:00
Henry Zhang 4495eafbf4 MindPXFMUv2 add lpe/ekf2/load_mon. 2016-05-21 11:00:21 +02:00
Daniel Agar 7badf645b3 fix missing stack check instrument_flags (#4593) 2016-05-20 21:17:54 -04:00
Daniel Agar 5da9e7e653 cmake nuttx copy with rsync 2016-05-19 21:49:34 +02:00
Daniel Agar 0afcfd9fab px4fmu-v4 add lpe 2016-05-19 21:49:34 +02:00
Daniel Agar 206d5a7afc sync px4fmu-v2_default and px4fmu-v2_test 2016-05-19 21:49:34 +02:00
Daniel Agar b0b2cfaa65 cmake nuttx stackcheck fix for current master 2016-05-19 21:49:34 +02:00
Daniel Agar 7cf8b3ea1b sync posix_sitl_default and posix_sitl_test 2016-05-19 21:49:34 +02:00
Daniel Agar 2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
David Sidrane 4e26c7fcd4 Use the value of nuttx CONFIG_ARMV7M_STACKCHECK to configure PX4 build for HW stack checking 2016-05-19 21:49:34 +02:00
Lorenz Meier be92040fe9 FMUv2: Do not build BMI160 2016-05-19 21:10:27 +02:00
Lorenz Meier 1775435ee5 v2 test config: Disable a couple unnecessary parts 2016-05-19 20:13:32 +02:00
Kabir Mohammed e185352f56 Add RPI2 definitions for DF 2016-05-19 15:41:50 +02:00
Kabir Mohammed 529460d573 Fix RPi2 build system 2016-05-19 15:41:50 +02:00
Beat Küng 7f65e01d07 cmake: avoid GLOB for *.msg files and use an explicit .msg file enumeration
This makes sure that adding & removing of .msg files is handled properly
by the build system.
2016-05-17 09:08:13 +02:00
Daniel Agar c57bc26d5b fully restore px4fmu-v2_lpe 2016-05-14 11:27:07 +02:00
Beat Küng 408f299dbb cmake px4fmu-v2_test: disable sdlog2 (avoids flash overflow) 2016-05-14 11:27:07 +02:00
Beat Küng 6e7c605279 Tools/px_generate_uorb_topic*: combine the src & header generators into one script 2016-05-14 11:27:07 +02:00
Daniel Agar 69c1ce1714 WIP logger serialization 2016-05-14 11:27:07 +02:00
Daniel Agar 4e0129275d new logger 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Julian Oes 920d2ef1e8 posix sdflight: add navigator to Linux side 2016-05-14 11:21:44 +02:00
Daniel Agar a4c7fe50a7 travis-ci proper git version 2016-05-13 22:10:35 +02:00
Lorenz Meier 7c7d94e3dc Build LPE in all configs 2016-05-13 22:04:28 +02:00
Lorenz Meier 29d6c95ec4 FMUv4: Build all Bosch drivers so they get built at least for one target 2016-05-13 15:02:58 +02:00
Daniel Agar adfe946f72 sync test with default equivalents 2016-05-13 13:01:42 +02:00
Daniel Agar 97fd951d4a cleanup after rebase 2016-05-13 13:01:42 +02:00
Daniel Agar 701d177e23 px4fmu-v2_test don't build frsky_telemetry, gimbal, and snapdragon_rc_pwm 2016-05-13 13:01:42 +02:00
Daniel Agar d804f5727e run tests in posix sitl with gazebo 2016-05-13 13:01:42 +02:00
Daniel Agar 12165ba5a4 uORB separate tests 2016-05-13 13:01:41 +02:00
Daniel Agar dc8b9d1da8 px4fmu-v2_test add drivers/test_ppm 2016-05-13 13:01:41 +02:00
Daniel Agar 39d388051a WIP posix_sitl_test 2016-05-13 13:01:41 +02:00
Daniel Agar 2bc74fd5d9 restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
Jonathan Challinger e5ce9809c5 cmake: add load_mon wherever commander is built 2016-05-12 08:16:36 +02:00
Beat Küng 0aabe9b3bb add sd_bench command, enable it on the px4fmu-v4 & posix_sitl build target
Useful to test maximum sequential write speed to the SD Card
2016-05-11 15:00:40 +02:00
David Sidrane d7daab9620 Move the build log to nuttx directory 2016-05-11 14:59:36 +02:00
Lorenz Meier e016f6ca38 Clang: Do not use new pointer option 2016-05-11 12:59:41 +02:00
Julian Oes 097840ef83 eagle: fix DSP build
The hexagon-clang is clang-3.5 and does not support -fcheck-new.
2016-05-11 09:32:05 +02:00
Beat Küng 7d733c5ccd cmake: add -fcheck-new to cxx_compile_flags
GCC assumes that operator new never returns null, but throws an exception
instead. This is defined by the C++ standard, and thus ok. But we disable
exceptions with -fno-exceptions, so we break this assumption. GCC then goes
ahead and removes some of our nullptr checks. This flag removes the
assumption.

This adds ~1.4kB to the binary size of the px4fmu-v4 target.
2016-05-10 21:23:53 +02:00
Kabir Mohammed 4ed112b259 Remove old toolchain 2016-05-09 16:13:01 +02:00
Daniel Agar 7b0078a20d bosch bmi160 driver (#4469) 2016-05-06 21:07:34 +02:00
Mark Charlebois e2c3ea064e Remove release configs (#4454)
* Removed release configs for eagle

These configs are only built for internal testing

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Removed release build for eagle from Makefile

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-06 07:18:57 +02:00
Lorenz Meier 29550a4cee Strip LPE config, as it has become part of the default config 2016-05-05 18:23:33 +02:00
Lorenz Meier 1e7f19335d Build: Less verbose 2016-05-05 13:37:02 +02:00
Daniel Agar 7aa6e85563 enable Wshadow 2016-05-05 13:32:42 +02:00
Julian Oes 3e165c51d4 cmake: copy over changes that rebase missed 2016-05-05 09:14:11 +02:00
Julian Oes efd20373ff cmake: re-use the QURT build as well
Instead of calling the eagle cmake script from excelsior, use a shared
sdflight cmake file like in it is done for the POSIX build on
Snapdragon.
2016-05-05 09:12:46 +02:00
Julian Oes 805ef9fff1 cmake: added some comments about eagle/excelsior 2016-05-05 09:11:59 +02:00
jwilson 5b6fae5380 Adding config changes to allow PX4 to be built for the Excelsior board. 2016-05-05 08:34:31 +02:00
jwilson c87a8bedb6 Adding config changes to allow PX4 to be built for the Excelsior board. 2016-05-05 08:34:31 +02:00
Julian Oes 0c5c111cdd cmake: no param sculling for all eagle configs 2016-05-05 08:09:59 +02:00
David Sidrane 8d510471a1 Turn off paramter culling on eagle 2016-05-05 08:00:26 +02:00
David Sidrane a08cce27d7 Allow paramter culling to be tunred off 2016-05-05 08:00:26 +02:00
Lorenz Meier ff3e17df0d Systemlib: Add FW and OS versioning 2016-05-03 11:39:39 +02:00
Mark Charlebois 8cb8987bcd Use DriverFramework as a PX4 module (#4415)
* Use DriverFramework as a PX4 module

Targets wanting to use DriverFramework must add

   lib/DriverFramework/framework

to their config file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Removed spurious code

No need to add if check before for loop

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Added DriverFramework to NuttX configs

Added lib/DriverFramework/firmware to nuttx configs

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated src/lib/DriverFramework

* Removed DF_TARGET and __DF_${OS} defines

These are now handled inside DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Updated DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>

* Restored __DF_${OS}

The include files in DriverFramwork need to know the target OS.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-03 10:03:28 +02:00
Lorenz Meier 44316ac316 FMUv1: Build camera trigger 2016-05-01 14:22:16 +02:00
Lorenz Meier 0c7a4fd66e Make parameter source file generation properly depend on board config 2016-05-01 13:47:41 +02:00
Lorenz Meier 5a84a223e6 Param handling: Cull unused params 2016-05-01 13:47:41 +02:00
David Sidrane 64d43ad381 Scope parameter included in build by cmake/configs
Conflicts:
	Tools/px_generate_params.py
	src/lib/ecl
2016-05-01 13:47:41 +02:00
Daniel Agar 93d261a558 cmake fix px4_base linker flags 2016-05-01 13:47:41 +02:00
Julian Oes 0c0d251003 Intersil wrapper continued
* Qflight: add intersil sensor driver

* df_isl_wrapper: change driver lib name to isl

* posix-config: add df_isl_wrapper start command to eagle startup

* isl_wrapper: cleanup isl wrapper

* isl: remove unused option -R

* isl: change the driver name to isl29501

* DriverFramework: updated submodule again

This is to get the latest `make fix-style` changes.

* df_isl29501_wrapper: rename wrapper all the way
2016-04-28 15:31:40 +02:00
jwilson eb89cddea3 Adds pressure sensor driver to the build and modifies the configuration file to get the associated driver loaded. 2016-04-28 08:53:06 +02:00
Mark Charlebois 1b3ac22d3f Added missing controllib
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-23 15:49:34 +02:00
Robert Dickenson 45a601b9c1 New driver for the LIS3MDL magnetometer. 2016-04-22 10:30:19 +02:00
Mark Charlebois 578d1f1f24 Removed csr_gps from module list
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-22 08:49:26 +02:00
Lorenz Meier af02b860b3 Revert "bug fixes for sitl cmake files"
This reverts commit 76df4ecf34.
2016-04-21 08:39:28 +02:00
jwilson f76bc2aa18 Adding additional changes to the legacy driver config files, originally in the non-legacy driver config files. 2016-04-21 07:57:30 +02:00