xuhang
26d40fa80c
drivers/usbhost/hid_parser.c: Wrong size used in memcpy()
2016-01-25 20:00:11 -06:00
Gregory Nutt
aad3b013f1
Update ChangeLog
2016-01-25 18:28:59 -06:00
Gregory Nutt
365e015010
iob_alloc_qentry() has the same issue that was recently fixed in iob_alloc()
2016-01-25 17:46:59 -06:00
Gregory Nutt
c9295c5152
Merge branch 'master' of bitbucket.org:nuttx/arch
2016-01-25 13:26:28 -06:00
Gregory Nutt
a2ce7cc30f
Add SAMV7 AFEC header file
2016-01-25 13:25:12 -06:00
Gregory Nutt
eac271413f
Add more 32-bit math operations; Update ChangeLog
2016-01-25 11:19:25 -06:00
Gregory Nutt
047ed9e543
Add some utilities to support 64-bit math operations on platforms that do not support long long types. Not yet used anywhere
2016-01-25 09:56:00 -06:00
Gregory Nutt
f4115ab45c
Correct LPC11xx priority definitions + fix some typos in comments
2016-01-25 07:36:26 -06:00
Lok Tep
1f4ce9e7f9
LPC43xx: Fix some NVIC priority definitions
2016-01-25 07:23:28 -06:00
=?UTF-8?B?6ZmI5p6X6aOe?=
0e3cd129ae
Fix some issues with strcasecmp() conditional compilation and with memccpy() return value
2016-01-24 12:54:32 -06:00
=?UTF-8?Q?Manuel_St=c3=bchn?=
2bacc40350
Fix mismatched prototype error in work_queue()
2016-01-24 12:48:24 -06:00
Gregory Nutt
fb3baae5a4
Trivial: Change ASSERT to DEBUGASSERT
2016-01-24 10:48:35 -06:00
Gregory Nutt
7a7bb6387b
Fix initialization of a semaphore
2016-01-24 09:25:39 -06:00
Gregory Nutt
abe8215a44
Refresh submodules
2016-01-24 09:16:18 -06:00
Gregory Nutt
52109ade2d
Flesh out unfinished lock() method implementations in al SPI drivers
2016-01-24 09:15:57 -06:00
Gregory Nutt
b6e128a4ce
Merge branch 'master' of bitbucket.org:patacongo/nuttx
2016-01-24 09:15:29 -06:00
Gregory Nutt
146031b29e
Flesh out unfinished lock() method implementations in al SPI drivers
2016-01-24 09:15:12 -06:00
Gregory Nutt
d9b6d6aff8
Flesh out unfinished lock() method implementations in al SPI drivers
2016-01-24 09:15:01 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
31cf7e0900
Fix missing semicolon
2016-01-23 21:21:15 -06:00
Gregory Nutt
d87f7e99d2
NOkia LCD needs to initialize SPI before using it
2016-01-23 19:45:30 -06:00
Gregory Nutt
a4a496ad6f
spi.h needs to include errno.h now
2016-01-23 19:13:31 -06:00
Gregory Nutt
7ee6c5bcfc
Minor clean-up for last big commit
2016-01-23 19:18:55 -06:00
Gregory Nutt
3a1d3bba5a
Update ChangeLog
2016-01-23 18:59:51 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
de50bc82a7
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:21:36 -06:00
Gregory Nutt
b7cbbab761
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:10:21 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
00aaceaf2f
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:17:42 -06:00
Gregory Nutt
e8ff3c3d59
Mark bash scripts executable
2016-01-23 15:30:45 -06:00
Gregory Nutt
c36c49657b
Remove carriage returns from files
2016-01-23 15:26:10 -06:00
Gregory Nutt
5e5cdd6ea4
Remove carriage returns from files
2016-01-23 15:23:02 -06:00
Gregory Nutt
3850b9b70c
Remove carriage returns from a file
2016-01-23 15:19:57 -06:00
Gregory Nutt
accd99db25
Add an optional hwfeatures method to the SPI interface
2016-01-23 15:12:45 -06:00
Gregory Nutt
075bc100a1
Update a configuration
2016-01-23 15:10:05 -06:00
Gregory Nutt
4bd6adb725
Add dummy hwfeatures method to all SPI interfaces
2016-01-23 15:09:38 -06:00
Gregory Nutt
9ece46e917
Costmetic update
2016-01-23 11:18:39 -06:00
Gregory Nutt
91b762aa86
Networking: Fix an error that I introduced with my last review changes
2016-01-22 17:35:06 -06:00
Gregory Nutt
3ba9e82c72
Update README
2016-01-22 17:21:49 -06:00
Gregory Nutt
d8cff2ab49
Cosmetic updates
2016-01-22 17:21:07 -06:00
Gregory Nutt
07f931fa57
Update index
2016-01-22 17:07:19 -06:00
Gregory Nutt
b48a2439a1
Minor document clean-up
2016-01-22 16:58:48 -06:00
Gregory Nutt
bf2106a684
Update ChangeLog
2016-01-22 16:26:16 -06:00
Andrew Webster
5c589e5b9c
Net: use nlldbg since an iob can be added from an interrupt
2016-01-22 16:23:31 -06:00
Andrew Webster
49e5cc5a6f
TCP: check for an active connection before cleaning it up
...
If there is no active connection (e.g. it is waiting in accept), then
the connection object, which doesn't yet exist, should not be cleaned
up when the socket is closed.
2016-01-22 16:22:09 -06:00
Andrew Webster
5e3023bef1
TCP: return from write when there is no buffer space
...
During a write, if there is no more buffer space for the user data,
return the amount that was written instead of waiting until there
is free space. If nothing has been written yet, then block as before.
This solves a deadlock that occurs if the user data is too large to
fit in the available buffer: the write thread will block before any
data is added to the write queue, leaving no possibility that more
buffers will free up when they are ACKed (since they have not yet been
sent). The write thread will then block forever and hold all of the
buffers.
2016-01-22 16:19:20 -06:00
Andrew Webster
e221777a7a
TCP: post buffer semaphore before re-acquiring both
...
TCP uses two semaphores for buffers, one for the entire buffer pool,
and one for the number of allowed buffers for readahead. To avoid
double taking a semaphore under heavy load, release the semaphore
after waiting before trying to acquire both again.
2016-01-22 16:15:10 -06:00
Andrew Webster
4875c6bbe3
TCP: check for connection before deleting it
...
It is possible for a socket to have no connection, for example if a TCP
socket is waiting in accept. This checks for this condition in case the
socket is closed from a different thread.
2016-01-22 15:59:15 -06:00
Andrew Webster
f1ef2c6cde
TCP: attempt to flush the write buffers before closing
...
When a socket is closed, it should make sure that any pending write
data is sent before the FIN is sent. It already would wait for all
sent data to be acked, however it would discard any pending write
data that had not been sent at least once.
This change adds a check for pending write data in addition to unacked
data. However, to be able to actually send any new data, the send
callback must be left. The callback should be freed later when the socket
is actually destroyed.
2016-01-22 15:58:02 -06:00
Andrew Webster
cdd187a7f3
TCP: check for sndcb before using it
2016-01-22 15:54:45 -06:00