20392 Commits

Author SHA1 Message Date
David Sidrane
9db89ea4cf Added Micro Hal and configue for Upstream NuttX 2016-12-21 08:34:20 +01:00
David Sidrane
318c69c74b Honor GIT_SUBMODULES_ARE_EVIL 2016-12-21 08:34:20 +01:00
David Sidrane
16229b3985 Build time patching of Uptream NuttX 2016-12-21 08:34:20 +01:00
David Sidrane
d6098c8226 Adding Nuttx Build infrastructure 2016-12-21 08:34:20 +01:00
David Sidrane
cb9517486d Upgrade to uavcan to support Nuttx 7.18+ {enter/leave}_critical_section 2016-12-21 08:34:20 +01:00
David Sidrane
07923a86c7 Upgrade to Nuttx 7.18+ ==upstream 2016-12-21 08:34:20 +01:00
Lorenz Meier
1e625d024c Updated ECL to include a minor compile fix 2016-12-21 08:11:05 +01:00
Dennis Mannhart
42093a5ee1 remove PX4_WARN if zero bytes are received 2016-12-20 14:38:28 +01:00
Dennis Mannhart
bf6328001d move sleep to then end of the loop 2016-12-20 14:38:28 +01:00
Dennis Mannhart
833ee4ba7f deleted poll function since not supported in qurt 2016-12-20 14:38:28 +01:00
Julian Oes
d62520e26b Update DriverFramework and build lib/rc 2016-12-20 14:38:28 +01:00
Julian Oes
d8b6a1df9f Revert "spektrum_rc: fix ugly pointers in function args"
This reverts commit ef3bc1431215dca15383b293101fe75fc27492f2.
2016-12-20 14:38:28 +01:00
Julian Oes
402e2ec611 spektrum_rc: fix ugly pointers in function args 2016-12-20 14:38:28 +01:00
Julian Oes
45ff2d026d dsm: only close valid fds 2016-12-20 14:38:28 +01:00
Julian Oes
3b937ffab4 Remove save file created by mistake 2016-12-20 14:38:28 +01:00
Julian Oes
f184e642c9 dsm: fix definition 2016-12-20 14:38:28 +01:00
Julian Oes
fb42db41d2 spektrum_rc: raise poll timeout to 50ms/20Hz 2016-12-20 14:38:28 +01:00
Julian Oes
a57c8d2a7c spektrum_rc: make usage clear 2016-12-20 14:38:28 +01:00
Julian Oes
de9cb46a56 spektrum_rc: move and clean up (untested) 2016-12-20 14:38:28 +01:00
Julian Oes
97fe56a4e7 dsm: add deinit function
This implements closing of the serial port which previously was not
taken care of.
2016-12-20 14:38:28 +01:00
Julian Oes
c0fcffae76 spektrum_rc: make it compile 2016-12-20 14:38:28 +01:00
Lorenz Meier
c14f1fbaec Add initial structure for Snapdragon Spektrum input 2016-12-20 14:38:28 +01:00
David Sidrane
4d17467590 Interim fix avoid using params before initialized
This is a Interim fix to avoid using params before initialized.

The Long term fix will be:
1) Not play the startup tone on start but allow tones to be generated from other invocations (i.e error conditions)
2) Add a command to tone alam to have it read a parameter, after parameter initialization, in the init script. If that parameter is on then sound the startup tone and further tones will be enabled. If it is off all further tones will be disabled.

The new parameter will not be of the class circuit breaker (not named ) as is is not an absolute control of the tone alarm.
2016-12-20 14:16:04 +01:00
Matthias Grob
f9da41fcf2 fixed rebase errors in arm switch implementation 2016-12-20 09:46:36 +01:00
Matthias Grob
0dbdde3404 Arming: made flags more understandable, added error message for rejected disarm 2016-12-20 09:46:36 +01:00
Matthias Grob
f6282f5b3d Arm button fix: include the arm switch into the structure of all the checks for RC arming 2016-12-20 09:46:36 +01:00
Matthias Grob
94c8371ffe Arm button fix: toggle arming state only once per arm button press 2016-12-20 09:46:36 +01:00
Matthias Grob
8a75827d6a fixed all comments of arm button review 2016-12-20 09:46:36 +01:00
Matthias Grob
aa984edd90 added an rc switch for arming and disarming with the option to use it as a button 2016-12-20 09:46:36 +01:00
Matthias Grob
537f72073d minor: uppercase typo and unused header 2016-12-20 09:46:36 +01:00
Lucas De Marchi
292599d3c9 Revert "px4fmu rcS: increase mavlink rate to 100000 for SYS_COMPANION 1500000"
This reverts commit e3537ca6c25ba50b8c0665138a1d833861b1b5f7.

It needs changes on the Linux side, so reverting for now.
2016-12-20 08:56:38 +01:00
Lucas De Marchi
f48605b975 Revert "aerofc: use logger when autoconfig"
This reverts commit e4e5a77f71363a2744f285510d4ae09ab52d8ddd.
2016-12-20 08:56:38 +01:00
Lucas De Marchi
03be988ebe aerofc: fix defining PX4FMU_V4 macro
We were defining both macros. Fix it by using changing to AEROFC_V1.
Also remove a leftover from board rename.
2016-12-20 08:51:14 +01:00
Lucas De Marchi
9468e7779a aerofc: use same macro name as px4fmu boards 2016-12-20 08:51:14 +01:00
Lucas De Marchi
eaa2cf7d99 aerofc: fix LED names
There are no blue/red LEDs and these names just causes confusion with
the "always-on LEDs".
2016-12-20 08:51:14 +01:00
Lorenz Meier
3e8061c3cd Iris mixer: Update naming of mixer 2016-12-19 20:39:48 +01:00
Lorenz Meier
83b177c5ad DC mixer: Fix geometry for Iris 2016-12-19 20:39:48 +01:00
Lorenz Meier
6b0ac296b6 Fix usage of Iris mixer, make space by deleting unused files 2016-12-19 20:39:48 +01:00
Lorenz Meier
92c35f26be Tests: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier
313ff2a6f2 UAVCAN: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier
1d98c8f202 MAVLink app: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier
3532b48411 TAP ESC: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier
97ce9edcac FMU: Tighter compile checks and correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier
4b99a8f28c Fix sf1xx start 2016-12-19 20:37:40 +01:00
Lorenz Meier
dfed9a3f13 Fix nullptr access in mixer group. This was only ever an issue on booboot and not in flight. 2016-12-19 20:36:05 +01:00
Lorenz Meier
6e32d0b52b Update ECL to include data validator fixes 2016-12-19 20:34:52 +01:00
Lorenz Meier
c91f827072 sensors app: Always run validator so it gets updated and can detect timeouts 2016-12-19 20:34:52 +01:00
Lorenz Meier
143086ba2c HMC5883: Harden shutdown logic 2016-12-19 20:34:52 +01:00
Lorenz Meier
5759fd5726 GPS app: Increase stack to ensure 300 bytes headroom 2016-12-19 20:34:52 +01:00
Lorenz Meier
fe5cc5622b Failover logging in sensors app: Trim down strings 2016-12-19 20:34:52 +01:00