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
Gregory Nutt
d88d10830e
USB host: Fix an attempt to take a semaphore from an interrupt handler
2015-04-26 10:05:15 -06:00
Gregory Nutt
397f31f061
Another hub-related interface change: Need to pass speed to EP0
2015-04-26 09:53:43 -06:00
Gregory Nutt
3bae38a2d9
USB HID mouse/keyboard: Fix a reference counting problem
2015-04-25 17:05:30 -06:00
Gregory Nutt
329ae78583
Fix a recently introduced deadlock in some class drivers
2015-04-25 15:57:57 -06:00
Gregory Nutt
4de9bc7b6c
Trivial improvement of debug output
2015-04-25 14:52:36 -06:00
Gregory Nutt
e46cb394f9
Fixes some crashes when the hub is removed and/or reinserted
2015-04-25 12:16:22 -06:00
Gregory Nutt
38e0a4a1cb
Fix a race condition when a mouse or keyboard device is removed from a hub
2015-04-25 11:17:57 -06:00
Gregory Nutt
e7792435c7
Add missing logic to destroy a class when the device is no longer connected to the hub port
2015-04-25 11:17:37 -06:00
Gregory Nutt
ed5287855f
LPC17 USB host: Direction bit being set wrong from allocated control endpoints
2015-04-24 19:46:00 -06:00
Gregory Nutt
64fe226669
USB Hub: Cosmetic update to some naming
2015-04-24 18:32:09 -06:00
Gregory Nutt
becfe4ef9d
HUB class must cancel any pending interrupt IN transfers before destroying the endpoint
2015-04-24 12:18:25 -06:00
Gregory Nutt
2768f13153
USB hub: Fixes for some port status change handling
2015-04-24 09:57:59 -06:00
Gregory Nutt
c9da86b4f0
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-24 07:55:02 -06:00
Gregory Nutt
8ab4ea531e
Update README
2015-04-24 07:48:53 -06:00
Gregory Nutt
a8a3790139
RA8875 LCD driver contributed by Marten Svanfeldt
2015-04-24 07:46:03 -06:00
Gregory Nutt
2586bc3fcc
USB hub fixes. Mostly dealing with setting the hub function address at the right time and powering up downstream ports
2015-04-23 16:42:53 -06:00
Gregory Nutt
9752e12b11
USB HUB: Fix bugs, stray ampersand. Need to perfrom class destruction on the worker thread
2015-04-23 13:56:38 -06:00
Gregory Nutt
34e4edfd1a
USB hub: Fix some port power enable logic
2015-04-23 11:24:05 -06:00
Gregory Nutt
adb50640c0
Correct errors in hub class destructor logic
2015-04-23 10:07:53 -06:00
Gregory Nutt
ab17603ceb
Fix USB hub bugs: Don't allocate port EP0 until needed, otherwise run out of endpoints; using wrong pointer to access child endpoint array in a few places
2015-04-23 09:42:58 -06:00
Gregory Nutt
167f406050
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-23 07:29:54 -06:00
Gregory Nutt
da04b29a68
Yet another missing semicolon on DEBUGASSERT
2015-04-23 07:29:15 -06:00
Gregory Nutt
64496a635c
USB hub: Add some hub-related configuration settings
2015-04-22 17:16:35 -06:00
Gregory Nutt
f7ec9b0831
USB hub: Change to connection interface so that applications can deal with external hubs
2015-04-22 12:28:19 -06:00
Gregory Nutt
5c16454cdf
Add USB hub initialization logic to a couple of board configurations
2015-04-21 13:44:14 -06:00
Gregory Nutt
fde0bf650e
USB host: Integrate logic to assign device function address
2015-04-21 12:17:49 -06:00
Gregory Nutt
d6b963a62e
USB host: Update skeleton driver file
2015-04-21 09:54:11 -06:00
Gregory Nutt
d62aa8c158
USB host: Remove getdevinfo() method. Rename hub structure to hubport structure. Get port and function address from hub port structure vs. parameters and other structures.
2015-04-21 07:26:28 -06:00
Gregory Nutt
2ea7a83bf5
USB hub: Move port index out of hub structure and into class structure
2015-04-20 16:50:32 -06:00
Gregory Nutt
4aeb5e549c
Get USB host HID mouse driver to build. Error connect method prototypes.
2015-04-20 16:21:13 -06:00
Gregory Nutt
f7f3a7f74d
USB hub: Decouple class and hub structures
2015-04-20 12:06:47 -06:00
Gregory Nutt
356292b60e
Some trivial USB-related changes
2015-04-20 09:51:58 -06:00
Gregory Nutt
fa778aec07
USB hub: Add EP0 to all control transfers. There can be multiple EP0's with a hub
2015-04-20 09:35:43 -06:00
Gregory Nutt
9e0b239c37
Clean compile errors from last commit
2015-04-20 08:53:21 -06:00
Gregory Nutt
8e23ad72b5
USB hub: Add asych HCD interface
2015-04-20 08:41:33 -06:00
Gregory Nutt
0a014e0364
USB host: Cosmetic changes
2015-04-20 07:46:05 -06:00
Gregory Nutt
a6d9f0622c
USB hub: First steps to make interfaces backward compatible
2015-04-20 07:45:11 -06:00
Gregory Nutt
8c1c365ae7
Reorder structure members for better packing
2015-04-19 15:58:09 -06:00
Gregory Nutt
8a23c52650
USB Hub: Change an the usbhost_ctrlxfer interface; move some functions around
2015-04-19 14:26:17 -06:00
Gregory Nutt
820bc08c34
USB Hub: Fix a few compilation errors
2015-04-19 12:01:47 -06:00
Gregory Nutt
1971ea3d4e
Clean up some debug output
2015-04-19 11:24:06 -06:00
Gregory Nutt
de182f2a3a
Merge remote-tracking branch 'origin/master' into usbhub
...
Conflicts:
nuttx/include/nuttx/usb/usbhost.h
2015-04-19 10:55:20 -06:00
Gregory Nutt
7fcfca40b5
Bring in more logic from https://github.com/kaushalparikh/nuttx
2015-04-19 08:55:48 -06:00
Gregory Nutt
6bd7cfa823
Bring in USB hub-related files from https://github.com/kaushalparikh/nuttx . This is the work of Kaushal Parikh. This initial commit is incomplete. This is quite a bit more hub logic that needs to come in before the port is complete.
2015-04-18 16:20:02 -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
a0866c0753
drivers/input/max11802.c: Fix possible unmatched IRQ restore. Noted by Juha Niskanen
2015-04-14 07:22:02 -06:00
Gregory Nutt
2aa80e06f5
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -06:00
Gregory Nutt
bf7b5746a5
Correct typos in comments
2015-04-03 08:01:39 -06:00
Gregory Nutt
e9e386ac6e
Add ILI9488 header file
2015-04-03 07:12:11 -06:00
Gregory Nutt
e78e762dd6
Add a very basic driver for the CS2100-CP Fractional-N Multipler chip.
2015-04-02 13:00:10 -06:00
Gregory Nutt
0ec67181c9
Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
2015-04-01 12:37:44 -06:00
Gregory Nutt
312ae5713e
PIC32MZ Ethernet: Add support for LAN8740A PHY
2015-03-29 07:05:30 -06:00
Gregory Nutt
469827640b
Add support for LAN8740
2015-03-23 15:34:10 -06:00
Gregory Nutt
495f420978
Extend the AT24 EEPROM driver so that it supports: (1) the byte-oriented read() method, (2) parts with extended memory regions, and (3) parts with 8-bit addressing.
2015-03-17 14:27:27 -06:00
Gregory Nutt
32aadd9cc2
SAMV7: Quick'n'dirty port of the SAMA5D4 Ethernet MAC driver to the SAMV7. Still some unresovled issues with DCache handling
2015-03-16 13:51:37 -06:00
Gregory Nutt
8783526a5f
Fix some bad logic when file system debug is turned on: Arguments to syslog were missing so that garbage was being printed.
2015-03-15 09:34:07 -06:00
Gregory Nutt
b83cea4f99
Back out 70cb75adaf3243478276cebf367c5f47c4725715
2015-03-13 10:40:09 -06:00
Gregory Nutt
c5953bd0e9
Debugging and manuals (this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf
...
and this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf ) shows that ACMD23
must be preceeded with CMD55 command as any other ACMD commands.
Also, after the block reading wait loop must be inserted before writing the next block of data to
the sd card
From Dmitry Nikolaev via Jussi Kivilinna
2015-03-13 07:26:16 -06:00
Gregory Nutt
3473bb1635
drivers/serial: Report correct number of bytes free in serial buffer with FIONWRITE. From Jussi Kivilinna.
2015-03-13 07:22:43 -06:00
Gregory Nutt
0a939ff218
Pipes: Fix zero-lenth writes. From Jussi Kivilinna
2015-03-13 07:21:06 -06:00
Gregory Nutt
dba41a7048
chdev_driver: Avoid NULL pointer dereference when bch->refs == 255. From Juha Niskanen
2015-03-12 07:58:36 -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
21d6e41032
Add TUN device. From Max Neklyudov
2015-03-11 06:52:56 -06:00
Gregory Nutt
b5bfb6762d
Fix some BBRAM return values (from David Sidrane). Also some MTD-related cosmetic changes
2015-03-05 08:08:11 -06:00
Gregory Nutt
e41d78e848
Add missing CONFIG_SPI_CALLBACK selection to the drivers/spi/Kconfig. Noted by Freddie Chopin
2015-03-04 07:23:46 -06:00
Gregory Nutt
82251ccf28
Cosmetic updates from code review
2015-03-04 06:51:56 -06:00
Gregory Nutt
fada63014d
Review and bring closer to nuttx coding style
2015-03-02 10:18:25 -06:00
Gregory Nutt
e2e7c791c1
Refreshed Spark Configurations
2015-02-28 15:44:58 -06:00
Gregory Nutt
6cc74fecc8
Refresh configuration
2015-02-25 07:22:58 -06:00
Gregory Nutt
1c4863c24e
Trivial update to some comments
2015-02-24 06:41:28 -06:00
Gregory Nutt
4320b1b1a3
CAN driver: Another Ooops... Cannot save the updated driver open count if the we fail to initialize the CAN driver, causing the open to fail
2015-02-23 20:14:39 -06:00
Gregory Nutt
f4a2ebc220
CAN driver: Oop. unlink method does not exist if there operaions on the pseudo filesystem are disabled
2015-02-23 19:49:19 -06:00
Gregory Nutt
ebe289725b
in nuttx/drivers/can.c can_open function:
...
this line "dev->cd_ocount = tmp;" needs to be moved a few lines down otherwise the open count will only be incremented from 0 to 1. This causes problems when trying to open the can bus from two different tasks.
SourceForge Patch #46 from Anonymous
2015-02-23 19:28:52 -06:00
Gregory Nutt
63ab39b274
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
2015-02-18 09:34:58 -06:00
Gregory Nutt
e2336a07bb
The RTC ioctl() method is now a configuration option
2015-02-18 08:23:10 -06:00
Gregory Nutt
f94e601981
Add an IOCTL method to the RTC interface
2015-02-18 08:05:31 -06:00
Gregory Nutt
d6704a1cd7
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
5cb233f712
RTC: A little more clean-up of the RTC driver
2015-02-15 08:19:23 -06:00
Gregory Nutt
fcadc2d8e4
Add an RTC upper half driver. This is the driver that is documented in include/nutt/rtc.h
2015-02-13 11:49:04 -06:00
Gregory Nutt
c463f9fad6
Move timer-related drivers from drivers/ to drivers/timers.
2015-02-13 10:30:06 -06:00
Gregory Nutt
3724a5e98e
RTC: Remove all backdoor interfaces from rtc.h
2015-02-13 08:41:34 -06:00
Gregory Nutt
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -06:00
Gregory Nutt
63ac1ec423
Cosmetic updates to comments
2015-02-12 13:44:22 -06:00
Gregory Nutt
3e1173225e
Renamed SPIDEV_GSENSOR to SPIDEV_ACCELEROMETER just because it looks better beside SPIDEV_BAROMETER
2015-02-12 12:26:19 -06:00
Gregory Nutt
38aa31dea2
Update ChangeLog
2015-02-12 12:21:05 -06:00
Gregory Nutt
fd6d299788
Add driver for the Feescale MPL115A baramoter. From Alan Carvalho de Assis
2015-02-12 12:18:43 -06:00
Gregory Nutt
410fcaa0a1
Added a forward reference to struct inode to avoid warning about mismatching types in assignemnt
2015-02-10 13:41:49 -06:00
Gregory Nutt
f3427cb32a
mtd/ramtron.c: Table of parts is not terminated properly if CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined
2015-02-09 16:35:58 -06:00
Gregory Nutt
94d3c68013
Oops... Conditioned on IPv4 wheren IPv6 was intended
2015-02-09 14:16:32 -06:00
Gregory Nutt
3384274087
Fix IPv4-dependend debug output
2015-02-09 13:18:31 -06:00
Gregory Nutt
b285162e79
Fix some warnings in audio code causing by fixing the prototypes of mq_send() and mq_receive()
2015-02-09 12:50:04 -06:00
Gregory Nutt
8a28f7fc5d
Networkin: Fix an error in network driver skeleton file
2015-02-09 12:49:09 -06:00
Gregory Nutt
3465cb6138
SYSLOG: Add an option to use the syslog'ing device as the system consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville.
2015-02-08 06:53:24 -06:00
Gregory Nutt
6f335dc6c6
STM32 SPI: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David Sidrane.
2015-02-07 13:59:45 -06:00
Gregory Nutt
a9c71630e1
Add IPv6 support to network driver skeleton and to SAMA5D4 Ethernet driver (which, unfortunately is still missing address filtering logi)
2015-02-05 10:49:32 -06:00
Gregory Nutt
f472041ce2
RAM disk: Missed a few changes in the last commit
2015-02-01 08:20:30 -06:00
Gregory Nutt
2407008b6e
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
2015-02-01 07:24:16 -06:00
Gregory Nutt
eceac1612d
Fix some compilation errors introduced in the last commit
2015-01-31 13:24:59 -06:00
Gregory Nutt
eb1aca3e46
Add an unlink method to block driver interface. Same motivataion as for the same modification to the character driver interface
2015-01-31 13:19:23 -06:00
Gregory Nutt
fa949604ba
Remove reference to used variable
2015-01-31 12:49:51 -06:00
Gregory Nutt
f24520acbb
Backout use of named initializers. Not C99
2015-01-31 12:29:21 -06:00
Gregory Nutt
39a5238c43
Pipes/FIFOs: Implement the unlink method. If the pipe/FIFO is unlinked, it will marked the pipe/FIFO as unliked. If/when all open references to the driver are closed, all of the driver resources will be freed.
2015-01-31 12:05:01 -06:00
Gregory Nutt
e86d00913e
Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
2015-01-30 11:14:24 -06:00
Gregory Nutt
2f009a2afe
Networking: SLIP interface improvements. From Macs N.
2015-01-30 08:09:38 -06:00
Gregory Nutt
32d2a4c548
All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called
2015-01-21 11:36:33 -06:00
Gregory Nutt
1ad73c52b1
Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address.
2015-01-20 15:52:25 -06:00
Gregory Nutt
a53ae59284
Networking: Add missing raw/packet socket support to all Ethernet drivers
2015-01-20 15:14:29 -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
bbafb8f2fe
Tiva Ethernet: When calling into the stack from the worker thread, it is necessary to have the stack locked
2015-01-18 16:58:11 -06:00
Gregory Nutt
b7c0bfebd5
Tive Ethernet: Fix some race conditions in the driver that become apparent when debug is enabled
2015-01-17 10:59:45 -06:00
Gregory Nutt
b648733589
Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received
2015-01-15 10:25:53 -06:00
Gregory Nutt
89538ac4a2
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
a7ce1279f9
Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
2015-01-14 16:10:38 -06:00
Gregory Nutt
31a94816b2
USB host drivers: Change all parmeters named class to usbclass to avoid C++ conflicts
2015-01-11 08:05:09 -06:00
Gregory Nutt
83d6e6403c
drivers/mmcsd/Kconfig: ARCH_HAVE_SDIOWAIT_WRCOMPLETE should not depend on MMCSD_SDIO
2015-01-09 07:21:43 -06:00
Gregory Nutt
089e001874
STM32 SDIO: CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE should not be available unless CONFIG_MMCSD_SDIO=y
2015-01-08 18:12:06 -06:00
Gregory Nutt
f787440a04
STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE
2015-01-08 17:47:34 -06:00
Gregory Nutt
1842525cc2
MMCSD SDIO: Add support for a new SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait loop to pool the card R1 start to determine when the card was ready for the next transfer. That busy-wait can be quite long -- hundreds of milliseconds. And alternative is to look the the SD D0 pin which will change state when the card is no longer busy.
...
This logic implements a change the avoids the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt, then waiting for the card to becom ready without taking up CPU cycles.
This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE and is currenlty only implemented for the STM32 SDIO driver.
From David Sidrane
2015-01-08 06:23:42 -06:00
Gregory Nutt
383a47fb28
DK-TM4C129X: Add support for on-board TMP100 temperature sensor
2015-01-06 11:50:56 -06:00
Gregory Nutt
207835bd0d
Tiva PHY Interrupts: Need to read the PHY interrupt status register in order to clear the pending PHY interrupt
2015-01-05 15:12:45 -06:00
Gregory Nutt
52aeabb4b2
Cosmetic changes
2015-01-02 13:59:47 -06:00
Gregory Nutt
51b220c6d5
Ethernet skeleton: Add some more example logic
2014-12-31 13:45:19 -06:00
Gregory Nutt
2317da4192
Minor corrections to Ethernet driver skeleton
2014-12-31 13:02:30 -06:00
Gregory Nutt
6d1a79ed40
Minor updated to Ethernet driver skeleton
2014-12-31 12:26:18 -06:00
Gregory Nutt
09446f7d27
Update drivers/net/skeleton.c
2014-12-31 06:37:14 -06:00
Gregory Nutt
157916ba4c
Uses DEBUASSERT, mut include assert.h
2014-12-30 16:58:02 -06:00
Gregory Nutt
3666af88d4
drivers/net/skeleton.c: Add outline for support with CONFIG_NET_NOINTS
2014-12-30 14:56:37 -06:00
Gregory Nutt
5ee81c0d50
Serial: Allow serial console selection even if /dev/console is disabled: There can still be a serial console with no file system at all
2014-12-28 15:23:05 -06:00
Gregory Nutt
089578319a
STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David Sidrane
2014-12-27 18:58:18 -06:00
Gregory Nutt
33f7151cd9
Remove STM32-specific RX flow control logic from the upper level serial driver to the lower level STM32 serial driver
2014-12-27 09:45:45 -06:00
Gregory Nutt
32fd858dc6
Serial RX Flow Control: Fix a bunch of compile problems introduced into unbuilt, conditioned out logic
2014-12-27 08:15:41 -06:00
Gregory Nutt
2fadd0da4b
Eliminate an unnecessary calculation in the serial RX flow control logic
2014-12-27 08:00:48 -06:00
Gregory Nutt
aefde565d3
Serial Upper Half: Add watermarks to RX flow control logic
2014-12-27 07:43:06 -06:00
Gregory Nutt
1c39b67e32
STM32: Fix some incorrectly placed conditional logic
2014-12-26 12:41:35 -06:00
Gregory Nutt
33bcb5dbca
Back out some incorrect conditional compilation
2014-12-26 10:26:52 -06:00
Gregory Nutt
6daa9468f6
More RAMTRON related fixes from David Sidrane
2014-12-26 08:15:59 -06:00
Gregory Nutt
996d6c9d55
Most superstitous updates to the RAMTROM driver make it more compatibile with the version used by PX4. From David Sidrane
2014-12-26 07:59:09 -06:00
Gregory Nutt
64ce7563f2
CC3000: Fix yet another typo in last two commitsgit diff I should not be doing this when I have the flugit diff
2014-12-18 16:27:46 -06:00
Gregory Nutt
49a22f1ccb
CC3000: Oops. Fix an error in the last commit
2014-12-18 07:39:55 -06:00
Gregory Nutt
2fe506d70c
CC3000 Fix: Data can be unaligned. When dereferences as an input ntosh(), a bad value is returned. Reported by Alan Carvalho de Assis
2014-12-18 07:18:00 -06:00
Gregory Nutt
8e4f7230f9
ADXL345: Don't select device if only change SPI settings
2014-12-17 12:01:18 -06:00
Gregory Nutt
34609141b0
ADXL345: Free allocations on failure
2014-12-16 17:27:09 -06:00
Gregory Nutt
d818ab5e35
Update the ADXL345 interface following the current interface scheme
2014-12-16 11:45:28 -06:00
Gregory Nutt
c9ca51fc8a
Minor clean-up associated with the ADX345 driver
2014-12-16 10:18:44 -06:00
Gregory Nutt
ae18f9dacd
Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
2014-12-16 09:54:32 -06:00
Gregory Nutt
10863af628
Add ADXL345 accelerometer driver. From Alan Carvalho de Assis
2014-12-16 08:16:53 -06:00
Gregory Nutt
ece6963c21
Update a README file
2014-12-16 07:51:50 -06:00
Gregory Nutt
4aa9320da9
Update README files
2014-12-15 19:01:40 -06:00
Gregory Nutt
623757d77c
Update TODO list and add REVISIT comment
2014-12-13 08:44:28 -06:00
Gregory Nutt
d09bb13833
In case a thread is doing a blocking operation (e.g. read()) on a serial
...
device, while it is being terminated by pthread_cancel(), then
uart_close() gets called, but the semaphore (dev->recv.sem in the above
example) is still blocked.
This means that once the serial device is opened next time, data will
arrive on the serial port (and driver interrupts handled as normal), but
the received characters never arrive in the reader thread.
This patch addresses the problem by re-initializing the semaphores on the
last uart_close() on the device.
2014-12-13 08:07:21 -06:00
Gregory Nutt
a84bd3f433
M25P serial flash driver: Add subsector size of the M24P16 part. From Lazlo
2014-12-10 18:48:36 -06:00
Gregory Nutt
cdc8fc52d1
SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit
2014-12-09 14:11:15 -06:00
Gregory Nutt
8bd5556b47
Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected
2014-12-08 07:14:31 -06:00
Gregory Nutt
c0c108d5e2
Add support for ST Micro EEPROM device geometries. From Sebastien Lorquet
2014-12-05 09:13:34 -06:00
Gregory Nutt
3cc6bee189
Nucleo-f4x1re: Fix some joystick pin definitions
2014-12-04 12:04:21 -06:00
Gregory Nutt
1f2447502f
SAMA5D3 Xplained: Add support for the Itead Joystick shield
2014-12-03 12:24:23 -06:00
Gregory Nutt
19d31412f7
Update/correct some comments
2014-11-29 07:08:30 -06:00
Gregory Nutt
2b8fe6709b
Add an analog joystick driver. Initial checkin is only a little more of a clone of the discrete joystick driver and is as-of-yet untested
2014-11-28 19:59:27 -06:00
Gregory Nutt
24d4253e1f
Fixes to get the discrete joystick driver and test working
2014-11-28 15:56:18 -06:00
Gregory Nutt
544322edb9
DJoystick: Add a new ioctl to get the support joystick discrete signals
2014-11-28 15:39:57 -06:00
Gregory Nutt
0d04a4e9ba
Fix missing quote in Kconfig
2014-11-28 10:16:58 -06:00
Gregory Nutt
e42f7b552f
This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
...
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.
07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.
08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.
09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().
10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.
Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.
All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
Gregory Nutt
5f0343bed9
Use usleep instead of usdelay as CONFIG_BOARD_LOOPSPERMSEC might not be calibrated correctly and CC3000 is fine with longer wait.
...
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:16:30 -06:00
Gregory Nutt
2d9bd07525
Some additional, minor improvements to djoystick interrupt controls
2014-11-27 20:20:10 -06:00
Gregory Nutt
0ec5043a4e
Add an interface definition and upper half driver for a discrete joystick device
2014-11-27 17:42:16 -06:00
Gregory Nutt
57e57bba36
LPC4357 EVB: Ooops got sense of the LED GPIO backward
2014-11-27 12:38:04 -06:00
Gregory Nutt
f2603866e0
Widen the name space: Rename CONFIG_SPI_EEPROM to CONFIG_EEPROM so that I2C EEPROMs can live there too
2014-11-27 11:08:27 -06:00
Gregory Nutt
e3898a7911
Update README
2014-11-27 10:40:51 -06:00
Gregory Nutt
d5c808c1fe
EEPROM: Add a README file
2014-11-27 09:14:19 -06:00
Gregory Nutt
bc3212d70e
EEPROM: Add a README file
2014-11-27 09:14:00 -06:00
Gregory Nutt
d8107d2b97
Loop device should return -EINTR is interrupt by a signal
2014-11-27 09:12:15 -06:00
Gregory Nutt
b29925a63b
EEPROM: prevent writes past end of device. From Sébastien Lorquet
2014-11-27 07:59:43 -06:00
Gregory Nutt
3f2c90c1e9
Fix minor typo in C comments
2014-11-27 06:49:07 -06:00
Gregory Nutt
1a33afb66c
Fix to get a clean build with EEPROM support disabled
2014-11-26 15:37:01 -06:00
Gregory Nutt
40b27115cc
Add support for generic EEPROM access via a character driver. Add also the EEPROM driver itself. From Sebastien Lorquet
2014-11-26 13:55:34 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -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
5d231b25f0
SAMA5D3 Xplained: Add an apps/examples/bridge configuration
2014-11-20 16:24:30 -06:00
Gregory Nutt
33627632a5
Network: Fix compilation problem when mutliple networks enabled
2014-11-17 10:22:30 -06:00
Gregory Nutt
b9cd425bc2
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all drivers/net (except slip.c)
2014-11-16 08:53:20 -06:00
Gregory Nutt
25a9005ce7
Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead
2014-11-15 09:05:34 -06:00
Gregory Nutt
2b758537ea
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
2014-11-15 08:55:50 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
8d00912207
Add mirror (x/y) and inverse video (black<->white) options to the ST7565 LCD driver. From Pierre-noel Bouteville.
2014-11-15 06:43:12 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
e03c764d92
I don't think that the net_route function has ever worked correctly. The source ip was updated in the match struct instead of the route ip. From Brennan Ashton.
2014-11-14 16:45:25 -06:00
Gregory Nutt
ca15802ae5
Trival fix to comment
2014-11-14 10:58:13 -06:00
Gregory Nutt
9f3d4b30fb
Add st7565.c to build
2014-11-14 06:55:16 -06:00
Gregory Nutt
3576e249b5
Add driver for ST7565 that works with NHD‐C12864KGZ display. From Pierre-noel Bouteville.
2014-11-13 16:03:52 -06:00
Gregory Nutt
c956d6d820
Add support for seeking in BCH. From Sébastien Lorquet.
2014-11-13 09:04:42 -06:00
Gregory Nutt
d9b238b002
Extend MTD support to M25P16. From Sébastien Lorquet
2014-11-07 10:35:03 -06:00
Gregory Nutt
b99db64f15
rwbuffer, fix compiler error
2014-11-05 15:26:48 -06:00
Gregory Nutt
5120d745fd
Fix some typos
2014-10-29 10:48:50 -06:00
Gregory Nutt
6c9f325e1e
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
0196b77961
EFM32: Add IDLE power management hooks. Nothing implemented; just define the hooks
2014-10-22 07:26:31 -06:00
Gregory Nutt
37e08c3b49
The olimex-efm32g880f128-stk now defaults to use LEUART1 as the serial console. Also fixes lots of compile bugs from the original LEUART checkin
2014-10-21 11:38:51 -06:00
Gregory Nutt
d13c9a08b9
EFM32: Add configuration support for LEUARTs
2014-10-21 09:37:02 -06:00
Gregory Nutt
fa3753c466
rivers: enable usage of ili9341
...
This enables build and configuration of the ili9341 lcd interface driver.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:27:56 -06:00
Gregory Nutt
beff697bc7
drivers: implements lcd interface for ili9341
...
This implements the lcd interface to displaying data on the lcd display powered
by the ili9341 lcd driver.
This driver implements all methods defined in the lcd_dev_s structure except
getcontrast and setcontrast. They are not supported by the hardware.
Furthermore the driver allows to use multiple displays powered by the ili9342 IC
with only one driver instance. So it is theoretically possible to support more
than one connected ili9341 lcd display. The displays can be configured
independently. Currently two lcd devices supported. This should be enough for
now. Read the corresponding code section of how to add more devices if
neccessary.
The following settings are configurable:
1. Pixel format
Define the pixel format of the connected display. Currently only
RGB-565 supported.
2. Orientation
Define the orientation of the display. This can be portrait or
landscape and reversed values.
1. Write only
The driver allows to disable any getrun method if not neccessary to
reduce code size. This is done by enable CONFIG_LCD_NOGETRUN in the nuttx
configuration.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:19:43 -06:00
Gregory Nutt
1a27a4d4c0
Eliminate warnings
2014-10-11 17:02:35 -06:00
Gregory Nutt
c38b81431f
Cosmetic updates to comments
2014-10-11 15:20:21 -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
b33f8b3013
MTD read-ahear/write buffering layer seems functional
2014-09-25 13:35:10 -06:00
Gregory Nutt
a5bc26db4a
Fixes for compile of rwbuffer.c
2014-09-25 11:02:30 -06:00
Gregory Nutt
7c89724b99
A few fixes for clean apps/examples/mtdrwb build
2014-09-25 10:41:47 -06:00
Gregory Nutt
6626f62b08
In at45db_bwrite, the buffer is not increased when writing more than 1 page. Sourceforge bug #34
2014-09-25 06:48:04 -06:00
Gregory Nutt
34a057334c
Update SMART FS procfs support. From Ken Pettit
2014-09-22 11:19:49 -06:00
Gregory Nutt
b37c0a832a
Fixes to avoid some hang conditions using STM32 CAN
2014-09-17 08:35:03 -06:00
Gregory Nutt
47d55c28dc
Mostly cosmetic changes
2014-09-04 10:28:38 -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
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -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
2906ff6a4a
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
2014-08-30 11:14:51 -06:00
Gregory Nutt
e3ff0689bb
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
98cf3b06e5
nuttx/drivers: Remove explicity references to errno. That is a problem from within the kernel for certain configurations
2014-08-28 16:59:06 -06:00
Gregory Nutt
ad9b3f8ab8
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
cf242fbeb4
SAM4E-EK: Add ILI9341-based LCD driver
2014-08-20 11:45:01 -06:00
Gregory Nutt
004788d7c0
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a
SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts
2014-08-17 14:07:53 -06:00
Gregory Nutt
e04ab2bcfc
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
2014-08-17 13:03:18 -06:00
Gregory Nutt
eb5e2e4b20
Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data.
2014-08-16 14:08:04 -06:00
Gregory Nutt
8428a58bdc
Add support for an ioctl that can be used to notify an application when there is a change in the network status signalled by a PHY interrupt
2014-08-16 12:56:02 -06:00
Gregory Nutt
4beb3c0ad7
Move SLIP prototypes from net.h to new slip.h
2014-08-16 10:23:17 -06:00
Gregory Nutt
c52f634b79
Standardize a PHY interrupt attachment interface
2014-08-16 08:34:36 -06:00
Gregory Nutt
320707fdfa
SAMA5: Fix bugs in timer/counter interrupts and one-shot timer
2014-08-10 10:47:38 -06:00
Gregory Nutt
a3e28c2c16
audio NULL driver: Fix an error in a variable name
2014-08-09 10:33:31 -06:00
Gregory Nutt
6e0acd7cd4
WM8904: Don't use MSEC2TICK in timeout calculation
2014-08-08 11:02:45 -06:00
Gregory Nutt
c9661ad5a7
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
2014-08-07 18:00:38 -06:00
Gregory Nutt
bb29ba0a00
Costmetic changes
2014-08-05 10:03:29 -06:00
Gregory Nutt
8065ab73a4
WM8904: Add reset logic to put the part back in its initial state after playing each WAV file. Base samles per second on frame length, not bits-per-sample. Use a different frame length for 8-bit and 16-bit data
2014-08-04 19:26:43 -06:00
Gregory Nutt
dc8b040573
WM8904: Correct calculation of bitrate (I am not sure why this is correct). LR clock divisor is now a constant 32-bits per frame. Conditioned out interrupt logic; it is not being used. Also added some FLL lock interrupt/poll logic (which was subsequently disabled).
2014-08-04 15:08:20 -06:00
Gregory Nutt
c68e42c437
WM8904: Restore mystery bit in setup that was accidentally tossed before
2014-08-03 19:29:02 -06:00
Gregory Nutt
678c0aac8d
WM8904: Tried disabling the SYSCLK while updating the FLL. Didn't help but is still probably a correct change
2014-08-03 18:44:51 -06:00
Gregory Nutt
72b739fbcb
WM8904: Add logic to analyze BCLK setup
2014-08-03 17:11:38 -06:00
Gregory Nutt
b9384ced60
WM8904: Various updates to get BCLK/LRCLK correct. Acutally worse the parent, but I think is on the right track
2014-08-03 13:28:20 -06:00
Gregory Nutt
b0d0ac72a7
WM8904 driver: Disable the FFL at the end of playing.
2014-08-02 14:28:10 -06:00
Gregory Nutt
a2d6c0c2b4
WM8904: Add logic to program the FLL to achieve the bitrate
2014-08-02 12:40:57 -06:00
Gregory Nutt
f4bc0ad99a
WM8904: Add an option to control WM8904 register dumping
2014-08-02 06:52:42 -06:00
Gregory Nutt
7e576e308a
WM8904 I2C: Fix an error in writing. I am not sure why this fixes the problem
2014-08-01 18:22:33 -06:00
Gregory Nutt
e59bb45b33
Add debug logic to dump WM8904 registers
2014-08-01 18:07:20 -06:00
Gregory Nutt
3e1e15b04a
WM8904: Can't reset the WM8904 unless we also reinitiailize all registers. Try to get a saner timeout based on sample rate, bits-per-sample, and buffer size.
2014-07-31 19:14:41 -06:00
Gregory Nutt
e214382264
Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream.
2014-07-31 16:36:09 -06:00
Gregory Nutt
487a672d76
WM8904: Was not saving i2s interface instance
2014-07-31 15:00:45 -06:00
Gregory Nutt
9c80dfb31c
Updated README file, cosmetic changes to comments and debug output
2014-07-30 10:19:09 -06:00
Gregory Nutt
be8fe9a311
Costmetic update to comments
2014-07-29 20:03:52 -06:00
Gregory Nutt
75daeb75a3
Fix some compile problems with the WM8904 driver due to recent audio subsystem changes
2014-07-28 16:33:25 -06:00
Gregory Nutt
c9f15ffd3d
PCM: First cut at fast forward by subsampling
2014-07-27 18:33:17 -06:00
Gregory Nutt
0cc9b06eca
Add definitions to support fast forward and rewind configuration
2014-07-27 12:25:40 -06:00
Gregory Nutt
014dd77237
Audio: Fix some compilation issues introduced with some of the recent changes
2014-07-25 11:27:29 -06:00
Gregory Nutt
08fa9a9d54
Costmetic change
2014-07-25 10:04:20 -06:00
Gregory Nutt
0399be55d3
Fix some compile errors when audio DEBUG is enabled
2014-07-24 15:05:13 -06:00
Gregory Nutt
22f8503d0a
Convert ac_format and ac_controls to unions to make access a little cleaner
2014-07-24 10:21:04 -06:00
Gregory Nutt
dba43a9c75
Audio: Get rid of the decoder->driver IOCTLs that I added a couple of commits back; Use existing configure method
2014-07-24 09:56:39 -06:00
Gregory Nutt
e100726a41
Fix a type in the audio Kconfig file, UDIO->AUDIO
2014-07-23 14:48:21 -06:00
Gregory Nutt
72133f5d95
Add ioctls so that PCM decoder can configure the driver bitrate, num channels, and sample width
2014-07-23 12:21:04 -06:00
Gregory Nutt
516b343666
Flesh out missing PCM decoder methods
2014-07-23 11:58:43 -06:00
Gregory Nutt
ca7d7c34ce
Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders
2014-07-23 10:12:32 -06:00
Gregory Nutt
cfa76b5278
Flesh out a few more PCM methods, still incomplete. Re-vision PCM structure definition
2014-07-22 19:23:05 -06:00
Gregory Nutt
d7a9633dcd
Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities.
2014-07-22 15:54:56 -06:00
Gregory Nutt
8548c64915
Remove WM8904 driver unused paramters, clean-up comments, remove some kruft in capability reporting
2014-07-22 11:47:27 -06:00
Gregory Nutt
05e82d4f01
Add missing configuration option to select the MAX11802 touchscreen controller
2014-07-22 07:09:48 -06:00
Gregory Nutt
0b3ff976ff
Fix an error in SLIP escaping
2014-07-22 06:55:42 -06:00
Gregory Nutt
78d7925ce0
Kconfig: MW8904 driver no longer depends on EXPERIMENTAL (it probably still should)
2014-07-20 10:27:25 -06:00
Gregory Nutt
f4bcb730d2
WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled
2014-07-20 09:17:36 -06:00
Gregory Nutt
4f6625380b
The WM8904 audio driver is mostly code complete and ready to begin initial testing
2014-07-19 18:52:58 -06:00
Gregory Nutt
6d9f9e37bf
SAMA5D4-EK: Add WM8904 initialization logic
2014-07-19 11:58:53 -06:00
Gregory Nutt
89ed7ab558
WM8904: Add initialization logic
2014-07-19 10:20:19 -06:00
Gregory Nutt
3b8c4a399d
Framework for a WM8904 audio driver. The initial driver check-in is simply Ken Pettit's VS1053 driver forced to compile with only WM8904 definitions
2014-07-18 15:35:12 -06:00
Gregory Nutt
1ff0536c7f
WM8904: Add header file support for this forcoming driver
2014-07-18 13:28:51 -06:00
Gregory Nutt
cc09d75180
MXT driver: Fix error in thread test... backward logic
2014-07-16 22:13:41 -06:00
Gregory Nutt
44e6516213
maXTouch: Add thresholding so that MOVE reports are not generated unless there is a significant change in the reported position
2014-07-12 14:00:33 -06:00
Gregory Nutt
4548ea731e
maXTouch: Fix error in state machine
2014-07-12 11:23:07 -06:00
Gregory Nutt
58ab6ec03f
NX graphics library: Macroize some color operators that become trivial when there is only one color plane
2014-07-12 07:44:56 -06:00
Gregory Nutt
3042fc5bc0
Missing closing quote in Kconfig file
2014-07-11 16:51:50 -06:00
Gregory Nutt
e91704c432
Minor Kconfig improvements
2014-07-11 16:25:35 -06:00
Gregory Nutt
ab1ab379dd
Addition rwbuffer interfaces should not be enabled unless they are needed; if rwbuffer support is enabled, it should not be unconditionally enabled in SMART and FTL
2014-07-11 16:19:17 -06:00