Add FAT long filename support to the Olimex LPC1766-STK NSH and FTPC configuration

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4248 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-01-01 18:30:56 +00:00
parent 6a3f04eeab
commit a2c4245f0a
15 changed files with 541 additions and 30 deletions

View File

@ -2300,7 +2300,7 @@
6.14 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
* tools/Makefile.txport, mkexport.sh, and configure.sh: Changes submitted
* tools/Makefile.export, mkexport.sh, and configure.sh: Changes submitted
by Mike Smith to support configuration and 'make export' on MAC OS.
* arch/arm/src/stm32/stm32_gpio.c: Disabled interrupts while configuring
GPIO pins so that we have exclusive access to the GPIO configuration

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: December 26, 2011</p>
<p>Last Updated: January 1, 2012</p>
</td>
</tr>
</table>
@ -2773,8 +2773,36 @@ buildroot-1.10 2011-05-06 &lt;gnutt@nuttx.org&gt;
<ul><pre>
nuttx-6.14 2012-xx-xx Gregory Nutt &lt;gnutt@nuttx.org&gt;
* tools/Makefile.export, mkexport.sh, and configure.sh: Changes submitted
by Mike Smith to support configuration and 'make export' on MAC OS.
* arch/arm/src/stm32/stm32_gpio.c: Disabled interrupts while configuring
GPIO pins so that we have exclusive access to the GPIO configuration
registers.
* arch/mips/src/pic32mx/pic32mx_usbdev.c: Add a USB device-side driver
for the PIC32MX family.
* arch/arm/src/stm32/stm32_gpio.c: Correct an error in some of the GPIO
initialization logic. Fix submitted by Mike Smith.
* configs/olimex-lpc1766stk/src/up_leds.c: Add new interfaces so that is
CONFIG_ARCH_LEDS are not set, the LEDs may be controlled from application
logic.
* configs/olimex-lpc1766stk/src/up_buttons.c: Add support form the buttons
on the Olimex LPC1766-STK board.
* Makefile: Added 'apps_clean' and 'apps_distclean' target to simplify
managing the state of the application directory while in the NuttX directory
* Documentation/NuttXGettingStarted.html: Added a "Getting Started" Guide
for NuttX. At present, this is just a stub and it refers to the NuttX
top-level README.txt file which is the only, real "Getting Started" Guide
that exists at the time being.
* arch/arm/src/lpc17xx/lpc17_gpioint.c: Correct an value used as the lower
end of an IRQ number range test.
* arch/arm/src/lpc17xx/lpc17_gpio.c: Fix a integer flow problem in shift.
This error would prevent pins &gt; 15 from being used as interrupt sources.
apps-6.14 2012-xx-xx Gregory Nutt &lt;gnutt@nuttx.org&gt;
* apps/examples/buttons/main.c: The test needs to up_buttoninit() to
properly configure the button interrupt GPIOs.
pascal-3.1 2012-xx-xx Gregory Nutt &lt;gnutt@nuttx.org&gt;
buildroot-1.11 2012-xx-xx &lt;gnutt@nuttx.org&gt;

View File

@ -812,12 +812,25 @@ Where <subdir> is one of the following:
where xx.xx.xx.xx is the IP address of the FTP server and pp is an
optional port number (default is the standard FTP port number 21).
You may also want to define the following in your configuration file.
Otherwise, you will have not feeback about what is going on:
NOTES:
1. Support for FAT long file names is built-in but can easily be
removed if you are concerned about Microsoft patent issues (see the
section "FAT Long File Names" in the top-level COPYING file).
CONFIG_FS_FAT=y
CONFIG_FAT_LCNAMES=y <-- Long file name support
CONFIG_FAT_LFN=y
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
2. You may also want to define the following in your configuration file.
Otherwise, you will have not feedback about what is going on:
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_FTPC=y
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_FTPC=y
hidkbd:
This configuration directory, performs a simple test of the USB host
@ -831,8 +844,7 @@ Where <subdir> is one of the following:
nsh:
Configures the NuttShell (nsh) located at apps/examples/nsh. The
Configuration enables both the serial and telnet NSH interfaces.
Support for the board's SPI-based MicroSD card is included
(but not passing tests as of this writing).
Support for the board's SPI-based MicroSD card is included.
NOTE: If you start the program with no SD card inserted, there will be
a substantial delay. This is because there is no hardware support to sense
@ -840,9 +852,37 @@ Where <subdir> is one of the following:
go through many retries and timeouts before it finally decides that there
is not SD card in the slot.
Configuration Notes:
1. Uses the buildroot toolchaing (CONFIG_LPC17_BUILDROOT=y). But that is
easily reconfigured (see above)
2. Support for FAT long file names is built-in but can easily be
removed if you are concerned about Microsoft patent issues (see the
section "FAT Long File Names" in the top-level COPYING file).
CONFIG_FS_FAT=y
CONFIG_FAT_LCNAMES=y <-- Long file name support
CONFIG_FAT_LFN=y
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
3. Includes logic to support a button test (apps/examples/buttons). To
enable the button test, make the following changes in the .config
after configuring:
-CONFIG_ARCH_BUTTONS=n
+CONFIG_ARCH_BUTTONS=y
-CONFIG_GPIO_IRQ=n
-CONFIG_ARCH_IRQBUTTONS=n
+CONFIG_GPIO_IRQ=y
+CONFIG_ARCH_IRQBUTTONS=y
nx:
And example using the NuttX graphics system (NX). This example
uses the Nokia 6100 LCD driver.
An example using the NuttX graphics system (NX). This example uses
the Nokia 6100 LCD driver. NOTE: The Nokia 6100 driver does not
work on this board as of this writing.
ostest:
This configuration directory, performs a simple OS test using

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/ftpc/defconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -483,9 +483,49 @@ CONFIG_PREALLOC_TIMERS=8
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=y
CONFIG_FAT_LCNAMES=y
CONFIG_FAT_LFN=y
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,7 +1,7 @@
############################################################################
# configs/olimex-lpc1766stk/hidkbd/defconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -466,9 +466,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/nettest/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -466,9 +466,49 @@ CONFIG_PREALLOC_TIMERS=8
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -51,4 +51,7 @@ CONFIGURED_APPS += netutils/tftpc
CONFIGURED_APPS += netutils/webclient
endif
ifeq ($(CONFIG_ARCH_BUTTONS),y)
CONFIGURED_APPS += examples/buttons
endif

View File

@ -1,7 +1,7 @@
############################################################################
# configs/olimex-lpc1766stk/nsh/defconfig
#
# Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -484,9 +484,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=y
CONFIG_FAT_LCNAMES=y
CONFIG_FAT_LFN=y
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/nx/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -478,9 +478,49 @@ CONFIG_FB_HWCURSORIMAGE=n
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/ostest/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -459,9 +459,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,7 +1,7 @@
############################################################################
# configs/olimex-lpc1766stk/slip-httpd/defconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -477,9 +477,49 @@ CONFIG_PREALLOC_TIMERS=8
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=y
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/thttpd/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -475,9 +475,49 @@ CONFIG_PREALLOC_TIMERS=8
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=y
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/usbserial/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -460,9 +460,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/usbstorage/defconfig
#
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -460,9 +460,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#

View File

@ -1,8 +1,8 @@
############################################################################
# configs/olimex-lpc1766stk/wlan/defconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -460,9 +460,49 @@ CONFIG_PREALLOC_TIMERS=4
#
# CONFIG_FS_FAT - Enable FAT filesystem support
# CONFIG_FAT_SECTORSIZE - Max supported sector size
# CONFIG_FAT_LCNAMES - Enable use of the NT-style upper/lower case 8.3
# file name support.
# CONFIG_FAT_LFN - Enable FAT long file names. NOTE: Microsoft claims
# patents on FAT long file name technology. Please read the
# disclaimer in the top-level COPYING file and only enable this
# feature if you understand these issues.
# CONFIG_FAT_MAXFNAME - If CONFIG_FAT_LFN is defined, then the
# default, maximum long file name is 255 bytes. This can eat up
# a lot of memory (especially stack space). If you are willing
# to live with some non-standard, short long file names, then
# define this value. A good choice would be the same value as
# selected for CONFIG_NAME_MAX which will limit the visibility
# of longer file names anyway.
# CONFIG_FS_NXFFS: Enable NuttX FLASH file system (NXFF) support.
# CONFIG_NXFFS_ERASEDSTATE: The erased state of FLASH.
# This must have one of the values of 0xff or 0x00.
# Default: 0xff.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# CONFIG_NXFFS_MAXNAMLEN: The maximum size of an NXFFS file name.
# Default: 255.
# CONFIG_NXFFS_PACKTHRESHOLD: When packing flash file data,
# don't both with file chunks smaller than this number of data bytes.
# Default: 32.
# CONFIG_NXFFS_TAILTHRESHOLD: clean-up can either mean
# packing files together toward the end of the file or, if file are
# deleted at the end of the file, clean up can simply mean erasing
# the end of FLASH memory so that it can be re-used again. However,
# doing this can also harm the life of the FLASH part because it can
# mean that the tail end of the FLASH is re-used too often. This
# threshold determines if/when it is worth erased the tail end of FLASH
# and making it available for re-use (and possible over-wear).
# Default: 8192.
# CONFIG_FS_ROMFS - Enable ROMFS filesystem support
# CONFIG_FS_RAMMAP - For file systems that do not support XIP, this
# option will enable a limited form of memory mapping that is
# implemented by copying whole files into memory.
#
CONFIG_FS_FAT=n
CONFIG_FAT_LCNAMES=n
CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=n
#