Commit Graph

756 Commits

Author SHA1 Message Date
Daniel Agar 01b3e6fd25 NuttX upgrade cmake wrapper (#7873)
* NuttX cmake

* px4_macros:Pass the stringified predicate as second arg to static assert

   CC_ASSERT mapes to the c++ static_assert or provides the same
   funtionality for c via the other macros. The c++ static assert
   takes 2 argumants the prdicate and a message. This fixes the
   lacking second argument.

* Updated nuttx and apps submodule to upstream nuttx 7.21+==master

   This is the latest uptake of upstream nuttx and apps.

* ROMFS generate with xxd instead of objcopy

* delete nuttx-patches

* NuttX update submodules to latest px4_nuttx-master

* fix nuttx apps and board dependency

* docker_run update to latest container 2017-08-29

* cmake ROMFS portable sed usage

* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane 5d33b602f3 px4-same70xplained-v1:Updated to upstream master
Airspeed changes
   add FastRTPS
2017-09-29 10:13:51 -04:00
David Sidrane f04ddf4368 Inital Commit of px4-same70xplained-v1 2017-09-29 10:13:51 -04:00
David Sidrane 1991c27749 px4fmu-v2:Removed commented out unit_test module removed on master 2017-09-29 10:13:51 -04:00
David Sidrane 65210ff1e5 nxphlite-v3:Removed unit_test module removed on master 2017-09-29 10:13:51 -04:00
David Sidrane f52338143b nxphlite-v3:Updated to upstream master
Add FastRTPS
2017-09-29 10:13:51 -04:00
David Sidrane ae2e1da93a px4_impl_nuttx:PX4 does not used compressed defconfigs nor configure.sh
The new upstream nuttx defconfig format is compressed. This
   will not work well for board configs that are out of the
   upstream NuttX tree.

   The reconstitution step will not replace all the non default
   settings. I.E. CONFIG_ARCH_BOARD_PX4xxxx and will remove
   setting that are not defined from the config/KConfig. Like
   CONFIG_ARCH_BOARD_PX4xxxx=y.

   Also the configure script will fail if run without
   and intervening make distclean

   The only 2 steps from configure that re needed are
   Copying the defconfig to .config and Make.defs
2017-09-29 10:13:51 -04:00
David Sidrane 5aee418e59 nxphlite-v3:Updated config with upstream naming changes
Reordering and renaming to match master for v3 config
2017-09-29 10:13:51 -04:00
David Sidrane ffffad352f nxphlite-v3:add usb_connected command 2017-09-29 10:13:51 -04:00
David Sidrane 3b42d30623 fxos8700c:Inital commit mag and accel driver 2017-09-29 10:13:51 -04:00
David Sidrane 2de54da648 nxphlite-v3:Updates for latest master 2017-09-29 10:13:51 -04:00
David Sidrane 7a0d6174e2 nxphlite-v1:Removed from PX4
Superceeded by nxphlite-v3 before released
2017-09-29 10:13:51 -04:00
David Sidrane 9ec37a78ff nxphlite-v3:Add mpl3115a2 (stubed out) 2017-09-29 10:13:51 -04:00
David Sidrane 5922e08f5e nxphlite-v1:incorperate master's led changes and fit 2017-09-29 10:13:51 -04:00
David Sidrane e281958b43 nxphlite-v3:incorperate master's led changes 2017-09-29 10:13:51 -04:00
David Sidrane fe3398300b nxphlite-v1 Changes to provides USB clocking
Support the PX4 contrib to upstream Nuttx for SIM. MCG and PMC
  clocking. Now sets the USB clock correctly.

  Refit in FLASH
2017-09-29 10:13:51 -04:00
David Sidrane 73944daf75 nuttx_nxphlite update config for changes on master 2017-09-29 10:13:51 -04:00
David Sidrane d409ca3e46 Inital commit of nxphlite-v3 2017-09-29 10:13:51 -04:00
David Sidrane 34627ac7b9 REVERT: To fit in FLASH
Conflicts:
	cmake/configs/nuttx_nxphlite-v1_default.cmake
2017-09-29 10:13:51 -04:00
David Sidrane ca9ac66b77 Add new lib/version 2017-09-29 10:13:51 -04:00
David Sidrane c1812af45e Inital commit of NXPhlite-v1 2017-09-29 10:13:51 -04:00
Daniel Agar af9690cf08 add simple posix tests to SITL 2017-09-28 16:50:47 +01:00
José Roberto de Souza d82806869f cmake: AeroFC: Remove unused apps and libs (#7993)
We are running out of flash space in AeroFC so a cleanup is necessary.

Tools not used in Aero RTF, INAV, fixed wing control, vtol control and
unused libs was removed.

before
$ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
   text    data     bss     dec     hex filename
 956880    3524   14608  975012   ee0a4 firmware_nuttx

after
$ size build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
   text    data     bss     dec     hex filename
 832200    3508   14616  850324   cf994 build_aerofc-v1_default/src/firmware/nuttx/firmware_nuttx
2017-09-22 21:24:00 -04:00
Henry Zhang 12384f3ffb MindPX: Enable DDS 2017-09-20 10:34:29 -04:00
Henry Zhang 42627777a0 cmake configs : add camera_feedback module 2017-09-20 10:34:29 -04:00
Daniel Agar 3498fe0c6f delete sdlog2 EKF2 replay (#7982) 2017-09-19 10:20:41 -04:00
Daniel Agar fb5cb87e9b enable -Wlogical-op and fix bmi160 2017-09-16 21:29:52 +01:00
Daniel Agar 35e15ed540 cmake add -Wmissing-field-initializers and a few others 2017-09-16 21:29:52 +01:00
Mateusz Sadowski e439070f25 drivers: refactor trone driver to work with Evo
This commit changes old trone driver into a generic
TeraRanger driver that supports both TeraRanger One
and TeraRanger Evo.

As a part of the change a new parameter was created
SENS_EN_TRANGER that allows to specify the following
modes of operation:

0 - sensors disabled
1 - autodetect sensors
2 - use TeraRanger One rangefinder
3 - use TeraRanger Evo rangefinder

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Mateusz Sadowski d5f8a300df Revert "drivers: add support for TeraRanger Evo"
This reverts commit d1da112334a875d83abbd04c50fd3bed3b069886.
2017-09-15 12:07:16 +01:00
Mateusz Sadowski ee72931190 drivers: add support for TeraRanger Evo
This commit adds i2c support for TeraRanger Evo sensor
by Terabee

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
NRottmann 5352cffe3f Changing Names 2017-09-13 06:20:05 -07:00
David Sidrane a7ba7af89a FMUv1:Removed FMUv1 board from PX4 2017-09-10 13:37:23 -04:00
Julien Lecoeur ceeae7587e worst case analysis of stack usage (#7883)
* Makefile target "check_stack"
2017-09-10 13:34:34 -04:00
Larry Wang 0ae76aff32 updated to use rc driver from PX4, instead of from FC addons (#7798)
* updated to use rc driver from PX4, instead of from FC addons

* fixed format

* update per comments

* fix format

* fix format

* remove duplicated __PX4_QURT
2017-09-08 07:09:53 +02:00
Daniel Agar 35d908b453 cmake stop ignoring sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar fd8a5644e8 ets_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 641a90708c sdp3x_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 9cd25d604b ms5525_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 07619cf723 Make NuttX drivers cross platform (VDev -> CDev) 2017-08-31 09:27:36 +02:00
jgs2185 f9d219b187 Ulanding: add ulanding to cmake driver lists 2017-08-30 14:53:25 +01:00
David Sidrane 3b5ca4257b px4fmu-v5:Add ist8310 to build for FMUv5 2017-08-26 03:44:59 -10:00
David Sidrane a3b39394b8 px4fmu-v5:Added support for I2C LED driver 2017-08-26 03:44:59 -10:00
David Sidrane b54e1875ea mindpx-v2:Removed unsed and commented out rgbled_pwm driver 2017-08-26 03:44:59 -10:00
Daniel Agar a02caff1bc unit_test inline implementation and remove module build 2017-08-23 08:06:55 +02:00
Daniel Agar 47987f7e36 delete dummy tone alarm 2017-08-23 08:05:48 +02:00
Daniel Agar fd6499baca cmake simplify uavcan linking 2017-08-23 08:05:13 +02:00
NRottmann 0f8f5d29be Enable Simulation of the Hippocampus (AUV from TUHH)
Adding files which enable a simulation with the autonomous underwater
vehicle (AUV) from the Technical University Hamburg-Harburg
2017-08-20 20:59:15 +02:00
davidaroyer 0761d220b1 cmake: fix conflict in ocpoc ubuntu config 2017-08-20 19:35:55 +02:00
crossa 17ba5dd04a 1.Add sbus driver for linux . This driver can be used to read the
inverted S.bus signal and fetch the data of each channel and publish it

2. Fix the bug of linux_pwm_out, when the protocol is pca9685,
after the init method is executed,the method of determining the return
value of init method is incorrect,this will cause the driver to fail

3. Add linux_sbus driver to other posix prefixes cmake files
2017-08-20 16:51:04 +01:00