Commit Graph

197 Commits

Author SHA1 Message Date
Gregory Nutt e9a4455038 drivers/usbdev: Eliminate some warnings 2015-07-01 10:02:19 -06:00
Gregory Nutt 342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt 82f51d01fb Update some comments 2015-05-18 08:53:24 -06:00
Gregory Nutt 5b687f4b0f Fix several defien -> define. Thanks Pierre 2015-05-13 06:33:17 -06:00
Gregory Nutt 6ef7977b65 USB device. All class drivers. There needs to be a check to make sure that the size of a returned string does not exceed the size of an allocated request buffer 2015-05-12 14:46:35 -06:00
Gregory Nutt 46e5d0a419 Add options to support all three host CDC/ACM protocols: Compliant, Reduced, and Bulk-Only 2015-05-10 08:16:58 -06:00
Gregory Nutt c35bb693a9 USB host CDC/ACM fixes. Still kind of buggy 2015-05-08 10:58:41 -06:00
Gregory Nutt 737fd7dcec drivers/usbhost: Add initial implementatino of a host-side CDC/ACM driver. Completely untested on initial commit (2015-05-06). 2015-05-06 12:49:00 -06:00
Gregory Nutt 81ab453f6a Fix a mistatement in a comment 2015-05-04 13:44:49 -06:00
Gregory Nutt 726dadffb4 Add CONFIG_CDCACM_IFLOWCONTROL. Just hooks for now 2015-04-16 12:24:56 -06:00
Gregory Nutt 7bf9be7c33 Add hooks to CDC/ACM driver to support RX flow control 2015-04-16 09:11:51 -06:00
Gregory Nutt 26b9b5a252 usbdev: usbmsc_scsi: Add NULL pointer check. From Juha Niskanen 2015-03-12 07:55:53 -06:00
Gregory Nutt a4a6917267 Fixes some issues found by the PX4 team using Coverity. From Pavel Krienko 2015-01-19 13:01:20 -06:00
Gregory Nutt 2994448d85 More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
Gregory Nutt d7d759f7a7 Update everything under nuttx/drivers to use the corrected syslog interfaces 2014-10-08 10:18:58 -06:00
Gregory Nutt 23147c40a5 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt 1780810d3d Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
Gregory Nutt 54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt 9cd1ddada4 Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming 2014-08-31 15:27:37 -06:00
Gregory Nutt 0da9aaeb09 Fix some recurring typos: postion->position, *atino->*ation 2014-07-08 13:12:36 -06:00
Gregory Nutt 2e08560fa0 Clear rxhead on disconnect to prevent data from being resent on re-connect 2014-06-06 10:34:58 -06:00
Gregory Nutt 2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt 7594d8b8cf Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt 3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt 6578d646da Back out part of 610e2aa0c224e2936fe8009ef4a2351ce607067a: Need to be able to select USB console devices when there is no /dev/console enabled. Noted by Librae 2014-04-08 11:04:25 -06:00
Gregory Nutt 4d25119e62 Fix various typos in comments. From Alan Carvalho de Assis 2014-04-06 09:02:02 -06:00
Gregory Nutt 6c5535cc38 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
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