Commit Graph

1700 Commits

Author SHA1 Message Date
Gregory Nutt
95562f8a86 CAN driver: More improved comments 2015-11-08 07:43:57 -06:00
Gregory Nutt
874862abb9 CAN driver: Improve some comments 2015-11-08 07:00:09 -06:00
Gregory Nutt
91429433f6 Correct naming of Spansion part. S25FL1, not ST25FL1 2015-11-07 11:51:09 -06:00
Gregory Nutt
b2bdba0824 S25FL1 FLASH driver: Fix return value from the bwrite() method 2015-11-07 11:26:53 -06:00
Gregory Nutt
bfeef77f1f SmartFS: Fix a compile error when FS debug enabled. Plus some changes needed by NuttX coding standard 2015-11-05 11:25:39 -06:00
Gregory Nutt
a314b2ac11 ST25FL1: Fix error that was overwriting status 2015-11-05 10:38:47 -06:00
Paul A. Patience
b5a77b9403 RAMLOG: Fix forgotten FARs 2015-11-05 10:38:42 -05:00
Gregory Nutt
c6fc285277 CAN: Add a new CAN upper-half interface, can_txready(), that can be used to break deadlock conditions in certain CAN hardware that supports queuing of TX messages 2015-11-03 10:52:58 -06:00
Gregory Nutt
51d29d3c97 Merged in paulpatience/nuttx/pwm (pull request #29)
PWM: Add support for multiple output channels per timer
2015-11-01 16:40:06 -06:00
Paul A. Patience
e8c2466c1c PWM: Add support for multiple output channels per timer 2015-11-01 17:15:12 -05:00
Gregory Nutt
7041ba8071 Add comments to Make.defs file 2015-11-01 15:07:58 -06:00
Gregory Nutt
fc91ded815 Add support for a general user LED lower-half driver 2015-11-01 14:57:22 -06:00
Gregory Nutt
0dea00177e Add a generic user LED upper half discrete driver 2015-11-01 14:41:40 -06:00
Gregory Nutt
cbb78071b3 Rename ioexpander/ directories to discrete/ 2015-11-01 13:14:48 -06:00
Frank Benkert
e772c56ef6 AT24xx EEPROM Driver: Correct typo from last changeset 2015-10-31 09:04:53 -06:00
Gregory Nutt
46b688e701 Merged in marten_svanfeldt/nuttx-public/for_upstream/at24cxx (pull request #28)
Improvements of AT24xx MTD driver
2015-10-22 18:15:39 +08:00
Marten Svanfeldt
a31d1fd378 Make I2C frequency configurable for the AT24Cxx EEPROM driver
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 12:01:36 +08:00
Marten Svanfeldt
af9590eef7 Extend the AT24Cxx MTD driver with support for -04,-08 and -16 parts.
These parts utilize the same one-byte-address in the I2C protocol as the -02,
but requires different I2C addresses for different banks of the EEPROM.

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 12:01:36 +08:00
Gregory Nutt
d8731d0ef1 Add files missed in previous commit 2015-10-18 08:00:06 +08:00
Alan Carvalho de Assis
0ba6f21532 Add support to Thermocouple-to-Digital converter MAX6675 2015-10-18 07:52:47 +08:00
Gregory Nutt
a5f44cd9fc Buttons lower half: Undefine __KERNEL__ before including board.h to suppress bad included; fix some configuratin issues 2015-10-13 09:29:23 -06:00
Alan Carvalho de Assis
8f0c912fff Add Zero Cross device driver support 2015-10-13 07:27:16 -06:00
Gregory Nutt
f0b40ba96a Add a a generic lower half button driver 2015-10-13 07:08:11 -06:00
Gregory Nutt
75fcf4e8a1 Trivial fixes to spacing 2015-10-12 14:53:47 -06:00
Gregory Nutt
613798027e Add a button upper/lower half driver 2015-10-12 14:29:43 -06:00
Gregory Nutt
cdc646ae68 Another typo introduced in previous commit 2015-10-10 12:31:31 -06:00
Gregory Nutt
796d52b3e1 Fix a typo introduced with last commits 2015-10-10 12:24:31 -06:00
Gregory Nutt
5f9c47a83f drivers/wireless: Fixes to spacing and alignement 2015-10-10 11:51:32 -06:00
Gregory Nutt
cf14f8d1b5 drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
Pierre-noel Bouteville
59e5e2f5cc drivers/lcd/st7565.c: Extend to include support for the ERC12864-3. From Pierre-noel Bouteville 2015-10-07 14:30:08 -06:00
Gregory Nutt
bb05de4b6e Remove TABs 2015-10-04 16:01:21 -06:00
Gregory Nutt
af086c40ff Remove dangling whitespace 2015-10-04 15:28:54 -06:00
Gregory Nutt
0b12dbf95d Fix some spacing problems 2015-10-04 15:04:00 -06:00
Gregory Nutt
863ded3584 Standardize the width of all comment boxes in C header files 2015-10-03 07:45:15 -06:00
Gregory Nutt
16b32bbadd Standardize the width of all comment boxes in C files 2015-10-03 07:25:53 -06:00
Gregory Nutt
0f90500f72 Standardize the width of all comment boxes in header files 2015-10-02 17:48:24 -06:00
Gregory Nutt
5b51a9fcdd Standardize the width of all comment boxes in C files 2015-10-02 17:43:18 -06:00
Gregory Nutt
cb9e27c3b0 Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
Gregory Nutt
ac394041bf Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:17:29 -06:00
Alan Carvalho de Assis
c52e3e017b Battery Charger: Add BQ24250 driver 2015-09-20 09:47:00 -06:00
Alan Carvalho de Assis
895ad29b0d Fix IOCTL definition to avoid duplication and mess 2015-09-19 13:58:49 -06:00
Alan Carvalho de Assis
3cd7558a5e Add basic infrastructure for Battery Charger 2015-09-19 13:06:43 -06:00
Alan Carvalho de Assis
9f465fc502 Rename battery.[ch] to battery_gauge.[ch] 2015-09-19 11:00:14 -06:00
Alan Carvalho de Assis
3a8b00f09f max31855 driver fix from Alan Carvalho de Assis 2015-09-14 07:47:21 -06:00
Alan Carvalho de Assis
c4cf5be231 Add support to Maxim MAX31855 Thermocouple-to-Digital 2015-09-13 15:56:48 -06:00
Gregory Nutt
ce27334f23 Refresh sub-modules 2015-09-11 14:32:07 -06:00
Paul A. Patience
9f108b7b63 Fix issues detected by clang 2015-09-10 20:59:43 -04:00
Pierre-noel Bouteville
8651e0f2ca CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype 2015-09-09 16:34:37 -06:00
Gregory Nutt
afdb3c751a Fix typos from a previous commit 2015-09-08 12:45:30 -06:00
Gregory Nutt
bb595777fd Eliminate warnings 2015-09-08 10:21:19 -06:00
Gregory Nutt
a7e43c7fdb Eliminate some warnings 2015-09-08 09:20:18 -06:00
Gregory Nutt
48d7930631 CC3300: Eliminate some compile time warnings 2015-09-08 07:37:19 -06:00
Gregory Nutt
dbc9d67b3a USBDEV Kconfig: CONFIG_USBDEV_TRACE_INITIALIDSET missing from Kconfig file 2015-09-08 07:25:21 -06:00
Paul A. Patience
c080146748 SSD1351 driver: add 8-bit parallel interface 2015-09-06 13:28:28 -04:00
Gregory Nutt
7d33e858dd QSPI interface + ST25FL1 driver: Add methods to allocate properly aligned memory 2015-09-06 09:37:34 -06:00
Gregory Nutt
9c66bde5b0 Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1 2015-09-05 09:10:48 -06:00
Gregory Nutt
f44320d2a6 ST25FL1: SAMV71 QSPI always does transfers in multiples of 4 bytes 2015-09-02 10:19:47 -06:00
Paul A. Patience
3b89eabd50 Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2. 2015-09-01 13:52:29 -04:00
Gregory Nutt
ebd97dcf89 ST25FL1: Make buffers all even multiple of 32-bit values 2015-08-31 10:18:50 -06:00
Gregory Nutt
2d84270552 ST25FL1: Correct some compile problems when file system debug is enabled 2015-08-31 09:25:14 -06:00
Gregory Nutt
ed750f3600 ST25FL1: Changes after review of ST24FL1 clocking 2015-08-29 18:54:20 -06:00
Gregory Nutt
d6b0a8fe72 ST25FL1 driver is code complete 2015-08-29 15:58:54 -06:00
Gregory Nutt
883c6a7cea Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-29 08:02:57 -06:00
Gregory Nutt
8c001f6807 Merged in paulpatience/nuttx (pull request #21)
Add SSD1351 OLED controller support
2015-08-28 17:01:24 -06:00
Paul A. Patience
01b68e90d0 Add SSD1351 OLED controller support 2015-08-28 18:37:01 -04:00
Gregory Nutt
4a1951b192 ST25FL1: Flesh out FLASH write logic 2015-08-28 12:01:08 -06:00
Gregory Nutt
d2653ef7a8 ST25FL1: Update for changes to QSPI interface definitions 2015-08-28 10:15:39 -06:00
Gregory Nutt
361e35a7be QSPI: Make changes to interface to better work with the SAMV71 2015-08-27 14:16:51 -06:00
Gregory Nutt
d06b709652 Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-27 12:12:24 -06:00
Gregory Nutt
8811681d7f networking: Big performance improvement for local loopback driver 2015-08-27 11:05:53 -06:00
SaeHie Park
a268e0aeb9 Fix a typo from an earlier commit 2015-08-26 18:12:58 -06:00
Gregory Nutt
7936819fcc ST25FL1: Flesh out more initialization logic 2015-08-26 14:16:45 -06:00
Gregory Nutt
e6be3cea9f Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-26 10:44:35 -06:00
Gregory Nutt
7a168a791f Networking: Fix loopback device MTU 2015-08-26 10:33:44 -06:00
Gregory Nutt
044f5d38ac Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-26 07:20:36 -06:00
Juha Niskanen
70620d3dd6 rivers/rwbuffer: Fix some logic errors 2015-08-26 07:18:50 -06:00
Gregory Nutt
1cf57ae2bd Cosmetic 2015-08-26 07:16:07 -06:00
Gregory Nutt
32de036490 Local loopback: Set the IFF_UP flags during initialization because the local loopback device is always up 2015-08-25 20:09:12 -06:00
Gregory Nutt
8fe0121e1a Convert fragmentation ST24FL1 driver to use QSPI interface 2015-08-25 17:20:54 -06:00
Gregory Nutt
94ecf7ebad drivers/mtd/st25fl1.c: Add a driver for ST25FL1*K QuadSPI FLASH parts 2015-08-25 09:10:12 -06:00
Gregory Nutt
79aa3d40b0 Kconfig: CONFIG_NET_MULTILINK and CONFIG_NET_MULTINIC must be support if the loopback device and any real network device are selected 2015-08-25 06:51:15 -06:00
Gregory Nutt
a2c0068011 Fix some IPv6 loopback device problems 2015-08-24 17:27:38 -06:00
Gregory Nutt
3018dc31e5 Network local loopback: Another structural simplication 2015-08-24 16:08:17 -06:00
Gregory Nutt
eea69cf6e3 Networking: Local loopback, fix a error in last commit + fix a bad functional partitioning 2015-08-24 15:23:09 -06:00
Gregory Nutt
4d040d572a Networking: Eliminate recursion from the local loopback driver 2015-08-24 15:16:03 -06:00
Gregory Nutt
3c5f817513 Networking: Local loopback is basically functional and is no longer EXPERIMENTAL 2015-08-24 13:58:57 -06:00
Gregory Nutt
933d74e5c1 Networking: With these changes, I can ping the local loopback device from the simulator 2015-08-24 13:49:12 -06:00
Gregory Nutt
0b012c7978 Fix some initial loop back device compilation errors; mark configuration as EXPERIMENTAL 2015-08-24 11:29:54 -06:00
Gregory Nutt
ccb24e1766 drivers/net: Add a basic prototype for a local loopback device 2015-08-24 11:03:36 -06:00
Gregory Nutt
e21501c699 Merge remote-tracking branch 'origin/master' into localhost 2015-08-24 08:29:36 -06:00
Gregory Nutt
ea2fafb024 Add definitions to support a local loopback link layer 2015-08-24 08:25:08 -06:00
Gregory Nutt
3743d3d84a Add configuration options for forthcoming st25fl1 devices 2015-08-24 08:00:39 -06:00
Max Neklyudov
622c5c9aa6 Another TUN driver fix from Max Neklyudov 2015-08-21 07:40:13 -06:00
Max Neklyudov
425146255a Network drivers: Fix bug in tun interface driver. From Max Neklyudov 2015-08-17 09:04:58 -06:00
Gregory Nutt
51f386d08a Fix more common typos 2015-08-16 11:07:23 -06:00
Gregory Nutt
77f5c34af0 Fix some common typos 2015-08-16 11:00:30 -06:00
Paul A. Patience
3303ef8c85 Added support for other MS58XX altimeters. 2015-08-14 20:04:16 -04:00
Gregory Nutt
a543dfbcec Update ChangeLog; Convert a few tabs to spaces 2015-08-11 21:12:15 -06:00
Paul A. Patience
c4b888b41d Added MS5805 altimeter. 2015-08-11 22:50:11 -04:00
Paul A. Patience
a634ad5528 Added MB7040 sonar. 2015-08-11 13:26:56 -04:00
Paul A. Patience
65792c5dbc Added forward declarations of structures to fix header inclusion
order bugs.
Removed an unused variable.
Added debug asserts to check for invalid I2C addresses.
2015-08-10 16:18:37 -04:00
Paul A. Patience
c0964a17b4 Fixed a forgotten FAR, a typo, and an incorrect bit-field definition. 2015-08-10 14:45:40 -04:00
Gregory Nutt
9f1d7cddd8 Merged in paulpatience/nuttx (pull request #14)
Converted the AS5048B to use the quadrature encoder interface, changed copyright notice to my boss's preference, and updated ChangeLog to use my full name
2015-08-10 12:22:30 -06:00
Paul A. Patience
877d5f3b09 Changed copyright notices to my boss's preference. 2015-08-10 14:15:07 -04:00
Paul A. Patience
1d0e25af30 Convert the AS5048B to use the quadrature encoder interface. 2015-08-10 13:41:39 -04:00
David Sidrane
c83d92e846 RAMTRON: Update driver to include support for newer RAMTRON parts. 2015-08-10 11:30:37 -06:00
Gregory Nutt
b6d6776d02 Add a preliminary definition for an SPI slave interface 2015-08-08 10:45:15 -06:00
Gregory Nutt
e9bbc57831 Merged in paulpatience/nuttx (pull request #12)
Added AS5048B magnetic rotary encoder.
2015-08-07 15:33:48 -06:00
Paul A. Patience
b7e0fc34c5 Added AS5048B magnetic rotary encoder. 2015-08-07 17:22:01 -04:00
Gregory Nutt
834e01ea7c can.c: Fix a couple of missed DLC conversions 2015-08-07 11:41:31 -06:00
Gregory Nutt
6d59603610 Trivial updates from review of LM92 driver; Update ChangeLog 2015-08-06 16:33:02 -06:00
Gregory Nutt
41a09a6d64 Merged in paulpatience/nuttx (pull request #11)
Added LM92 temperature sensor.
2015-08-06 16:26:26 -06:00
Paul A. Patience
282c4f5347 Added LM92 temperature sensor. 2015-08-06 17:35:34 -04:00
Gregory Nutt
0dd273935a Standardize naming of all SLIP configuration options 2015-08-06 15:08:15 -06:00
Gregory Nutt
86769101a1 SLIP: Review code, update comments, add missing configuration items 2015-08-06 14:32:12 -06:00
Gregory Nutt
e1c902d468 Remove some incorrect comments 2015-08-06 14:06:43 -06:00
Gregory Nutt
007e258c2b Update some function headers 2015-08-05 16:22:40 -06:00
Gregory Nutt
4b58990362 CAN: Add CAN FD mode as a configuration option 2015-08-05 13:56:48 -06:00
Gregory Nutt
36d4559ee8 CAN: Define IOCTL commands that manage filters 2015-08-05 13:00:31 -06:00
Gregory Nutt
e3decca82c Cosmetic update to some comments 2015-08-05 08:07:58 -06:00
Anton D. Kachalov
2db954c189 Add support for multicast address (via hashtable)
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 19:43:17 +03:00
Gregory Nutt
679ae385aa Merged in rnouse/nuttx (pull request #9)
Custom IOCTL support and more shadow warnings fixup
2015-08-03 06:46:43 -06:00
Anton D. Kachalov
1bb74504a8 Add support for custom platform IOCTL on UART
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 15:32:51 +03:00
Gregory Nutt
08d83cfae3 Merged in rnouse/nuttx (pull request #8)
UART 16550: putc logic fixup
2015-08-03 06:32:17 -06:00
Anton D. Kachalov
a07ed262b4 Revert "Two more places there THRE is used with inverted sense"
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 13:21:01 +03:00
Anton D. Kachalov
2fa6237b49 Revert THRNE-patch. The problem was in u16550_putc
Regarding to:
https://github.com/tanzilli/ariag25-linux-2.6.39/blob/ariag25/drivers/tty/serial/8250.c#L1584
https://github.com/tanzilli/ariag25-linux-2.6.39/blob/ariag25/drivers/tty/serial/8250.c#L1913

When UART_LSR_THRE bit is set, then we ready to transmit more.

Current u16550_putc loops while UART_LSR_THRE bit is set. This logic have to be inverted.

Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 13:19:55 +03:00
Gregory Nutt
15db2a45a4 drivers/net/slip.c: Fix another compilation error 2015-08-02 07:20:36 -06:00
Gregory Nutt
3bc46d9aad Merged in rnouse/nuttx (pull request #6)
[drivers/serial/uart_16550] Typo fix in data bits setup
2015-07-31 11:25:35 -06:00
Anton D. Kachalov
274b7986be [drivers/serial/uart_16550] Typo fix in data bits setup
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-31 20:19:54 +03:00
Gregory Nutt
e0fdd46292 USB host file uses DEBUGASSERT and so must include assert.h. Note by Brennan Ashton 2015-07-31 07:24:43 -06:00
Gregory Nutt
3669292024 Cosmetic changes from review of pull request 2015-07-31 07:17:07 -06:00
Anton D. Kachalov
2ef03d49fe [drivers/net/ftmac100] Remove private board-specific interrupt configuration calls. Configure Mode/Level outside of the driver scope.
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-31 14:12:10 +03:00
Anton D. Kachalov
7613d97a90 [drviers/net/ftmac100] receive: process all available RX descriptors
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-31 08:48:13 +03:00
Anton D. Kachalov
cbd4586cad [drivers/net/skeleton] Add missed #endif
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-30 23:16:34 +03:00
Juha Niskanen
c33d61e00e Add missing configuration option for last set of ADC changed 2015-07-30 07:38:45 -06:00
Gregory Nutt
fb82061bf7 Two more places there THRE is used with inverted sense 2015-07-29 20:42:49 -06:00
Gregory Nutt
8935ff34d5 16550 UART Driver: Add a configuration option to indicate the the THR empty bit is inverted. This is the the case for the moxART SoC. Based comments from Anton D. Kachalov 2015-07-29 16:31:21 -06:00
Anton D. Kachalov
f230c87fba Fix a type in the network driver skeleton file. 2015-07-29 16:08:56 -06:00
Anton D. Kachalov
88861e562a Add support for a Faraday FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov 2015-07-29 15:57:58 -06:00
Gregory Nutt
bb30fa039f Fix a warning detected by tools/tesbuild.sh. function was not returning the correct value in the case of errors 2015-07-22 15:46:43 -06:00
Alan Carvalho de Assis
a01b2e5bbc drvers/sensor and include/nuttx/sensors: Add support to Bosch BMP180 barometer. From Alan Carvalho de Assis. 2015-07-20 07:18:27 -06:00
Gregory Nutt
5a7b2757aa Add definitions for SMSC LAN8742A PHY 2015-07-19 13:09:48 -06:00
Gregory Nutt
cb5a3bd84d Fix error in Kconfig of previous change: Can't mix tabs and spaces in help text 2015-07-17 08:31:21 -06:00
Gregory Nutt
652371c919 Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization 2015-07-17 07:20:16 -06:00
Gregory Nutt
bf1adc1e55 Another CAN driver fix: From inspection, it appears that RTR counter was not being handled correctly 2015-07-15 19:52:08 -06:00
Gregory Nutt
f41df38b0b More CAN driver fixes: remove and unused semaphore. Looks to me that waiter counts are not being initialized 2015-07-15 19:27:36 -06:00
Gregory Nutt
048d338808 Another oops. I introduced a but in a previous commit. The CAN read method nees to return an error if sem_wait() fails for any reason 2015-07-15 18:51:31 -06:00
Gregory Nutt
621fef2c31 Some trivial clean up associated with the last commit 2015-07-15 18:43:53 -06:00
Gregory Nutt
320c584888 CAN driver: Fix a problem where the rx_sem count can grow without bounds 2015-07-15 18:20:08 -06:00
Alan Carvalho de Assis
d7d15072c4 Updated SSD1306 driver 2015-07-15 13:28:31 -06:00
Gregory Nutt
8580d37352 SSD1306: Rename ssd1306_helpers.h to ssd1306.h. Move all SSD1306 driver definitions from ssd1306_base.c to ssd1306.h 2015-07-15 11:46:28 -06:00
Alan Carvalho de Assis
a3e24a0b6c Modify the SSD1306 LCD driver to support either the SPI or I2C interface. From Alan Carvalho de Assis, 2015-07-15 11:21:54 -06:00
Sebastien Lorquet
9c9b6162d8 PCA9555: Extend interface to include methods for reading more than one bit at a time. From Sébastien Lorquet. 2015-07-10 10:33:07 -06:00
Gregory Nutt
3971d97332 Update ChangeLog 2015-07-09 08:27:08 -06:00
Sebastien Lorquet
b947002d6a This commit adds:
-headers in nuttx/ioexpander to define the "generic" ioexpander framework
-files in drivers/ioexpander for the implementation of the NXP PCA9555 framework
-bindings in drivers/Kconfig and drivers/Makefile

From Sebastien Lorquet
2015-07-09 08:27:07 -06:00
Gregory Nutt
be09a87c0e SST25: Eliminate some warnings 2015-07-03 14:38:33 -06:00
Sebastien Lorquet
c9649b5f04 STMPE811: I found that, in stmpe811_instanciate(), when CONFIG_STMPE811_MULTIPLE is enabled, and the call to stmpe811_checkid() fails, then the linked device list is not restored to its previous state. From Sebastien Lorquet. 2015-07-02 08:19:29 -06:00
Gregory Nutt
09c7373f24 Fix misc. compilation error/warning detected by tools/testbuild.sh 2015-07-01 14:33:37 -06:00
Gregory Nutt
8fbac280e9 drivers/net/slip.c: Fix a missed name change when many of network interface names changed sometime back but were apparently never updated for SLIP 2015-07-01 11:58:06 -06:00
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
bb7e15fc57 Misc. improvements to the TUN driver, mostly related to poll(). From Max Neklyudov 2015-06-04 06:54:55 -06:00
Gregory Nutt
391367e8ca LPC17 Ethernet: Add support for the Micrel KSZ8041 PHY. 2015-06-03 17:34:36 -06:00
Gregory Nutt
7355a9044a TUN driver bug fix. From Max Neklyudov. 2015-06-03 10:45:13 -06:00
Gregory Nutt
4f05c80794 LPC17xx Ethernet: Improve CONFIG_NET_NOINTS implementation 2015-06-01 08:07:32 -06:00
Gregory Nutt
0476d8168a More missing semicolons after DEBUGASSERT 2015-05-27 13:32:39 -06:00
Gregory Nutt
9e1c72e3e2 Add basic board build configurat for the SAML21 Xplained. Initial commit is jsut the SAMD20 Xplained with name changes and does not yet build 2015-05-18 13:16:32 -06:00
Gregory Nutt
82f51d01fb Update some comments 2015-05-18 08:53:24 -06:00
Gregory Nutt
d43a09275a AT24 EEPROM driver. Fix some an incorrect variable name used in conditional compilation. SourceForge patch #55 2015-05-15 06:15:58 -06:00
Gregory Nutt
2b3241d81f Clean up some logic in the CDC/ACM host drivers. Test with some other host controller drivers. There are lots of problems. 2015-05-14 10:22:08 -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
3c1af2feed Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna. 2015-05-12 07:41:12 -06:00
Gregory Nutt
9df6bd0543 USB host CDC/ACM driver requires CONFIG_SERIAL_REMOVABLE 2015-05-11 15:10:41 -06:00
Gregory Nutt
2f8d7f3a03 CDC/ACM host: Cancelling activity on bulk endpoint fixes a crash when device removed 2015-05-11 12:47:37 -06:00
Gregory Nutt
c7a02488c6 Fix a cut'n'paste error in the last commit 2015-05-10 10:23:23 -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
bd437bfb03 Update ChangeLog 2015-05-09 16:23:19 -06:00
Gregory Nutt
4715a2e697 Update TODO list 2015-05-09 08:23:11 -06:00
Gregory Nutt
6519dc475d Use sched_kfree() instead of kmm_free() 2015-05-08 12:03:45 -06:00
Gregory Nutt
c35bb693a9 USB host CDC/ACM fixes. Still kind of buggy 2015-05-08 10:58:41 -06:00
Gregory Nutt
513344a084 Fix some missing quotes in a Kconfig file 2015-05-08 08:32:50 -06:00
Gregory Nutt
947fd7a5af USB host CDC/ACM: Improve RX responsiveness 2015-05-07 11:27:51 -06:00
Gregory Nutt
214aeeff57 USB host CDC/ACM: Add a bulk-only mode mostly for test, fix two bad assertions. Correct some loop termination logic in RX data receipt 2015-05-07 11:16:03 -06:00
Gregory Nutt
53bb938f23 Misc improvements to the CDC/ACM host driver, mostly related to parsing the configuration descriptor. Still does not work. 2015-05-07 10:02:51 -06:00
Gregory Nutt
691d7c9819 Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected. 2015-05-06 14:11:29 -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
4a8fbd8817 USB host: More fixes from last changes.. MSC block read and write must again return number of blocks on success. Fix numerous places where the assumption the ret == OK means success. Since the transfer method now returns the number of byte transfered, the correct test for success is ret >= 0 2015-05-05 15:48:48 -06:00
Gregory Nutt
9296eca193 USB Host function address calculation needs to reset the 'next' address when an address is released 2015-05-05 14:59:03 -06:00
Gregory Nutt
47a112974d USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit. 2015-05-05 13:14:22 -06:00
Gregory Nutt
81ab453f6a Fix a mistatement in a comment 2015-05-04 13:44:49 -06:00
Gregory Nutt
ea17bc3b68 USB hub class: Was not using the configured poll delay value 2015-05-04 13:44:12 -06:00
Gregory Nutt
e903259476 Hub: Use usleep instead of up_mdelay 2015-05-04 07:46:13 -06:00
Gregory Nutt
435d088182 SAMA5 EHCI: Mostly cosmetic 2015-05-03 08:51:44 -06:00
Gregory Nutt
c2a3f936aa USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port 2015-05-02 10:44:18 -06:00
Gregory Nutt
e4f538446b USB hub: Minor fix to reduce the amount of debug garbage on console in certain configurations 2015-04-30 13:03:28 -06:00
Gregory Nutt
1380945a13 USB hub: Add a configuration option to fallback to polling mode if the the HCD async method does not work. Don't call DRVR_CANCEL twice, and certainly not from the interrupt level. Add so checks so that we do not do some normal asynchronous actions if the hub has been disconnected 2015-04-30 11:30:01 -06:00
Gregory Nutt
b909ad04d8 USB HUB: Fix a deadlock that can occur if the HCD and the HUB try to share the high priority work queue. Now how work must be done on the low priority work queue. 2015-04-29 08:32:17 -06:00
Gregory Nutt
6e20a466ac Merge remote-tracking branch 'origin/master' into usbhub 2015-04-27 12:27:43 -06:00
Gregory Nutt
cec90e144a Another missing semicolon in a DEBUGASSERT statement 2015-04-27 12:26:40 -06:00