2733 Commits

Author SHA1 Message Date
px4dev
899fbcc7cf Fix cut and paste so that we send direct PWM and read back servo values from the right pages. 2013-01-26 13:14:52 -08:00
px4dev
3a8bbe837e Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs) 2013-01-26 13:14:15 -08:00
px4dev
984e68d76e Add an ioctl for fetching the number of PWM outputs 2013-01-26 12:27:42 -08:00
px4dev
b20c050402 Fix two protocol-related typos; get the right status flag name for raw PWM; read back the correct page for PWM output. 2013-01-26 12:27:03 -08:00
px4dev
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. 2013-01-26 00:02:45 -08:00
px4dev
5fe376c7b9 Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, don't set the input RC timestamp unless we get data. 2013-01-26 00:01:25 -08:00
px4dev
b46d05835b Implement settable failsafe values for PWM outputs.
By default in failsafe mode, PWM output pulses are not generated.
2013-01-25 22:58:33 -08:00
px4dev
900b0d58ef Less debug output. 2013-01-25 21:59:31 -08:00
px4dev
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. 2013-01-25 21:58:55 -08:00
px4dev
818e898a7e Fix the handling of max transfer size to leave room for the page/offset bytes. 2013-01-25 21:54:04 -08:00
px4dev
1b30cd2f93 Dump a couple of unused member variables. 2013-01-25 21:40:18 -08:00
Andrew Tridgell
8972843b14 px4io: fixed mixer load 2013-01-25 21:37:48 -08:00
Andrew Tridgell
f8bea6d07b px4io: fixed cpp error 2013-01-25 21:36:19 -08:00
Andrew Tridgell
57d028fddd px4io: fixed array reference bug 2013-01-25 21:35:58 -08:00
px4dev
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. 2013-01-25 21:35:32 -08:00
px4dev
24f6c6b121 Merge branch 'master' into px4io-i2c 2013-01-25 19:29:29 -08:00
px4dev
beb4522298 Merge pull request #187 from PX4/nuttx-merge-5554
Nuttx merge 5554
2013-01-24 09:56:55 -08:00
px4dev
379ed0a092 Trivial compile fix. 2013-01-24 00:22:01 -08:00
px4dev
35febbe844 Merge Nuttx r5554 2013-01-23 23:56:24 -08:00
px4dev
b60a744b77 Merge pull request #175 from tridge/apps_bindir
px4: enable APPS_BINDIR support
2013-01-23 23:18:16 -08:00
px4dev
ff0874e6f2 Merge pull request #176 from tridge/apm-startup
Move APM startup scripts to APM git repo
2013-01-23 23:16:51 -08:00
px4dev
942cea157d Merge pull request #182 from NosDE/master
BlnkM: Timing changed and amber color for manual mode added
2013-01-23 23:15:19 -08:00
px4dev
0bc836ae1d Implement fetching raw RC input values via the ioctl interface. 2013-01-23 22:19:33 -08:00
px4dev
2a44ea30c2 Merge pull request #174 from tridge/vdprintf
stdio: added vdprintf() for printf to a file descriptor
2013-01-23 20:31:33 -08:00
px4dev
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. 2013-01-23 20:18:18 -08:00
px4dev
51c47769f8 Restore the correct handling of the ACK flag at read completion. 2013-01-23 20:17:28 -08:00
px4dev
dc88dd0abb Merge branch 'master' into px4io-i2c 2013-01-23 18:58:19 -08:00
px4dev
d8a013f872 Tinkering. 2013-01-23 18:57:16 -08:00
px4dev
b34311915a Safeguard against back-to-back transactions while setting up to handle a register read request. 2013-01-23 18:56:58 -08:00
px4dev
3244bb83ea Better sanity checking and error handling. 2013-01-23 18:56:03 -08:00
px4dev
9a4d6455fc More debug macros. 2013-01-23 18:55:23 -08:00
px4dev
1ce1d4460b Merge pull request #183 from PX4/nuttx-merge-5527
Nuttx merge 5527
2013-01-23 18:46:12 -08:00
px4dev
72a0a4a71c Merge pull request #185 from tridge/perf_reset
Perf reset
2013-01-23 18:39:29 -08:00
Andrew Tridgell
6e751d26e8 perf: added 'perf reset' command
resets all perf counters
2013-01-24 10:26:02 +11:00
Andrew Tridgell
f4da4bb8ca perf_counter: added perf_reset() and perf_reset_all() calls
useful for watching counters after system reaches stable flight
2013-01-24 10:26:02 +11:00
patacongo
63f8c0a954 Add option to used keyboard CODEC in apps/examples/keypadtest
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5554 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 23:11:13 +00:00
patacongo
340a72b7cd Add logic to retain child task exit status if so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 22:23:46 +00:00
Marco Bauer
efd4250e84 timing changed and amber for manual added 2013-01-23 15:38:38 +01:00
patacongo
f86f863834 Add single-wire UART support to STM32 serial driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5552 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 14:38:13 +00:00
Marco Bauer
2a95fa64c2 timing changed and amber for manual added 2013-01-23 15:29:46 +01:00
Marco Bauer
deb5fe5187 timing changed and amber for manual added 2013-01-23 15:29:24 +01:00
px4dev
b66b234acd Merge branch 'master' into px4io-i2c 2013-01-22 19:56:14 -08:00
patacongo
b10238efee Missed changed from last lpc1788 check-in
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5551 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 00:19:46 +00:00
patacongo
3cb33101a9 Add lpc178x_iocon.h from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5550 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:54:31 +00:00
patacongo
336f91b4e6 lpc1788 update from Rommel Marcelo; Beginning of logic to retain child exit status
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5549 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 23:42:51 +00:00
patacongo
7dad51762d Use of BASEPRI to control ARM interrupts is now functional
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5548 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 16:09:10 +00:00
patacongo
9375b285f2 More logic to use BASEPRI to control interrupts -- still doesn't work
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5547 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 14:37:17 +00:00
Lorenz Meier
cc74874d7e Merge pull request #180 from julianoes/hotfix_gps_ubx
Some timeout needed to be raised for now to make ubx with baudrate 9600 working again
2013-01-21 23:08:25 -08:00
Julian Oes
f14c90c222 Some timeout needed to be raised for now to make ubx with baudrate 9600 working 2013-01-21 17:42:08 -08:00
patacongo
4742f55507 Add option to use BASEPRI instead of PRIMASK to disable interrupts in all ARMv7-M architectures
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5546 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 01:25:40 +00:00