Commit Graph

168 Commits

Author SHA1 Message Date
Gregory Nutt
060b84240b Add macro UNUSED to eliminate warnings about variables that are set to unused values 2014-03-30 07:58:58 -06:00
Gregory Nutt
b951732a2b Reimagine the USB MSC worker thread as a kernel thread (instead of a pthread) 2014-03-25 14:19:27 -06:00
Gregory Nutt
baa91448e6 net/netdev_findbyaddr.c: Skip network devices that are in the down state. They have no meaning address 2014-03-20 17:27:59 -06:00
Gregory Nutt
b0c2b54ec9 If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary 2014-03-20 15:20:50 -06:00
Gregory Nutt
c6127ad09d If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary 2014-03-20 15:20:24 -06:00
Gregory Nutt
f139391f8a SAM4E UDP: Several fixes related to bulk endpoint transfers 2014-03-20 14:25:56 -06:00
Gregory Nutt
fe9023752a SAM4E: Revise board-specific USB MSC support 2014-03-18 09:31:02 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
f1671bb6a7 Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being) 2013-11-15 09:49:27 -06:00
Gregory Nutt
f67ee984f3 Correct unitialization of composite USB device. A stale pointer was being reused. From David Sidrane 2013-11-05 09:12:08 -06:00
Gregory Nutt
fd7126771f Make default request size in the Kconfig file match default in C code 2013-11-03 07:42:25 -06:00
Gregory Nutt
4d39db749b Need to lock mutex before signal 2013-11-02 08:10:24 -06:00
Gregory Nutt
861b8bd511 MTD config: Reduce configuration header overhead. From Ken Pettit 2013-11-01 12:22:55 -06:00
Gregory Nutt
7bbc46f721 Avoid calling pthread_join() to wait for USB MSC thread to terminate: This does not work if the caller of usb_mscuninitialize() is in a different task group than the MSC thread. From David Sidrane 2013-11-01 12:09:25 -06:00
Gregory Nutt
0d0c3e66fb Updates to sparck configuration from David Sidrane 2013-11-01 11:40:19 -06:00
Gregory Nutt
b3ecd158ac Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
9a9fc90794 SAMA5 UDPHS: Dont' reject read request submissions while stalled. That causes an infinite loop. When stalling, cancel all pending write requests, but cancel only a reqd request if it is in progress. It will be immediately requeued 2013-09-24 15:06:17 -06:00
Gregory Nutt
cf5cf0da72 SAMA5D3x-EK AT25 Serial FLASH: Dropping SPI frequency to 10MHz gives more reliable behavior 2013-09-22 12:22:55 -06:00
Gregory Nutt
f22e60c392 Use a valid interval for the interrupt endpoint in the CDC/ACM driver 2013-09-22 11:35:44 -06:00
Gregory Nutt
5d0131fc73 Names of some USB device definitions changed to avoid collisions 2013-09-20 10:00:30 -06:00
Gregory Nutt
fbd5ab0758 Beginning of support for USB host side tracing 2013-09-09 14:01:52 -06:00
Gregory Nutt
9a9de5de81 Fix warnings in USB MSC when compiled for a high speed device; also fix USB MSC default VID/PID configuration 2013-09-07 10:12:02 -06:00
Gregory Nutt
0585cd5692 Extend USB trace logic. When we are configured to decode and stringify trace data, de-stringification support is not included for class driver trace output 2013-09-06 17:24:02 -06:00
Gregory Nutt
8912bcb1ea SAMA5D3x-EK: Add support for USB MSC device on AT25 serial flash 2013-09-06 13:07:29 -06:00
Gregory Nutt
fb37248343 CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong. 2013-09-05 18:00:16 -06:00
Gregory Nutt
c162cca9e8 SAMA5 UDPHS: Some very early debug corrections. Not yet working. 2013-09-02 12:26:15 -06:00
Gregory Nutt
67a126a5dc Misc USB device changes reated to SAMA5, trace support, and USB monitoring 2013-09-01 11:52:21 -06:00
Gregory Nutt
ac130dc2f3 CDC/ACM Device: Fixe compilation errors when dual speed support is enabled 2013-09-01 11:27:59 -06:00
Gregory Nutt
bc46b447dc Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
0f20d4581b Added FIONREAD and FIONWRITE to CDC/ACM driver. From Lorenz Meier 2013-08-10 19:21:39 -06:00
Gregory Nutt
82b528e0c8 Serial FIONREAD, FIONWRITE, and TERMIOS I/O processing from Mike Smith, Andrew Tridgell, and and Lorenz Meier 2013-08-10 19:14:05 -06:00
Gregory Nutt
37ed44a1ee Fix type in the USB composite device driver 2013-07-04 07:47:32 -06:00
Gregory Nutt
47bbf54f11 Optimize request buffer sizes in the serial USB drivers so that we avoid so many NULL packets and so that the OUT request buffer size is exactly the max packet size. 2013-05-29 12:30:37 -06:00
Gregory Nutt
6d3a292f02 Fix null packet handling in the PIC32 USB device driver. This is a critical bug fix for PIC32. Add support for the USB monitor to the Sure-PIC32MX configuration 2013-05-28 13:36:01 -06:00
Gregory Nutt
f9b9875952 Various Kconfig files still have references to CONFIG_ variables. Some in harmless comments, some in config definionts which is not harmless. All removed 2013-04-25 15:52:00 -06:00
Gregory Nutt
ad2ebf1dd8 Convert olimex-lpc17stk configuration to use the kconfig-frontends tools; Fix some compile errors in the pl2303 USB device driver 2013-04-12 08:38:52 -06:00
patacongo
1c52dce216 More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
7d20a67179 Fixes to STM32 SPI, USB MSC class driver, and MMC/SD SPI driver from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5688 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 17:34:57 +00:00
patacongo
2c9d402ad4 A few NuTiny-SDK-NUC120 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5667 42af7a65-404d-4744-a932-0658087f49c3
2013-02-23 23:42:06 +00:00
patacongo
d932e56dca STM32 F4 patches from Petteri Aimonen (mostly USB)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5652 42af7a65-404d-4744-a932-0658087f49c3
2013-02-15 14:37:37 +00:00
patacongo
bca9260b06 Missing calls to class SUSPEND/RESUME methods in all USB drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +00:00
patacongo
cdbbfaa464 Fix readline return value; Add support for removable serial devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 16:52:20 +00:00
patacongo
9b5d4a7b46 USB monitor daemon updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5579 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 13:30:10 +00:00
patacongo
ad430fc198 Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
a502d50e1e Updates for stm32f4discovery/usbnsh configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5574 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 01:44:45 +00:00
patacongo
68b11dc1ee Add configs/stm32f4discovery/usbnsh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5572 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 19:17:56 +00:00
patacongo
f6485fe177 Completes implementation of posix_spawn. Still untested and undocumented
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5504 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 17:37:29 +00:00
patacongo
869c3fa50b Fixes for l3s, USB composite, nfsmount, apps context build problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5458 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 17:49:58 +00:00
patacongo
2def0d877d A few native window build updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5387 42af7a65-404d-4744-a932-0658087f49c3
2012-11-25 20:58:39 +00:00
patacongo
4ee266d94b Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00