Commit Graph

40 Commits

Author SHA1 Message Date
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
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
0f2b8b0ca2 arch/arm/src/kinetis: Add SIM register definitions for the K28F. 2018-05-03 12:31:54 -06:00
Gregory Nutt
43a221f308 configs: Remove some old, redundant, obsolete boilerplate regarding toolchains that has been cloned into most of the board README files. 2017-11-26 11:36:03 -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
5386403476 Rename Kinetis version of CONFIG_GPIO_IRQ to CONFIG_KINETIS_GPIOIRQ 2016-07-22 14:30:37 -06:00
Gregory Nutt
3e0efd7279 Fix all URLs to the NuttX repository 2016-04-06 17:56:40 -06:00
Gregory Nutt
e46cd30c14 Change use of mknulldeps.sh to mkwindeps.sh 2016-01-09 14:13:44 -06:00
Gregory Nutt
c41449b12a Rename CONFIG_ARMV7M_MPU to CONFIG_ARM_MPU so that we can reuse the configuration settings for the ARMV7R MPU 2015-12-14 13:56:56 -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
49415e7cc8 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -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
51950d7850 Undefine IRQPRIO in all configurations it should not be set 2014-04-16 08:29:39 -06:00
Gregory Nutt
ab5b37189b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
d7d856e504 Use common naming for all buildroot toolchains 2014-03-05 15:37:07 -06:00
Gregory Nutt
58eed436e9 Removed almost all ostest configurations 2014-02-28 19:19:11 -06:00
Gregory Nutt
994a49f8b8 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
efded598fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
patacongo
a534b53e28 twr-k60n512 configurations converted to use the kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5785 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 18:18:04 +00:00
patacongo
67bc7c94fb convert Kwikstik K40 configurations to use kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 17:33:41 +00:00
patacongo
26ee7e0449 Correct a memory leak in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5600 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 23:56:54 +00:00
patacongo
2400d95042 Mostly cosmetic changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5344 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 15:50:38 +00:00
patacongo
aa827a048f Add tools/mkdeps.bat and tools/mkdeps.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5342 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 00:38:59 +00:00
patacongo
61566c9d44 Document problem with GCC 4.8.3 and the NXFLAT tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5228 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 19:58:57 +00:00
patacongo
f92d824392 Rename gnu-nxflat.ld to gnu-nxflat-gotoff.ld; Add gnu-nxflat-pcrel.ld
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5225 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 17:01:23 +00:00
patacongo
bd8716842c Update all config README.txt files to show that they use the EABI buildroot toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5218 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 17:29:36 +00:00
patacongo
bf7b20456f Upate some pathes for the new NuttX repository
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5156 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 19:33:42 +00:00
patacongo
cadc799f21 CONFIG_DRAM_END configuration change from Richard Cochran
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5038 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 12:44:15 +00:00
patacongo
b9a175af10 Add a configuration for the lpc3152
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4043 42af7a65-404d-4744-a932-0658087f49c3
2011-10-13 17:49:11 +00:00
patacongo
d907adb54e Fix nxgl_splitline bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3912 42af7a65-404d-4744-a932-0658087f49c3
2011-08-25 03:13:28 +00:00
patacongo
eea906efe3 Very initial SDHC driver for Kinetis parts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3901 42af7a65-404d-4744-a932-0658087f49c3
2011-08-21 16:00:32 +00:00
patacongo
e30dfc462f The basic Kinetis K60 port works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3892 42af7a65-404d-4744-a932-0658087f49c3
2011-08-18 22:37:09 +00:00
patacongo
5b1a98ae92 Completes first cut at Kinetis ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3889 42af7a65-404d-4744-a932-0658087f49c3
2011-08-17 16:24:47 +00:00
patacongo
367bc846cb More Kinetis ENET logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3888 42af7a65-404d-4744-a932-0658087f49c3
2011-08-17 03:39:43 +00:00
patacongo
8ffde397bd Add beginning of an Kinetics Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3886 42af7a65-404d-4744-a932-0658087f49c3
2011-08-16 23:04:11 +00:00
patacongo
62c9c5b0c1 Add board support for the FreeScale Kinetis TWR-K60N512
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3884 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 22:11:24 +00:00
patacongo
ccff772099 More Kinetis updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3883 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 18:07:54 +00:00