px4dev
|
044e1a325a
|
Merge branch 'master' into px4io-i2c
|
2013-01-19 11:43:03 -08:00 |
|
Lorenz Meier
|
6cc840a95b
|
Merge pull request #168 from PX4/i2c_workaround
I2C driver workaround for NuttX
|
2013-01-19 06:33:30 -08:00 |
|
Lorenz Meier
|
a10ff0fe1c
|
First round of testing successful - back to I2C code from Dec / Nov 2012
|
2013-01-19 14:52:33 +01:00 |
|
Lorenz Meier
|
c15093bb55
|
Bringing back old I2C code, just temporary workaround
|
2013-01-19 12:52:25 +01:00 |
|
px4dev
|
bc35bb23dd
|
HOTFIX: disable interrupt-driven I2C mode, configure pessimistic I2C timeout, correct handling of the NAK generation for I2C master reads.
This looks like it addresses the recent I2C lockup issue, unfortunately it also increases CPU consumption by ~5% for the I2C sensor bus.
|
2013-01-18 00:43:57 -08:00 |
|
px4dev
|
7d7c352fb4
|
Merge pull request #162 from PX4/windows_build_fix
Windows build fix attempt
|
2013-01-17 00:07:51 -08:00 |
|
px4dev
|
af9b26f04d
|
Merge branch 'master' into px4io-i2c
|
2013-01-16 13:03:45 -08:00 |
|
px4dev
|
4b07a9abd3
|
Add RC input configuration, update at startup and on parameter change (max 2 per second).
|
2013-01-16 13:02:49 -08:00 |
|
px4dev
|
ab0459c1f4
|
Pass the absolute path to the compiler/assembler so that error messages include enough information for an IDE to find the file.
|
2013-01-15 23:03:47 -08:00 |
|
px4dev
|
7b367c3eb3
|
Beat the px4io driver into compilable shape. Just missing RC input configuration now.
|
2013-01-15 23:01:04 -08:00 |
|
px4dev
|
646b926ac9
|
minor doc fix
|
2013-01-15 23:00:21 -08:00 |
|
px4dev
|
d207d22a4f
|
compile fix
|
2013-01-15 22:59:57 -08:00 |
|
px4dev
|
b4dcdae03d
|
Add support for battery current scaling. Add feedback for mixer load operations.
|
2013-01-15 22:22:15 -08:00 |
|
Lorenz Meier
|
07114f0a32
|
Windows build fix attempt
|
2013-01-15 23:17:12 +01:00 |
|
px4dev
|
0eb5a070f1
|
Checkpoint: more work on the px4io driver. Add raw PWM passthrough ioctl.
|
2013-01-15 00:41:47 -08:00 |
|
px4dev
|
112f5ea969
|
Add support for raw PWM passthrough from FMU via IO.
|
2013-01-15 00:41:13 -08:00 |
|
px4dev
|
f3a587dfce
|
Wire the I2C device code into the register handler.
|
2013-01-15 00:40:41 -08:00 |
|
px4dev
|
2686344d58
|
Adjust the default deadzone for RC inputs per feedback.
|
2013-01-15 00:40:15 -08:00 |
|
px4dev
|
8da9a2c149
|
Merge branch 'master' into px4io-i2c
|
2013-01-14 21:20:17 -08:00 |
|
px4dev
|
854c6436b4
|
Pull NuttX up to the 6.24 release.
Merge branch 'nuttx-merge-5447'
|
2013-01-14 21:01:58 -08:00 |
|
px4dev
|
6d138a845a
|
Let's let folks have their own .gdbinit
|
2013-01-14 20:40:38 -08:00 |
|
Lorenz Meier
|
35f0f570a6
|
Hotfix for current active waypoint ID
|
2013-01-14 23:48:07 +01:00 |
|
Lorenz Meier
|
38f435e4cf
|
Merge pull request #161 from julianoes/fix_jigtest
Adapted upper and lower values for test jig voltages
|
2013-01-14 12:36:15 -08:00 |
|
px4dev
|
c38ad4ded5
|
Fix the 'time' test, now that rand() seems to be working.
|
2013-01-14 10:08:47 -08:00 |
|
px4dev
|
09535fef83
|
Start adding PX4 firmware helper macros
|
2013-01-14 09:34:33 -08:00 |
|
Julian Oes
|
8bc2338466
|
Adapted upper and lower values for test jig voltages
|
2013-01-14 09:18:17 -08:00 |
|
px4dev
|
5c60ed9a94
|
Fix up FMU input timeout handling.
Fix the FMU auto OK LED status.
Strip out unused fields from the system state structure.
|
2013-01-14 01:11:29 -08:00 |
|
px4dev
|
06b66ad065
|
Don't advertise things we don't have anymore.
|
2013-01-14 01:09:42 -08:00 |
|
px4dev
|
2dc47160f4
|
Factoring and comments.
|
2013-01-14 00:30:18 -08:00 |
|
px4dev
|
2311e03379
|
Start reworking the px4io driver to use the I2C interface instead.
|
2013-01-14 00:19:01 -08:00 |
|
px4dev
|
6e291ddedc
|
Add a mechanism for sending multi-part messages to the I2C driver base class.
|
2013-01-14 00:18:05 -08:00 |
|
px4dev
|
4e38615595
|
Major workover of the PX4IO firmware for I2C operation.
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
8ebe21b27b
|
Checkpoint - I2C protocol register decode
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
b0fb86a693
|
Sketch out the protocol as it will be on top of I2C
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
5e91a36623
|
Drop the 'nonstop' flag since we can infer it when we need it. Submitted this version of the serial DMA changes for integration into mainline NuttX.
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
1cecba2a86
|
Turn off i2c slave debug output for real.
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
5e35491a38
|
We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, 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.
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
329f595bca
|
Don't try to set up serial polling before the HRT has been started.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
469d13fdfe
|
Implement serial receive DMA for the F1xx. This is not quite working right yet. Some clients work, others not so much.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
e2f7a46812
|
Clear the interrupting condition when we take the DMA interrupt.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
97136375e3
|
Turn off the I2C register dump at startup.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
4f285f7c80
|
Configure the DMA channels in circular mode so that we don't have to deal with the case where DMA stops but the master is still talking.
Use AF as well as STOPF to decide when transfer has ended. We don't seem to get STOPF when we are transmitting.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
770f2545fb
|
Implement non-stop DMA mode (circular) for the F1x DMA driver.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
bd543fd7fc
|
A couple of minor tracing fixes; print the state names in the trace dump, and set the timestamp for each entry (not really a useful number yet…)
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
dadd5d01f9
|
Now that sem_timedwait works, we can turn on interrupt-driven I2C.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
81115166a7
|
Fix clock_time2ticks to round up, not down. This makes sem_timedwait for at least the necessary period.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
3cea0959b7
|
Implement a simple byte loopback server on I2C for more testing.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
2fb820fabd
|
I2C slave RX DMA works.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
0dab53ae26
|
Implement I2C slave DMA. Not working yet.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
f12fa7ee06
|
Don't do retries, since it just complicates things.
|
2013-01-13 19:04:59 -08:00 |
|