Commit Graph

1367 Commits

Author SHA1 Message Date
px4dev 8da9a2c149 Merge branch 'master' into px4io-i2c 2013-01-14 21:20:17 -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 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 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 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 7c7112a157 Implement stm32_dmaresidual for the F1 DMA driver. 2013-01-13 19:04:59 -08:00
px4dev 7c2445f74d Don't waste time printing when we have errors - that causes the master to time out 2013-01-13 19:04:59 -08:00
px4dev c51b130f17 Enable DMA 2013-01-13 19:04:59 -08:00
px4dev 3725292e62 Actually only one DMA on F100 2013-01-13 19:04:59 -08:00
px4dev 811790a14f Checkpoint I2C slave work on IO 2013-01-13 19:04:59 -08:00
px4dev 41987c7848 Recover fix for and enabling of interrupt-driven I2C. 2013-01-11 02:33:02 -08:00
px4dev fbf4c44230 Fix a compile error in the i2c reset code. 2013-01-11 02:32:29 -08:00
px4dev f127495caa Manually fixup merge botches via direct comparison with NuttX r5447. 2013-01-11 02:14:43 -08:00
px4dev d796a3b43b Merge commit 'b3f037e876055ff4f5169fb5df1639d50d7d5976' into nuttx-merge-5447 2013-01-11 00:45:53 -08:00
px4dev ca305933a1 Merge commit 'eaf1d8063cc707b1041e8583663d9edd45f42c5d' into nuttx-merge-5447
Build system updates to sync with NuttX upstream.
2013-01-11 00:45:25 -08:00
px4dev ccf9882dc5 Merge branch 'master' into nuttx-merge-5447 2013-01-11 00:39:22 -08:00
px4dev 6de688676d Suppress annoying C++ ABI portability warnings
This suppresses an otherwise not useful warning when mixing C++ and va_list
2013-01-10 18:53:26 -08:00
px4dev c137ceba7d Remove more redundant CMSIS pieces from here. 2013-01-07 23:03:57 -08:00
px4dev 91dba46524 Fix fallout from removing the spurious CMSIS 2013-01-06 19:20:22 -08:00
px4dev e88a981093 Merge commit '23e8d0b4675e1101a5dd38fa48f96ec3c13ca68b' into local/mathlib
Fix the controllib test_params build.
2013-01-06 15:23:12 -08:00
px4dev faced6bfe3 Merge James's controllib bits into a separate library module.
Add a top-level mathlib header to avoid having to dig around for specific headers.
2013-01-06 15:04:30 -08:00
px4dev 43ccb257a8 Move the math library pieces out of systemlib into mathlib 2013-01-06 13:56:49 -08:00
jgoppert 23e8d0b467 Added kalman_demo. This is an attitude/position EKF example. 2013-01-06 16:05:06 -05:00
px4dev 95aa959571 Merge commit '4f3b17f53b120cd54112097f4217a90863013c1f' into local/mathlib 2013-01-06 12:57:28 -08:00
px4dev 4447282260 Integrate the interesting parts of the CMSIS 3.01 (r3p1) DSP library 2013-01-06 12:52:05 -08:00
jgoppert 84d7f19d7d Added control library to build. 2013-01-06 15:47:07 -05:00
jgoppert 4f3b17f53b Added math library to build. 2013-01-06 14:20:24 -05:00
Lorenz Meier 34d078b556 Merged latest master 2013-01-06 11:32:08 +01:00
px4dev 6ae9f03544 Merge commit '375d3c14d742248b434c080527886a95ea1d563f' 2013-01-06 02:01:53 -08:00
px4dev 5cc76018ff Merge commit '920608bf3671662f94b4939ffdaf6fde2b08edff' 2013-01-06 02:01:41 -08:00
px4dev 0a4ef92b75 Merge commit '890b1ac0689984cb6bc4638cc2aa8ec869d14f91' 2013-01-06 01:55:37 -08:00
px4dev 9df2aaf312 Merge branch 'master' into #111-px4io-integrated-mixing
Fix a botched merge for #106 at the same time.
2013-01-06 00:40:17 -08:00
Lorenz Meier 8eb8909a3c Merge branch 'master' of github.com:PX4/Firmware into px4io-adc-integration-battery-msg 2013-01-06 00:50:51 +01:00
Andrew Tridgell 375d3c14d7 increase the UART buffer sizes to 256
The most critical one is the GPS serial port receive buffer size,
which needs to be at least 128 to support the UBLOX protocol, but it
seems a good idea for people running a FMU without a IO board to
increase the UART buffer sizes generally
2013-01-06 06:33:44 +11:00
px4dev 91ca80e634 Fix the handling of FIONREAD/FIONWRITE; thanks Tridge. 2013-01-04 21:28:26 -08:00
Andrew Tridgell 920608bf36 added vdprintf() library function 2013-01-05 07:58:50 +11:00
Andrew Tridgell 73b787a8dd serial: fixed up FIONREAD and FIONWRITE
the device ioctl returns -ENOTTY when it hasn't handled the command
2013-01-03 20:42:36 +11:00
px4dev 3916230d8f Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 19:35:44 +11:00
px4dev e787fa5bce Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 00:33:22 -08:00
Andrew Tridgell 890b1ac068 build: cope better with absolute paths 2013-01-02 17:38:52 +11:00
px4dev b3f037e876 Forgot to save this one; more build system tweaks. 2013-01-01 20:35:07 -08:00
px4dev eaf1d8063c Build system updates to match the NuttX merge. 2013-01-01 19:39:17 -08:00
px4dev dc50d96b5d Merge commit '0f2decb70f505b108999fcdb80e89d7aae6760ce' into nuttx-merge-0f2decb 2013-01-01 15:33:39 -08:00
px4dev 476db46869 kill off the NuttX ADC driver config; we're not going to use it 2012-12-31 01:26:58 -08:00
px4dev d5da457e29 Fix PX4IO to run C++ static ctors 2012-12-29 12:57:29 -08:00
px4dev 3c865c7261 Build the mixer library for PX4IO as well 2012-12-27 15:12:09 -08:00