23593 Commits

Author SHA1 Message Date
David Sidrane
bf9a8a0bee Nuttx patches are now in upstream 2017-09-29 10:13:51 -04:00
David Sidrane
2aa8674f86 fmu Allow for using a common format 2017-09-29 10:13:51 -04:00
David Sidrane
c168bd248f Use Proper ponter conversion
When PX4_CPU_UUID_BYTE_FORMAT_ORDER is not defined properly
 cast the arument for calling board_get_uuid_raw
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
fcb57afd3d Add Kinetis impelmantation Skeleton for board common SoC version api 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
1dbe8b8605 Adding Kinetis board common identity to micro hal 2017-09-29 10:13:51 -04:00
David Sidrane
da178e8693 Adding Kinetis board common identitiy api 2017-09-29 10:13:51 -04:00
David Sidrane
0c576426b2 Add nxphlite-v1_default to alt builds for CI 2017-09-29 10:13:51 -04:00
David Sidrane
b2b6509ee0 Use micro hal fir px4_savepanic
To keep board_crashdump.c as common code we create a
  wrapper around the arch depandant call to
  stm32_bbsram_savepanic.
2017-09-29 10:13:51 -04:00
David Sidrane
6669aa058d hardfault_log should has hal
remove stm32_bbsram.h and use px4_config.h
2017-09-29 10:13:51 -04:00
David Sidrane
e93a5002a1 Updated Micro HAL for kinetis
Added px4_ abstraction macros
 Removed stm32.h reference
2017-09-29 10:13:51 -04:00
David Sidrane
c1812af45e Inital commit of NXPhlite-v1 2017-09-29 10:13:51 -04:00
David Sidrane
ec11b943a8 Allow an alternate startup file independent of bootloader builds
In support of bootloader builds the nuttx_v3 builds previously had a
facility to set the start up files: Non Bootloader STM32 builds uses
the common vectors facility in NuttX. The bootloaders use a fixed
minimum set of vectors.

Since other architectures my need to include a start up file or
set of files, this PR allow an alternate startup file to be
selected independent of if this is bootloader build.
2017-09-29 10:13:51 -04:00
Daniel Agar
28a9e32753 test perf use stdout, not stdin 2017-09-28 16:50:47 +01:00
Daniel Agar
4e5b223a08 hrt test decrease time 2017-09-28 16:50:47 +01:00
Daniel Agar
af9690cf08 add simple posix tests to SITL 2017-09-28 16:50:47 +01:00
Daniel Agar
5eb3e695bb fix and enable mavlink ftp tests 2017-09-28 09:29:04 +02:00
Daniel Agar
3c18be387c ROI - move handling to navigator (#7939) 2017-09-26 12:25:02 -04:00
James Goppert
e72769c924 Imu filter (#7606)
* Add adjustable driver level cutoff freq for accel/gyro.

* Fix copy and paste error.

* Updated print_info.

* imu filter minor cleanup
2017-09-25 13:55:56 -04:00
Lorenz Meier
a945cd9fc2 Sensors: Clean up boot output (#8005)
Various sensors had too verbose or confusing boot output that would make the boot log hard to read. This patch ensures all output is consistently indicating if there is a real error or an optional sensor just not present. It also removed redundant error messages and adds an indication on which bus the sensor was probed.
2017-09-25 11:19:11 -04:00
Daniel Agar
d04d62c37e airframe metadata sort by SYS_AUTOSTART and minor cleanup (#8009) 2017-09-25 11:17:50 -04:00
Daniel Agar
420df9d88a mavlink receiver remove undocumented CMD_PREFLIGHT_REBOOT_SHUTDOWN link shutdown (#8008) 2017-09-25 11:09:16 -04:00
Daniel Agar
4e0ddf86e1 rcS print full version 2017-09-25 10:30:22 -04:00
Daniel Agar
414b4d4a40 ver silence hwcmp 2017-09-25 10:30:22 -04:00
Daniel Agar
0da2dca8c1 drivers remove device _debug_enabled 2017-09-25 10:30:22 -04:00
ChristophTobler
e5f46856c4 update submodule sitl_gazebo to include new range orientation 2017-09-25 11:46:44 +02:00
ChristophTobler
16825e6460 inav: subscribe to multi dist instances and check orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
bfe28c1df3 lpe: check for distance sensor orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
ee82e80517 ekf2: subscribe to multi dist instances and check orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
58e09faf9b df trone wrapper: update for new orientation convention
add possibility to specify distance sensor orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
de0c196b2b Bebop rangefinder: update for new orientation convention 2017-09-25 08:52:21 +02:00
ChristophTobler
07e6738586 mavlink receiver: update for new orientation convention 2017-09-25 08:52:21 +02:00
ChristophTobler
c315aa659e ulanding: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
018aa8e535 srf02: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
d5ddc2b489 srf02_i2c: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
4ed78595e7 sf1xx: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
4f683db732 sf0x: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
0fcc54f95f mb12xx: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
21f97cfce6 LidarLite: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler
286d8f2bff teraranger: add possibility to specify orientation and adapt to new defaults 2017-09-25 08:52:21 +02:00
ChristophTobler
a4d37f7120 PX4Flow: add possibility to specify sonar orientation and adapt to new defaults 2017-09-25 08:52:21 +02:00
ChristophTobler
a45ed5f776 add constants for distance orientation convention 2017-09-25 08:52:21 +02:00
Paul Riseborough
f0e8abe783 mc_pos_control: Use arming state to prevent unsafe reference point changes 2017-09-24 03:46:42 -07:00
Paul Riseborough
ef0e47ee63 mc_pos_control: Fix bug causing flyaway when GPS gained after takeoff
The change in origin when GPS was gained after takeoff was being used to shift the set point despite the previous origin being invalid.
2017-09-24 03:46:42 -07:00
Daniel Agar
24f056d2bb mavlink receiver sync command_int/command_long 2017-09-24 03:45:21 -07:00
James Goppert
13e64d00a8 commander handle shutdown command (#8000) 2017-09-23 10:35:36 -04: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
eric
557559cd85 set _triplet_lat_lon_finite true to avoid landing to not the current location, see #7990 2017-09-22 15:20:13 +02:00
Daniel Agar
b4755297ec delete control_state and cleanup vehicle_attitude (#7882) 2017-09-21 16:24:53 -04:00