Gregory Nutt
8761112fa9
Simulator: Add more name conversons. From Max Neklyudov
2015-05-29 08:20:06 -06:00
Gregory Nutt
4a66e5e1bb
Update ChangeLog
2015-05-29 07:23:47 -06:00
Gregory Nutt
5337176cdf
Networking: setsockopt() fails when setting timeouts to values less that an 100 msec. That is because the timeout is limited to stops of 1 decisecond and because the conversion of structure timeval was truncating the microsecond remainder. The utility net_timeval2dsec now accespts and option to determin how it handles the remainder: truncate, discarding the remainder, use the remainder to round to the closed decisecond value, or use any non-zero remainder to the next larger whole decisecond value.
...
For the setsockopt() case, it will always use the final option. This means that a time of zero (i.e., not timeout) can only occur if the value zero was explicated provided to setsockopt().
2015-05-29 07:17:15 -06:00
Gregory Nutt
0595d54470
Correct some comments
2015-05-28 19:44:04 -06:00
Gregory Nutt
7ec0725533
Missed a couple of function headers
2015-05-28 19:28:41 -06:00
Gregory Nutt
3606d05888
Merge branch 'multinic'
2015-05-28 09:07:18 -06:00
Gregory Nutt
d3351eec64
Merge remote-tracking branch 'origin/master' into multinic
2015-05-28 08:56:01 -06:00
Gregory Nutt
3260db7dbe
Reorder some network events bitset to make the event class clearer
2015-05-28 08:55:36 -06:00
Gregory Nutt
b450226296
Update ChangeLog
2015-05-28 08:28:45 -06:00
Gregory Nutt
01d176af76
net_startmonitor.c always returned zero. In the case where a socket has already been closed, it correctly handled the disconnetion event but still returned OK. Returning OK causes the callers of net_startmonitor to assume that the connection was okay, undoing the good things that net_startmonitor did and causing the socket to be marked as connected. This behavior was noted by Pelle Windestam.
2015-05-28 08:23:51 -06:00
Gregory Nutt
0e2b6929b4
Add function headers to prototypes in net/socket/socket.h
2015-05-28 07:26:03 -06:00
Gregory Nutt
c05bc8b078
Merge branch 'multinic'
2015-05-27 17:20:13 -06:00
Gregory Nutt
7f71905725
Update ChangeLog
2015-05-27 17:18:58 -06:00
Gregory Nutt
d6c3ed1c6f
Networking: Fixes an important TCP bug: 16-bit flags was being converted to 8-bits in a few locations, causing loss of status indications
2015-05-27 17:17:42 -06:00
Gregory Nutt
4fd0192a3e
Networking: No that ARP, ICMP, and ICMPv6 reside in the same list we need to make the definitions of ARP_POLL, ICMP_POLL, and ICMPv6_POLL different because there are small differences in the context for each.
2015-05-27 15:04:51 -06:00
Gregory Nutt
390eeaae69
Add function headers to netdev.h header file
2015-05-27 14:34:15 -06:00
Gregory Nutt
0476d8168a
More missing semicolons after DEBUGASSERT
2015-05-27 13:32:39 -06:00
Gregory Nutt
2ecff2a432
Add some missing NETDEV_DOWN support for ICMPv6 auto configuration and router support
2015-05-27 12:49:39 -06:00
Gregory Nutt
7d8e8bc188
Missed a place where NETDEV_DOWN needs to be added to notification flags
2015-05-27 12:22:07 -06:00
Gregory Nutt
f65b86f9e3
Update ChangeLog
2015-05-27 12:14:21 -06:00
Gregory Nutt
cbc36214bc
Fix another missing semicolon after DEBUGASSERT
2015-05-27 11:49:19 -06:00
Gregory Nutt
b94321cfb4
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
2015-05-27 11:39:44 -06:00
Gregory Nutt
4c69ef2ad1
Merge branch 'master' of ssh://git.code.sf.net/p/nuttx/git into multinic
2015-05-27 09:48:17 -06:00
Gregory Nutt
378e4b570f
LPC11: Fix hardcoded BAUD calculation. Is no configurable. From Alan Carvalho de Assis
2015-05-27 09:44:07 -06:00
Gregory Nutt
8ecb84ed89
Improve icmp handling if MULTINIC enabled. From Max Neklyudov
2015-05-27 09:26:00 -06:00
Gregory Nutt
adb617cdcd
Fix some typos
2015-05-27 07:34:35 -06:00
Gregory Nutt
f57de7a0d6
K20: Some preliminary pin definitions
2015-05-26 17:02:47 -06:00
Gregory Nutt
f703b66152
Update ChangeLog
2015-05-26 15:05:51 -06:00
Gregory Nutt
99e4c14ee1
Basic support for the Kinetis K20 architecture. Taken from PX4. This is the work of Jakob Odersky.
2015-05-26 15:03:35 -06:00
Gregory Nutt
fabd892d3a
SAM4L: Fix some issues from loast commit. Now running off DFLL with source clock = XOSCK32K
2015-05-26 13:25:39 -06:00
Gregory Nutt
315eb4b491
SAML21-Xlplained: Add options to enable XOSC32K and to use it as the DFLL source; NSH configure now uses DFLL with OSC16M source
2015-05-26 10:39:38 -06:00
Gregory Nutt
db72167ea5
Update ChangeLog
2015-05-26 08:14:03 -06:00
Gregory Nutt
6e3fdea1a6
Logic that samples the free running counter reads the pending interrupt status regsiter and can cause interrupts to be lost. So, if when the status regsiter is read, the logic must also handle the timer overflow event. Found and fixed by Max Neklyudov
2015-05-26 08:09:10 -06:00
Gregory Nutt
339d60525e
Update ChangeLog
2015-05-26 07:42:24 -06:00
Gregory Nutt
b1fa91a681
MTD: Increase size of the geometry structure to support FLASH parts with 246KiB erase blocks
2015-05-26 06:46:09 -06:00
Gregory Nutt
06df839522
Cosmetic changes to header file
2015-05-26 06:45:03 -06:00
Gregory Nutt
e0eb1d3d1c
Update changeLog
2015-05-25 18:30:40 -06:00
Gregory Nutt
a841329fad
Rename configs/teensy to configs/teensy-2.0 to distinguish teensy-lc and teensy-3.1
2015-05-25 18:29:43 -06:00
Gregory Nutt
3f249bf385
Update README files
2015-05-25 13:54:17 -06:00
Gregory Nutt
409ca03401
Update README
2015-05-25 10:23:11 -06:00
Gregory Nutt
49d999f9d4
SAMD20: Fixes the problem introduced with the SAML21 integration
2015-05-25 10:13:06 -06:00
Gregory Nutt
36d8df161b
Update README
2015-05-24 17:07:34 -06:00
Gregory Nutt
c5fc9af3a5
SAML21: Fix a couple of oversights in the last commit
2015-05-24 15:11:16 -06:00
Gregory Nutt
7e3508361f
SAML21: Fix issue with open loop operation; Add configuration options to select clock source
2015-05-24 10:27:37 -06:00
Gregory Nutt
101dfb7939
All minnsh configurations: Removing CONFIG_ARCH_STACKDUMP we reduce more 424 bytes. Alan Carvalho de Assis
2015-05-24 09:05:41 -06:00
Gregory Nutt
7cdef22288
Update ChangeLog
2015-05-24 07:50:57 -06:00
Gregory Nutt
a9b3fea3ca
LPC11xx: Use offsets instead of absolute address in look-up tables. This saves about 156 bytes of FLASH. From Alan Carvalho de Assis.
2015-05-24 07:49:38 -06:00
Gregory Nutt
4adda9d428
Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis
2015-05-23 17:08:35 -06:00
Gregory Nutt
67380a335f
SAML21: Add missing support for GCLK8
2015-05-23 17:02:13 -06:00
Gregory Nutt
fa585b66a3
SAML21: Several SERCOM fixes. No gets UART output, but at the wrong BAUD
2015-05-23 13:08:28 -06:00