338 Commits

Author SHA1 Message Date
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 76df4ecf34d4531d20e18ddc39b17021167c854d.
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
Andreas Antener
fce556e34c commented tests for mp sitl cmake config 2016-04-20 17:52:02 +02:00
Lorenz Meier
6801a5a0d1 Update cmake_hexagon version 2016-04-18 23:40:56 +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
Mark Charlebois
e904184613 Updated cmake/cmake_hexagon 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
07d926bab8 Show fatal error for tools missing 2016-04-18 09:27:58 +02:00
Daniel Agar
f754119ff6 cmake - I don't care what you couldn't find unless you need it 2016-04-17 16:27:05 -04:00
Daniel Agar
0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04: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
Julian Oes
68a69c9d46 cmake: add commander_state message to ROS build 2016-04-11 18:01:49 +02: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