aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | Re-order register page variables to match the order registers are defined in ↵px4dev2013-01-262-40/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the protocol header.
| * | | | | | | | | | | | | Rename ::start to ::start_cycle to avoid confusion with the other start ↵px4dev2013-01-261-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function. Only enable I2C retries on operations that have no side-effects.
| * | | | | | | | | | | | | Increase the number of I2C retries.px4dev2013-01-261-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Defer I2C bus resets for the first couple of retries to avoid transient ↵px4dev2013-01-261-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slave errors causing massive retry spam.
| * | | | | | | | | | | | | A couple of logic fixes from Tridge.px4dev2013-01-261-7/+9
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | px4io: fixed logical vs bitwise typoAndrew Tridgell2013-01-261-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | px4io: ensure RC_OK status flag is set on good inputAndrew Tridgell2013-01-261-1/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Use multi-part transactions rather than separate transfers to avoid racing ↵px4dev2013-01-261-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | between the ioctl and thread-side interfaces.
| * | | | | | | | | | | | | Implement the retry counter for message-vector based transfers.px4dev2013-01-261-9/+21
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | In the case of a repeated start, we won't get a STOPF/AF status, but we ↵px4dev2013-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still need to complete the old transaction before handling ADDR.
| * | | | | | | | | | | | | Reset the collection state machine on all I2C errors, increase the retry count.px4dev2013-01-261-7/+16
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Add a bus saturation test for px4io.px4dev2013-01-261-20/+43
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Handle the completion of an in-progress transaction (STOPF/AF bits) before ↵px4dev2013-01-261-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accepting the start of a new transaction (ADDR).
| * | | | | | | | | | | | | Simplify and tidy the handling of page buffer selection on the readout path.px4dev2013-01-261-16/+46
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Only update the servo output values when we are armed.px4dev2013-01-261-6/+6
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Correct the length calculation for register write transfers so that we send ↵px4dev2013-01-261-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all of the requested registers.
| * | | | | | | | | | | | | Tidy up the write path.px4dev2013-01-261-7/+5
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fix cut and paste so that we send direct PWM and read back servo values from ↵px4dev2013-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the right pages.
| * | | | | | | | | | | | | Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs)px4dev2013-01-261-0/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Add an ioctl for fetching the number of PWM outputspx4dev2013-01-262-0/+7
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fix two protocol-related typos; get the right status flag name for raw PWM; ↵px4dev2013-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | read back the correct page for PWM output.
| * | | | | | | | | | | | | Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various ↵px4dev2013-01-261-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logic errors, be more selective about clearing the RC input type flags for debugging purposes.
| * | | | | | | | | | | | | Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, ↵px4dev2013-01-261-44/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't set the input RC timestamp unless we get data.
| * | | | | | | | | | | | | Implement settable failsafe values for PWM outputs.px4dev2013-01-255-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default in failsafe mode, PWM output pulses are not generated.
| * | | | | | | | | | | | | Less debug output.px4dev2013-01-251-3/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Move the DMA start to immediately after setting it up; less latency at ↵px4dev2013-01-251-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interrupt time, and no chance of getting start/stop calls out of sync.
| * | | | | | | | | | | | | Fix the handling of max transfer size to leave room for the page/offset bytes.px4dev2013-01-251-5/+9
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Dump a couple of unused member variables.px4dev2013-01-251-3/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | px4io: fixed mixer loadAndrew Tridgell2013-01-251-2/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | px4io: fixed cpp errorAndrew Tridgell2013-01-251-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | px4io: fixed array reference bugAndrew Tridgell2013-01-251-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Move DMA start for tx/rx into the gap where SCL is still stretched so that ↵px4dev2013-01-251-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there is no risk of receiving the first byte before DMA starts.
| * | | | | | | | | | | | | Merge branch 'master' into px4io-i2cpx4dev2013-01-2597-742/+3795
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Implement fetching raw RC input values via the ioctl interface.px4dev2013-01-232-0/+39
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Rework the way that we handle the address phase for reads. Drop the ↵px4dev2013-01-231-46/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _connected test as we talk to IO before starting the thread.
| * | | | | | | | | | | | | | Restore the correct handling of the ACK flag at read completion.px4dev2013-01-231-1/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into px4io-i2cpx4dev2013-01-23231-1862/+15551
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Tinkering.px4dev2013-01-231-3/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Safeguard against back-to-back transactions while setting up to handle a ↵px4dev2013-01-232-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | register read request.
| * | | | | | | | | | | | | | | Better sanity checking and error handling.px4dev2013-01-231-12/+20
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | More debug macros.px4dev2013-01-232-0/+153
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'master' into px4io-i2cpx4dev2013-01-2215-624/+1511
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Drop some commented code now the functionality is implemented.px4dev2013-01-191-58/+0
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge branch 'master' into px4io-i2cpx4dev2013-01-196-211/+268
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into px4io-i2cpx4dev2013-01-161-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Add RC input configuration, update at startup and on parameter change (max 2 ↵px4dev2013-01-161-4/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | per second).
| * | | | | | | | | | | | | | | | | | Beat the px4io driver into compilable shape. Just missing RC input ↵px4dev2013-01-152-276/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration now.
| * | | | | | | | | | | | | | | | | | minor doc fixpx4dev2013-01-151-2/+2
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | compile fixpx4dev2013-01-151-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add support for battery current scaling. Add feedback for mixer load operations.px4dev2013-01-153-55/+79
| | | | | | | | | | | | | | | | | | |