Commit Graph

215 Commits

Author SHA1 Message Date
Gregory Nutt
2a325135f5 configs/*/README.txt: Remove obsoleted references to installing NxWidgets. 2018-09-16 09:39:20 -06:00
Gregory Nutt
c790450ba2 Remove CONFIG_ARCH_CALIBRATION. It is awkward to use and no longer necessary now that we have apps/examples/calib_udelay. 2018-08-19 10:06:36 -06:00
Gregory Nutt
22cd0d47fa This commit attempts remove some long standard confusion in naming and some actual problems that result from the naming confusion. The basic problem is the standard MTU does not include the size of the Ethernet header. For clarity, I changed the naming of most things called MTU to PKTSIZE. For example, CONFIG_NET_ETH_MTU is now CONFIG_NET_ETH_PKTSIZE.
This makes the user interface a little hostile.  People thing of an MTU of 1500 bytes, but the corresponding packet is really 1514 bytes (including the 14 byte Ethernet header).  A more friendly solution would configure the MTU (as before), but then derive the packet buffer size by adding the MAC header length.  Instead, we define the packet buffer size then derive the MTU.

The MTU is not common currency in networking.  On the wire, the only real issue is the MSS which is derived from MTU by subtracting the IP header and TCP header sizes (for the case of TCP).  Now it is derived for the PKTSIZE by subtracting the IP header, the TCP header, and the MAC header sizes.  So we should be all good and without the recurring 14 byte error in MTU's and MSS's.

Squashed commit of the following:

    Trivial update to fix some spacing issues.
    net/: Rename several macros containing _MTU to _PKTSIZE.
    net/: Rename CONFIG_NET_SLIP_MTU to CONFIG_NET_SLIP_PKTSIZE and similarly for CONFIG_NET_TUN_MTU.  These are not the MTU which does not include the size of the link layer header.  These are the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename CONFIG_NET_6LOWPAN_MTU to CONFIG_NET_6LOWPAN_PKTSIZE and similarly for CONFIG_NET_TUN_MTU.  These are not the MTU which does not include the size of the link layer header.  These are the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename CONFIG_NET_ETH_MTU to CONFIG_NET_ETH_PKTSIZE.  This is not the MTU which does not include the size of the link layer header.  This is the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename the file d_mtu in the network driver structure to d_pktsize.  That value saved there is not the MTU.  The packetsize is the memory large enough to hold the maximum packet PLUS the size of the link layer header.  The MTU does not include the link layer header.
2018-07-04 14:10:40 -06:00
Gregory Nutt
e59b26370d Squashed commit of the following:
Fix a few typo/compilation problems.
    net/:  Remove all CONFIG_NET_xxx_TCP_RECVWNDO configuration variables.  They were used only to initialize the d_recwndo of the network device structure which no longer exists.
    net/:  Remove the device TCP receive window field (d_recvwndo) from the device structure.  That value is no longer retained, but is calculated dynamically.
    Remove some dangling references to CONFIG_NET_TCP_RWND_CONTROL.
    net/tcp:  Take read-ahead throttling into account when calculating the TCP receive window size.
    net/tcp: tcp_get_recvwindow() now returns the receive window size directly (vs. indirectly via the device structure).
    net/tcp:  Remove CONFIG_NET_TCP_RWND_CONTROL.  TCP window algorithm is now trigged only by CONFIG_NET_TCP_READAHEAD.
2018-07-01 07:59:33 -06:00
Gregory Nutt
d52c63f632 Change all references from OSX to macOS 2018-06-01 13:25:50 -06:00
Gregory Nutt
e4922ed9f0 Remove instructures to CD to tools/ before running ./configure.sh
Squashed commit of the following:

    configs/*/README.txt: Replace each occurrence of './configure.sh' with 'tools/configure.sh'
    configs/*/README.txt:  Remove 'cd ..' after each './configure.sh'
    configs/*/README.txt:  Remove 'cd -' after each './configure.sh'
    configs/*/README.txt:  Remove 'cd tools' before each './configure.sh'
    configs/README.txt:  Remove instruction to CD tools/ before running configure.sh.
2018-05-09 11:41:46 -06:00
Gregory Nutt
c867d42018 arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC. 2017-12-20 10:52:05 -06:00
Gregory Nutt
cccc86da09 This change adds support for semi-standard IPPROTO_ICMP AF_INET datagram sockets. This replaces the old ad hoc, nonstandard way of implementing ping with a more standard, socket interface.
Squashed commit of the following:

    net/icmp:  Finishes off icmp_recvfrom().
    net/icmp:  Add readahead support for IPPROTO_ICMP sockets.
    net/icmp:  Add poll() support for IPPROTO_ICMP sockets.
    net/icmp:  Add a connection structure for IPPROTO_ICMP sockets.
    net/icmp:  Implements sendto for the IPPROTO_ICMP socket.
    net/icmp:  Move icmp_sendto() and icmp_recvfrom() to separate files.  They are likely to be complex (when they are implemented).
    net/icmp:  Hook IPPROTO_ICMP sockets into network.  Fix some naming collisions.  Still missing basic ICMP send/receive logic.
    configs: apps/system/ping current need poll() enabled.
    configs: All defconfig files that use to enable low-level support must now enabled CONFIG_SYSTEM_PING.
    net/icmp:  Adds basic build framework to support IPPROTO_ICMP sockets.
2017-10-23 08:45:12 -06:00
Gregory Nutt
9b2a8e8c0e Rename CONFIG_AUDIO_DEVICES to CONFIG_DRIVERS_AUDIO to conform better to the evolving configuration naming standard. 2017-09-12 14:10:15 -06:00
Gregory Nutt
9aac1dd44d configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files. 2017-04-26 10:12:13 -06:00
Gregory Nutt
7c34a77b54 Move apps/system/usbmonitor to nuttx/drivers/usbmonitor 2016-06-30 12:24:33 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
9ec104834a Remove CONFIG_USARTn_ISUART 2016-05-25 11:21:48 -06:00
Gregory Nutt
3e0efd7279 Fix all URLs to the NuttX repository 2016-04-06 17:56:40 -06:00
Gregory Nutt
6b449ac409 The I2C_TRANSFER method is no longer optional 2016-01-31 14:15:32 -06:00
Gregory Nutt
4819fc2e8d I2C: Eliminate the I2C_WRITEREAD method 2016-01-26 10:24:36 -06:00
Gregory Nutt
e46cd30c14 Change use of mknulldeps.sh to mkwindeps.sh 2016-01-09 14:13:44 -06:00
Gregory Nutt
1f17ba860a Update some README files 2015-12-03 15:36:23 -06:00
Gregory Nutt
734144ad66 Update READMEs 2015-12-03 09:52:50 -06:00
Gregory Nutt
f04287305d Update README 2015-12-02 18:54:17 -06:00
Gregory Nutt
fe8c622d1d Update READMEs again; NSH init thread priority should default to some value less then 100 2015-09-29 16:09:22 -06:00
Gregory Nutt
d70bd7cc2e Update READMEs; refresh some configurations 2015-09-29 13:48:55 -06:00
Gregory Nutt
42f69ba42f Rename CONFIG_NETUTILS_DNS* to CONFIG_NETDB_DNS* to reflect the movement of the DNS server from apps/netutils to nuttx/libc/netdb 2015-07-10 12:09:58 -06:00
Gregory Nutt
9e99cfa4e0 Correct many bitbucket.org URLs 2015-06-28 09:14:52 -06:00
Gregory Nutt
7214e52fb2 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
46bd0bc307 This cleans up most of the remaining SourceForge references 2015-06-26 18:13:20 -06:00
Gregory Nutt
0dbf579aa8 Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt
607ff7d2fb Update some READMEs. For all implementation of the USBHOST waiter, make sure that the waiter thread stack size is larger if the USB hub feature is enabled 2015-05-03 16:45:44 -06:00
Gregory Nutt
32200cad22 SAMA5 OHCI: Implement asynchronous I/O needed for hub support 2015-05-02 09:38:08 -06:00
Gregory Nutt
82c36c628e Update README files 2015-05-01 12:09:03 -06:00
Gregory Nutt
299eb14689 Get SAMA5D configurations ready for USB hub testing 2015-05-01 10:12:41 -06:00
Gregory Nutt
0b4133c064 Update README files 2015-03-15 10:22:14 -06:00
Gregory Nutt
f8b664b727 SAMA5: Fix a bug in SAMA5 HSMCI. The bitfield mask and shift values were reversed resulting in a trashed value for the number of blocks in the BLOCKR register. This was sufficient to prevent DMA writes from working. 2015-03-15 09:35:48 -06:00
Gregory Nutt
528f959034 Refresh configuration 2015-02-10 06:28:41 -06:00
Gregory Nutt
972b11d462 Update README 2014-11-20 14:18:30 -06:00
Gregory Nutt
3715040386 Change CONFIG_NET_RECEIVE_WONDOW to CONFIG_NET_ETH_TCP_RECVWNDO or CONFIG_NET_SLIP_TCP_RECVWNDO in all defconfig files 2014-11-16 10:49:33 -06:00
Gregory Nutt
66f49ae9b4 Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all configs/ README.txt files 2014-11-16 08:18:56 -06:00
Gregory Nutt
5003b20d0d Document SAMA5D3x-EK/nxwm build problem 2014-09-20 17:20:10 -06:00
Gregory Nutt
8496325dca SAM4E-EK: Add an NxWM configuration 2014-08-20 14:15:34 -06:00
Gregory Nutt
d767c06085 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
04f59f1761 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt
cff5132179 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt
86ebe4725b Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt
3985dc9120 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
9b76a1b758 Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt
1ff92f2f95 SAMA5D3 HSMCI: TX DMA is again disabled 2014-08-05 07:07:39 -06:00
Gregory Nutt
8d13a7cfcd WM8904: Update READMEs and defconfigs to last tested configuration 2014-08-04 15:36:16 -06:00
Gregory Nutt
66c4db92d4 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt
2e77455c6f SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
67792ef05b SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00