aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/px4io.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved all drivers to new world, PX4IO completely in new worldLorenz Meier2013-04-281-231/+0
|
* Refactored debug level into proper register, px4io status now correctly ↵Lorenz Meier2013-03-091-4/+3
| | | | reads it. Added more of the missing alarms clear logic, alarms reporting now consistent. Adding missing sign change on mode switch, fixes override issue when attempting to switch to auto mode. Pending outdoor tests
* Added minimum set of IO MAVLink text messages, report critical errors such ↵Lorenz Meier2013-03-071-2/+6
| | | | as in-air restarts
* Let's just init the status flag every time we send a config updateSimon Wilks2013-03-071-3/+0
|
* Correct RC config sanity checking and report back when RC config errors occur.Simon Wilks2013-03-061-0/+3
|
* Simplify the PX4IO main loop to cut down on memory consumption.px4dev2013-02-241-75/+40
|
* Out of memory warning, flash and RAM optimizationsLorenz Meier2013-02-231-8/+23
|
* px4io: fixed signals for lower latency PWM outputAndrew Tridgell2013-02-191-9/+15
| | | | poll() is not interrupted by signals, whereas usleep() is
* Merged, removed unneeded lineAndrew Tridgell2013-02-171-0/+31
|
* Merge branch 'px4io-i2c' into px4io-i2c-nuttxLorenz Meier2013-02-171-8/+8
|\
| * Finished and tested in-air restore of arming state, as long as both boards ↵Lorenz Meier2013-02-171-8/+8
| | | | | | | | reset at the same time armings state is now retained
* | Merge branch 'px4io-i2c' into px4io-i2c-nuttxLorenz Meier2013-02-171-3/+9
|\|
| * Fixed excessive debug buffer sizeLorenz Meier2013-02-171-3/+9
| |
* | MergedLorenz Meier2013-02-171-2/+3
|\ \ | |/ |/|
| * Assorted compile fixes.px4dev2013-02-061-2/+2
| |
* | More outputAndrew Tridgell2013-02-171-1/+3
| |
* | Merged debug level commits from TridgeAndrew Tridgell2013-02-141-5/+22
| |
* | px4io: added isr_debug()Andrew Tridgell2013-02-141-1/+61
| | | | | | | | this is useful for debugging px4io internals
* | Add support for raw PWM passthrough from FMU via IO.px4dev2013-01-151-0/+1
| |
* | Major workover of the PX4IO firmware for I2C operation.px4dev2013-01-131-13/+19
| |
* | We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, ↵px4dev2013-01-131-0/+10
| | | | | | | | | | | | and since USART2 is going back to being ignored once I2C works, let's make the call. Turn off the debug output on I2C for now.
* | Checkpoint I2C slave work on IOpx4dev2013-01-131-0/+3
|/
* mergedLorenz Meier2012-12-301-0/+2
|\
| * Merged IO feature branchLorenz Meier2012-12-131-0/+2
| |\
| | * Added required additional fields: If system is ok to launch (required for ↵Lorenz Meier2012-12-131-0/+2
| | | | | | | | | | | | LED indicator), if system is ok to override fully by RC (required for multirotors which should not support this), desired PWM output rate in Hz (again required for some multirotors).
* | | whitespace/formattingpx4dev2012-12-291-1/+1
| | |
* | | Fix PX4IO to run C++ static ctorspx4dev2012-12-291-0/+5
|/ /
* / Fix breakage to the DSM parser introduced with the input prioritisation ↵px4dev2012-12-031-0/+1
|/ | | | logic. Back out to a "any input wins" strategy; connecting multiple receivers to I/O at the same time is currently not supported (read: strange things will happen).
* Merge branch 'sbus' of https://github.com/PX4/Firmware into ↵px4dev2012-12-011-0/+2
|\ | | | | | | #61-px4io-spektrum-decoder
| * Harmonized PPM, S.BUS and DSM input (order: first preference S.Bus, then ↵Lorenz Meier2012-11-301-0/+2
| | | | | | | | DSM, then PPM, first available and valid source is chosen), tested with FMU, valid channel inputs
* | Clean up the FMU communications init.px4dev2012-11-301-7/+3
|/
* Rework the PX4IO software architecture:px4dev2012-11-301-82/+21
| | | | | | | - Use a separate thread for handing R/C inputs and outputs. - Remove all PX4IO R/C receiver configuration; it's all automatic now. - Rework the main loop, dedicate it to PX4FMU communications after startup. - Fix several issues in the px4io driver that would cause a crash if PX4IO was not responding.
* Don't print the status line so much; we seem to drop a lot of receive ↵px4dev2012-11-291-0/+2
| | | | characters this way.
* Revert "Revert "Another take on Spektrum/DSM frame decoding, based on more ↵Julian Oes2012-11-071-1/+1
| | | | | | careful examination of the relevant docs."" This reverts commit 38b20f2a1ad32ed3091c781713c01f209f95016a.
* Revert "Another take on Spektrum/DSM frame decoding, based on more careful ↵Julian Oes2012-11-071-1/+1
| | | | | | examination of the relevant docs." This reverts commit ff3a014971f83f15f4884e584a2f58ee979f23ee.
* Merge branch 'master' of https://github.com/PX4/FirmwareJulian Oes2012-11-071-1/+1
|\
| * Another take on Spektrum/DSM frame decoding, based on more careful ↵px4dev2012-11-071-1/+1
| | | | | | | | examination of the relevant docs.
* | Again some hacking to make arming/disarming work for nowJulian Oes2012-11-061-1/+2
|/
* Add prototypical support for Spektrum satellite remotes to PX4IO.px4dev2012-11-051-7/+7
|
* Fix PWM channel zero output; pin configuration was being overwritten by ↵px4dev2012-11-041-7/+6
| | | | USART2 setup.
* Checkpoint; messages from FMU now make it to IO intact; fix HRT init timing, ↵px4dev2012-11-031-2/+6
| | | | process more bytes from the serial port, add some simple packet counting.
* Cleanup and refactor of the PX4IO firmware and board support. Builds, not ↵px4dev2012-11-031-18/+9
| | | | tested yet.
* Checkpoint - moving things out of the NuttX configs/*/src directoriespx4dev2012-10-231-1/+1
|
* Faster sensor bus resets on timeouts, massively reworked fixed wing app, testedLorenz Meier2012-08-051-22/+2
|
* Fresh import of the PX4 firmware sources.px4dev2012-08-041-0/+183