Commit Graph

326 Commits

Author SHA1 Message Date
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
patacongo 2fa893134f Document recvfrom() bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4399 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-16 02:33:01 +00:00
patacongo 3625222c6c Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4395 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 17:51:30 +00:00
patacongo a1590c1424 I suppose the STM32 F4 is like the F1 in that TIM inputs should not use alternate functions????
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4394 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 00:33:51 +00:00
patacongo 21b2d4c8af Fix TIM in/out pin naming
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4393 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 00:08:39 +00:00
patacongo e123e82e82 Initial fleshing out of the STM32 quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4392 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 22:18:53 +00:00
patacongo bf22435aa4 More STM32 quadrature encoder code
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4391 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 17:48:25 +00:00
patacongo 2bc230a0d6 Add an infrastructure to support a generic quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4390 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 15:32:57 +00:00
patacongo 1cc7e843bc Fixed ARM.exidx in all Eagle100 linker scripts; Enabled networking in the Eagle100 NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4389 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 21:18:54 +00:00
patacongo 3c2620d54c Several font files were missing a newline at the end
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4388 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 14:52:31 +00:00
patacongo 9a03521b43 Prep for 6.15 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4387 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 01:42:03 +00:00
patacongo acf1031af3 Add interface to enabled/disable debug output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4386 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 23:54:26 +00:00
patacongo 686d0f0daa Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4385 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 20:27:49 +00:00
patacongo a563ce3647 Fix some typos and compilation errors introduced in the last checkin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4384 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 02:53:01 +00:00
patacongo 57ae1bb526 The RAM log cannot block like more character drivers, otherwise cat /dev/syslog does not work
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4383 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 15:58:11 +00:00
patacongo 592c4f7deb Add dmesg command that can be used to dump the syslog
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4382 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 15:27:44 +00:00
patacongo bdbe8e114c Add logic to re-direct debug output to a sysloggin device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4381 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 14:20:40 +00:00
patacongo f03655f43a Add logic so that a RAM log can be used in place of a console device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4380 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 03:50:52 +00:00
patacongo ddd6b7d383 Add a RAM-based logging device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4379 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 00:32:53 +00:00
patacongo 84df1adb64 Fix an FTPD bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4378 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-09 23:10:15 +00:00
patacongo 4f5b04c8e5 Remove a couple of warnings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4377 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-08 17:17:18 +00:00
patacongo 032e3ec3df Some changes to the Telnet/FTPD configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4376 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-08 00:05:36 +00:00
patacongo 1b3d8f3148 Fix a bug in the FAT statfs() implementation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4375 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-07 00:29:06 +00:00
patacongo 76f187ba85 FTP server is marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4372 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 19:32:42 +00:00
patacongo 3d42ab8282 FTPD daemon and example now build without errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4371 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 17:36:13 +00:00
patacongo c6e75138be Add build environment for the FTP daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4370 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 22:49:42 +00:00
patacongo 61137a3d22 Fix compile error introduced by recent check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4369 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 22:01:50 +00:00
patacongo c8c29e73a8 Add the beginnings of an FTP server
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4368 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 21:02:45 +00:00
patacongo 7b0c9374a9 Add inet_pton()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4367 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 22:54:27 +00:00
patacongo a72bb1fda0 Add inet_ntop()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4366 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 18:47:34 +00:00
patacongo a880b453f1 Add avsprintf()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4365 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 17:31:08 +00:00
patacongo fb7d63e558 Add strcasestr()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4364 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 16:41:28 +00:00
patacongo 43542f9f8f Add stm3240g-eval nsh2 configuration: SDIO and no UART
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4363 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 23:14:54 +00:00
patacongo 05e846f340 Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4362 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 19:42:55 +00:00
patacongo 7a586daed8 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4361 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 16:04:09 +00:00
patacongo a52f3af00a Add a configuration for testing the Telnet daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4360 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 04:41:53 +00:00
patacongo bede2bcc72 Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4359 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 04:35:35 +00:00
patacongo 6a4e8b32b3 Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4356 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 19:07:57 +00:00
patacongo 47fa99c4a8 Add tcsetattr and tcgetattr
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4355 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 16:17:12 +00:00
patacongo 35a1f247c4 Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4354 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 23:39:12 +00:00
patacongo ed4ee27f70 Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4353 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 20:32:49 +00:00
patacongo 7702043472 Fix a error the telnet driver read method. Don't return if only protocol stuff is read
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4352 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 17:38:45 +00:00
patacongo 1df049bbc3 Various fixes for the telnet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4351 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 15:41:07 +00:00
patacongo 5d7909fa42 Can't use 'class' as a field name! Backward conditional compilation in usbmsc.c
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4350 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 14:15:36 +00:00
patacongo 019b83fc54 Get rid of psock.h (bad idea); Add logic to clone the socket structure when wrapping the telnet connection as a character driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4349 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 23:13:29 +00:00
patacongo 1e4d04d53b A few more telnet updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4348 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 22:20:42 +00:00
patacongo 622ac27bfa Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4347 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 21:29:59 +00:00
patacongo a11ad68eed Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4346 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 20:07:16 +00:00
patacongo 6c72068d14 Correct a typo in STM32 I2C3 support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4345 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 14:15:20 +00:00
patacongo 41d243ce3e Most USB Composite device debug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4344 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 21:03:20 +00:00
patacongo f0d2b3cca3 The composite USB device is basically functional (more testing needed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4343 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 18:33:41 +00:00
patacongo b8e32a94f3 First round of changes from debug of USB composite device (still has problems)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4342 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 16:25:57 +00:00
patacongo cd24ef4a30 Add a text for the new composite USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4341 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 23:14:27 +00:00
patacongo 804205a104 More USB composite device logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4340 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 19:37:34 +00:00
patacongo 7bf58dba52 Major restructuring of CLASS<->driver interface to better support composite USB devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4339 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 17:42:44 +00:00
patacongo 930ca11f09 More clean up of namespace
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4338 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 14:24:15 +00:00
patacongo 758d4cd6e6 More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4337 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 23:04:17 +00:00
patacongo f9739ec32a Fixes on reverification of USB mass storage class
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4336 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 22:20:48 +00:00
patacongo 85a7bbb39f Massive name change USB STRG -> USB MSC
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4334 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 20:17:59 +00:00
patacongo 5db00d175c Add support for stm32 F4 I2C3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4333 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 19:31:01 +00:00
patacongo 08964a35b2 Progress toward composite CDC/ACM+MSC USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4332 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 19:27:20 +00:00
patacongo 558771edd8 Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4331 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 12:50:42 +00:00
patacongo f26cad06f6 STM32 F4 I2C updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4330 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 00:09:58 +00:00
patacongo 897ccf6f46 Lots of re-organization -- getting ready to support a composite USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4329 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-24 21:51:26 +00:00
patacongo 4c45a0b534 Enable the I2C tool in the STM3240G-EVAL NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4328 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-24 14:34:24 +00:00
patacongo 11170ae05b Add logic to set MAX17040 frequency
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4326 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 19:59:09 +00:00
patacongo bbf8d0b6e4 Fixes for clean compile of battery drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4325 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 18:37:45 +00:00
patacongo 3ea4c05843 Completes first (untested) cut at MAX1704x battery driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4324 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 17:19:43 +00:00
patacongo 8a4e17b865 Simplify upper-half battery driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4323 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 19:22:51 +00:00
patacongo 80ce244ce1 Create a generic battery driver infrastructure
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4322 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 18:03:13 +00:00
patacongo 0068180bf8 Create directory structures to support power-related devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4321 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 16:42:49 +00:00
patacongo cb1242d496 New, extended CAN structures must be packed.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4320 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 23:15:43 +00:00
patacongo b179df901e Add support for extended (29-bit) CAN IDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4319 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 21:52:35 +00:00
patacongo e5a26ed98c Fix some warnings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4318 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 17:27:06 +00:00
patacongo 20c9193e04 Leverage some bit timing logic from LPC17xx to the STM32 CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4317 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 03:37:29 +00:00
patacongo 0202eef05b Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4316 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 02:40:56 +00:00
patacongo b70fafcb80 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4315 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 23:27:44 +00:00
patacongo d7025f7dd0 Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4314 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 21:25:21 +00:00
patacongo a9e951e726 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4313 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 17:43:14 +00:00
patacongo b7533eed5d Fix shift value in PIC32 USB header file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4312 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 16:20:28 +00:00
patacongo 40cbbac3af PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4311 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 23:50:26 +00:00
patacongo c67bc69d86 SYNC_TIME is 3 quanta in LPC17xx CAN bit time calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4310 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 19:08:15 +00:00
patacongo 9b5078804f Fix offset to STM32 F1 AFIO EXTICR register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4309 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 17:48:46 +00:00
patacongo de66b638e1 PIC32 USB driver fixes (still not working)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4308 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 23:02:40 +00:00
patacongo 88094197cb Add support for building 32-bit simulation on a 64-bit target
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4307 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 17:42:31 +00:00
patacongo 31c714f387 Finish coding of PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4306 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 14:40:12 +00:00
patacongo 0691a58eb7 More PIC32 Ethernet stuff (still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4305 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 00:00:25 +00:00
patacongo fa785d8d31 Fixe the STM32 repetition counter. Setting of the repitition count was out of phase by 1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4304 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 18:17:58 +00:00
patacongo 0e80050d16 Fix STM32 F4 APB2 clock input frequencies
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4303 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 17:20:09 +00:00
patacongo 4ce72e03b6 Increase range of pulse count in PWM driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4302 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 15:43:01 +00:00
patacongo c55b63c7e3 Prep for 6.14 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4301 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-15 16:11:32 +00:00
patacongo 247096fede STM32 fixes for F4 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4300 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-13 02:49:10 +00:00
patacongo 10cc67fe13 Add definitions for another Sure Elec. PIC32 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4299 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-12 00:24:54 +00:00
patacongo bf1e50eb94 Fix the STM32 PWM driver pulse count logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4298 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 18:44:12 +00:00
patacongo 64e7f6b00c On a failure to recognize a FAT file system, the mount logic should return -EINVAL, not -ENODEV
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4297 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:31:45 +00:00
patacongo 309633cbdb For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4296 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:01:18 +00:00
patacongo 7d970cf8bb Fix bug in STM32 CAN: It must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4295 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 14:56:56 +00:00
patacongo d0d0a0fbbf Add support for the STM32F4-Discovery (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4294 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 13:01:26 +00:00
patacongo 3692a444f9 Fix last change; the change was good but will prevent queuing multiple outgoing CAN packets
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4293 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 05:03:51 +00:00
patacongo ede0deaaa8 CAN request order priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4292 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 01:01:44 +00:00
patacongo 8129fb8f09 Implement the new CAN txready method for STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4291 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 00:13:45 +00:00
patacongo 1e16645fb4 Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4290 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 22:29:39 +00:00
patacongo 6cd77c1702 Fix CAN callback argument
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4289 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 21:19:12 +00:00
patacongo a734f89a13 Correct GPIO dump output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4288 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 16:25:52 +00:00
patacongo d83819e4bb Finish PWM pulse count configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4287 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 21:34:58 +00:00
patacongo 94e1048f0b Add basic support for pulse count in the PWM interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4285 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:23:30 +00:00
patacongo d012f2fd06 Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4284 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 21:33:57 +00:00
patacongo 82114d9623 More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4283 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 20:38:28 +00:00
patacongo 632b6f6f78 More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4282 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 18:41:49 +00:00
patacongo abb776a834 Add support for STM32 UART4-5 and USART6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4281 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 15:09:05 +00:00
patacongo c7a7ac6cfb Apply STM32 timer patch from Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4280 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 00:44:41 +00:00
patacongo d94c97fcdd Finishes PIC32 Ethernet header file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4279 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 00:35:42 +00:00
patacongo b89a9f92c8 More register definitions for the PIC32 Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4278 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 21:46:47 +00:00
patacongo 4043707a27 More PIC32 Ethernet register definitions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4277 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 20:26:47 +00:00