Commit Graph

270 Commits

Author SHA1 Message Date
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
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 5a84a223e6 Param handling: Cull unused params 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
jwilson d2ecd3c9f5 Modify config files to incorporate changes made in the corresponding non-legacy CMake config files. 2016-04-21 07:57:30 +02:00
SimsGautam 76df4ecf34 bug fixes for sitl cmake files 2016-04-20 22:28:39 +02:00
Mark Charlebois 169259059b Updated cmake_hexagon and all the associated files that use it
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-18 23:40:56 +02:00
jwilson 5211da9f5b Adding new CMake config files which will be used to generate a build which uses the legacy sensor drivers. This is only temporary until integration with the corresponding PX4 DriverFramework drivers is complete. 2016-04-18 23:36:35 +02:00
Lorenz Meier e8cd89eb01 Add make broadcast jmavsim SITL build 2016-04-17 21:54:37 +02:00
Daniel Agar a1352af048 px4fmu-v2 stop building unused drivers and examples 2016-04-17 11:51:07 +02:00
James Goppert afcc5b4695 Moved control library. 2016-04-14 14:28:32 -04:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Beat Küng 21f403e12b gps: make sure the gps module compiles for POSIX & add it to the posix_sitl_default cmake
- Note that the simulator still uses gpssim by default
- now the gps module can be used in the SITL. this makes it possible to test
  the real gps HW under POSIX
  additional steps needed to use it:
  - in the rcS_jmavsim_iris, make sure to start the gps instead of gpssim:
    gps start -d /dev/ttyACM0 -s
  - disable the mavlink serial connection in simulator_mavlink.cpp,
    openUart(PIXHAWK_DEVICE, 115200);
- this also fixes a memory leak in the gps module
2016-04-11 11:23:01 +02:00
Nicolas de Palezieux 00352565ee added I2C driver for TeraRanger One 2016-04-06 10:35:38 +02:00
Felix Hu afdf8bbaaa Fix the build of mindpx-v2 default 2016-04-05 15:32:40 -07:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Julian Oes 5fc5fc1ba2 posix_eagle_default: define fix for POSIX eagle 2016-03-27 12:40:10 +02:00
Julian Oes 05ad25e141 px4fmu-v4_default: compile snapdragon_rc_pwm 2016-03-27 12:40:10 +02:00
tumbili 07246efef9 added snapdragon rc pwm driver 2016-03-27 12:40:10 +02:00
Julian Oes 4effcc0ac7 cmake/posix-configs: switch to ekf2 on Snapdragon 2016-03-27 12:40:10 +02:00
James Goppert d02abf2cc0 Removed CMSIS. 2016-03-25 18:43:43 +01:00
Julian Oes c1d112e860 cmake: add define for the POSIX side of eagle 2016-03-24 13:10:02 +01:00
Julian Oes 40c6ac94c7 cmake: include land_detector in QURT build 2016-03-22 22:12:40 +01:00
Nicolas 6ac641956a added posix and qurt apps to enable remote execution of shell commands on qurt side from posix shell
commands are sent via muOrb to qurt, where they are executed and printed (i.e. visibile on mini-dm)
2016-03-18 17:23:51 +01:00
FantasyJXF 03072bb4d4 Update nuttx_px4fmu-v2_default.cmake
hello sky
2016-03-18 17:03:09 +08:00
Lorenz Meier 4fb97de4e4 Enable UART ESC driver in QuRT 2016-03-10 10:02:55 +01:00
Julian Oes 3e964ef85d POSIX config: param shem define was lost 2016-03-09 09:53:27 -08:00
James Goppert baed2c0255 Updated lpe. 2016-03-08 03:47:12 -05:00
Mark Charlebois 6f01c48ca7 Use consolidated MPU driver
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-03-08 09:30:36 +01:00
Robert Dickenson 76e3f92fb4 Remove execute mode from cmake file which was accidently committed earlier 2016-03-08 09:29:17 +01:00
Robert Dickenson 044a139a2f Remove deprecated target from the module list which was deleted in previous commit 2016-03-08 09:29:17 +01:00
Robert Dickenson 505f331c36 Add the new mag system command to the px4fmu build 2016-03-08 09:29:17 +01:00
Julian Oes e4d71ec682 configs: compile and start the gps driver on QURT 2016-03-06 18:02:50 +01:00
Lorenz Meier d7c8acd15c CMake: Add replay config 2016-02-27 11:48:31 +01:00
jwilson 9955c08d16 Removing changes made inadvertantly to the make file. 2016-02-19 16:59:49 +01:00
jwilson fcb614a6a2 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson 9a97140ad8 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson b31472af0c Cherry-picked i22438c8
Original description:
Modified the sensor module to prevent the selection of an invalid
secondary/tertiary gyro if the primary gyro times out
2016-02-19 16:59:49 +01:00
jwilson e26cca760a StubSensor template class implemented to allow registration with the DevMgr. 2016-02-19 16:59:49 +01:00
Julian Oes ebeed9df65 qurt_eagle_default: don't build the gps driver yet 2016-02-19 16:59:48 +01:00
Julian Oes 1524ff7f80 HMC5883: added wrapper for DriverFramework 2016-02-19 16:59:47 +01:00
Julian Oes f7697eec66 BMP280: added the baro driver 2016-02-19 16:59:47 +01:00
Mark Charlebois 5e64557e05 FIxed travis build to resolve link symbols
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:47 +01:00
Julian Oes 67597a604e Rename DfImu to DfMpu9250Wrapper 2016-02-19 16:59:47 +01:00
Mark Charlebois d8dd8ab67d Fixed SITL build (and clang posix build)
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois 419f4c49ce Added new config entry for DF driver entries
DF drivers can now be added in each config file by adding

set(config_df_driver_list
	bmp280
	...
	)

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Julian Oes 3525b62651 posix_eagle_default: add listener 2016-02-19 16:59:46 +01:00
Julian Oes 5cf3215e38 cmake: try to compile and link everything for MPU
Unfortunately this still gives linking errors.
2016-02-19 16:59:46 +01:00
Mark Charlebois caa94d58a6 Manually integrated Jim's changes from integrate2_jim branch
Signed-off-by: Jim Wilson <jywilson99@hotmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois a1a615b907 Added param shared memory support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois ac0d35d28e Added ecl lib for qurt build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois bd76042de2 Added muorb to posix eagle build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 897b2a6e46 Commented out CONFIG_SMEM until it is working again
There is an unresolved symbol when building with CONFIG_SMEM enabled

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois f59d6b13b5 Removed FC_ADD_ON dependency for qurt release build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 7142d3850b Removed EAGLE_ADD_ON dependency
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 8c4064e346 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 4c9492e10f Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 9f1aca90b3 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois b9fb4c48ad Fixed unresolved symbols
ecl module was missing for release build
qurt_external_hook() was missing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 9a1daac639 Removed FC_ADD_ON dependency for qurt release build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 7b6811ca54 Removed EAGLE_ADD_ON dependency
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 01d0543e0a Provide impelmentation of px4muorb_KraitRpcWrapper
The Terminate function is not properly implemented yet.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois b63e29e53d Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 65d89b5b97 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 2a1ec7aad8 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Lorenz Meier fcbd717200 Switch POSIX sitl to EKF2 per default 2016-01-25 22:42:53 +01:00
Mark Whitehorn cfc3af8374 update fmu-v4 cmake config 2016-01-24 11:22:18 +01:00
Mark Whitehorn bb565f5d6a add sPort_telemetry cmd to fmu-v4 module list and change default port to ttyS6/usart8 2016-01-24 11:22:18 +01:00
Kabir Mohammed 37cbb90930 Crosscompiler support 2016-01-18 22:42:42 +01:00
Mohammed Kabir 37ffb61afd changes to rpi2 configs 2016-01-18 22:42:35 +01:00
Mohammed Kabir 4351eb147c Add native RPi2 build config 2016-01-18 22:42:29 +01:00
Mark Charlebois a8c49809fa Fixes for other qurt builds to use QURT_BUNDLE
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-10 20:54:26 +01:00
Mark Charlebois f22c574b87 Integrated cmake_hexagon for qurt build
Still a WIP since the IDL file needs to be replace with the
muorb IDL file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-10 20:54:26 +01:00
Lorenz Meier 0a5a5f4619 Fix incomplete boot on new EKF config 2016-01-03 22:44:19 +01:00
Lorenz Meier ae2c46ac4c Fix px4fmu-v2_ekf2 config 2016-01-03 19:03:17 +01:00
Lorenz Meier ba90ba14b0 NuttX configs: added px4fmu-v2_ekf2 target for EKF2 development on Pixhawk 2016-01-02 17:17:47 +01:00
Lorenz Meier 0ed13a911e Get QuRT drivers out of the way, as we are using our own 2016-01-02 03:51:26 -08:00
Lorenz Meier 6f1e53c810 Fix POSIX eagle config 2016-01-02 03:14:06 -08:00
Lorenz Meier 735c823b57 Remove unmaintained NuttX config 2016-01-02 03:13:49 -08:00
Lorenz Meier 2d72c95eda Add new posix_eagle_default and qurt_eagle_default targets 2016-01-02 09:30:51 +01:00
Lorenz Meier dc11b8a7ef EKF2 sitl target: start normal app selection 2016-01-01 12:30:52 +01:00
Paul Riseborough bdaaca3d78 make: Add missing ekf2 module to PX4-v1 build 2016-01-01 12:30:11 +11:00
lchish 6e1f54e2ff Add missing stm32f4discovery make targets 2015-12-29 11:57:29 +01:00
Lorenz Meier af6751c55f FMUv2: Disable more unused modules 2015-12-28 14:26:19 +01:00
Lorenz Meier 03251d756b FMUv4: Build all apps (because we can!) 2015-12-26 14:43:48 +01:00
Lorenz Meier 60599cb9e5 FMUv2: Reduce flash use 2015-12-26 14:43:27 +01:00
Lorenz Meier 0ff72b16c5 FMUv1: Reduce flash use 2015-12-26 14:43:08 +01:00
Roman 7c3a67e374 use optimal recovery strategy for tailsitters 2015-12-24 10:17:53 +01:00
Roman ac4e95df05 use optimal recovery strategy for tailsitters 2015-12-24 10:17:31 +01:00
Lorenz Meier d3149153f6 Merged master into ekf2 2015-12-24 09:53:54 +01:00
Lorenz Meier 745dc13d67 Add simple example app 2015-12-23 09:12:16 +01:00
Lorenz Meier 02652af758 Enable EKF2 if LPE and INAV are both off 2015-12-23 06:23:16 +01:00
Lorenz Meier f50af43088 Restore normal SITL startup script 2015-12-23 06:23:16 +01:00
Lorenz Meier ed8645a83b Add EKF2 config and startup option for jMAVSim 2015-12-23 06:23:16 +01:00
Roman 63ac712eab allow testing ekf2 in simulation with jmavsim 2015-12-23 06:23:15 +01:00
Roman 19a5f9e73d updated ecl lib 2015-12-23 06:23:15 +01:00
Lorenz Meier 3be7a3323e Enable topic listener for Pixracer config 2015-12-07 11:41:03 +01:00
Anton Babushkin ec55a56191 bst: move to cmake 2015-12-04 19:37:35 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
David Sidrane 3ce6ee57e4 Set nunmber of UAVCAN interfaces on HW from top level cmake file 2015-11-30 15:44:36 -10:00
Lorenz Meier a3eeafebeb Enable UART6 and enable S.BUS. Tested to work. 2015-11-28 09:13:15 +01:00
Lorenz Meier 193cf888f5 FMUv4: Enable RC lib 2015-11-28 09:13:15 +01:00
David Sidrane a631a595e5 Added lib/terrain_estimation and lib/runway_takeoff requierd from rebase on master 2015-11-28 09:13:15 +01:00
David Sidrane 6df5aab064 px4fmu-v4 uses MPU6000 driver for ICM-20609-G 2015-11-28 09:13:15 +01:00
David Sidrane a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00
David Sidrane f3b7585a89 Wip FMUV3 2015-11-28 09:13:15 +01:00
Lorenz Meier 1de4403686 Enable perf command 2015-11-24 14:23:42 +01:00
Lorenz Meier 59e3b0d95c Renamed sitl simple to default 2015-11-22 14:00:01 +01:00
Lorenz Meier 75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
Mark Charlebois b8c40ecb6b Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Roman 4abff89be0 updated terrain estimator and runway takeoff libs to cmake build system 2015-11-17 22:28:09 +01:00
Roman Bapst de111a9266 Merge pull request #3077 from PX4/vtol_posix
ported vtol module to posix
2015-11-06 22:42:54 +01:00
tumbili b6c19400c0 build vtol att control module for sitl 2015-10-27 10:42:04 +01:00
Lorenz Meier 09fcbde52b Make some space in flash 2015-10-26 10:25:45 +01:00
jgoppert 0106be3e89 Added local position estimator. 2015-10-24 20:34:33 +02:00
carmix 68a5534a76 Merge commit '292b87fe2cfa2a5a00616c5ed13516bd60199f5a' 2015-10-24 10:41:40 +02:00
gcarmix 9748727331 Updated driver to the be compliant with the new mb12xx driver version,
inserted a line into the cmake config file for px4fmu-v2
2015-10-24 10:35:37 +02:00
Mark Charlebois 4b1e4e63f0 eagle: Added posix_eagle_release to Makefile
Enable build of posix_eagle_release.
Added path to ARM cross compiler in qrlsdk install.
Fixed warnings in Toolchain-arm-linux-gnueabihf.cmake

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-23 09:06:18 +02:00
Mark Charlebois 0e967d0874 qurt: Change to Hexagon 7.2.10 compiler
Switched to 7.2.10 since the Linux version of this is available.

Added -DHAS_C9X flag to fix isses with undefined math functions
when using hexagon-clang++.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-22 10:07:22 -07:00
Daniel Agar 5865dc6434 cmake add libuavcan as subdirectory
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
2015-10-14 02:37:00 -04:00
James Goppert 4ad82644fe Removed uavcan from nuttx firmware for v1. 2015-10-11 19:40:13 -04:00
Lorenz Meier e96f4e1944 FMUv1: Fix CAN compilation 2015-10-11 14:06:43 +02:00
Lorenz Meier cdb2a5432b FMUv1: Do not support CAN build, since its out of reach memory wise anyway 2015-10-11 13:12:54 +02:00
Lorenz Meier acd7235880 FMUv2: Add topic listener 2015-10-10 12:27:45 +02:00
James Goppert 4dd59cd09a Fixed param dependencies. 2015-10-06 15:20:38 -04:00
James Goppert e1bb618371 Working on uavcan building. 2015-10-04 21:29:22 -04:00
Lorenz Meier d0ca0ff837 Added FMUv1 config 2015-10-03 17:25:49 +02:00
Mark Charlebois 3f758490a4 QuRT: move to HexagonTools 7.4 toolchain
Some subsystems error on frame size without the included patches.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:01 -07:00
Mark Charlebois 300932bde3 QuRT: fixes to unbreak cmake build for QuRT
Updated DSPAL version.
Fixed missing lib in config.
Fixed heafers for missing timespec definition.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:00 -07:00
Mark Charlebois 1abd61303f qurt: Added patch for Eigen to use latest version
Updated to 7.2 Hexagon toolchain

Fixed issuse with stack usage

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:00 -07:00
Lorenz Meier 83558bfe14 SITL: Add missing PWM out sim 2015-09-20 16:41:11 +02:00
James Goppert 567431602a Adds alias __errno to linker file fixed link, need to understand why. 2015-09-14 19:55:53 -04:00
James Goppert 676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
James Goppert f43ccdaea1 Make parameters a separate library. 2015-09-13 18:55:48 -04:00
Lorenz Meier 75dfa5a420 Remove outdated flow position estimator 2015-09-12 09:53:36 +02:00
James Goppert 0d28cdeb88 Fixed extra builtin target name. 2015-09-12 00:24:16 -04:00