96 Commits

Author SHA1 Message Date
jwilson
a73ac821ab Fixes shared memory locking bug and eliminates the need for an AppsProm driver to reserve a shared memory region. 2016-06-22 08:57:06 +02:00
Lorenz Meier
dff50072e9 Add new airframe meta files 2016-06-17 22:44:42 +02:00
Lorenz Meier
7a6ff4742d Add Solo sim model (#4761) 2016-06-07 21:25:35 +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
Mark Charlebois
7a44ee7429 Added support for external shared libraries
The FC_ADDON drivers are shared libraries that have PX4 wrappers.
The wrappers are built as modules which are static libraries and
cannot have shared library dependencies.

The shared libraries are required to resolve the symbols at runtime
and need to be linked with the libmainapp shared library.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-28 14:05:27 +02:00
Mark Charlebois
8845070d89 Revered changes by Daniel Agar that broke posix eagle build
The following cflags must be set for the eagle builds that compile the
generated IDL stubs:

	-Wno-missing-prototypes -Wno-missing-declarations

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-05-23 17:53:49 +02:00
Daniel Agar
2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
Kabir Mohammed
529460d573 Fix RPi2 build system 2016-05-19 15:41:50 +02:00
Daniel Agar
2bc74fd5d9 restore px4fmu-v2_test 2016-05-13 13:01:41 +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
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
Julian Oes
91133021d6 posix/qurt cmake: fix eagle upload 2016-04-19 15:10:43 +01: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
Julian Oes
2bce8f2803 muorb: abs time on aDSP in sync with Linux side
This adds a call on startup of the muorb on the aDSP side to use an
offset for hrt_absolute_call(). This means that the hrt_absolute_call()
on the appsproc (Linux) side should now match the one on the aDSP
(QURT) side.
The accuracy still needs to be determined.
2016-04-08 15:51:16 +02:00
Julian Oes
994947ea84 Makefile/cmake/Tools: add easy Snapdragon upload
This adds a a target `make eagle_default` to build both the POSIX and
the QURT side in one command. Also, it adds an upload target for both to
push the files over adb to the device. This doesn't just push the
executables and lib files, but also the startup config files.
2016-04-01 11:36:27 +02:00
Lorenz Meier
412bf391b6 Add CMake target for plane 2016-03-11 16:42:17 +01:00
Lorenz Meier
d7c8acd15c CMake: Add replay config 2016-02-27 11:48:31 +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
Mark Charlebois
98a6facd55 Fixed order of processing df libs
df libs were being defined after firmware directory was added and so
were not defined yet

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
8fb8260bd4 Added link of df driver libs
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
53c0bccf19 Fixed build for GCC and clang on Linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +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
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
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
8634452d6d Fixed logic for posix SITL build
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
0e24e808ab Removed dspal submodule, added px4muorb.idl
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
b4b385cc13 Add Iris optical flow SITL config 2016-02-10 09:24:39 +01:00
tumbili
0d1872f223 support building standard vtol plane in SITL gazebo 2016-01-14 16:07:01 +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
lchish
6e1f54e2ff Add missing stm32f4discovery make targets 2015-12-29 11:57:29 +01:00
Andreas Antener
08a1797eec changed isnan checks and cmake compiler condition for apple machines 2015-12-03 15:39:41 +01:00
Lorenz Meier
f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
David Sidrane
2641ebb99b Build without pio
TEMP - uses nuttx_next_cmake version long term
2015-11-28 09:13:15 +01:00
Lorenz Meier
75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
Mark Charlebois
52957ab0cc Don't add DriverFramework dir for NuttX
I am unable to get the nuttx build dependencies set up so that
it builds the export dir before it builds df_driver_framework.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:14:48 -08:00
tumbili
2f0b24feab cmake: replace vtol model with tailsitter model 2015-11-18 16:11:10 +01:00
Mark Charlebois
238db8c6d7 Moved IOCTL definitions to DevIOCTL.h in DriverFramework
Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 19:30:51 -08:00
Mark Charlebois
de1a7b30ce gyrosim and adcsim now compile with DriverFramework enabled
Only the posix build is tested for compilation

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-10 13:21:13 +01:00
Mark Charlebois
9074d3dd8e Adding in DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-10 13:21:13 +01:00
jgoppert
68e4b33167 Added valgrind to sitl. 2015-11-07 11:49:58 -05:00
Lorenz Meier
a394dd5b0d Add gazebo, gazebo_iris and gazebo_vtol targets 2015-10-29 10:35:35 +01:00
jgoppert
aeb7bff9c9 Removed cmake debug messages. 2015-10-25 17:45:30 +01:00
jgoppert
318144ee8b Changed sitl targets to be easier to call from make. 2015-10-25 17:45:30 +01:00
Lorenz Meier
aff78e0f5e CMake / Ninja: Use console flag so upload targets can print their normal output and receive input. 2015-10-25 11:22:05 +01:00
jgoppert
0106be3e89 Added local position estimator. 2015-10-24 20:34:33 +02:00
jgoppert
8536722861 Firmware rename for px4io to avoid using board label in name. 2015-10-20 13:44:17 -04:00
Mark Charlebois
2cdd6c6055 Corrected logic for gcc build on Apple
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-20 08:47:08 +02:00