Commit Graph

  • 815f643819 Merge pull request #67 from sjwilks/hott Lorenz Meier 2013-01-27 03:43:19 -08:00
  • 338f769202 Merge branch 'master' into px4io-i2c px4dev 2013-01-26 21:17:39 -08:00
  • 43ead720a7 Now that we're mostly done with I2C, the old serial interface can be cleaned out. px4dev 2013-01-26 21:17:10 -08:00
  • 636e0cc56a It looks like retrying reads from the ms5611 is not safe either. px4dev 2013-01-26 20:23:19 -08:00
  • 6d0363faff Disarm IO at driver startup time. px4dev 2013-01-26 19:43:23 -08:00
  • 981477c785 Re-order register page variables to match the order registers are defined in the protocol header. px4dev 2013-01-26 19:24:18 -08:00
  • 666d3a401b Rename ::start to ::start_cycle to avoid confusion with the other start function. px4dev 2013-01-26 18:55:26 -08:00
  • 621063ac08 Increase the number of I2C retries. px4dev 2013-01-26 17:10:04 -08:00
  • 33c12d13ad Defer I2C bus resets for the first couple of retries to avoid transient slave errors causing massive retry spam. px4dev 2013-01-26 17:07:58 -08:00
  • 7864176b5a A couple of logic fixes from Tridge. px4dev 2013-01-26 16:37:35 -08:00
  • c0a46c4b93 px4io: fixed logical vs bitwise typo Andrew Tridgell 2013-01-27 10:58:30 +11:00
  • 5ee52138c4 px4io: ensure RC_OK status flag is set on good input Andrew Tridgell 2013-01-27 08:47:21 +11:00
  • 52ff9b7d43 Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces. px4dev 2013-01-26 16:16:19 -08:00
  • fd28217e59 Implement the retry counter for message-vector based transfers. px4dev 2013-01-26 16:15:23 -08:00
  • 6bd662cfb2 In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR. px4dev 2013-01-26 16:11:31 -08:00
  • 47b94bafa5 Move socket data from TCB to task group structure. patacongo 2013-01-26 23:49:02 +00:00
  • e0f83af96f Reset the collection state machine on all I2C errors, increase the retry count. px4dev 2013-01-26 15:13:30 -08:00
  • 2a18d6466c Add a bus saturation test for px4io. px4dev 2013-01-26 14:36:31 -08:00
  • 6ba4cd04fe Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR). px4dev 2013-01-26 14:26:02 -08:00
  • 11796e27f2 Simplify and tidy the handling of page buffer selection on the readout path. px4dev 2013-01-26 14:25:22 -08:00
  • b82c36961a Move stream data from TCB to task group structure. patacongo 2013-01-26 22:25:21 +00:00
  • 4ab490bd50 Only update the servo output values when we are armed. px4dev 2013-01-26 13:16:24 -08:00
  • 4ea8a64b39 Correct the length calculation for register write transfers so that we send all of the requested registers. px4dev 2013-01-26 13:15:57 -08:00
  • 72fcc8aad3 Tidy up the write path. px4dev 2013-01-26 13:15:27 -08:00
  • 899fbcc7cf Fix cut and paste so that we send direct PWM and read back servo values from the right pages. px4dev 2013-01-26 13:14:52 -08:00
  • 3a8bbe837e Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs) px4dev 2013-01-26 13:14:15 -08:00
  • 3bec164b3a Fix a recently introduced memory leak patacongo 2013-01-26 21:01:19 +00:00
  • 984e68d76e Add an ioctl for fetching the number of PWM outputs px4dev 2013-01-26 12:27:42 -08:00
  • b20c050402 Fix two protocol-related typos; get the right status flag name for raw PWM; read back the correct page for PWM output. px4dev 2013-01-26 12:27:03 -08:00
  • 5b6482a22b Move file data from TCB to task group patacongo 2013-01-26 20:17:29 +00:00
  • 328af90c9e Merge pull request #179 from PX4/airspeed px4dev 2013-01-26 11:10:11 -08:00
  • 4732f1e758 Merge pull request #188 from PX4/param_command px4dev 2013-01-26 11:09:06 -08:00
  • 8a979576b0 Merge pull request #190 from PX4/bma180_fix px4dev 2013-01-26 11:07:53 -08:00
  • a1aa13f628 Don't keep the parent task's task ID in the child task's TCB. Instead, keep the parent task group IN the child task's task group. patacongo 2013-01-26 17:28:20 +00:00
  • d298e320c2 Another diagram update Lorenz Meier 2013-01-26 13:07:33 +01:00
  • ba9da97732 Updated RC mode switching docs, merged with Julian Lorenz Meier 2013-01-26 12:07:27 +01:00
  • beb4638748 Merge branch 'master' of github.com:PX4/Firmware into statemachine_docs Lorenz Meier 2013-01-26 12:07:01 +01:00
  • f854e2f791 Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various logic errors, be more selective about clearing the RC input type flags for debugging purposes. px4dev 2013-01-26 00:02:45 -08:00
  • 5fe376c7b9 Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, don't set the input RC timestamp unless we get data. px4dev 2013-01-26 00:01:25 -08:00
  • b46d05835b Implement settable failsafe values for PWM outputs. px4dev 2013-01-25 22:58:33 -08:00
  • 900b0d58ef Less debug output. px4dev 2013-01-25 21:59:31 -08:00
  • 6c75c5909e Move the DMA start to immediately after setting it up; less latency at interrupt time, and no chance of getting start/stop calls out of sync. px4dev 2013-01-25 21:58:55 -08:00
  • 818e898a7e Fix the handling of max transfer size to leave room for the page/offset bytes. px4dev 2013-01-25 21:54:04 -08:00
  • 1b30cd2f93 Dump a couple of unused member variables. px4dev 2013-01-25 21:40:18 -08:00
  • 8972843b14 px4io: fixed mixer load Andrew Tridgell 2013-01-25 10:15:41 +11:00
  • f8bea6d07b px4io: fixed cpp error Andrew Tridgell 2013-01-25 10:13:00 +11:00
  • 57d028fddd px4io: fixed array reference bug Andrew Tridgell 2013-01-25 10:10:47 +11:00
  • 82f72b96de Move DMA start for tx/rx into the gap where SCL is still stretched so that there is no risk of receiving the first byte before DMA starts. px4dev 2013-01-25 21:35:32 -08:00
  • 24f6c6b121 Merge branch 'master' into px4io-i2c px4dev 2013-01-25 19:29:29 -08:00
  • 81601ad9dc Fixed byte readout order and signed value 16 to 14 bit value conversion Lorenz Meier 2013-01-26 01:04:58 +01:00
  • 239e2808cc Move environment variables in the task group structure patacongo 2013-01-25 23:21:27 +00:00
  • fdaa22ed2d Add logic to send SIGCHLD to all members of a task group patacongo 2013-01-25 20:00:37 +00:00
  • 80904539e6 Add logic to keep track of members of a task group patacongo 2013-01-25 19:15:05 +00:00
  • e95efd5d2a Add framework to support task groups patacongo 2013-01-25 17:23:38 +00:00
  • bd5887b4ca Move the config param to a more sane location (I hope). Simon Wilks 2013-01-25 10:44:21 +01:00
  • 0246842c88 Enable single wire via ioctl calls and pull the battery voltage from the battery status topic. Simon Wilks 2013-01-25 01:41:11 +01:00
  • b6472b58dc Fix some compilation errors when child status disabled; new waitpid logic not encoding/decoding status properly patacongo 2013-01-25 00:01:08 +00:00
  • a2ec48846f Fix some missing logic and inconsistencies in child status logic; Fix a bug introduced into sigaction() patacongo 2013-01-24 23:18:32 +00:00
  • 23f0be6b02 Merge branch 'ioctl' into hott Simon Wilks 2013-01-24 23:57:54 +01:00
  • 0669d2aee0 Merge remote-tracking branch 'upstream/master' into hott Simon Wilks 2013-01-24 23:27:27 +01:00
  • b9009390d7 Merged and tested against the single wire implementation added to Nuttx r5554. Simon Wilks 2013-01-24 23:26:12 +01:00
  • 4baa1821cb Merge branch 'master' of github.com:PX4/Firmware into airspeed Lorenz Meier 2013-01-24 21:41:50 +01:00
  • 25e9b8d084 Fix poll/select issue reported by Qiang patacongo 2013-01-24 19:19:38 +00:00
  • 91504abf89 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP patacongo 2013-01-24 18:41:46 +00:00
  • 888306f728 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP patacongo 2013-01-24 18:39:53 +00:00
  • beb4522298 Merge pull request #187 from PX4/nuttx-merge-5554 px4dev 2013-01-24 09:56:55 -08:00
  • f914a90556 apps/examples/nettest and poll: Complete Kconfig files patacongo 2013-01-24 16:28:15 +00:00
  • f21d406cbe Added additional example Lorenz Meier 2013-01-24 16:53:31 +01:00
  • 6d12f147b8 Improved param command, show now allows to filter and set allows to set integer params (e.g. param set MAV_TYPE 2) Lorenz Meier 2013-01-24 15:43:12 +01:00
  • ad65a04617 Convert configs/olimex-lpc1766stk/nettest to use kconfig-frontends patacongo 2013-01-24 14:14:44 +00:00
  • 379ed0a092 Trivial compile fix. px4dev 2013-01-24 00:22:01 -08:00
  • 35febbe844 Merge Nuttx r5554 px4dev 2013-01-23 23:56:24 -08:00
  • b60a744b77 Merge pull request #175 from tridge/apps_bindir px4dev 2013-01-23 23:18:16 -08:00
  • ff0874e6f2 Merge pull request #176 from tridge/apm-startup px4dev 2013-01-23 23:16:51 -08:00
  • 942cea157d Merge pull request #182 from NosDE/master px4dev 2013-01-23 23:15:19 -08:00
  • 0bc836ae1d Implement fetching raw RC input values via the ioctl interface. px4dev 2013-01-23 22:19:33 -08:00
  • 2a44ea30c2 Merge pull request #174 from tridge/vdprintf px4dev 2013-01-23 20:31:33 -08:00
  • dce2afde0f Rework the way that we handle the address phase for reads. Drop the _connected test as we talk to IO before starting the thread. px4dev 2013-01-23 20:18:18 -08:00
  • 51c47769f8 Restore the correct handling of the ACK flag at read completion. px4dev 2013-01-23 20:17:28 -08:00
  • dc88dd0abb Merge branch 'master' into px4io-i2c px4dev 2013-01-23 18:58:19 -08:00
  • d8a013f872 Tinkering. px4dev 2013-01-23 18:57:16 -08:00
  • b34311915a Safeguard against back-to-back transactions while setting up to handle a register read request. px4dev 2013-01-23 18:56:58 -08:00
  • 3244bb83ea Better sanity checking and error handling. px4dev 2013-01-23 18:56:03 -08:00
  • 9a4d6455fc More debug macros. px4dev 2013-01-23 18:55:23 -08:00
  • 1ce1d4460b Merge pull request #183 from PX4/nuttx-merge-5527 px4dev 2013-01-23 18:46:12 -08:00
  • 72a0a4a71c Merge pull request #185 from tridge/perf_reset px4dev 2013-01-23 18:39:29 -08:00
  • 6e751d26e8 perf: added 'perf reset' command Andrew Tridgell 2013-01-24 10:00:49 +11:00
  • f4da4bb8ca perf_counter: added perf_reset() and perf_reset_all() calls Andrew Tridgell 2013-01-24 10:00:23 +11:00
  • 63f8c0a954 Add option to used keyboard CODEC in apps/examples/keypadtest patacongo 2013-01-23 23:11:13 +00:00
  • 340a72b7cd Add logic to retain child task exit status if so configured patacongo 2013-01-23 22:23:46 +00:00
  • e6bc395291 Merge branch 'master' of github.com:PX4/Firmware into attitude_filter_improvement Lorenz Meier 2013-01-23 18:24:19 +01:00
  • 0e01f2b6fb Removed unused files Lorenz Meier 2013-01-23 18:23:55 +01:00
  • efd4250e84 timing changed and amber for manual added Marco Bauer 2013-01-23 15:38:38 +01:00
  • f86f863834 Add single-wire UART support to STM32 serial driver patacongo 2013-01-23 14:38:13 +00:00
  • 2a95fa64c2 timing changed and amber for manual added Marco Bauer 2013-01-23 15:29:46 +01:00
  • deb5fe5187 timing changed and amber for manual added Marco Bauer 2013-01-23 15:29:24 +01:00
  • b66b234acd Merge branch 'master' into px4io-i2c px4dev 2013-01-22 19:56:14 -08:00
  • b10238efee Missed changed from last lpc1788 check-in patacongo 2013-01-23 00:19:46 +00:00
  • 3cb33101a9 Add lpc178x_iocon.h from Rommel Marcelo patacongo 2013-01-22 23:54:31 +00:00
  • 336f91b4e6 lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status patacongo 2013-01-22 23:42:51 +00:00