Commit Graph

889 Commits

Author SHA1 Message Date
Beat Küng 22acb1dab1 cmake configs: add landing_target_estimator wherever local_position_estimator is enabled
LTEST_MODE is defined in landing_target_estimator and required by
local_position_estimator.
2018-03-13 17:35:15 +01:00
Beat Küng f7ee3c2015 cmake configs: add vtol_att_control for required parameters VT_B_DEC_MSS & VT_B_REV_DEL
Required by Navigator.
2018-03-13 17:35:15 +01:00
Daniel Agar 2ddd04cba6 px4fmu-v2 disable ulanding 2018-03-05 01:19:56 -05:00
mcsauder 3ef6bc7d93 Update CMakeLists for the drivers/imu directory. 2018-02-22 12:48:34 -05:00
Daniel Agar c459a04b9b organize all telemetry drivers in subdirectory 2018-02-09 22:40:34 +01:00
Daniel Agar 681e351f62 organize all IMU drivers in subdirectory 2018-02-09 22:40:34 +01:00
Daniel Agar 64fa1ec6a5 batt_smbus readd to configurations and fix compilation errors 2018-02-08 19:00:48 +01:00
José Roberto de Souza 0b9025b2d2 px4fmu-v2: Build individual distance sensors
We are running out of flash memory in px4fmu-v2 so removing all the
distance sensors from binary and adding then individually.
Right now only LeddarOne is not being buid.
2018-02-08 11:26:26 +01:00
Daniel Agar f5c1124812 move tailsitter_recovery lib to mc_att_control 2018-02-04 18:15:57 +01:00
Daniel Agar b3b1161d53 mathlib filters include automatically 2018-02-04 18:15:57 +01:00
Daniel Agar 6f248bc7e9 move runway_takeoff lib to fw_pos_control_l1 2018-02-04 18:15:57 +01:00
Daniel Agar 6a4ef78111 move launchdetection lib to fw_pos_control_l1 2018-02-04 18:15:57 +01:00
Daniel Agar 102c0ead53 cmake consolidate px4 executable builds and upload 2018-02-01 09:00:13 -05:00
Daniel Agar 2ff81393bc move posix, nuttx, qurt components into platforms 2018-01-31 17:17:07 +01:00
Beat Küng 86acd23704 cmake configs: add lib/tunes for all configs that have tune_control enabled 2018-01-31 07:57:52 +01:00
Beat Küng 90a6989440 px4fmu-v5 cmake config: re-add drivers/bmi055
Accidentally dropped in bad813e911
2018-01-31 07:57:52 +01:00
Beat Küng c8c918ce98 cmake configs: add systemcmds/tune_control
This is now required in the startup scripts
2018-01-31 07:57:52 +01:00
ChristophTobler 8d4036df7d aerofc cmake: add baro driver again 2018-01-30 09:17:01 -05:00
Simone Guscetti 117966d2a1 cmake configs: Add tunes library to each board using tone_alarm 2018-01-29 09:45:59 -05:00
Beat Küng 5bd8574e47 examples/px4_daemon_app: remove this app
superseded by src/templates/module
2018-01-27 00:43:04 +01:00
Beat Küng 761826cc5a posix_sitl_default.cmake: add template module
Just to make sure it's built with CI
2018-01-27 00:43:04 +01:00
Matthias Grob 463217a5f9 Cygwin: repair NuttX build (#8737)
* Cygwin: repaired NuttX build after 1f63d85869
all the NuttX specific WINTOOL define handling was skiped in cmake Make.defs generation
The Nuttx build is makfile based and needs its cygwin treatment

Additionally the ${PX4_SOURCE_DIR}/src/include which was added through cmake needs path conversion

The two root causes for the special handling are:
- ARM GCC for Windows doesn't support cygwin paths passed as an argument
  so they need to be either relative or converted via cypath tool
- Symbolic links are totally different under Windows and because NuttX uses them extensively
  it has special handling scripts that need to be fed with the correct defines

* Cygwin: NuttX include paths all converted in Make.defs.in

differentiate between WINTOOL define (MSYS & cygwin) and cygwin using uname command:
- MSYS needs symbolic link handling for ARM GCC but no path conversion
- Cygwin needs both
2018-01-20 23:26:12 -05:00
Daniel Agar 0e3574c44f hott automatically include hott_sensors and hott_telemetry 2018-01-16 23:46:45 -05:00
Daniel Agar c20594cd0e move all barometers to the same folder 2018-01-16 23:46:45 -05:00
Daniel Agar bad813e911 move all magnetometers to the same folder 2018-01-16 23:46:45 -05:00
Lorenz Meier 15a69b881d Enable IO image buildig for FMUv5 2018-01-16 08:36:51 +01:00
David Sidrane 2df5d23ab6 px4fmu-v5:Add px4io 2018-01-16 08:36:51 +01:00
Daniel Agar 67f89f51ff move all distance sensor drivers to the same folder 2018-01-15 14:34:02 -05:00
Daniel Agar 576b42fea3 move all differential pressure drivers to the same folder 2018-01-15 14:34:02 -05:00
Daniel Agar 9b5ae1ef7a NuttX upgrade default compiler to GCC 7 2018-01-15 12:57:29 -05:00
Nicolas de Palezieux 155c55814b cmake configs : Add precision landing support 2018-01-15 10:27:23 +01:00
Nicolas de Palezieux f600cfbb9f Add support for testing precision landing in SITL simulation 2018-01-15 10:27:23 +01:00
ChristophTobler 856a523d29 add snapdragon power module (ltc2946) to eagle flight 2018-01-14 12:56:49 +01:00
Daniel Agar 1037e983ab
LidarLite port to raspberrypi (#8633) 2018-01-12 16:20:00 -05:00
Daniel Agar 992db1f415 delete snapdragon_rc_pwm and passthrough config 2018-01-08 03:07:10 -05:00
Daniel Agar fd7d4156fd delete pwm_out_rc_in 2018-01-08 03:07:10 -05:00
Matthias Grob c0c0666d5c Cygwin: use absolute path with cygpath conversion to the linker script again
because the relative path is interpreted differently on linux, mac and windows
2018-01-05 14:47:33 -05:00
Daniel Agar bf84cf0dcf Cygwin: use relative paths where needed 2018-01-05 14:47:33 -05:00
Matthias Grob 2186f7b1b1 Cygwin: Enable ARM build of px4fmu-vX_default under Windows Cygwin Environment 2018-01-05 14:47:33 -05:00
Daniel Agar f2cd5e3e9f move src/firmware/ to platforms 2018-01-05 14:21:31 -05:00
Daniel Agar e5b784736f delete unused cmake/test 2018-01-05 14:21:31 -05:00
Daniel Agar 678e2c415d move cmake/${OS} to platforms 2018-01-05 14:21:31 -05:00
Ayush 91cedcaba3 Added tfmini driver to build configs 2018-01-01 17:38:41 +01:00
Ayush 9f2bb6c7f9 Added support for TFmini-LiDAR 2018-01-01 17:38:41 +01:00
Lorenz Meier 32aa8d4f51 FMUv3: Use its own proper prototype for the image 2018-01-01 09:29:55 -05:00
Daniel Agar aef7a3cd9a cmake only init uavcan_board_ident if used 2017-12-10 19:24:05 -05:00
Daniel Agar ded055f71d cmake only init cmake_hexagon if used 2017-12-10 19:24:05 -05:00
Daniel Agar 7aeea62e21 px4fmu-v3_rtps override default naming 2017-12-10 15:58:01 -05:00
Daniel Agar df4ab8b59e px4fmu-v3_default name binary appropriately
- fixes #8436
2017-12-10 01:07:41 +00:00
Daniel Agar f1bd94e25b cmake add git submodule replace . in target name 2017-12-07 20:27:46 +00:00
Daniel Agar 769fef1d9a delete leftover px4io-v1 files 2017-12-07 14:48:28 -05:00
Daniel Agar ba8153afd9 px4fmu-v5_rtps fix config type (v4 -> v5) 2017-11-28 19:46:54 -05:00
Daniel Agar 1d1da12859 delete exampales ekf_att_pos_estimator 2017-11-26 16:42:26 -05:00
Amir Melzer a8787e8fe3 Add a driver for the Analog Devices ADIS16448 IMU (#8301) 2017-11-26 14:52:22 -05:00
Daniel Agar ec27865184 px4fmu-v2 add additional modules and sync with v3 2017-11-24 09:02:17 +01:00
Daniel Agar 01691e626b Merge FMUv3 into FMUv2 2017-11-24 09:02:17 +01:00
Daniel Agar d1a4c2dcd0 cmake handle git submodule depdencies 2017-11-23 00:22:45 -05:00
Florian Achermann a5cc4bcd08 Update SDP3x Airspeed Correction (#8242)
Update the model for the standard configuration based on the model from Sensirion and add also an option to do the tube pressure loss correction from Sensirion for other configurations.
2017-11-22 22:03:26 -05:00
Daniel Agar 822fc5725c cmake px4_add_module() make properties private 2017-11-22 10:36:51 +01:00
Avinash Reddy Palleti 456227f39e Add RTPS cmake config for AeroFC
Adding a seperate cmake config to support RTPS messaging on AeroFC. This will
include compiling protocol_splitter and micrortps_client, and starting both
of them at boot time.
2017-11-21 16:51:46 +01:00
Daniel Agar 53595bac0e board support add px4_i2c_bus_external/px4_spi_bus_external 2017-11-20 23:44:31 +01:00
Julien Lecoeur 89642a9203 Move src/module/systemlib/mixer to src/lib/mixer 2017-11-15 09:56:10 +01:00
davidaroyer b0942e996b cmake: use linux_sbus for ocpoc target 2017-10-30 20:53:28 +01:00
davidaroyer 090b668075 cmake: add missing vehicle control modules to ocpoc 2017-10-30 20:53:28 +01:00
Daniel Agar bd84061ea5 px4fmu-v2_default add sf1xx driver (#8185)
- closes #8177
2017-10-26 09:42:09 -04:00
Daniel Agar 48cfb37c5a move bottle_drop to examples (#8187) 2017-10-25 16:05:39 -04:00
Beat Küng 5f1debd431 px4fmu-v2 cmake config: disable mpu9250
out of flash again...
2017-10-24 13:15:14 +02:00
Daniel Agar fa8629f6c7 nxphlite config remove external_lgpl 2017-10-22 21:56:06 +02:00
Lorenz Meier 4923d0cba3 Remove TECS from system codebase
The TECS controller belongs really into the ECL (estimation & control library) where we have collected a number of vehicle control systems. It is being replaced by a new implementation of the algorithm, contributed by Paul Riseborough.
2017-10-22 21:56:06 +02:00
Daniel Agar 136d259876 travis-ci fix coverity scan and px4_metadata (#8156) 2017-10-20 09:20:30 -04:00
Daniel Agar d83073f016 move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds (#8113) 2017-10-17 16:29:55 -04:00
Daniel Agar 979d092628 travis-ci enable tests under address sanitizier (#8095) 2017-10-17 16:26:17 -04:00
Beat Küng 747e392be6 px4fmu-v2 cmake config: disable team blacksheep telemetry driver
we're out of flash again :/
2017-10-17 09:56:01 +02:00
Daniel Agar 651df03f76 RTPS and micro-CDR build system cleanup (#8084) 2017-10-11 13:05:44 -04:00
David Sidrane b363b794b1 fxos8700cq:Part number change fxos8701cq 2017-10-04 04:49:35 -10:00
David Sidrane ccc83dde33 nxphlite-v3:Build rgbled_pwm driver 2017-10-04 04:49:35 -10:00
David Sidrane 9ce3fc6700 nxphlite-v3 cmake:Bring inline with master 2017-10-04 04:49:35 -10:00
Daniel Agar 2113772443 improve nuttx verbose build 2017-09-29 10:13:51 -04:00
Daniel Agar 48f1e3ed1c uORB generation move to msg/ 2017-09-29 10:13:51 -04:00
David Sidrane f79d06dae4 px4-same70xplained-v1:Update to master rename trone to teraranger 2017-09-29 10:13:51 -04:00
David Sidrane 8f78f57f14 nxphlite-v3:Update to master rename trone to teraranger 2017-09-29 10:13:51 -04:00
Daniel Agar 474f216a0a UAVCAN bootloaders split into separate repository (#7878) 2017-09-29 10:13:51 -04:00
David Sidrane d0853092f5 nxphlite-v3:add fxas21002c driver to board build 2017-09-29 10:13:51 -04:00
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