Commit Graph

42900 Commits

Author SHA1 Message Date
patacongo 73af31f231 After a reset, need to re-connected to the bus
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4449 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 18:59:32 +00:00
patacongo dabec8c010 A few more PIC32 USB fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4448 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 17:27:49 +00:00
patacongo c2bd949bf6 Remove quad_t
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4447 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 00:23:08 +00:00
patacongo 82f12f7334 RPC updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4446 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 00:15:10 +00:00
patacongo bb41cf1b70 Add more low-level, thread-independent socket interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4445 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 19:57:52 +00:00
patacongo 4f617d5be7 PIC32 USB driver updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4444 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 17:23:02 +00:00
patacongo f18b635aa2 Add the beginnings of NFS client support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4443 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 02:11:31 +00:00
patacongo c8ef50d82b Fix PIC32 USB cloning errors -- There is not pbuffer toggle bit in the BDT status
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4442 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 00:16:12 +00:00
patacongo 314e1d6189 PIC32 USB device only supports full ping poing mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4441 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-29 23:19:20 +00:00
patacongo b34d35b328 A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4440 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-29 21:53:28 +00:00
patacongo 157e80bb9d Add logic to NSH startup to call C++ static initializers on startup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4439 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 23:38:59 +00:00
patacongo 82da59c616 Add support for C++ static constructors (at least to a few platforms)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4438 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 21:58:24 +00:00
patacongo d83d1596b0 STM32 Quad Encoder bug fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4437 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 18:39:37 +00:00
patacongo 56bcc7b105 Extend CDC/ACM driver so that can be connected/disconnected under software control; Add new NSH commands sercon and serdis that will connect and disconnect the CDC/ACM serial device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4436 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 18:14:55 +00:00
patacongo 2ac7d84029 Overflow position offset not needed if we have only 32-bit counters
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4435 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 01:58:23 +00:00
patacongo 6dc915199c Add support for mixed 16- and 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4434 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 00:33:30 +00:00
patacongo 0c04ea0089 Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4433 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 23:14:43 +00:00
patacongo 08d0c58e89 Oops, can't use symbol OK here
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4432 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 19:54:42 +00:00
patacongo 6fe64a1886 Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4431 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 19:50:35 +00:00
patacongo fcbad8c27f Add support for SRAM on board the STM3240G-EVAL board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4430 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 17:22:10 +00:00
patacongo 1784e4785b Add single precision operations to FPU test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4429 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-26 15:27:36 +00:00
patacongo 2bc54edaf3 readline() (and hence NSH) now accept the DEL character as well as the Backspace character for the backspace functionality
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4428 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 20:46:18 +00:00
patacongo fe55532f34 Fix bugs in lazy FPU register saving
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4427 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 19:32:16 +00:00
patacongo a69d50a488 Misc quad encoder updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4426 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 18:01:44 +00:00
patacongo 5f00d22a04 Ooops part of last checkin was still in the editor
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4425 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:58:07 +00:00
patacongo 9c338d809e STM32 quad encoder: Don't calculate the timer prescaler value at runtime; pre-calculate it at compiler time
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4424 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:53:24 +00:00
patacongo eccf19e0af Update STM32 configuration to use TIM8 instead of TIM2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4423 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:36:28 +00:00
patacongo 9daa6ed1d1 Fixes for the STM32 quadrature encoder
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4422 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:19:13 +00:00
patacongo bdd5e8adcb Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4421 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-24 21:34:55 +00:00
patacongo 4ffc124e0a select() fix to handl POLLHUP; STM32 FPU saving in context switches seems to be functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4420 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-24 18:24:35 +00:00
patacongo 75aef0be3b OOps... vstm instructions needs to post-increment, not pre-decrement
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4419 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 22:44:38 +00:00
patacongo 4ccaa081c9 Enable STM32 F4 hardware floating point with the Atollic toolchain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4418 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 21:29:42 +00:00
patacongo dbd61e6f83 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4417 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 18:42:36 +00:00
patacongo 112e4f55ba Fix an error the TCP/IP received sequence number counting
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4416 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 15:53:27 +00:00
patacongo 0362fd4c22 (1) Fix a critical memory leak in the TCP read-ahead buffering logic; Add an option to suppress SDIO multi-block transfers in order to work around a buggy SDIO driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4415 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 02:07:38 +00:00
patacongo a16ee47f0e Incoporate (more) new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4414 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 18:44:34 +00:00
patacongo 6c02000ba4 Incoporate new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4413 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 18:14:18 +00:00
patacongo 58e84b6b86 Fix accept() logic. it was not monitoring for losses in connections.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4412 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 16:03:10 +00:00
patacongo d8c42f1ed5 Misc fixes to quadrature encoder debug output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4411 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 23:23:18 +00:00
patacongo 20b15f2d8c STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4410 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 22:00:28 +00:00
patacongo a663979a1e Fix SDIO DMA (finally)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4409 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 19:16:41 +00:00
patacongo cb971e195e Add logic to STM32 SDIO driver to terminate on a DMA error
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4408 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 15:17:42 +00:00
patacongo 070f707e7d More STM32 SDIO DMA fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4407 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 00:21:26 +00:00
patacongo bf06e16a5f Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4406 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-20 20:02:53 +00:00
patacongo 12fd26bd67 Fix error in STM32 DMA driver stream index calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4405 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-19 18:04:25 +00:00
patacongo a7d27685a4 STM32 SDIO driver now build with DMA enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4404 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-19 16:31:12 +00:00
patacongo c3e6ead339 Correct a buffer size error in the STM32 ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4403 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 22:09:09 +00:00
patacongo f04310d559 Correct and error in recv() and recvfrom() return value
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4402 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 18:13:30 +00:00
patacongo f60d578a46 Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4401 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 14:22:00 +00:00
patacongo a02dc4c1dc CAN ISO-11783 support contributed by Gary Teravskis
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4400 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 14:02:34 +00:00