From f53d3ecc71d0475d8b2c322310a76e6f5ca735ea Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 19:01:14 +0000 Subject: [PATCH 01/19] Add perror() git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/ChangeLog.txt | 4 +- apps/nshlib/Kconfig | 3 + apps/nshlib/README.txt | 4 +- apps/nshlib/nsh.h | 7 +- nuttx/ChangeLog | 10 +- nuttx/Documentation/NuttShell.html | 7 +- nuttx/Documentation/NuttxPortingGuide.html | 27 +++- nuttx/configs/README.txt | 31 ++++- nuttx/include/stdio.h | 1 + nuttx/lib/Kconfig | 44 ++++++- nuttx/lib/stdio/lib_perror.c | 130 +++++++++++++++++++ nuttx/lib/string/lib_strerror.c | 144 ++++++++++++++++++++- nuttx/sched/sem_holder.c | 5 +- 13 files changed, 396 insertions(+), 21 deletions(-) create mode 100644 nuttx/lib/stdio/lib_perror.c diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index 361fb97dc8..e5c0b33a58 100755 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -289,5 +289,5 @@ threds to no more than 3 of each priority. Bad things happen when the existing logic tried to created several hundred test treads! - - + * apps/nshlib/nsh.h: Both CONFIG_LIBC_STRERROR and CONFIG_NSH_STRERROR + must be defined to use strerror() with NSH. diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig index 7e419bdde4..ff692f43ba 100644 --- a/apps/nshlib/Kconfig +++ b/apps/nshlib/Kconfig @@ -148,9 +148,12 @@ config NSH_FILEIOSIZE config NSH_STRERROR bool "Use strerror()" default n + depends on LIBC_STRERROR ---help--- strerror(errno) makes more readable output but strerror() is very large and will not be used unless this setting is 'y' + This setting depends upon the strerror() having been enabled + with LIBC_STRERROR. config NSH_LINELEN int "Max command line length" diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt index d8edd89695..0f6aee759b 100644 --- a/apps/nshlib/README.txt +++ b/apps/nshlib/README.txt @@ -915,7 +915,9 @@ NSH-Specific Configuration Settings * CONFIG_NSH_STRERROR strerror(errno) makes more readable output but strerror() is - very large and will not be used unless this setting is 'y' + very large and will not be used unless this setting is 'y'. + This setting depends upon the strerror() having been enabled + with CONFIG_LIBC_STRERROR. * CONFIG_NSH_LINELEN The maximum length of one command line and of one output line. diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h index 439c2ffd10..dac91ba05d 100644 --- a/apps/nshlib/nsh.h +++ b/apps/nshlib/nsh.h @@ -238,9 +238,14 @@ #define NSH_MAX_ARGUMENTS 6 /* strerror() produces much nicer output but is, however, quite large and - * will only be used if CONFIG_NSH_STRERROR is defined. + * will only be used if CONFIG_NSH_STRERROR is defined. Note that the strerror + * interface must also have been enabled with CONFIG_LIBC_STRERROR. */ +#ifndef CONFIG_LIBC_STRERROR +# undef CONFIG_NSH_STRERROR +#endif + #ifdef CONFIG_NSH_STRERROR # define NSH_ERRNO strerror(errno) # define NSH_ERRNO_OF(err) strerror(err) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index eff224f79a..c3c81108ed 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3202,4 +3202,12 @@ for control transfers but does not resolve all of the issues. * configs/stm3220g-eval/*/defconfig: Calibrated delay loop. It had never been calibrated was was way off. - + * sched/sem_holder.c: Add logic to handler some priority inheritance + cases when sem_post() is called from an interrupt handler. The + logic is clearly wrong, but it is not known if this is the + cause of any known bugs. + * lib/stdio/lib_perror(): Add perror(). Contributed by Kate. + * lib/string/lib_strerror(): Add option CONFIG_LIBC_STRERROR that + is now required to enabled strerror(). Add an option + CONFIG_LIBC_STRERROR_SHORT that can be used to output shortened + strings by strerror(). diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index ca7e826279..2cb4bc9a42 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: August 7, 2012

+

Last Updated: August 28, 2012

@@ -2284,8 +2284,9 @@ nsh> CONFIG_NSH_STRERROR - strerror(errno) makes more readable output but strerror() is - very large and will not be used unless this setting is y + strerror(errno) makes more readable output but strerror() is + very large and will not be used unless this setting is y. + This setting depends upon the strerror() having been enabled with CONFIG_LIBC_STRERROR. diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 78c1327e20..a0f23e1e86 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: July 8, 2012

+

Last Updated: August 28, 2012

@@ -4350,6 +4350,31 @@ build CONFIG_LIBC_FLOATINGPOINT: By default, floating point support in printf, sscanf, etc. is disabled. +
  • + CONFIG_LIBC_STRERROR: + strerror() is useful because it decodes errno values into a human readable strings. + But it can also require a lot of memory to store the strings. + If this option is selected, strerror() will still exist in the build but it will not decode error values. + This option should be used by other logic to decide if it should use strerror() or not. + For example, the NSH application will not use strerror() if this option is not selected; + perror() will not use strerror() is this option is not selected (see also CONFIG_NSH_STRERROR). +
  • +
  • + CONFIG_LIBC_STRERROR_SHORT: + If this option is selected, then strerror() will use a shortened string when it decodes the error. + Specifically, strerror() is simply use the string that is the common name for the error. + For example, the errno value of 2 will produce the string "No such file or directory" is CONFIG_LIBC_STRERROR_SHORT is not defined but the string "ENOENT" is CONFIG_LIBC_STRERROR_SHORT is defined. +
  • +
  • + CONFIG_LIBC_PERROR_STDOUT: + POSIX requires that perror() provide its output on stderr. + This option may be defined, however, to provide perror() output that is serialized with other stdout messages. +
  • +
  • + CONFIG_LIBC_PERROR_DEVNAME: + Another non-standard option is to provide perror() output to a logging device or file. + CONFIG_LIBC_PERROR_DEVNAME may be defined to be any write-able, character device (or file). +
  • Allow for architecture optimized implementations

    diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 7da0aa062a..1a5e3c9d7b 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -331,7 +331,7 @@ defconfig -- This is a configuration file similar to the Linux threads (minus 1) than can be waiting for another thread to release a count on a semaphore. This value may be set to zero if no more than one thread is expected to wait for - a semaphore. If defined, then this should be a relatively + a semaphore. If defined, then this should be a relatively small number because this the number of maximumum of waiters on one semaphore (like 4 or 8). CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors @@ -546,10 +546,31 @@ defconfig -- This is a configuration file similar to the Linux Misc libc settings - CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a - little smaller if we do not support fieldwidthes - CONFIG_LIBC_FLOATINGPOINT - By default, floating point - support in printf, sscanf, etc. is disabled. + CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a little smaller + if we do not support fieldwidthes + CONFIG_LIBC_FLOATINGPOINT - By default, floating point support in printf, + sscanf, etc. is disabled. + CONFIG_LIBC_STRERROR - strerror() is useful because it decodes 'errno' + values into a human readable strings. But it can also require + a lot of memory. If this option is selected, strerror() will still + exist in the build but it will not decode error values. This option + should be used by other logic to decide if it should use strerror() or + not. For example, the NSH application will not use strerror() if this + option is not selected; perror() will not use strerror() is this option + is not selected (see also CONFIG_NSH_STRERROR). + CONFIG_LIBC_STRERROR_SHORT - If this option is selected, then strerror() + will use a shortened string when it decodes the error. Specifically, + strerror() is simply use the string that is the common name for the + error. For example, the 'errno' value of 2 will produce the string + "No such file or directory" is CONFIG_LIBC_STRERROR_SHORT is not + defined but the string "ENOENT" is CONFIG_LIBC_STRERROR_SHORT is + defined. + CONFIG_LIBC_PERROR_STDOUT - POSIX requires that perror() provide its output + on stderr. This option may be defined, however, to provide perror() output + that is serialized with other stdout messages. + CONFIG_LIBC_PERROR_DEVNAME - Another non-standard option is to provide + perror() output to a logging device or file. CONFIG_LIBC_PERROR_DEVNAME + may be defined to be any write-able, character device (or file). Allow for architecture optimized implementations diff --git a/nuttx/include/stdio.h b/nuttx/include/stdio.h index 82bf0eaf6d..e9218046c5 100644 --- a/nuttx/include/stdio.h +++ b/nuttx/include/stdio.h @@ -128,6 +128,7 @@ EXTERN int sprintf(FAR char *buf, const char *format, ...); EXTERN int asprintf (FAR char **ptr, const char *fmt, ...); EXTERN int snprintf(FAR char *buf, size_t size, const char *format, ...); EXTERN int sscanf(const char *buf, const char *fmt, ...); +EXTERN void perror(FAR const char *s); EXTERN int ungetc(int c, FAR FILE *stream); EXTERN int vprintf(FAR const char *format, va_list ap); diff --git a/nuttx/lib/Kconfig b/nuttx/lib/Kconfig index 9e60201c2f..d94a274f9b 100644 --- a/nuttx/lib/Kconfig +++ b/nuttx/lib/Kconfig @@ -23,7 +23,7 @@ config NUNGET_CHARS ---help--- Number of characters that can be buffered by ungetc() (Only if NFILE_STREAMS > 0) -config CONFIG_LIB_HOMEDIR +config LIB_HOMEDIR string "Home directory" default "/" depends on !DISABLE_ENVIRON @@ -51,6 +51,46 @@ config LIBC_FLOATINGPOINT By default, floating point support in printf, sscanf, etc. is disabled. +config LIBC_STRERROR + bool "Enable strerror" + default n + ---help--- + strerror() is useful because it decodes 'errno' values into a human readable + strings. But it can also require a lot of memory. If this option is selected, + strerror() will still exist in the build but it will not decode error values. + This option should be used by other logic to decide if it should use strerror() + or not. For example, the NSH application will not use strerror() if this + option is not selected; perror() will not use strerror() is this option is not + selected (see also NSH_STRERROR). + +config LIBC_STRERROR_SHORT + bool "Use short error descriptions in strerror()" + default n + depends on LIBC_STRERROR + ---help--- + If this option is selected, then strerror() will use a shortened string when + it decodes the error. Specifically, strerror() is simply use the string that + is the common name for the error. For example, the 'errno' value of 2 will + produce the string "No such file or directory" is LIBC_STRERROR_SHORT + is not defined but the string "ENOENT" is LIBC_STRERROR_SHORT is defined. + +config LIBC_PERROR_STDOUT + bool "perror() to stdout" + default n + ---help--- + POSIX requires that perror() provide its output on stderr. This option may + be defined, however, to provide perror() output that is serialized with + other stdout messages. + +config LIBC_PERROR_DEVNAME + string "perror() to device" + default "/dev/console" + depends on !LIBC_PERROR_STDOUT + ---help--- + Another non-standard option is to provide perror() output to a logging device + or file. LIBC_PERROR_DEVNAME may be defined to be any write-able, + character device (or file). + config ARCH_LOWPUTC bool "Low-level console output" default "y" @@ -68,7 +108,7 @@ config ENABLE_ARCH_OPTIMIZED_FUN The architecture may provide custom versions of certain standard header files: - config ARCH_MATH_H, CONFIG_ARCH_STDBOOL_H, CONFIG_ARCH_STDINT_H + config ARCH_MATH_H, ARCH_STDBOOL_H, ARCH_STDINT_H if ENABLE_ARCH_OPTIMIZED_FUN config ARCH_MEMCPY diff --git a/nuttx/lib/stdio/lib_perror.c b/nuttx/lib/stdio/lib_perror.c new file mode 100644 index 0000000000..e065e14b85 --- /dev/null +++ b/nuttx/lib/stdio/lib_perror.c @@ -0,0 +1,130 @@ +/**************************************************************************** + * lib/stdio/lib_perror.c + * + * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include + +#include +#include + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* POSIX requires that perror provide its output on stderr. This option may + * be defined, however, to provide perror output that is serialized with + * other stdout messages. + */ + +#ifdef CONFIG_LIBC_PERROR_STDOUT +# define PERROR_STREAM stdout +# undef CONFIG_LIBC_PERROR_DEVNAME +#endif + +/* Another non-standard option is to provide perror output to a logging + * device or file. CONFIG_LIBC_PERROR_DEVNAME may be defined to be any write- + * able, character device (or file). + */ + +#ifndef CONFIG_LIBC_PERROR_DEVNAME +# define PERROR_STREAM stderr +#else +# define PERROR_STREAM perror_stream; +#endif + +/**************************************************************************** + * Private Type Declarations + ****************************************************************************/ + +/**************************************************************************** + * Private Function Prototypes + ****************************************************************************/ + +/**************************************************************************** + * Public Data + ****************************************************************************/ + +/**************************************************************************** + * Private Data + ****************************************************************************/ + +#ifndef CONFIG_LIBC_PERROR_DEVNAME +static FILE *perror_stream; +#endif + +/**************************************************************************** + * Private Functions + ****************************************************************************/ + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: perror + ****************************************************************************/ + +void perror(FAR const char *s) +{ + /* If we are using a custom output device (something other than + * /dev/console), then make sure that the device has been opened. + */ + +#ifdef CONFIG_LIBC_PERROR_DEVNAME + if (!perror_stream) + { + /* Not yet.. open it now */ + + perror_stream = fopen(CONFIG_LIBC_PERROR_DEVNAME, "w"); + if (!perror_stream) + { + /* Oops... we couldn't open the device */ + + return; + } + } +#endif + + /* If strerror() is not enabled, then just print the error number */ + +#ifdef CONFIG_LIBC_STRERROR + (void)fprintf(PERROR_STREAM, "%s: %s\n", s, strerror(errno)); +#else + (void)fprintf(PERROR_STREAM, "%s: Error %d\n", s, errno); +#endif +} diff --git a/nuttx/lib/string/lib_strerror.c b/nuttx/lib/string/lib_strerror.c index 580974fa6c..249f695c1b 100644 --- a/nuttx/lib/string/lib_strerror.c +++ b/nuttx/lib/string/lib_strerror.c @@ -1,8 +1,8 @@ /************************************************************************ * lib/string/lib_strerror.c * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -61,6 +61,8 @@ struct errno_strmap_s * Private Data ************************************************************************/ +#ifdef CONFIG_LIBC_STRERROR + /* This table maps all error numbers to descriptive strings. * The only assumption that the code makes with regard to this * this table is that it is ordered by error number. @@ -70,6 +72,8 @@ struct errno_strmap_s * strings. */ +#ifndef CONFIG_LIBC_STRERROR_SHORT + static const struct errno_strmap_s g_errnomap[] = { { EPERM, EPERM_STR }, @@ -196,8 +200,140 @@ static const struct errno_strmap_s g_errnomap[] = { EMEDIUMTYPE, EMEDIUMTYPE_STR } }; +#else /* CONFIG_LIBC_STRERROR_SHORT */ + +static const struct errno_strmap_s g_errnomap[] = +{ + { EPERM, "EPERM" }, + { ENOENT, "ENOENT" }, + { ESRCH, "ESRCH" }, + { EINTR, "EINTR" }, + { EIO, "EIO" }, + { ENXIO, "ENXIO" }, + { E2BIG, "E2BIG" }, + { ENOEXEC, "ENOEXEC" }, + { EBADF, "EBADF" }, + { ECHILD, "ECHILD" }, + { EAGAIN, "EAGAIN" }, + { ENOMEM, "ENOMEM" }, + { EACCES, "EACCES" }, + { EFAULT, "EFAULT" }, + { ENOTBLK, "ENOTBLK" }, + { EBUSY, "EBUSY" }, + { EEXIST, "EEXIST" }, + { EXDEV, "EXDEV" }, + { ENODEV, "ENODEV" }, + { ENOTDIR, "ENOTDIR" }, + { EISDIR, "EISDIR" }, + { EINVAL, "EINVAL" }, + { ENFILE, "ENFILE" }, + { EMFILE, "EMFILE" }, + { ENOTTY, "ENOTTY" }, + { ETXTBSY, "ETXTBSY" }, + { EFBIG, "EFBIG" }, + { ENOSPC, "ENOSPC" }, + { ESPIPE, "ESPIPE" }, + { EROFS, "EROFS" }, + { EMLINK, "EMLINK" }, + { EPIPE, "EPIPE" }, + { EDOM, "EDOM" }, + { ERANGE, "ERANGE" }, + { EDEADLK, "EDEADLK" }, + { ENAMETOOLONG, "ENAMETOOLONG" }, + { ENOLCK, "ENOLCK" }, + { ENOSYS, "ENOSYS" }, + { ENOTEMPTY, "ENOTEMPTY" }, + { ELOOP, "ELOOP" }, + { ENOMSG, "ENOMSG" }, + { EIDRM, "EIDRM" }, + { ECHRNG, "ECHRNG" }, + { EL2NSYNC, "EL2NSYNC" }, + { EL3HLT, "EL3HLT" }, + { EL3RST, "EL3RST" }, + { EL3RST, "EL3RST" }, + { EUNATCH, "EUNATCH" }, + { ENOCSI, "ENOCSI" }, + { EL2HLT, "EL2HLT" }, + { EBADE, "EBADE" }, + { EBADR, "EBADR" }, + { EXFULL, "EXFULL" }, + { ENOANO, "ENOANO" }, + { EBADRQC, "EBADRQC" }, + { EBADSLT, "EBADSLT" }, + { EBFONT, "EBFONT" }, + { ENOSTR, "ENOSTR" }, + { ENODATA, "ENODATA" }, + { ETIME, "ETIME" }, + { ENOSR, "ENOSR" }, + { ENONET, "ENONET" }, + { ENOPKG, "ENOPKG" }, + { EREMOTE, "EREMOTE" }, + { ENOLINK, "ENOLINK" }, + { EADV, "EADV" }, + { ESRMNT, "ESRMNT" }, + { ECOMM, "ECOMM" }, + { EPROTO, "EPROTO" }, + { EMULTIHOP, "EMULTIHOP" }, + { EDOTDOT, "EDOTDOT" }, + { EBADMSG, "EBADMSG" }, + { EOVERFLOW, "EOVERFLOW" }, + { ENOTUNIQ, "ENOTUNIQ" }, + { EBADFD, "EBADFD" }, + { EREMCHG, "EREMCHG" }, + { ELIBACC, "ELIBACC" }, + { ELIBBAD, "ELIBBAD" }, + { ELIBSCN, "ELIBSCN" }, + { ELIBMAX, "ELIBMAX" }, + { ELIBEXEC, "ELIBEXEC" }, + { EILSEQ, "EILSEQ" }, + { ERESTART, "ERESTART" }, + { ESTRPIPE, "ESTRPIPE" }, + { EUSERS, "EUSERS" }, + { ENOTSOCK, "ENOTSOCK" }, + { EDESTADDRREQ, "EDESTADDRREQ" }, + { EMSGSIZE, "EMSGSIZE" }, + { EPROTOTYPE, "EPROTOTYPE" }, + { ENOPROTOOPT, "ENOPROTOOPT" }, + { EPROTONOSUPPORT, "EPROTONOSUPPORT" }, + { ESOCKTNOSUPPORT, "ESOCKTNOSUPPORT" }, + { EOPNOTSUPP, "EOPNOTSUPP" }, + { EPFNOSUPPORT, "EPFNOSUPPORT" }, + { EAFNOSUPPORT, "EAFNOSUPPORT" }, + { EADDRINUSE, "EADDRINUSE" }, + { EADDRNOTAVAIL, "EADDRNOTAVAIL" }, + { ENETDOWN, "ENETDOWN" }, + { ENETUNREACH, "ENETUNREACH" }, + { ENETRESET, "ENETRESET" }, + { ECONNABORTED, "ECONNABORTED" }, + { ECONNRESET, "ECONNRESET" }, + { ENOBUFS, "ENOBUFS" }, + { EISCONN, "EISCONN" }, + { ENOTCONN, "ENOTCONN" }, + { ESHUTDOWN, "ESHUTDOWN" }, + { ETOOMANYREFS, "ETOOMANYREFS" }, + { ETIMEDOUT, "ETIMEDOUT" }, + { ECONNREFUSED, "ECONNREFUSED" }, + { EHOSTDOWN, "EHOSTDOWN" }, + { EHOSTUNREACH, "EHOSTUNREACH" }, + { EALREADY, "EALREADY" }, + { EINPROGRESS, "EINPROGRESS" }, + { ESTALE, "ESTALE" }, + { EUCLEAN, "EUCLEAN" }, + { ENOTNAM, "ENOTNAM" }, + { ENAVAIL, "ENAVAIL" }, + { EISNAM, "EISNAM" }, + { EREMOTEIO, "EREMOTEIO" }, + { EDQUOT, "EDQUOT" }, + { ENOMEDIUM, "ENOMEDIUM" }, + { EMEDIUMTYPE, "EMEDIUMTYPE" } +}; + +#endif /* CONFIG_LIBC_STRERROR_SHORT */ + #define NERRNO_STRS (sizeof(g_errnomap) / sizeof(struct errno_strmap_s)) +#endif /* CONFIG_LIBC_STRERROR */ + /************************************************************************ * Private Functions ************************************************************************/ @@ -210,8 +346,9 @@ static const struct errno_strmap_s g_errnomap[] = * Name: strerror ************************************************************************/ -const char *strerror(int errnum) +FAR const char *strerror(int errnum) { +#ifdef CONFIG_LIBC_STRERROR int ndxlow = 0; int ndxhi = NERRNO_STRS - 1; int ndxmid; @@ -233,5 +370,6 @@ const char *strerror(int errnum) } } while (ndxlow <= ndxhi); +#endif return "Unknown error"; } diff --git a/nuttx/sched/sem_holder.c b/nuttx/sched/sem_holder.c index abe7e9e280..c850a3b5aa 100644 --- a/nuttx/sched/sem_holder.c +++ b/nuttx/sched/sem_holder.c @@ -948,10 +948,11 @@ void sem_restorebaseprio(FAR _TCB *stcb, FAR sem_t *sem) (sem->semcount <= 0 && stcb != NULL)); /* Handler semaphore counts posed from an interrupt handler differently - * from interrupts posted from threads. The priority difference is that + * from interrupts posted from threads. The primary difference is that * if the semaphore is posted from a thread, then the poster thread is * a player in the priority inheritance scheme. The interrupt handler - * externally injects the new count without participated itself. + * externally injects the new count without otherwise participating + * itself. */ if (up_interrupt_context()) From 8e68b6f0af62f5c5ce393f5b098e2489165c40e2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 19:43:42 +0000 Subject: [PATCH 02/19] Ooops... forgot to add lib_perror.c to the Make.defs file git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5062 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/Documentation/NuttxPortingGuide.html | 2 +- nuttx/configs/README.txt | 4 ++-- nuttx/lib/stdio/Make.defs | 3 ++- nuttx/lib/stdio/lib_perror.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index a0f23e1e86..bfde229edc 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4363,7 +4363,7 @@ build CONFIG_LIBC_STRERROR_SHORT: If this option is selected, then strerror() will use a shortened string when it decodes the error. Specifically, strerror() is simply use the string that is the common name for the error. - For example, the errno value of 2 will produce the string "No such file or directory" is CONFIG_LIBC_STRERROR_SHORT is not defined but the string "ENOENT" is CONFIG_LIBC_STRERROR_SHORT is defined. + For example, the errno value of 2 will produce the string "No such file or directory" if CONFIG_LIBC_STRERROR_SHORT is not defined but the string "ENOENT" if CONFIG_LIBC_STRERROR_SHORT is defined.
  • CONFIG_LIBC_PERROR_STDOUT: diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 1a5e3c9d7b..065759ce67 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -562,8 +562,8 @@ defconfig -- This is a configuration file similar to the Linux will use a shortened string when it decodes the error. Specifically, strerror() is simply use the string that is the common name for the error. For example, the 'errno' value of 2 will produce the string - "No such file or directory" is CONFIG_LIBC_STRERROR_SHORT is not - defined but the string "ENOENT" is CONFIG_LIBC_STRERROR_SHORT is + "No such file or directory" if CONFIG_LIBC_STRERROR_SHORT is not + defined but the string "ENOENT" if CONFIG_LIBC_STRERROR_SHORT is defined. CONFIG_LIBC_PERROR_STDOUT - POSIX requires that perror() provide its output on stderr. This option may be defined, however, to provide perror() output diff --git a/nuttx/lib/stdio/Make.defs b/nuttx/lib/stdio/Make.defs index 1165d53547..f88a5edd9e 100644 --- a/nuttx/lib/stdio/Make.defs +++ b/nuttx/lib/stdio/Make.defs @@ -50,7 +50,8 @@ CSRCS += lib_fopen.c lib_fclose.c lib_fread.c lib_libfread.c lib_fseek.c \ lib_gets.c lib_fwrite.c lib_libfwrite.c lib_fflush.c \ lib_libflushall.c lib_libfflush.c lib_rdflush.c lib_wrflush.c \ lib_fputc.c lib_puts.c lib_fputs.c lib_ungetc.c lib_vprintf.c \ - lib_fprintf.c lib_vfprintf.c lib_stdinstream.c lib_stdoutstream.c + lib_fprintf.c lib_vfprintf.c lib_stdinstream.c lib_stdoutstream.c \ + lib_perror.c endif endif diff --git a/nuttx/lib/stdio/lib_perror.c b/nuttx/lib/stdio/lib_perror.c index e065e14b85..3be2dd9db9 100644 --- a/nuttx/lib/stdio/lib_perror.c +++ b/nuttx/lib/stdio/lib_perror.c @@ -83,7 +83,7 @@ * Private Data ****************************************************************************/ -#ifndef CONFIG_LIBC_PERROR_DEVNAME +#ifdef CONFIG_LIBC_PERROR_DEVNAME static FILE *perror_stream; #endif From 4794a491c1875e7c938d29655be72fd8cce5df40 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 20:47:09 +0000 Subject: [PATCH 03/19] This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5063 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 387 +++++++++++++-------- 1 file changed, 246 insertions(+), 141 deletions(-) diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c index ce0e9036e5..d888c52f14 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c @@ -43,15 +43,12 @@ #include #include #include +#include #include #include #include #include -#if !defined(CONFIG_DEBUG_VERBOSE) && !defined(CONFIG_DEBUG_USB) -# include -#endif - #include #include #include @@ -315,6 +312,10 @@ static int stm32_ctrl_senddata(FAR struct stm32_usbhost_s *priv, FAR uint8_t *buffer, unsigned int buflen); static int stm32_ctrl_recvdata(FAR struct stm32_usbhost_s *priv, FAR uint8_t *buffer, unsigned int buflen); +static int stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx, + FAR uint8_t *buffer, size_t buflen); +static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, + FAR uint8_t *buffer, size_t buflen); /* Interrupt handling **********************************************************/ /* Lower level interrupt handlers */ @@ -751,7 +752,7 @@ static void stm32_chan_configure(FAR struct stm32_usbhost_s *priv, int chidx) stm32_putreg(STM32_OTGFS_HCINTMSK(chidx), regval); /* Enable the top level host channel interrupt. */ - + stm32_modifyreg(STM32_OTGFS_HAINTMSK, 0, OTGFS_HAINT(chidx)); /* Make sure host channel interrupts are enabled. */ @@ -1157,7 +1158,7 @@ static void stm32_transfer_start(FAR struct stm32_usbhost_s *priv, int chidx) unsigned int wrpackets = avail / chan->maxpacket; wrsize = wrpackets * chan->maxpacket; } - + /* Write packet into the Tx FIFO. */ stm32_gint_wrpacket(priv, chan->buffer, chidx, wrsize); @@ -1354,6 +1355,222 @@ static int stm32_ctrl_recvdata(FAR struct stm32_usbhost_s *priv, return stm32_chan_wait(priv, chan); } +/******************************************************************************* + * Name: stm32_in_transfer + * + * Description: + * Transfer 'buflen' bytes into 'buffer' from an IN channel. + * + *******************************************************************************/ + +static int stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx, + FAR uint8_t *buffer, size_t buflen) +{ + FAR struct stm32_chan_s *chan; + uint16_t start; + uint16_t elapsed; + int ret = OK; + + /* Loop until the transfer completes (i.e., buflen is decremented to zero) + * or a fatal error occurs (any error other than a simple NAK) + */ + + chan = &priv->chan[chidx]; + chan->buffer = buffer; + chan->buflen = buflen; + + start = stm32_getframe(); + while (chan->buflen > 0) + { + /* Set up for the wait BEFORE starting the transfer */ + + ret = stm32_chan_waitsetup(priv, chan); + if (ret != OK) + { + udbg("ERROR: Device disconnected\n"); + return ret; + } + + /* Set up for the transfer based on the direction and the endpoint type */ + + switch (chan->eptype) + { + default: + case OTGFS_EPTYPE_CTRL: /* Control */ + { + /* This kind of transfer on control endpoints other than EP0 are not + * currently supported + */ + + return -ENOSYS; + } + + case OTGFS_EPTYPE_ISOC: /* Isochronous */ + { + /* Set up the IN data PID */ + + chan->pid = OTGFS_PID_DATA0; + } + break; + + case OTGFS_EPTYPE_BULK: /* Bulk */ + case OTGFS_EPTYPE_INTR: /* Interrupt */ + { + /* Setup the IN data PID */ + + chan->pid = chan->indata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; + } + break; + } + + /* Start the transfer */ + + stm32_transfer_start(priv, chidx); + + /* Wait for the transfer to complete and get the result */ + + ret = stm32_chan_wait(priv, chan); + + /* EAGAIN indicates that the device NAKed the transfer and we need + * do try again. Anything else (success or other errors) will + * cause use to return + */ + + if (ret != OK) + { + udbg("Transfer failed: %d\n", ret); + + /* Check for a special case: If (1) the transfer was NAKed and (2) + * no Tx FIFO empty or Rx FIFO not-empty event occurred, then we + * should be able to just flush the Rx and Tx FIFOs and try again. + * We can detect this latter case becasue the then the transfer + * buffer pointer and buffer size will be unaltered. + */ + + elapsed = stm32_getframe() - start; + if (ret != -EAGAIN || /* Not a NAK condition OR */ + elapsed >= STM32_DATANAK_DELAY || /* Timeout has elapsed OR */ + chan->buflen != buflen) /* Data has been partially transferred */ + { + /* Break out and return the error */ + + break; + } + } + } + + return ret; +} + +/******************************************************************************* + * Name: stm32_out_transfer + * + * Description: + * Transfer the 'buflen' bytes in 'buffer' through an OUT channel. + * + *******************************************************************************/ + +static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, + FAR uint8_t *buffer, size_t buflen) +{ + FAR struct stm32_chan_s *chan; + int ret; + + /* Loop until the transfer completes (i.e., buflen is decremented to zero) + * or a fatal error occurs (any error other than a simple NAK) + */ + + chan = &priv->chan[chidx]; + chan->buffer = buffer; + chan->buflen = buflen; + + while (chan->buflen > 0) + { + /* Set up for the wait BEFORE starting the transfer */ + + ret = stm32_chan_waitsetup(priv, chan); + if (ret != OK) + { + udbg("ERROR: Device disconnected\n"); + return ret; + } + + /* Set up for the transfer based on the direction and the endpoint type */ + + switch (chan->eptype) + { + default: + case OTGFS_EPTYPE_CTRL: /* Control */ + { + /* This kind of transfer on control endpoints other than EP0 are not + * currently supported + */ + + return -ENOSYS; + } + + case OTGFS_EPTYPE_ISOC: /* Isochronous */ + { + /* Set up the OUT data PID */ + + chan->pid = OTGFS_PID_DATA0; + } + break; + + case OTGFS_EPTYPE_BULK: /* Bulk */ + { + /* Setup the OUT data PID */ + + chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; + } + break; + + case OTGFS_EPTYPE_INTR: /* Interrupt */ + { + /* Setup the OUT data PID */ + + chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; + + /* Toggle the OUT data PID for the next transfer */ + + chan->outdata1 ^= true; + } + } + + /* There is a bug in the code at present. With debug OFF, this driver + * overruns the typical FLASH device and there are many problems with + * NAKS sticking a big delay here allows the driver to work but with + * very poor performance when debug is off. + */ + +#if !defined(CONFIG_DEBUG_VERBOSE) && !defined(CONFIG_DEBUG_USB) +#warning "REVISIT this delay" + usleep(100*1000); +#endif + + /* Start the transfer */ + + stm32_transfer_start(priv, chidx); + + /* Wait for the transfer to complete and get the result */ + + ret = stm32_chan_wait(priv, chan); + + /* EAGAIN indicates that the device NAKed the transfer and we need + * do try again. Anything else (success or other errors) will + * cause use to return + */ + + if (ret != OK) + { + udbg("Transfer failed: %d\n", ret); + return ret; + } + } + + return OK; +} + /******************************************************************************* * Name: stm32_gint_wrpacket * @@ -1923,7 +2140,7 @@ static void stm32_gint_disconnected(FAR struct stm32_usbhost_s *priv) if (!priv->connected) { /* Yes.. then we no longer connected */ - + ullvdbg("Disconnected\n"); /* Are we bound to a class driver? */ @@ -2148,7 +2365,7 @@ static inline void stm32_gint_nptxfeisr(FAR struct stm32_usbhost_s *priv) unsigned int wrpackets = avail / chan->maxpacket; wrsize = wrpackets * chan->maxpacket; } - + /* Otherwise, this will be the last packet to be sent in this transaction. * We now need to disable further NPTXFE interrupts. */ @@ -2238,7 +2455,7 @@ static inline void stm32_gint_ptxfeisr(FAR struct stm32_usbhost_s *priv) unsigned int wrpackets = avail / chan->maxpacket; wrsize = wrpackets * chan->maxpacket; } - + /* Otherwise, this will be the last packet to be sent in this transaction. * We now need to disable further PTXFE interrupts. */ @@ -2382,7 +2599,7 @@ static inline void stm32_gint_hprtisr(FAR struct stm32_usbhost_s *priv) /* Set the Host Frame Interval Register for the 6KHz speed */ stm32_putreg(STM32_OTGFS_HFIR, 6000); - + /* Are we switching from FS to LS? */ if ((hcfg & OTGFS_HCFG_FSLSPCS_MASK) != OTGFS_HCFG_FSLSPCS_LS6MHz) @@ -2459,7 +2676,7 @@ static inline void stm32_gint_iisooxfrisr(FAR struct stm32_usbhost_s *priv) /* CHENA : Set to enable the channel * CHDIS : Set to stop transmitting/receiving data on a channel */ - + regval = stm32_getreg(STM32_OTGFS_HCCHAR(0)); regval |= (OTGFS_HCCHAR_CHDIS | OTGFS_HCCHAR_CHENA); stm32_putreg(STM32_OTGFS_HCCHAR(0), regval); @@ -2718,7 +2935,7 @@ static void stm32_txfe_enable(FAR struct stm32_usbhost_s *priv, int chidx) /* Disable all interrupts so that we have exclusive access to the GINTMSK * (it would be sufficent just to disable the GINT interrupt). */ - + flags = irqsave(); /* Should we enable the periodic or non-peridic Tx FIFO empty interrupts */ @@ -2842,7 +3059,7 @@ static int stm32_enumerate(FAR struct usbhost_driver_s *drvr) } DEBUGASSERT(priv->smstate == SMSTATE_ATTACHED); - + /* Allocate and initialize the control OUT channel */ chidx = stm32_chan_alloc(priv); @@ -2956,12 +3173,12 @@ static int stm32_ep0configure(FAR struct usbhost_driver_s *drvr, uint8_t funcadd priv->chan[priv->ep0out].maxpacket = maxpacketsize; stm32_chan_configure(priv, priv->ep0out); - + /* Configure the EP0 IN channel */ priv->chan[priv->ep0in].maxpacket = maxpacketsize; stm32_chan_configure(priv, priv->ep0in); - + stm32_givesem(&priv->exclsem); return OK; } @@ -3427,7 +3644,7 @@ static int stm32_ctrlout(FAR struct usbhost_driver_s *drvr, } /* Handle the status IN phase */ - + if (ret == OK) { ret = stm32_ctrl_recvdata(priv, NULL, 0); @@ -3492,145 +3709,33 @@ static int stm32_ctrlout(FAR struct usbhost_driver_s *drvr, * - Never called from an interrupt handler. * *******************************************************************************/ - + static int stm32_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep, FAR uint8_t *buffer, size_t buflen) { - struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr; - FAR struct stm32_chan_s *chan; + FAR struct stm32_usbhost_s *priv = (FAR struct stm32_usbhost_s *)drvr; unsigned int chidx = (unsigned int)ep; - int ret = OK; + int ret; uvdbg("chidx: %d buflen: %d\n", (unsigned int)ep, buflen); DEBUGASSERT(priv && buffer && chidx < STM32_MAX_TX_FIFOS && buflen > 0); - chan = &priv->chan[chidx]; /* We must have exclusive access to the USB host hardware and state structures */ stm32_takesem(&priv->exclsem); - /* Loop until the transfer completes (i.e., buflen is decremented to zero) - * or a fatal error occurs (any error other than a simple NAK) - */ + /* Handle IN and OUT transfer slightly differently */ - chan->buffer = buffer; - chan->buflen = buflen; - - while (chan->buflen > 0) + if (priv->chan[chidx].in) { - /* Set up for the wait BEFORE starting the transfer */ - - ret = stm32_chan_waitsetup(priv, chan); - if (ret != OK) - { - udbg("ERROR: Device disconnected\n"); - goto errout; - } - - /* Set up for the transfer based on the direction and the endpoint type */ - - switch (chan->eptype) - { - default: - case OTGFS_EPTYPE_CTRL: /* Control */ - { - /* This kind of transfer on control endpoints other than EP0 are not - * currently supported - */ - - ret = -ENOSYS; - goto errout; - } - - case OTGFS_EPTYPE_ISOC: /* Isochronous */ - { - /* Set up the IN/OUT data PID */ - - chan->pid = OTGFS_PID_DATA0; - } - break; - - case OTGFS_EPTYPE_BULK: /* Bulk */ - { - /* Handle the bulk transfer based on the direction of the transfer. */ - - if (chan->in) - { - /* Setup the IN data PID */ - - chan->pid = chan->indata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; - } - else - { - /* Setup the OUT data PID */ - - chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; - } - } - break; - - case OTGFS_EPTYPE_INTR: /* Interrupt */ - { - /* Handle the interrupt transfer based on the direction of the - * transfer. - */ - - if (chan->in) - { - /* Setup the IN data PID */ - - chan->pid = chan->indata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; - - /* The indata1 data toggle will be updated in the Rx FIFO - * interrupt handling logic as each packet is received. - */ - } - else - { - /* Setup the OUT data PID */ - - chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0; - - /* Toggle the OUT data PID for the next transfer */ - - chan->outdata1 ^= true; - } - } - } - - /* There is a bug in the code at present. With debug OFF, this driver - * overruns the typical FLASH device and there are many problems with - * NAKS sticking a big delay here allows the driver to work but with - * very poor performance when debug is off. - */ - -#if !defined(CONFIG_DEBUG_VERBOSE) && !defined(CONFIG_DEBUG_USB) -#warning "REVISIT this delay" - usleep(100*1000); -#endif - - /* Start the transfer */ - - stm32_transfer_start(priv, chidx); - - /* Wait for the transfer to complete and get the result */ - - ret = stm32_chan_wait(priv, chan); - - /* EAGAIN indicates that the device NAKed the transfer and we need - * do try again. Anything else (success or other errors) will - * cause use to return - */ - - if (ret != OK) - { - udbg("Transfer failed: %d\n", ret); - break; - } + ret = stm32_in_transfer(priv, chidx, buffer, buflen); + } + else + { + ret = stm32_out_transfer(priv, chidx, buffer, buflen); } -errout: stm32_givesem(&priv->exclsem); return ret; } @@ -3663,7 +3768,7 @@ static void stm32_disconnect(FAR struct usbhost_driver_s *drvr) struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr; priv->class = NULL; } - + /******************************************************************************* * Initialization *******************************************************************************/ @@ -3979,7 +4084,7 @@ static inline int stm32_hw_initialize(FAR struct stm32_usbhost_s *priv) /* Set the PHYSEL bit in the GUSBCFG register to select the OTG FS serial * transceiver: "This bit is always 1 with write-only access" */ - + regval = stm32_getreg(STM32_OTGFS_GUSBCFG);; regval |= OTGFS_GUSBCFG_PHYSEL; stm32_putreg(STM32_OTGFS_GUSBCFG, regval); @@ -4128,7 +4233,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller) stm32_configgpio(GPIO_OTGFS_SOF); #endif - /* Initialize the USB OTG FS core */ + /* Initialize the USB OTG FS core */ stm32_hw_initialize(priv); From 9527119f73d00229cbe74611f9ebc5c8d8c33f0f Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 22:28:49 +0000 Subject: [PATCH 04/19] Slightly improved delay logic for the USB host git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5064 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 48 ++++++++++++++-------- nuttx/drivers/usbhost/usbhost_enumerate.c | 15 +++---- nuttx/drivers/usbhost/usbhost_storage.c | 12 ++++-- 3 files changed, 46 insertions(+), 29 deletions(-) diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c index d888c52f14..6849049254 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c @@ -1474,7 +1474,7 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, FAR uint8_t *buffer, size_t buflen) { FAR struct stm32_chan_s *chan; - int ret; + int ret = OK; /* Loop until the transfer completes (i.e., buflen is decremented to zero) * or a fatal error occurs (any error other than a simple NAK) @@ -1484,6 +1484,17 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, chan->buffer = buffer; chan->buflen = buflen; + /* There is a bug in the code at present. With debug OFF, this driver + * overruns the typical FLASH device and there are many problems with + * NAKS. Sticking a big delay here allows the device (FLASH drive) to + * catch up but sacrifices driver performance. + */ + +#if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_USB) +#warning "REVISIT this delay" + usleep(50*1000); +#endif + while (chan->buflen > 0) { /* Set up for the wait BEFORE starting the transfer */ @@ -1537,17 +1548,6 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, } } - /* There is a bug in the code at present. With debug OFF, this driver - * overruns the typical FLASH device and there are many problems with - * NAKS sticking a big delay here allows the driver to work but with - * very poor performance when debug is off. - */ - -#if !defined(CONFIG_DEBUG_VERBOSE) && !defined(CONFIG_DEBUG_USB) -#warning "REVISIT this delay" - usleep(100*1000); -#endif - /* Start the transfer */ stm32_transfer_start(priv, chidx); @@ -1557,18 +1557,30 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, ret = stm32_chan_wait(priv, chan); /* EAGAIN indicates that the device NAKed the transfer and we need - * do try again. Anything else (success or other errors) will - * cause use to return + * do try again. NAK retries are not yet supported for OUT transfers + * so any unsuccessful response will cause us to abort the OUT + * transfer. */ if (ret != OK) { udbg("Transfer failed: %d\n", ret); - return ret; + break; } } - return OK; + /* There is a bug in the code at present. With debug OFF, this driver + * overruns the typical FLASH device and there are many problems with + * NAKS. Sticking a big delay here allows the device (FLASH drive) to + * catch up but sacrifices driver performance. + */ + +#if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_USB) +#warning "REVISIT this delay" + usleep(50*1000); +#endif + + return ret; } /******************************************************************************* @@ -3086,9 +3098,9 @@ static int stm32_enumerate(FAR struct usbhost_driver_s *drvr) priv->chan[chidx].indata1 = false; priv->chan[chidx].outdata1 = false; - /* USB 2.0 spec says at least 50ms delay before port reset */ + /* USB 2.0 spec says at least 50ms delay before port reset. We wait 100ms. */ - up_mdelay(100); + usleep(100*1000); /* Reset the host port */ diff --git a/nuttx/drivers/usbhost/usbhost_enumerate.c b/nuttx/drivers/usbhost/usbhost_enumerate.c index 36bfa20d19..26b93bf360 100644 --- a/nuttx/drivers/usbhost/usbhost_enumerate.c +++ b/nuttx/drivers/usbhost/usbhost_enumerate.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -317,7 +318,7 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr, DEBUGASSERT(drvr && class); - /* Allocate TD buffers for use in this function. We will need two: + /* Allocate descriptor buffers for use in this function. We will need two: * One for the request and one for the data buffer. */ @@ -400,7 +401,7 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr, udbg("ERROR: SETADDRESS DRVR_CTRLOUT returned %d\n", ret); goto errout; } - up_mdelay(2); + usleep(2*1000); /* Modify control pipe with the provided USB device address */ @@ -461,9 +462,9 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr, goto errout; } - /* Free the TD that we were using for the request buffer. It is not needed - * further here but it may be needed by the class driver during its connection - * operations. + /* Free the descriptor buffer that we were using for the request buffer. + * It is not needed further here but it may be needed by the class driver + * during its connection operations. */ DRVR_FREE(drvr, (uint8_t*)ctrlreq); @@ -488,9 +489,9 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr, } } - /* Some devices may require this delay before initialization */ + /* Some devices may require some delay before initialization */ - up_mdelay(100); + usleep(100*1000); /* Parse the configuration descriptor and bind to the class instance for the * device. This needs to be the last thing done because the class driver diff --git a/nuttx/drivers/usbhost/usbhost_storage.c b/nuttx/drivers/usbhost/usbhost_storage.c index 853287371d..2e3136b339 100644 --- a/nuttx/drivers/usbhost/usbhost_storage.c +++ b/nuttx/drivers/usbhost/usbhost_storage.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -724,6 +725,7 @@ static inline int usbhost_testunitready(FAR struct usbhost_state_s *priv) usbhost_dumpcsw((FAR struct usbmsc_csw_s *)priv->tbuffer); } } + return result; } @@ -1195,13 +1197,15 @@ static inline int usbhost_initvolume(FAR struct usbhost_state_s *priv) uvdbg("Get max LUN\n"); ret = usbhost_maxlunreq(priv); - /* Wait for the unit to be ready */ - - for (retries = 0; retries < USBHOST_MAX_RETRIES && ret == OK; retries++) + for (retries = 0; retries < USBHOST_MAX_RETRIES /* && ret == OK */; retries++) { uvdbg("Test unit ready, retries=%d\n", retries); - /* Send TESTUNITREADY to see the unit is ready */ + /* Wait just a bit */ + + usleep(50*1000); + + /* Send TESTUNITREADY to see if the unit is ready */ ret = usbhost_testunitready(priv); if (ret == OK) From 6389a944b5a07aa6315e1e7c0a6a955c0648e6f4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 23:36:58 +0000 Subject: [PATCH 05/19] I think the STM32 UST OTG FS host driver is finally finished git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5065 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 2 + nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 84 +++++++++++++--------- 2 files changed, 54 insertions(+), 32 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index c3c81108ed..62b05931d1 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3211,3 +3211,5 @@ is now required to enabled strerror(). Add an option CONFIG_LIBC_STRERROR_SHORT that can be used to output shortened strings by strerror(). + * arch/arm/src/stm32/stm32_usbotghost.c: Finally... the USB OTG FS + appears to handle NAKing correctly is complete. diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c index 6849049254..ab5ef23ec7 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c @@ -809,7 +809,7 @@ static void stm32_chan_halt(FAR struct stm32_usbhost_s *priv, int chidx, uint32_t eptype; unsigned int avail; - /* Save the recon for the halt. We need this in the channel halt interrrupt + /* Save the reason for the halt. We need this in the channel halt interrrupt * handling logic to know what to do next. */ @@ -1474,6 +1474,9 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, FAR uint8_t *buffer, size_t buflen) { FAR struct stm32_chan_s *chan; + uint16_t start; + uint16_t elapsed; + size_t xfrlen; int ret = OK; /* Loop until the transfer completes (i.e., buflen is decremented to zero) @@ -1481,22 +1484,19 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, */ chan = &priv->chan[chidx]; - chan->buffer = buffer; - chan->buflen = buflen; + start = stm32_getframe(); - /* There is a bug in the code at present. With debug OFF, this driver - * overruns the typical FLASH device and there are many problems with - * NAKS. Sticking a big delay here allows the device (FLASH drive) to - * catch up but sacrifices driver performance. - */ - -#if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_USB) -#warning "REVISIT this delay" - usleep(50*1000); -#endif - - while (chan->buflen > 0) + while (buflen > 0) { + /* Transfer one packet at a time. The hardware is capable of queueing + * multiple OUT packets, but I just haven't figured out how to handle + * the case where a single OUT packet in the group is NAKed. + */ + + xfrlen = MIN(chan->maxpacket, buflen); + chan->buffer = buffer; + chan->buflen = xfrlen; + /* Set up for the wait BEFORE starting the transfer */ ret = stm32_chan_waitsetup(priv, chan); @@ -1556,30 +1556,50 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, ret = stm32_chan_wait(priv, chan); - /* EAGAIN indicates that the device NAKed the transfer and we need - * do try again. NAK retries are not yet supported for OUT transfers - * so any unsuccessful response will cause us to abort the OUT - * transfer. - */ + /* Handle transfer failures */ if (ret != OK) { udbg("Transfer failed: %d\n", ret); - break; + + /* Check for a special case: If (1) the transfer was NAKed and (2) + * no Tx FIFO empty or Rx FIFO not-empty event occurred, then we + * should be able to just flush the Rx and Tx FIFOs and try again. + * We can detect this latter case becasue the then the transfer + * buffer pointer and buffer size will be unaltered. + */ + + elapsed = stm32_getframe() - start; + if (ret != -EAGAIN || /* Not a NAK condition OR */ + elapsed >= STM32_DATANAK_DELAY || /* Timeout has elapsed OR */ + chan->buflen != xfrlen) /* Data has been partially transferred */ + { + /* Break out and return the error */ + + break; + } + + /* Is this flush really necessary? What does the hardware do with the + * data in the FIFO when the NAK occurs? Does it discard it? + */ + + stm32_flush_txfifos(OTGFS_GRSTCTL_TXFNUM_HALL); + + /* Get the device a little time to catch up. Then retry the transfer + * using the same buffer pointer length. + */ + + usleep(20*1000); + } + else + { + /* Successfully transferred. Update the buffer pointer and length */ + + buffer += xfrlen; + buflen -= xfrlen; } } - /* There is a bug in the code at present. With debug OFF, this driver - * overruns the typical FLASH device and there are many problems with - * NAKS. Sticking a big delay here allows the device (FLASH drive) to - * catch up but sacrifices driver performance. - */ - -#if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_USB) -#warning "REVISIT this delay" - usleep(50*1000); -#endif - return ret; } From 24a61a9c47a210e655fb82286ecd9fb045719982 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 29 Aug 2012 17:41:43 +0000 Subject: [PATCH 06/19] Add USB host support to the STM32F4Discovery board git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5066 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 2 + nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 2 +- nuttx/configs/stm3220g-eval/README.txt | 13 +- nuttx/configs/stm3220g-eval/src/up_usb.c | 4 +- nuttx/configs/stm32f4discovery/README.txt | 13 + .../configs/stm32f4discovery/include/board.h | 8 +- nuttx/configs/stm32f4discovery/nsh/defconfig | 37 ++- .../stm32f4discovery/nxlines/defconfig | 37 ++- .../configs/stm32f4discovery/ostest/defconfig | 37 ++- nuttx/configs/stm32f4discovery/pm/defconfig | 37 ++- nuttx/configs/stm32f4discovery/src/Makefile | 8 +- .../src/stm32f4discovery-internal.h | 62 ++-- nuttx/configs/stm32f4discovery/src/up_boot.c | 11 +- .../src/{up_usbdev.c => up_nsh.c} | 127 +++++--- nuttx/configs/stm32f4discovery/src/up_usb.c | 292 ++++++++++++++++++ 15 files changed, 603 insertions(+), 87 deletions(-) rename nuttx/configs/stm32f4discovery/src/{up_usbdev.c => up_nsh.c} (59%) create mode 100644 nuttx/configs/stm32f4discovery/src/up_usb.c diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 62b05931d1..46b821b79b 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3213,3 +3213,5 @@ strings by strerror(). * arch/arm/src/stm32/stm32_usbotghost.c: Finally... the USB OTG FS appears to handle NAKing correctly is complete. + * configs/stm32f4discovery/*: Add support for USB OTG FS host on the + STM32F4Discovery board. diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c index ab5ef23ec7..02b12ec873 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c @@ -1586,7 +1586,7 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx, stm32_flush_txfifos(OTGFS_GRSTCTL_TXFNUM_HALL); /* Get the device a little time to catch up. Then retry the transfer - * using the same buffer pointer length. + * using the same buffer pointer and length. */ usleep(20*1000); diff --git a/nuttx/configs/stm3220g-eval/README.txt b/nuttx/configs/stm3220g-eval/README.txt index 64a86c4dd7..bbd42cbc94 100644 --- a/nuttx/configs/stm3220g-eval/README.txt +++ b/nuttx/configs/stm3220g-eval/README.txt @@ -861,11 +861,16 @@ Where is one of the following: 8. USB OTG FS Device or Host Support CONFIG_USBDEV - Enable USB device support, OR - CONFIG_USBHOST - Enable USB host support + CONFIG_USBHOST - Enable USB host support (but not both) + CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block - CONFIG_STM32_SYSCFG - Needed - CONFIG_SCHED_WORKQUEUE - Worker thread support is required - + CONFIG_STM32_SYSCFG - Needed for all USB OTF FS support + + CONFIG_SCHED_WORKQUEUE - Worker thread support is required for the mass + storage class (both host and device). + CONFIG_NSH_ARCHINIT - Architecture specific USB initialization + is needed + 9. This configuration requires that jumper JP22 be set to enable RS-232 operation. nsh2: diff --git a/nuttx/configs/stm3220g-eval/src/up_usb.c b/nuttx/configs/stm3220g-eval/src/up_usb.c index be303a8a5b..64fdda6f86 100644 --- a/nuttx/configs/stm3220g-eval/src/up_usb.c +++ b/nuttx/configs/stm3220g-eval/src/up_usb.c @@ -88,13 +88,13 @@ static struct usbhost_driver_s *g_drvr; * Private Functions ************************************************************************************/ -/**************************************************************************** +/************************************************************************************ * Name: usbhost_waiter * * Description: * Wait for USB devices to be connected. * - ****************************************************************************/ + ************************************************************************************/ #ifdef CONFIG_USBHOST static int usbhost_waiter(int argc, char *argv[]) diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt index 84f562d567..c2a269de30 100755 --- a/nuttx/configs/stm32f4discovery/README.txt +++ b/nuttx/configs/stm32f4discovery/README.txt @@ -1066,6 +1066,19 @@ Where is one of the following: you can still use certain kinds of debug output (see include/debug.h, all of the interfaces based on lib_lowprintf will work in this configuration). + 8. USB OTG FS Device or Host Support + + CONFIG_USBDEV - Enable USB device support, OR + CONFIG_USBHOST - Enable USB host support (but not both) + + CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block + CONFIG_STM32_SYSCFG - Needed for all USB OTF FS support + + CONFIG_SCHED_WORKQUEUE - Worker thread support is required for the mass + storage class (both host and device). + CONFIG_NSH_ARCHINIT - Architecture specific USB initialization + is needed + nxlines: ------ An example using the NuttX graphics system (NX). This example focuses on diff --git a/nuttx/configs/stm32f4discovery/include/board.h b/nuttx/configs/stm32f4discovery/include/board.h index 3b9d970761..9b866d56fa 100644 --- a/nuttx/configs/stm32f4discovery/include/board.h +++ b/nuttx/configs/stm32f4discovery/include/board.h @@ -34,17 +34,19 @@ * ************************************************************************************/ -#ifndef __ARCH_BOARD_BOARD_H -#define __ARCH_BOARD_BOARD_H +#ifndef __CONFIG_STM32F4DISCOVERY_INCLUDE_BOARD_H +#define __CONFIG_STM32F4DISCOVERY_INCLUDE_BOARD_H /************************************************************************************ * Included Files ************************************************************************************/ #include + #ifndef __ASSEMBLY__ # include #endif + #include "stm32_rcc.h" #include "stm32_sdio.h" #include "stm32_internal.h" @@ -318,4 +320,4 @@ EXTERN xcpt_t up_irqbutton(int id, xcpt_t irqhandler); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_BOARD_BOARD_H */ +#endif /* __CONFIG_STM32F4DISCOVERY_INCLUDE_BOARD_H */ diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 427e59c16d..dede37af15 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -831,7 +831,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # # CONFIG_USBDEV # Enables USB device support @@ -858,6 +858,41 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +# Pre-requisites +# +# CONFIG_USBHOST - Enable general USB host support +# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block +# CONFIG_STM32_SYSCFG - Needed +# CONFIG_SCHED_WORKQUEUE - Worker thread support is required +# +# Options: +# +# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. +# Default 128 (512 bytes) +# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO +# in 32-bit words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit +# words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 +# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever +# want to do that? +# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access +# debug. Depends on CONFIG_DEBUG. +# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB +# packets. Depends on CONFIG_DEBUG. +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration (Prolifics PL2303 emulation) # diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index 1c3b13b63e..5bcfeec822 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -831,7 +831,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # # CONFIG_USBDEV # Enables USB device support @@ -858,6 +858,41 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +# Pre-requisites +# +# CONFIG_USBHOST - Enable general USB host support +# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block +# CONFIG_STM32_SYSCFG - Needed +# CONFIG_SCHED_WORKQUEUE - Worker thread support is required +# +# Options: +# +# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. +# Default 128 (512 bytes) +# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO +# in 32-bit words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit +# words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 +# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever +# want to do that? +# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access +# debug. Depends on CONFIG_DEBUG. +# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB +# packets. Depends on CONFIG_DEBUG. +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration (Prolifics PL2303 emulation) # diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index 8a03a9a343..438694af2f 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -783,7 +783,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # # CONFIG_USBDEV # Enables USB device support @@ -810,6 +810,41 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +# Pre-requisites +# +# CONFIG_USBHOST - Enable general USB host support +# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block +# CONFIG_STM32_SYSCFG - Needed +# CONFIG_SCHED_WORKQUEUE - Worker thread support is required +# +# Options: +# +# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. +# Default 128 (512 bytes) +# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO +# in 32-bit words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit +# words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 +# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever +# want to do that? +# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access +# debug. Depends on CONFIG_DEBUG. +# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB +# packets. Depends on CONFIG_DEBUG. +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 4b3edf3fc7..58b7df7cba 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -850,7 +850,7 @@ CONFIG_RTC_FREQUENCY=1 CONFIG_RTC_ALARM=y # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # # CONFIG_USBDEV # Enables USB device support @@ -877,6 +877,41 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +# Pre-requisites +# +# CONFIG_USBHOST - Enable general USB host support +# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block +# CONFIG_STM32_SYSCFG - Needed +# CONFIG_SCHED_WORKQUEUE - Worker thread support is required +# +# Options: +# +# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. +# Default 128 (512 bytes) +# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO +# in 32-bit words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit +# words. Default 96 (384 bytes) +# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 +# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever +# want to do that? +# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access +# debug. Depends on CONFIG_DEBUG. +# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB +# packets. Depends on CONFIG_DEBUG. +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration (Prolifics PL2303 emulation) # diff --git a/nuttx/configs/stm32f4discovery/src/Makefile b/nuttx/configs/stm32f4discovery/src/Makefile index c1be57268e..97753132ac 100644 --- a/nuttx/configs/stm32f4discovery/src/Makefile +++ b/nuttx/configs/stm32f4discovery/src/Makefile @@ -56,8 +56,8 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y) CSRCS += up_buttons.c endif -ifeq ($(CONFIG_USBDEV),y) -CSRCS += up_usbdev.c +ifeq ($(CONFIG_STM32_OTGFS),y) +CSRCS += up_usb.c endif ifeq ($(CONFIG_PWM),y) @@ -72,6 +72,10 @@ ifeq ($(CONFIG_WATCHDOG),y) CSRCS += up_watchdog.c endif +ifeq ($(CONFIG_NSH_ARCHINIT),y) +CSRCS += up_nsh.c +endif + ifeq ($(CONFIG_PM_CUSTOMINIT),y) CSRCS += up_pm.c endif diff --git a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h index cf7ea173a1..2824cd2bdd 100644 --- a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h +++ b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h @@ -105,7 +105,13 @@ #define GPIO_OTGFS_VBUS (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_OPENDRAIN|GPIO_PORTA|GPIO_PIN9) #define GPIO_OTGFS_PWRON (GPIO_OUTPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN0) -#define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTD|GPIO_PIN5) + +#ifdef CONFIG_USBHOST +# define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_EXTI|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTD|GPIO_PIN5) + +#else +# define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTD|GPIO_PIN5) +#endif /**************************************************************************************************** * Public Types @@ -131,92 +137,112 @@ void weak_function stm32_spiinitialize(void); -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_usbinitialize * * Description: - * Called to setup USB-related GPIO pins for the STM3210E-EVAL board. + * Called from stm32_usbinitialize very early in inialization to setup USB-related + * GPIO pins for the STM32F4Discovery board. * - ************************************************************************************/ + ****************************************************************************************************/ +#ifdef CONFIG_STM32_OTGFS void weak_function stm32_usbinitialize(void); +#endif -/************************************************************************************ +/**************************************************************************************************** + * Name: stm32_usbhost_initialize + * + * Description: + * Called at application startup time to initialize the USB host functionality. This function will + * start a thread that will monitor for device connection/disconnection events. + * + ****************************************************************************************************/ + +#if defined(CONFIG_STM32_OTGFS) && defined(CONFIG_USBHOST) +int stm32_usbhost_initialize(void); +#endif + +/**************************************************************************************************** * Name: stm32_extmemgpios * * Description: * Initialize GPIOs for external memory usage * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemgpios(const uint32_t *gpios, int ngpios); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_extmemaddr * * Description: * Initialize adress line GPIOs for external memory access * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemaddr(int naddrs); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_extmemdata * * Description: * Initialize data line GPIOs for external memory access * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemdata(int ndata); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_enablefsmc * * Description: * enable clocking to the FSMC module * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_enablefsmc(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_disablefsmc * * Description: * enable clocking to the FSMC module * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_disablefsmc(void); #endif -/**************************************************************************** +/**************************************************************************************************** * Name: up_ledpminitialize - ****************************************************************************/ + * + * Description: + * Enable logic to use the LEDs on the STM32F4Discovery to support power management testing + * + ****************************************************************************************************/ #ifdef CONFIG_PM void up_ledpminitialize(void); #endif -/**************************************************************************** +/**************************************************************************************************** * Name: up_pmbuttons * * Description: * Configure the user button of the STM32f4discovery board as EXTI, * so it is able to wakeup the MCU from the PM_STANDBY mode * - ****************************************************************************/ + ****************************************************************************************************/ #if defined(CONFIG_PM) && defined(CONFIG_IDLE_CUSTOM) && defined(CONFIG_PM_BUTTONS) void up_pmbuttons(void); diff --git a/nuttx/configs/stm32f4discovery/src/up_boot.c b/nuttx/configs/stm32f4discovery/src/up_boot.c index 736e23f0f4..3e9b7242d9 100644 --- a/nuttx/configs/stm32f4discovery/src/up_boot.c +++ b/nuttx/configs/stm32f4discovery/src/up_boot.c @@ -2,7 +2,7 @@ * configs/stm32f4discovery/src/up_boot.c * arch/arm/src/board/up_boot.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -82,12 +82,13 @@ void stm32_boardinitialize(void) } #endif - /* Initialize USB is 1) USBDEV is selected, 2) the OTG FS controller is not - * disabled, and 3) the weak function stm32_usbinitialize() has been brought - * into the build. + /* Initialize USB if the 1) OTG FS controller is in the configuration and 2) + * disabled, and 3) the weak function stm32_usbinitialize() has been brought + * the weak function stm32_usbinitialize() has been brought into the build. + * Presumeably either CONFIG_USBDEV or CONFIG_USBHOST is also selected. */ -#if defined(CONFIG_USBDEV) && defined(CONFIG_STM32_OTGFS) +#ifdef CONFIG_STM32_OTGFS if (stm32_usbinitialize) { stm32_usbinitialize(); diff --git a/nuttx/configs/stm32f4discovery/src/up_usbdev.c b/nuttx/configs/stm32f4discovery/src/up_nsh.c similarity index 59% rename from nuttx/configs/stm32f4discovery/src/up_usbdev.c rename to nuttx/configs/stm32f4discovery/src/up_nsh.c index 5ca1d0e949..2a933569fd 100644 --- a/nuttx/configs/stm32f4discovery/src/up_usbdev.c +++ b/nuttx/configs/stm32f4discovery/src/up_nsh.c @@ -1,6 +1,6 @@ -/************************************************************************************ - * configs/stm32f4discovery/src/up_usbdev.c - * arch/arm/src/board/up_boot.c +/**************************************************************************** + * config/stm32f4discovery/src/up_nsh.c + * arch/arm/src/board/up_nsh.c * * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -32,72 +32,103 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include -#include -#include #include +#include #include +#include -#include -#include +#ifdef CONFIG_STM32_SDIO +# include +# include +#endif + +#ifdef CONFIG_STM32_OTGFS +# include "stm32_usbhost.h" +#endif -#include "up_arch.h" #include "stm32_internal.h" #include "stm32f4discovery-internal.h" -/************************************************************************************ - * Definitions - ************************************************************************************/ +/**************************************************************************** + * Pre-Processor Definitions + ****************************************************************************/ -/************************************************************************************ - * Private Functions - ************************************************************************************/ +/* Configuration ************************************************************/ -/************************************************************************************ - * Public Functions - ************************************************************************************/ +#define HAVE_USBDEV 1 +#define HAVE_USBHOST 1 -/************************************************************************************ - * Name: stm32_usbinitialize - * - * Description: - * Called to setup USB-related GPIO pins for the STM3210E-EVAL board. - * - ************************************************************************************/ +/* Can't support USB host or device features if USB OTG FS is not enabled */ -void stm32_usbinitialize(void) -{ - /* The OTG FS has an internal soft pull-up */ - - /* Configure the OTG FS VBUS sensing GPIO, Power On, and Overcurrent GPIOs */ - -#ifdef CONFIG_STM32_OTGFS - stm32_configgpio(GPIO_OTGFS_VBUS); - stm32_configgpio(GPIO_OTGFS_PWRON); - stm32_configgpio(GPIO_OTGFS_OVER); +#ifndef CONFIG_STM32_OTGFS +# undef HAVE_USBDEV +# undef HAVE_USBHOST #endif -} -/************************************************************************************ - * Name: stm32_usbsuspend +/* Can't support USB device is USB device is not enabled */ + +#ifndef CONFIG_USBDEV +# undef HAVE_USBDEV +#endif + +/* Can't support USB host is USB host is not enabled */ + +#ifndef CONFIG_USBHOST +# undef HAVE_USBHOST +#endif + +/* Debug ********************************************************************/ + +#ifdef CONFIG_CPP_HAVE_VARARGS +# ifdef CONFIG_DEBUG +# define message(...) lib_lowprintf(__VA_ARGS__) +# else +# define message(...) printf(__VA_ARGS__) +# endif +#else +# ifdef CONFIG_DEBUG +# define message lib_lowprintf +# else +# define message printf +# endif +#endif + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: nsh_archinitialize * * Description: - * Board logic must provide the stm32_usbsuspend logic if the USBDEV driver is - * used. This function is called whenever the USB enters or leaves suspend mode. - * This is an opportunity for the board logic to shutdown clocks, power, etc. - * while the USB is suspended. + * Perform architecture specific initialization * - ************************************************************************************/ + ****************************************************************************/ -void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) +int nsh_archinitialize(void) { - ulldbg("resume: %d\n", resume); -} +#ifdef HAVE_USBHOST + int ret; + /* Initialize USB host operation. stm32_usbhost_initialize() starts a thread + * will monitor for USB connection and disconnection events. + */ + + ret = stm32_usbhost_initialize(); + if (ret != OK) + { + message("nsh_archinitialize: Failed to initialize USB host: %d\n", ret); + return ret; + } +#endif + + return OK; +} diff --git a/nuttx/configs/stm32f4discovery/src/up_usb.c b/nuttx/configs/stm32f4discovery/src/up_usb.c new file mode 100644 index 0000000000..d4250bc2f0 --- /dev/null +++ b/nuttx/configs/stm32f4discovery/src/up_usb.c @@ -0,0 +1,292 @@ +/************************************************************************************ + * configs/stm32f4discovery/src/up_usbdev.c + * arch/arm/src/board/up_boot.c + * + * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ************************************************************************************/ + +/************************************************************************************ + * Included Files + ************************************************************************************/ + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "up_arch.h" +#include "stm32_internal.h" +#include "stm32f4discovery-internal.h" + +#ifdef CONFIG_STM32_OTGFS + +/************************************************************************************ + * Pre-processor Definitions + ************************************************************************************/ + +#if defined(CONFIG_USBDEV) || defined(CONFIG_USBHOST) +# define HAVE_USB 1 +#else +# warning "CONFIG_STM32_OTGFS is enabled but neither CONFIG_USBDEV nor CONFIG_USBHOST" +# undef HAVE_USB +#endif + +#ifndef CONFIG_USBHOST_DEFPRIO +# define CONFIG_USBHOST_DEFPRIO 50 +#endif + +#ifndef CONFIG_USBHOST_STACKSIZE +# define CONFIG_USBHOST_STACKSIZE 1024 +#endif + +/************************************************************************************ + * Private Data + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +static struct usbhost_driver_s *g_drvr; +#endif + +/************************************************************************************ + * Private Functions + ************************************************************************************/ + +/************************************************************************************ + * Name: usbhost_waiter + * + * Description: + * Wait for USB devices to be connected. + * + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +static int usbhost_waiter(int argc, char *argv[]) +{ + bool connected = false; + int ret; + + uvdbg("Running\n"); + for (;;) + { + /* Wait for the device to change state */ + + ret = DRVR_WAIT(g_drvr, connected); + DEBUGASSERT(ret == OK); + + connected = !connected; + uvdbg("%s\n", connected ? "connected" : "disconnected"); + + /* Did we just become connected? */ + + if (connected) + { + /* Yes.. enumerate the newly connected device */ + + (void)DRVR_ENUMERATE(g_drvr); + } + } + + /* Keep the compiler from complaining */ + + return 0; +} +#endif + +/************************************************************************************ + * Public Functions + ************************************************************************************/ + +/************************************************************************************ + * Name: stm32_usbinitialize + * + * Description: + * Called from stm32_usbinitialize very early in inialization to setup USB-related + * GPIO pins for the STM32F4Discovery board. + * + ************************************************************************************/ + +void stm32_usbinitialize(void) +{ + /* The OTG FS has an internal soft pull-up. No GPIO configuration is required */ + + /* Configure the OTG FS VBUS sensing GPIO, Power On, and Overcurrent GPIOs */ + +#ifdef CONFIG_STM32_OTGFS + stm32_configgpio(GPIO_OTGFS_VBUS); + stm32_configgpio(GPIO_OTGFS_PWRON); + stm32_configgpio(GPIO_OTGFS_OVER); +#endif +} + +/*********************************************************************************** + * Name: stm32_usbhost_initialize + * + * Description: + * Called at application startup time to initialize the USB host functionality. + * This function will start a thread that will monitor for device + * connection/disconnection events. + * + ***********************************************************************************/ + +#ifdef CONFIG_USBHOST +int stm32_usbhost_initialize(void) +{ + int pid; + int ret; + + /* First, register all of the class drivers needed to support the drivers + * that we care about: + */ + + uvdbg("Register class drivers\n"); + ret = usbhost_storageinit(); + if (ret != OK) + { + udbg("Failed to register the mass storage class\n"); + } + + /* Then get an instance of the USB host interface */ + + uvdbg("Initialize USB host\n"); + g_drvr = usbhost_initialize(0); + if (g_drvr) + { + /* Start a thread to handle device connection. */ + + uvdbg("Start usbhost_waiter\n"); + + pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO, + CONFIG_USBHOST_STACKSIZE, + (main_t)usbhost_waiter, (const char **)NULL); + return pid < 0 ? -ENOEXEC : OK; + } + + return -ENODEV; +} +#endif + +/*********************************************************************************** + * Name: stm32_usbhost_vbusdrive + * + * Description: + * Enable/disable driving of VBUS 5V output. This function must be provided be + * each platform that implements the STM32 OTG FS host interface + * + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port + * control and status register (PPWR bit in OTG_FS_HPRT). + * + * "The application uses this field to control power to this port, and the core + * clears this bit on an overcurrent condition." + * + * Input Parameters: + * iface - For future growth to handle multiple USB host interface. Should be zero. + * enable - true: enable VBUS power; false: disable VBUS power + * + * Returned Value: + * None + * + ***********************************************************************************/ + +#ifdef CONFIG_USBHOST +void stm32_usbhost_vbusdrive(int iface, bool enable) +{ + DEBUGASSERT(iface == 0); + + if (enable) + { + /* Enable the Power Switch by driving the enable pin low */ + + stm32_gpiowrite(GPIO_OTGFS_PWRON, false); + } + else + { + /* Disable the Power Switch by driving the enable pin high */ + + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); + } +} +#endif + +/************************************************************************************ + * Name: stm32_setup_overcurrent + * + * Description: + * Setup to receive an interrupt-level callback if an overcurrent condition is + * detected. + * + * Input paramter: + * handler - New overcurrent interrupt handler + * + * Returned value: + * Old overcurrent interrupt handler + * + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +xcpt_t stm32_setup_overcurrent(xcpt_t handler) +{ + return stm32_gpiosetevent(GPIO_OTGFS_OVER, true, true, true, handler); +} +#endif + +/************************************************************************************ + * Name: stm32_usbsuspend + * + * Description: + * Board logic must provide the stm32_usbsuspend logic if the USBDEV driver is + * used. This function is called whenever the USB enters or leaves suspend mode. + * This is an opportunity for the board logic to shutdown clocks, power, etc. + * while the USB is suspended. + * + ************************************************************************************/ + +void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) +{ + ulldbg("resume: %d\n", resume); +} + +#endif /* CONFIG_STM32_OTGFS */ + + + From 0abce6171e8fc0b06936c4f411ae6fa85361e558 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 29 Aug 2012 19:38:53 +0000 Subject: [PATCH 07/19] The USB host driver has been verified on the STM32F4Discovery git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5067 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 4 +- nuttx/configs/amber/hello/defconfig | 2 +- nuttx/configs/avr32dev1/nsh/defconfig | 2 +- nuttx/configs/avr32dev1/ostest/defconfig | 2 +- nuttx/configs/demo9s12ne64/ostest/defconfig | 2 +- nuttx/configs/ea3131/nsh/defconfig | 2 +- nuttx/configs/ea3131/ostest/defconfig | 2 +- nuttx/configs/ea3131/pgnsh/defconfig | 2 +- nuttx/configs/ea3131/usbserial/defconfig | 2 +- nuttx/configs/ea3131/usbstorage/defconfig | 2 +- nuttx/configs/ea3152/ostest/defconfig | 2 +- nuttx/configs/hymini-stm32v/buttons/defconfig | 2 +- nuttx/configs/hymini-stm32v/nsh/defconfig | 2 +- nuttx/configs/hymini-stm32v/nsh2/defconfig | 2 +- nuttx/configs/hymini-stm32v/nx/defconfig | 2 +- nuttx/configs/hymini-stm32v/nxlines/defconfig | 2 +- .../configs/hymini-stm32v/usbserial/defconfig | 2 +- .../hymini-stm32v/usbstorage/defconfig | 2 +- nuttx/configs/kwikstik-k40/ostest/defconfig | 2 +- nuttx/configs/lincoln60/nsh/defconfig | 2 +- nuttx/configs/lincoln60/ostest/defconfig | 2 +- .../lpcxpresso-lpc1768/dhcpd/defconfig | 2 +- .../configs/lpcxpresso-lpc1768/nsh/defconfig | 2 +- nuttx/configs/lpcxpresso-lpc1768/nx/defconfig | 2 +- .../lpcxpresso-lpc1768/ostest/defconfig | 2 +- .../lpcxpresso-lpc1768/thttpd/defconfig | 2 +- .../lpcxpresso-lpc1768/usbstorage/defconfig | 2 +- nuttx/configs/mbed/hidkbd/defconfig | 2 +- nuttx/configs/mbed/nsh/defconfig | 2 +- nuttx/configs/micropendous3/hello/defconfig | 2 +- nuttx/configs/ne64badge/ostest/defconfig | 2 +- nuttx/configs/nucleus2g/nsh/defconfig | 2 +- nuttx/configs/nucleus2g/ostest/defconfig | 2 +- nuttx/configs/nucleus2g/usbserial/defconfig | 2 +- nuttx/configs/nucleus2g/usbstorage/defconfig | 2 +- .../configs/olimex-lpc1766stk/ftpc/defconfig | 2 +- .../olimex-lpc1766stk/hidkbd/defconfig | 2 +- .../olimex-lpc1766stk/nettest/defconfig | 2 +- nuttx/configs/olimex-lpc1766stk/nsh/defconfig | 2 +- nuttx/configs/olimex-lpc1766stk/nx/defconfig | 2 +- .../olimex-lpc1766stk/ostest/defconfig | 2 +- .../olimex-lpc1766stk/slip-httpd/defconfig | 2 +- .../olimex-lpc1766stk/thttpd/defconfig | 2 +- .../olimex-lpc1766stk/usbserial/defconfig | 2 +- .../olimex-lpc1766stk/usbstorage/defconfig | 2 +- .../configs/olimex-lpc1766stk/wlan/defconfig | 2 +- nuttx/configs/olimex-stm32-p107/nsh/defconfig | 2 +- .../olimex-stm32-p107/ostest/defconfig | 2 +- .../configs/olimex-strp711/nettest/defconfig | 2 +- nuttx/configs/pcblogic-pic32mx/nsh/defconfig | 2 +- .../configs/pcblogic-pic32mx/ostest/defconfig | 2 +- nuttx/configs/sam3u-ek/knsh/defconfig | 2 +- nuttx/configs/sam3u-ek/nsh/defconfig | 2 +- nuttx/configs/sam3u-ek/nx/defconfig | 2 +- nuttx/configs/sam3u-ek/ostest/defconfig | 2 +- nuttx/configs/sam3u-ek/touchscreen/defconfig | 2 +- nuttx/configs/sim/nsh2/defconfig | 2 +- nuttx/configs/stm3210e-eval/RIDE/defconfig | 2 +- nuttx/configs/stm3210e-eval/buttons/defconfig | 2 +- .../configs/stm3210e-eval/composite/defconfig | 2 +- nuttx/configs/stm3210e-eval/nsh/defconfig | 2 +- nuttx/configs/stm3210e-eval/nsh2/defconfig | 2 +- nuttx/configs/stm3210e-eval/nx/defconfig | 2 +- .../configs/stm3210e-eval/nxconsole/defconfig | 2 +- nuttx/configs/stm3210e-eval/nxlines/defconfig | 2 +- nuttx/configs/stm3210e-eval/nxtext/defconfig | 2 +- nuttx/configs/stm3210e-eval/ostest/defconfig | 2 +- nuttx/configs/stm3210e-eval/pm/defconfig | 2 +- .../configs/stm3210e-eval/usbserial/defconfig | 2 +- .../stm3210e-eval/usbstorage/defconfig | 2 +- nuttx/configs/stm3220g-eval/dhcpd/defconfig | 2 +- nuttx/configs/stm3220g-eval/nettest/defconfig | 2 +- nuttx/configs/stm3220g-eval/ostest/defconfig | 2 +- nuttx/configs/stm3220g-eval/telnetd/defconfig | 2 +- nuttx/configs/stm3240g-eval/dhcpd/defconfig | 2 +- nuttx/configs/stm3240g-eval/nettest/defconfig | 2 +- nuttx/configs/stm3240g-eval/ostest/defconfig | 2 +- nuttx/configs/stm3240g-eval/telnetd/defconfig | 2 +- nuttx/configs/stm32f4discovery/README.txt | 68 ++++++++++++++++--- nuttx/configs/stm32f4discovery/nsh/defconfig | 2 +- .../stm32f4discovery/nxlines/defconfig | 2 +- .../configs/stm32f4discovery/ostest/defconfig | 2 +- nuttx/configs/stm32f4discovery/pm/defconfig | 2 +- nuttx/configs/sure-pic32mx/ostest/defconfig | 2 +- nuttx/configs/sure-pic32mx/usbnsh/defconfig | 2 +- nuttx/configs/teensy/hello/defconfig | 2 +- nuttx/configs/teensy/nsh/defconfig | 2 +- nuttx/configs/teensy/usbstorage/defconfig | 2 +- nuttx/configs/twr-k60n512/nsh/defconfig | 2 +- nuttx/configs/twr-k60n512/ostest/defconfig | 2 +- nuttx/configs/vsn/nsh/defconfig | 2 +- 91 files changed, 148 insertions(+), 102 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 46b821b79b..5412295783 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3213,5 +3213,5 @@ strings by strerror(). * arch/arm/src/stm32/stm32_usbotghost.c: Finally... the USB OTG FS appears to handle NAKing correctly is complete. - * configs/stm32f4discovery/*: Add support for USB OTG FS host on the - STM32F4Discovery board. + * configs/stm32f4discovery/*: Added and verifed support for USB OTG FS + host on the STM32F4Discovery board. diff --git a/nuttx/configs/amber/hello/defconfig b/nuttx/configs/amber/hello/defconfig index 1bd025f77f..580aada4f5 100644 --- a/nuttx/configs/amber/hello/defconfig +++ b/nuttx/configs/amber/hello/defconfig @@ -286,7 +286,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/avr32dev1/nsh/defconfig b/nuttx/configs/avr32dev1/nsh/defconfig index 6c4d57c2db..5e8eaef658 100755 --- a/nuttx/configs/avr32dev1/nsh/defconfig +++ b/nuttx/configs/avr32dev1/nsh/defconfig @@ -328,7 +328,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig index ca7cf170ee..59b7c9e3ca 100755 --- a/nuttx/configs/avr32dev1/ostest/defconfig +++ b/nuttx/configs/avr32dev1/ostest/defconfig @@ -328,7 +328,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig index 448688b3ac..a44401fa2c 100755 --- a/nuttx/configs/demo9s12ne64/ostest/defconfig +++ b/nuttx/configs/demo9s12ne64/ostest/defconfig @@ -307,7 +307,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=256 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3131/nsh/defconfig b/nuttx/configs/ea3131/nsh/defconfig index 8377265db0..8c32296ab4 100644 --- a/nuttx/configs/ea3131/nsh/defconfig +++ b/nuttx/configs/ea3131/nsh/defconfig @@ -315,7 +315,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig index c3e584d63a..2aa5057cdd 100644 --- a/nuttx/configs/ea3131/ostest/defconfig +++ b/nuttx/configs/ea3131/ostest/defconfig @@ -315,7 +315,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig index fb769383b5..3542d3ae37 100644 --- a/nuttx/configs/ea3131/pgnsh/defconfig +++ b/nuttx/configs/ea3131/pgnsh/defconfig @@ -330,7 +330,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig index 4fe15f1584..1d05e73faf 100644 --- a/nuttx/configs/ea3131/usbserial/defconfig +++ b/nuttx/configs/ea3131/usbserial/defconfig @@ -317,7 +317,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig index fccdd439c5..491b48e91a 100644 --- a/nuttx/configs/ea3131/usbstorage/defconfig +++ b/nuttx/configs/ea3131/usbstorage/defconfig @@ -317,7 +317,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ea3152/ostest/defconfig b/nuttx/configs/ea3152/ostest/defconfig index 928971b9a8..dd95289de6 100644 --- a/nuttx/configs/ea3152/ostest/defconfig +++ b/nuttx/configs/ea3152/ostest/defconfig @@ -316,7 +316,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/buttons/defconfig b/nuttx/configs/hymini-stm32v/buttons/defconfig index 8d8acf8ea0..3bf72b5e27 100644 --- a/nuttx/configs/hymini-stm32v/buttons/defconfig +++ b/nuttx/configs/hymini-stm32v/buttons/defconfig @@ -358,7 +358,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/nsh/defconfig b/nuttx/configs/hymini-stm32v/nsh/defconfig index 56e6f8ecd4..e5c1a534e2 100755 --- a/nuttx/configs/hymini-stm32v/nsh/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh/defconfig @@ -354,7 +354,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/nsh2/defconfig b/nuttx/configs/hymini-stm32v/nsh2/defconfig index 3d13db721a..4ac12187ee 100644 --- a/nuttx/configs/hymini-stm32v/nsh2/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh2/defconfig @@ -363,7 +363,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/nx/defconfig b/nuttx/configs/hymini-stm32v/nx/defconfig index ae925eca91..9d57e2ea1c 100644 --- a/nuttx/configs/hymini-stm32v/nx/defconfig +++ b/nuttx/configs/hymini-stm32v/nx/defconfig @@ -352,7 +352,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/nxlines/defconfig b/nuttx/configs/hymini-stm32v/nxlines/defconfig index 137897e324..8df5b37c3d 100644 --- a/nuttx/configs/hymini-stm32v/nxlines/defconfig +++ b/nuttx/configs/hymini-stm32v/nxlines/defconfig @@ -356,7 +356,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/usbserial/defconfig b/nuttx/configs/hymini-stm32v/usbserial/defconfig index 8ebf5bd381..66a52588aa 100755 --- a/nuttx/configs/hymini-stm32v/usbserial/defconfig +++ b/nuttx/configs/hymini-stm32v/usbserial/defconfig @@ -358,7 +358,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/hymini-stm32v/usbstorage/defconfig b/nuttx/configs/hymini-stm32v/usbstorage/defconfig index fc5805f4d7..876b34fca8 100755 --- a/nuttx/configs/hymini-stm32v/usbstorage/defconfig +++ b/nuttx/configs/hymini-stm32v/usbstorage/defconfig @@ -353,7 +353,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/kwikstik-k40/ostest/defconfig b/nuttx/configs/kwikstik-k40/ostest/defconfig index 0e299f938c..8519f2733e 100755 --- a/nuttx/configs/kwikstik-k40/ostest/defconfig +++ b/nuttx/configs/kwikstik-k40/ostest/defconfig @@ -418,7 +418,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lincoln60/nsh/defconfig b/nuttx/configs/lincoln60/nsh/defconfig index e4403b669f..e83881efb3 100644 --- a/nuttx/configs/lincoln60/nsh/defconfig +++ b/nuttx/configs/lincoln60/nsh/defconfig @@ -342,7 +342,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lincoln60/ostest/defconfig b/nuttx/configs/lincoln60/ostest/defconfig index 04fd082a0a..5157665967 100644 --- a/nuttx/configs/lincoln60/ostest/defconfig +++ b/nuttx/configs/lincoln60/ostest/defconfig @@ -349,7 +349,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig index 598ce529b2..5d09f6f1b2 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig @@ -347,7 +347,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig index a8ef1ace9a..a16f0c4043 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig @@ -355,7 +355,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig index e34c6dd661..17f73817b2 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig @@ -352,7 +352,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig index 653f208f93..dc65893f92 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig @@ -345,7 +345,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig index 5e73edcdc5..4e0ba5ad93 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig @@ -352,7 +352,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig index bffbd8c5a2..426a7973ad 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig @@ -350,7 +350,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/mbed/hidkbd/defconfig b/nuttx/configs/mbed/hidkbd/defconfig index 1bc5bf8499..8d70b8e992 100644 --- a/nuttx/configs/mbed/hidkbd/defconfig +++ b/nuttx/configs/mbed/hidkbd/defconfig @@ -350,7 +350,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/mbed/nsh/defconfig b/nuttx/configs/mbed/nsh/defconfig index f015a4fc74..42464036ad 100755 --- a/nuttx/configs/mbed/nsh/defconfig +++ b/nuttx/configs/mbed/nsh/defconfig @@ -342,7 +342,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/micropendous3/hello/defconfig b/nuttx/configs/micropendous3/hello/defconfig index e83f5d4ae2..b2c98d5f78 100644 --- a/nuttx/configs/micropendous3/hello/defconfig +++ b/nuttx/configs/micropendous3/hello/defconfig @@ -281,7 +281,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/ne64badge/ostest/defconfig b/nuttx/configs/ne64badge/ostest/defconfig index 1e0b270035..5d7a1e2274 100755 --- a/nuttx/configs/ne64badge/ostest/defconfig +++ b/nuttx/configs/ne64badge/ostest/defconfig @@ -318,7 +318,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=256 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig index 5ecd0d0451..0499c2eaf0 100755 --- a/nuttx/configs/nucleus2g/nsh/defconfig +++ b/nuttx/configs/nucleus2g/nsh/defconfig @@ -346,7 +346,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig index 465b207d71..b491abdfa8 100755 --- a/nuttx/configs/nucleus2g/ostest/defconfig +++ b/nuttx/configs/nucleus2g/ostest/defconfig @@ -342,7 +342,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/nucleus2g/usbserial/defconfig b/nuttx/configs/nucleus2g/usbserial/defconfig index 8183198f6c..ebee5bde1b 100755 --- a/nuttx/configs/nucleus2g/usbserial/defconfig +++ b/nuttx/configs/nucleus2g/usbserial/defconfig @@ -343,7 +343,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/nucleus2g/usbstorage/defconfig b/nuttx/configs/nucleus2g/usbstorage/defconfig index be4fcb8353..0d6cb4f6de 100755 --- a/nuttx/configs/nucleus2g/usbstorage/defconfig +++ b/nuttx/configs/nucleus2g/usbstorage/defconfig @@ -343,7 +343,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig index e74769243d..9fc6d6f5d0 100755 --- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig @@ -354,7 +354,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig index b2902da09b..f6e69d3913 100755 --- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig @@ -356,7 +356,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig index f19033a8f2..d072367b69 100755 --- a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig @@ -356,7 +356,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig index 9b19e5efb6..0ad922ed39 100755 --- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig @@ -357,7 +357,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/nx/defconfig b/nuttx/configs/olimex-lpc1766stk/nx/defconfig index 2d0fdb6bca..d50e3b1605 100755 --- a/nuttx/configs/olimex-lpc1766stk/nx/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nx/defconfig @@ -360,7 +360,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig index e4351bdb41..92aba7837c 100755 --- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig @@ -349,7 +349,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig index 2a206daa17..79d3c7311c 100755 --- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig @@ -351,7 +351,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=2048 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig index 9d50689222..52277615dc 100755 --- a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig @@ -349,7 +349,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig index d6f64bc1c5..27f8793903 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig @@ -350,7 +350,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig index e2e28fddc1..42f6dfac77 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig @@ -350,7 +350,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig index c5bd22c75c..769185afc8 100755 --- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig @@ -350,7 +350,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-stm32-p107/nsh/defconfig b/nuttx/configs/olimex-stm32-p107/nsh/defconfig index f12b7e560c..c405163689 100644 --- a/nuttx/configs/olimex-stm32-p107/nsh/defconfig +++ b/nuttx/configs/olimex-stm32-p107/nsh/defconfig @@ -409,7 +409,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-stm32-p107/ostest/defconfig b/nuttx/configs/olimex-stm32-p107/ostest/defconfig index 194e61e3ac..26a04d5564 100644 --- a/nuttx/configs/olimex-stm32-p107/ostest/defconfig +++ b/nuttx/configs/olimex-stm32-p107/ostest/defconfig @@ -436,7 +436,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/olimex-strp711/nettest/defconfig b/nuttx/configs/olimex-strp711/nettest/defconfig index d89b03815a..7b09516476 100755 --- a/nuttx/configs/olimex-strp711/nettest/defconfig +++ b/nuttx/configs/olimex-strp711/nettest/defconfig @@ -313,7 +313,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig index 754b621deb..e9c79c98f0 100644 --- a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig @@ -367,7 +367,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig index 42594155ff..fd42230579 100644 --- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig @@ -359,7 +359,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sam3u-ek/knsh/defconfig b/nuttx/configs/sam3u-ek/knsh/defconfig index 9cfda50cc1..cac79c8e89 100755 --- a/nuttx/configs/sam3u-ek/knsh/defconfig +++ b/nuttx/configs/sam3u-ek/knsh/defconfig @@ -335,7 +335,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sam3u-ek/nsh/defconfig b/nuttx/configs/sam3u-ek/nsh/defconfig index 1b492d4592..e1e21b0dfb 100755 --- a/nuttx/configs/sam3u-ek/nsh/defconfig +++ b/nuttx/configs/sam3u-ek/nsh/defconfig @@ -315,7 +315,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig index 76c7635b52..719afdaee0 100755 --- a/nuttx/configs/sam3u-ek/nx/defconfig +++ b/nuttx/configs/sam3u-ek/nx/defconfig @@ -316,7 +316,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig index 68cfc8a592..b0283c1c25 100755 --- a/nuttx/configs/sam3u-ek/ostest/defconfig +++ b/nuttx/configs/sam3u-ek/ostest/defconfig @@ -316,7 +316,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig index 9469754479..ef1954a51f 100755 --- a/nuttx/configs/sam3u-ek/touchscreen/defconfig +++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig @@ -321,7 +321,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sim/nsh2/defconfig b/nuttx/configs/sim/nsh2/defconfig index 60f3b0d82b..9f6e038ef5 100644 --- a/nuttx/configs/sim/nsh2/defconfig +++ b/nuttx/configs/sim/nsh2/defconfig @@ -190,7 +190,7 @@ CONFIG_SIG_SIGWORK=4 CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SCHED_WAITPID=y diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig index abb5ee5d23..6ea54c1882 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/defconfig +++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig @@ -375,7 +375,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index 9f5d26b126..2fdebae711 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -387,7 +387,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/composite/defconfig b/nuttx/configs/stm3210e-eval/composite/defconfig index be80e7e67c..fc35efdc19 100755 --- a/nuttx/configs/stm3210e-eval/composite/defconfig +++ b/nuttx/configs/stm3210e-eval/composite/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig index 852c528930..e27cb955e6 100755 --- a/nuttx/configs/stm3210e-eval/nsh/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh/defconfig @@ -383,7 +383,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig index d04bd814b6..87b6e9cce9 100644 --- a/nuttx/configs/stm3210e-eval/nsh2/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig @@ -442,7 +442,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig index 1f2453a4de..d221390550 100644 --- a/nuttx/configs/stm3210e-eval/nx/defconfig +++ b/nuttx/configs/stm3210e-eval/nx/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nxconsole/defconfig b/nuttx/configs/stm3210e-eval/nxconsole/defconfig index 73726999ac..db6e45188f 100644 --- a/nuttx/configs/stm3210e-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3210e-eval/nxconsole/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig index ccb22ad5a9..46e2573632 100644 --- a/nuttx/configs/stm3210e-eval/nxlines/defconfig +++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig index 0b3289d94a..471c0f5fe2 100644 --- a/nuttx/configs/stm3210e-eval/nxtext/defconfig +++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig index df10dff3a8..891e1c0a77 100755 --- a/nuttx/configs/stm3210e-eval/ostest/defconfig +++ b/nuttx/configs/stm3210e-eval/ostest/defconfig @@ -411,7 +411,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/pm/defconfig b/nuttx/configs/stm3210e-eval/pm/defconfig index 8434abf1be..6068d9ea15 100644 --- a/nuttx/configs/stm3210e-eval/pm/defconfig +++ b/nuttx/configs/stm3210e-eval/pm/defconfig @@ -452,7 +452,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig index 897efd166a..6c9d12ec86 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/defconfig +++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig @@ -386,7 +386,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig index eab8e31f6f..29753c53da 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig +++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig @@ -381,7 +381,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3220g-eval/dhcpd/defconfig b/nuttx/configs/stm3220g-eval/dhcpd/defconfig index 7a211ddc9d..6beaab3727 100644 --- a/nuttx/configs/stm3220g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3220g-eval/dhcpd/defconfig @@ -487,7 +487,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3220g-eval/nettest/defconfig b/nuttx/configs/stm3220g-eval/nettest/defconfig index ade4bbe97f..5ad68ed4c6 100644 --- a/nuttx/configs/stm3220g-eval/nettest/defconfig +++ b/nuttx/configs/stm3220g-eval/nettest/defconfig @@ -487,7 +487,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig index 0cb5f37f00..a105faece6 100644 --- a/nuttx/configs/stm3220g-eval/ostest/defconfig +++ b/nuttx/configs/stm3220g-eval/ostest/defconfig @@ -486,7 +486,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3220g-eval/telnetd/defconfig b/nuttx/configs/stm3220g-eval/telnetd/defconfig index d8b3608873..b390eb8c60 100644 --- a/nuttx/configs/stm3220g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3220g-eval/telnetd/defconfig @@ -487,7 +487,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig index 080c375121..ef807dd892 100644 --- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig @@ -497,7 +497,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig index 9097f5b947..499a88ce21 100644 --- a/nuttx/configs/stm3240g-eval/nettest/defconfig +++ b/nuttx/configs/stm3240g-eval/nettest/defconfig @@ -497,7 +497,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig index 3afabeb69d..cb10053141 100644 --- a/nuttx/configs/stm3240g-eval/ostest/defconfig +++ b/nuttx/configs/stm3240g-eval/ostest/defconfig @@ -494,7 +494,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig index 27b6fc307a..e17328d519 100644 --- a/nuttx/configs/stm3240g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig @@ -497,7 +497,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt index c2a269de30..93b8fee038 100755 --- a/nuttx/configs/stm32f4discovery/README.txt +++ b/nuttx/configs/stm32f4discovery/README.txt @@ -906,7 +906,7 @@ STM32F4Discovery-specific Configuration Options want to do that? CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access debug. Depends on CONFIG_DEBUG. - CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB + CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB packets. Depends on CONFIG_DEBUG. Configurations @@ -1066,19 +1066,65 @@ Where is one of the following: you can still use certain kinds of debug output (see include/debug.h, all of the interfaces based on lib_lowprintf will work in this configuration). - 8. USB OTG FS Device or Host Support + 6. USB OTG FS Host Support. The following changes will enable support for + a USB host on the STM32F4Discovery, including support for a mass storage + class driver: - CONFIG_USBDEV - Enable USB device support, OR - CONFIG_USBHOST - Enable USB host support (but not both) + CONFIG_USBDEV=n - Make sure tht USB device support is disabled + CONFIG_USBHOST=y - Enable USB host support + CONFIG_STM32_OTGFS=y - Enable the STM32 USB OTG FS block + CONFIG_STM32_SYSCFG=y - Needed for all USB OTF FS support + CONFIG_SCHED_WORKQUEUE=y - Worker thread support is required for the mass + storage class driver. + CONFIG_NSH_ARCHINIT=y - Architecture specific USB initialization + is needed for NSH + CONFIG_FS_FAT=y - Needed by the USB host mass storage class. - CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block - CONFIG_STM32_SYSCFG - Needed for all USB OTF FS support + With those changes, you can use NSH with a FLASH pen driver as shown + belong. Here NSH is started with nothing in the USB host slot: + + NuttShell (NSH) NuttX-x.yy + nsh> ls /dev + /dev: + console + null + ttyS0 + + After inserting the FLASH drive, the /dev/sda appears and can be + mounted like this: + + nsh> ls /dev + /dev: + console + null + sda + ttyS0 + nsh> mount -t vfat /dev/sda /mnt/stuff + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + + And files on the FLASH can be manipulated to standard interfaces: + + nsh> echo "This is a test" >/mnt/stuff/atest.txt + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + -rw-rw-rw- 16 atest.txt + nsh> cat /mnt/stuff/atest.txt + This is a test + nsh> cp /mnt/stuff/filea.c fileb.c + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + -rw-rw-rw- 16 atest.txt + -rw-rw-rw- 16236 fileb.c + + To prevent data loss, don't forget to un-mount the FLASH drive + before removing it: + + nsh> umount /mnt/stuff - CONFIG_SCHED_WORKQUEUE - Worker thread support is required for the mass - storage class (both host and device). - CONFIG_NSH_ARCHINIT - Architecture specific USB initialization - is needed - nxlines: ------ An example using the NuttX graphics system (NX). This example focuses on diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index dede37af15..69d4e717cf 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -488,7 +488,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index 5bcfeec822..0e006f4a58 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -488,7 +488,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index 438694af2f..dfdea14d5d 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -461,7 +461,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 58b7df7cba..799eea34cc 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -489,7 +489,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig index b51a982078..4a5bdddda3 100644 --- a/nuttx/configs/sure-pic32mx/ostest/defconfig +++ b/nuttx/configs/sure-pic32mx/ostest/defconfig @@ -359,7 +359,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/sure-pic32mx/usbnsh/defconfig b/nuttx/configs/sure-pic32mx/usbnsh/defconfig index 0adaf1d91e..5f033fb333 100644 --- a/nuttx/configs/sure-pic32mx/usbnsh/defconfig +++ b/nuttx/configs/sure-pic32mx/usbnsh/defconfig @@ -376,7 +376,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/teensy/hello/defconfig b/nuttx/configs/teensy/hello/defconfig index 897954923c..560c637311 100644 --- a/nuttx/configs/teensy/hello/defconfig +++ b/nuttx/configs/teensy/hello/defconfig @@ -281,7 +281,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig index 5325d0e7d5..590c6d9b57 100755 --- a/nuttx/configs/teensy/nsh/defconfig +++ b/nuttx/configs/teensy/nsh/defconfig @@ -284,7 +284,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/teensy/usbstorage/defconfig b/nuttx/configs/teensy/usbstorage/defconfig index 7972993b73..230e5c3e97 100755 --- a/nuttx/configs/teensy/usbstorage/defconfig +++ b/nuttx/configs/teensy/usbstorage/defconfig @@ -281,7 +281,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/twr-k60n512/nsh/defconfig b/nuttx/configs/twr-k60n512/nsh/defconfig index 578b086798..1b24745a25 100644 --- a/nuttx/configs/twr-k60n512/nsh/defconfig +++ b/nuttx/configs/twr-k60n512/nsh/defconfig @@ -419,7 +419,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/twr-k60n512/ostest/defconfig b/nuttx/configs/twr-k60n512/ostest/defconfig index 239fb0a83f..1b8153ad83 100644 --- a/nuttx/configs/twr-k60n512/ostest/defconfig +++ b/nuttx/configs/twr-k60n512/ostest/defconfig @@ -418,7 +418,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=n -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig index 47e670b58e..1f7300f727 100755 --- a/nuttx/configs/vsn/nsh/defconfig +++ b/nuttx/configs/vsn/nsh/defconfig @@ -414,7 +414,7 @@ CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n CONFIG_SCHED_WORKQUEUE=y -CONFIG_SCHED_WORKPRIORITY=50 +CONFIG_SCHED_WORKPRIORITY=192 CONFIG_SCHED_WORKPERIOD=50000 CONFIG_SCHED_WORKSTACKSIZE=1024 CONFIG_SIG_SIGWORK=4 From ea82ad434462580162b743a49be5a70f665ecef8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 30 Aug 2012 15:44:02 +0000 Subject: [PATCH 08/19] Remove documentation from defconfig files so that they are more maintainable git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5068 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/configs/amber/hello/defconfig | 403 +------ nuttx/configs/avr32dev1/nsh/defconfig | 361 +----- nuttx/configs/avr32dev1/ostest/defconfig | 361 +----- nuttx/configs/c5471evm/httpd/defconfig | 199 +-- nuttx/configs/c5471evm/nettest/defconfig | 199 +-- nuttx/configs/c5471evm/nsh/defconfig | 199 +-- nuttx/configs/c5471evm/ostest/defconfig | 199 +-- .../configs/compal_e88/nsh_highram/defconfig | 208 +--- .../compal_e99/nsh_compalram/defconfig | 208 +--- .../configs/compal_e99/nsh_highram/defconfig | 208 +--- nuttx/configs/demo9s12ne64/ostest/defconfig | 365 ------ nuttx/configs/ea3131/nsh/defconfig | 378 +----- nuttx/configs/ea3131/ostest/defconfig | 378 +----- nuttx/configs/ea3131/pgnsh/defconfig | 486 +------- nuttx/configs/ea3131/usbserial/defconfig | 409 +------ nuttx/configs/ea3131/usbstorage/defconfig | 410 +------ nuttx/configs/ea3152/ostest/defconfig | 378 +----- nuttx/configs/eagle100/httpd/defconfig | 282 +---- nuttx/configs/eagle100/nettest/defconfig | 282 +---- nuttx/configs/eagle100/nsh/defconfig | 273 +---- nuttx/configs/eagle100/nxflat/defconfig | 275 +---- nuttx/configs/eagle100/ostest/defconfig | 275 +---- nuttx/configs/eagle100/thttpd/defconfig | 335 +----- nuttx/configs/ekk-lm3s9b96/nsh/defconfig | 270 +---- nuttx/configs/ekk-lm3s9b96/ostest/defconfig | 270 +---- .../configs/ez80f910200kitg/ostest/defconfig | 383 +----- nuttx/configs/ez80f910200zco/dhcpd/defconfig | 398 +----- nuttx/configs/ez80f910200zco/httpd/defconfig | 398 +----- .../configs/ez80f910200zco/nettest/defconfig | 398 +----- nuttx/configs/ez80f910200zco/nsh/defconfig | 398 +----- nuttx/configs/ez80f910200zco/ostest/defconfig | 384 +----- nuttx/configs/ez80f910200zco/poll/defconfig | 398 +----- nuttx/configs/hymini-stm32v/buttons/defconfig | 437 +------ nuttx/configs/hymini-stm32v/nsh/defconfig | 435 +------ nuttx/configs/hymini-stm32v/nsh2/defconfig | 659 +--------- nuttx/configs/hymini-stm32v/nx/defconfig | 614 +--------- nuttx/configs/hymini-stm32v/nxlines/defconfig | 662 +--------- .../configs/hymini-stm32v/usbserial/defconfig | 493 +------- .../hymini-stm32v/usbstorage/defconfig | 477 +------- nuttx/configs/kwikstik-k40/ostest/defconfig | 447 +------ nuttx/configs/lincoln60/nsh/defconfig | 379 +----- nuttx/configs/lincoln60/ostest/defconfig | 466 +------- nuttx/configs/lm3s6432-s2e/nsh/defconfig | 273 +---- nuttx/configs/lm3s6432-s2e/ostest/defconfig | 273 +---- nuttx/configs/lm3s6965-ek/nsh/defconfig | 274 +---- nuttx/configs/lm3s6965-ek/nx/defconfig | 368 +----- nuttx/configs/lm3s6965-ek/ostest/defconfig | 273 +---- nuttx/configs/lm3s8962-ek/nsh/defconfig | 273 +---- nuttx/configs/lm3s8962-ek/nx/defconfig | 368 +----- nuttx/configs/lm3s8962-ek/ostest/defconfig | 273 +---- nuttx/configs/lpc4330-xplorer/nsh/defconfig | 685 +---------- .../configs/lpc4330-xplorer/ostest/defconfig | 648 +--------- .../lpcxpresso-lpc1768/dhcpd/defconfig | 436 +------ .../configs/lpcxpresso-lpc1768/nsh/defconfig | 458 +------ nuttx/configs/lpcxpresso-lpc1768/nx/defconfig | 538 +-------- .../lpcxpresso-lpc1768/ostest/defconfig | 436 +------ .../lpcxpresso-lpc1768/thttpd/defconfig | 496 +------- .../lpcxpresso-lpc1768/usbstorage/defconfig | 430 +------ nuttx/configs/m68332evb/defconfig | 177 +-- nuttx/configs/mbed/hidkbd/defconfig | 419 +------ nuttx/configs/mbed/nsh/defconfig | 379 +----- .../mcu123-lpc214x/composite/defconfig | 517 +------- nuttx/configs/mcu123-lpc214x/nsh/defconfig | 342 +----- nuttx/configs/mcu123-lpc214x/ostest/defconfig | 338 +----- .../mcu123-lpc214x/usbserial/defconfig | 346 +----- .../mcu123-lpc214x/usbstorage/defconfig | 377 +----- nuttx/configs/micropendous3/hello/defconfig | 403 +------ nuttx/configs/mirtoo/nsh/defconfig | 499 +------- nuttx/configs/mirtoo/nxffs/defconfig | 502 +------- nuttx/configs/mirtoo/ostest/defconfig | 485 +------- nuttx/configs/mx1ads/ostest/defconfig | 257 +--- nuttx/configs/ne64badge/ostest/defconfig | 370 ------ nuttx/configs/ntosd-dm320/nettest/defconfig | 257 +--- nuttx/configs/ntosd-dm320/nsh/defconfig | 286 +---- nuttx/configs/ntosd-dm320/ostest/defconfig | 253 +--- nuttx/configs/ntosd-dm320/poll/defconfig | 257 +--- nuttx/configs/ntosd-dm320/thttpd/defconfig | 367 +----- nuttx/configs/ntosd-dm320/udp/defconfig | 258 +--- nuttx/configs/ntosd-dm320/uip/defconfig | 257 +--- nuttx/configs/nucleus2g/nsh/defconfig | 419 +------ nuttx/configs/nucleus2g/ostest/defconfig | 379 +----- nuttx/configs/nucleus2g/usbserial/defconfig | 410 +------ nuttx/configs/nucleus2g/usbstorage/defconfig | 411 +------ .../configs/olimex-lpc1766stk/ftpc/defconfig | 525 +------- .../olimex-lpc1766stk/hidkbd/defconfig | 461 +------ .../olimex-lpc1766stk/nettest/defconfig | 435 +------ nuttx/configs/olimex-lpc1766stk/nsh/defconfig | 486 +------- nuttx/configs/olimex-lpc1766stk/nx/defconfig | 582 +-------- .../olimex-lpc1766stk/ostest/defconfig | 466 +------- .../olimex-lpc1766stk/slip-httpd/defconfig | 499 +------- .../olimex-lpc1766stk/thttpd/defconfig | 496 +------- .../olimex-lpc1766stk/usbserial/defconfig | 465 +------ .../olimex-lpc1766stk/usbstorage/defconfig | 465 +------ .../configs/olimex-lpc1766stk/wlan/defconfig | 460 +------ nuttx/configs/olimex-lpc2378/nsh/defconfig | 175 --- nuttx/configs/olimex-lpc2378/ostest/defconfig | 175 --- nuttx/configs/olimex-stm32-p107/nsh/defconfig | 508 +------- .../olimex-stm32-p107/ostest/defconfig | 459 +------ .../configs/olimex-strp711/nettest/defconfig | 362 +----- nuttx/configs/olimex-strp711/nsh/defconfig | 323 +---- nuttx/configs/olimex-strp711/ostest/defconfig | 324 +---- nuttx/configs/pcblogic-pic32mx/nsh/defconfig | 483 +------- .../configs/pcblogic-pic32mx/ostest/defconfig | 431 +------ nuttx/configs/pic32-starterkit/nsh/defconfig | 803 +------------ nuttx/configs/pic32-starterkit/nsh2/defconfig | 803 +------------ .../configs/pic32-starterkit/ostest/defconfig | 807 +------------ nuttx/configs/pic32mx7mmb/nsh/defconfig | 974 +-------------- nuttx/configs/pic32mx7mmb/ostest/defconfig | 807 +------------ nuttx/configs/pjrc-8051/defconfig | 176 +-- nuttx/configs/qemu-i486/nsh/defconfig | 230 +--- nuttx/configs/qemu-i486/ostest/defconfig | 180 +-- nuttx/configs/rgmp/arm/default/defconfig | 168 +-- nuttx/configs/rgmp/arm/nsh/defconfig | 196 +-- nuttx/configs/rgmp/x86/default/defconfig | 168 +-- nuttx/configs/rgmp/x86/nsh/defconfig | 196 +-- nuttx/configs/sam3u-ek/knsh/defconfig | 413 +------ nuttx/configs/sam3u-ek/nsh/defconfig | 408 +------ nuttx/configs/sam3u-ek/nx/defconfig | 432 +------ nuttx/configs/sam3u-ek/ostest/defconfig | 406 +------ nuttx/configs/sam3u-ek/touchscreen/defconfig | 535 +-------- nuttx/configs/sim/mount/defconfig | 166 +-- nuttx/configs/sim/nettest/defconfig | 166 +-- nuttx/configs/sim/nsh/defconfig | 286 +---- nuttx/configs/sim/nsh2/defconfig | 430 ------- nuttx/configs/sim/nx/defconfig | 333 +----- nuttx/configs/sim/nx11/defconfig | 305 +---- nuttx/configs/sim/nxffs/defconfig | 166 +-- nuttx/configs/sim/nxwm/defconfig | 471 +------- nuttx/configs/sim/ostest/defconfig | 166 +-- nuttx/configs/sim/pashello/defconfig | 166 +-- nuttx/configs/sim/touchscreen/defconfig | 282 +---- nuttx/configs/skp16c26/ostest/defconfig | 250 +--- nuttx/configs/stm3210e-eval/RIDE/defconfig | 442 +------ nuttx/configs/stm3210e-eval/buttons/defconfig | 450 +------ .../configs/stm3210e-eval/composite/defconfig | 628 +--------- nuttx/configs/stm3210e-eval/nsh/defconfig | 448 +------ nuttx/configs/stm3210e-eval/nsh2/defconfig | 832 +------------ nuttx/configs/stm3210e-eval/nx/defconfig | 667 +---------- .../configs/stm3210e-eval/nxconsole/defconfig | 725 +---------- nuttx/configs/stm3210e-eval/nxlines/defconfig | 715 +---------- nuttx/configs/stm3210e-eval/nxtext/defconfig | 715 +---------- nuttx/configs/stm3210e-eval/ostest/defconfig | 458 +------ nuttx/configs/stm3210e-eval/pm/defconfig | 840 +------------ .../configs/stm3210e-eval/usbserial/defconfig | 514 +------- .../stm3210e-eval/usbstorage/defconfig | 490 +------- nuttx/configs/stm3220g-eval/dhcpd/defconfig | 666 +---------- nuttx/configs/stm3220g-eval/nettest/defconfig | 666 +---------- nuttx/configs/stm3220g-eval/nsh/defconfig | 1063 +---------------- nuttx/configs/stm3220g-eval/nsh2/defconfig | 1043 +--------------- nuttx/configs/stm3220g-eval/nxwm/defconfig | 1045 +--------------- nuttx/configs/stm3220g-eval/ostest/defconfig | 839 +------------ nuttx/configs/stm3220g-eval/telnetd/defconfig | 681 +---------- nuttx/configs/stm3240g-eval/dhcpd/defconfig | 636 +--------- nuttx/configs/stm3240g-eval/nettest/defconfig | 636 +--------- nuttx/configs/stm3240g-eval/nsh/defconfig | 1014 +--------------- nuttx/configs/stm3240g-eval/nsh2/defconfig | 748 +----------- .../configs/stm3240g-eval/nxconsole/defconfig | 964 +-------------- nuttx/configs/stm3240g-eval/nxwm/defconfig | 1018 +--------------- nuttx/configs/stm3240g-eval/ostest/defconfig | 808 +------------ nuttx/configs/stm3240g-eval/telnetd/defconfig | 651 +--------- nuttx/configs/stm32f4discovery/nsh/defconfig | 823 +------------ .../stm32f4discovery/nxlines/defconfig | 843 +------------ .../configs/stm32f4discovery/ostest/defconfig | 908 +------------- nuttx/configs/stm32f4discovery/pm/defconfig | 823 +------------ nuttx/configs/sure-pic32mx/nsh/defconfig | 577 +-------- nuttx/configs/sure-pic32mx/ostest/defconfig | 430 +------ nuttx/configs/sure-pic32mx/usbnsh/defconfig | 577 +-------- nuttx/configs/teensy/hello/defconfig | 403 +------ nuttx/configs/teensy/nsh/defconfig | 388 +----- nuttx/configs/teensy/usbstorage/defconfig | 417 +------ nuttx/configs/twr-k60n512/nsh/defconfig | 451 +------ nuttx/configs/twr-k60n512/ostest/defconfig | 448 +------ nuttx/configs/ubw32/nsh/defconfig | 547 +-------- nuttx/configs/ubw32/ostest/defconfig | 547 +-------- nuttx/configs/us7032evb1/nsh/defconfig | 283 +---- nuttx/configs/us7032evb1/ostest/defconfig | 283 +---- nuttx/configs/vsn/nsh/defconfig | 365 +----- nuttx/configs/xtrs/nsh/defconfig | 204 +--- nuttx/configs/xtrs/ostest/defconfig | 177 +-- nuttx/configs/xtrs/pashello/defconfig | 177 +-- .../configs/z16f2800100zcog/ostest/defconfig | 192 +-- .../z16f2800100zcog/pashello/defconfig | 192 +-- nuttx/configs/z80sim/nsh/defconfig | 198 +-- nuttx/configs/z80sim/ostest/defconfig | 171 +-- nuttx/configs/z80sim/pashello/defconfig | 171 +-- nuttx/configs/z8encore000zco/ostest/defconfig | 189 +-- nuttx/configs/z8f64200100kit/ostest/defconfig | 189 +-- 187 files changed, 325 insertions(+), 81423 deletions(-) diff --git a/nuttx/configs/amber/hello/defconfig b/nuttx/configs/amber/hello/defconfig index 580aada4f5..44aebfe8ba 100644 --- a/nuttx/configs/amber/hello/defconfig +++ b/nuttx/configs/amber/hello/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The ATMega128 does not support interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -99,7 +63,7 @@ CONFIG_AVR_LINUXGCC=n CONFIG_AVR_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_AVR_INT0=n CONFIG_AVR_INT1=n @@ -123,17 +87,6 @@ CONFIG_AVR_TWI=n # # ATMega128 specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART0_SERIAL_CONSOLE=y CONFIG_USART0_TXBUFSIZE=256 CONFIG_USART0_RXBUFSIZE=256 @@ -153,19 +106,6 @@ CONFIG_USART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -175,93 +115,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -293,15 +146,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -334,9 +178,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -359,38 +200,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=4 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -408,23 +217,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -432,53 +230,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -502,8 +265,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -511,22 +272,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -539,26 +284,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -575,26 +300,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -621,19 +326,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -652,36 +344,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -717,15 +379,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -740,38 +393,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -784,26 +405,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the ATMega128 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/avr32dev1/nsh/defconfig b/nuttx/configs/avr32dev1/nsh/defconfig index 5e8eaef658..a5194dbe92 100755 --- a/nuttx/configs/avr32dev1/nsh/defconfig +++ b/nuttx/configs/avr32dev1/nsh/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - Define if MCU supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -102,19 +66,6 @@ CONFIG_AVR32_AVRTOOLSL=n # # Individual subsystems can be enabled: # -# CONFIG_AVR32_GPIOIRQ - GPIO interrupt support -# CONFIG_AVR32_GPIOIRQSETA - Set of GPIOs on PORTA that support interrupts -# CONFIG_AVR32_GPIOIRQSETB - Set of GPIOs on PORTB that support interrupts -# -# CONFIG_AVR32_USARTn - Enable support for USARTn -# CONFIG_AVR32_USARTn_RS232 - Configure USARTn as an RS232 interface. -# CONFIG_AVR32_USARTn_SPI - Configure USARTn as an SPI interface. -# CONFIG_AVR32_USARTn_RS485 - Configure USARTn as an RS485 interface. -# CONFIG_AVR32_USARTn_MAN - Configure USARTn as an Manchester interface. -# CONFIG_AVR32_USARTn_MODEM - Configure USARTn as an Modem interface. -# CONFIG_AVR32_USARTn_IRDA - Configure USARTn as an IRDA interface. -# CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface. -# CONFIG_AVR32_GPIOIRQ=y CONFIG_AVR32_GPIOIRQSETA=0 @@ -150,17 +101,6 @@ CONFIG_AVR32_USART2_ISO786=n # # AVR32 specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART0). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n @@ -192,19 +132,6 @@ CONFIG_USART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -214,96 +141,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -360,9 +197,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -385,38 +219,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -434,22 +236,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -457,53 +249,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -527,8 +284,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -536,22 +291,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -568,26 +307,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -604,26 +323,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -667,36 +366,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -732,15 +401,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -755,25 +415,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should always be =y for this AVR32 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=y CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig index 59b7c9e3ca..5a0657c6fd 100755 --- a/nuttx/configs/avr32dev1/ostest/defconfig +++ b/nuttx/configs/avr32dev1/ostest/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - Define if MCU supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -102,19 +66,6 @@ CONFIG_AVR32_AVRTOOLSL=n # # Individual subsystems can be enabled: # -# CONFIG_AVR32_GPIOIRQ - GPIO interrupt support -# CONFIG_AVR32_GPIOIRQSETA - Set of GPIOs on PORTA that support interrupts -# CONFIG_AVR32_GPIOIRQSETB - Set of GPIOs on PORTB that support interrupts -# -# CONFIG_AVR32_USARTn - Enable support for USARTn -# CONFIG_AVR32_USARTn_RS232 - Configure USARTn as an RS232 interface. -# CONFIG_AVR32_USARTn_SPI - Configure USARTn as an SPI interface. -# CONFIG_AVR32_USARTn_RS485 - Configure USARTn as an RS485 interface. -# CONFIG_AVR32_USARTn_MAN - Configure USARTn as an Manchester interface. -# CONFIG_AVR32_USARTn_MODEM - Configure USARTn as an Modem interface. -# CONFIG_AVR32_USARTn_IRDA - Configure USARTn as an IRDA interface. -# CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface. -# CONFIG_AVR32_GPIOIRQ=y CONFIG_AVR32_GPIOIRQSETA=0 @@ -150,17 +101,6 @@ CONFIG_AVR32_USART2_ISO786=n # # AVR32 specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART0). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n @@ -192,19 +132,6 @@ CONFIG_USART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -214,96 +141,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -360,9 +197,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -385,38 +219,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -434,22 +236,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -457,53 +249,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -527,8 +284,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -536,22 +291,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -568,26 +307,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -604,26 +323,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -667,36 +366,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -732,15 +401,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -755,25 +415,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should always be =y for this AVR32 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=y CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/c5471evm/httpd/defconfig b/nuttx/configs/c5471evm/httpd/defconfig index da2bc6db08..37fa5ca7bf 100644 --- a/nuttx/configs/c5471evm/httpd/defconfig +++ b/nuttx/configs/c5471evm/httpd/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -77,18 +54,6 @@ CONFIG_DRAM_SIZE=0x11000000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n CONFIG_UART_MODEM_HWFLOWCONTROL=n @@ -118,16 +83,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=y CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -136,72 +91,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -252,9 +141,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -277,38 +163,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -325,29 +179,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -373,8 +204,7 @@ CONFIG_NET_BROADCAST=y # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -410,11 +240,7 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -424,25 +250,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/c5471evm/nettest/defconfig b/nuttx/configs/c5471evm/nettest/defconfig index c53cdb702f..fee66d62d0 100644 --- a/nuttx/configs/c5471evm/nettest/defconfig +++ b/nuttx/configs/c5471evm/nettest/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -77,16 +54,6 @@ CONFIG_DRAM_SIZE=0x11000000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=y CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -95,18 +62,6 @@ CONFIG_HAVE_LIBM=n # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n CONFIG_UART_MODEM_HWFLOWCONTROL=n @@ -136,72 +91,6 @@ CONFIG_NET_C5471_BASET10=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -252,9 +141,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -277,38 +163,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -325,29 +179,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -373,8 +204,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -410,11 +240,7 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -424,25 +250,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/c5471evm/nsh/defconfig b/nuttx/configs/c5471evm/nsh/defconfig index bc7145f7ea..1eaca45d6e 100644 --- a/nuttx/configs/c5471evm/nsh/defconfig +++ b/nuttx/configs/c5471evm/nsh/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -77,18 +54,6 @@ CONFIG_DRAM_SIZE=0x11000000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n CONFIG_UART_MODEM_HWFLOWCONTROL=n @@ -118,16 +83,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=y CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -136,72 +91,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -252,9 +141,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -277,38 +163,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -325,29 +179,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -373,8 +204,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -410,11 +240,7 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -424,25 +250,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/c5471evm/ostest/defconfig b/nuttx/configs/c5471evm/ostest/defconfig index 3a74cb270a..b1c8c92cd6 100644 --- a/nuttx/configs/c5471evm/ostest/defconfig +++ b/nuttx/configs/c5471evm/ostest/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -77,18 +54,6 @@ CONFIG_DRAM_SIZE=0x11000000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n CONFIG_UART_MODEM_HWFLOWCONTROL=n @@ -118,16 +83,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=y CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -136,72 +91,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -252,9 +141,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -277,38 +163,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -325,29 +179,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -373,8 +204,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -410,11 +240,7 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -424,25 +250,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/compal_e88/nsh_highram/defconfig b/nuttx/configs/compal_e88/nsh_highram/defconfig index 611bf6e799..6f2aa4c11e 100644 --- a/nuttx/configs/compal_e88/nsh_highram/defconfig +++ b/nuttx/configs/compal_e88/nsh_highram/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -77,18 +54,6 @@ CONFIG_DRAM_SIZE=0x00840000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERCOMM_CONSOLE=n CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n @@ -120,16 +85,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -138,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz -# or TICKS_PER_MSEC=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -253,18 +142,13 @@ CONFIG_DISABLE_POLL=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -287,38 +171,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -334,40 +186,12 @@ CONFIG_PREALLOC_WDOGS=8 CONFIG_PREALLOC_TIMERS=8 # SPI driver -# CONFIG_SPI_OWNBUS - Set if there is only one active device -# on the SPI bus. No locking or SPI configuration will be performed. -# It is not necessary for clients to lock, re-configure, etc.. -# CONFIG_SPI_EXCHANGE - Driver supports a single exchange method -# (vs a recvblock() and sndblock ()methods) # CONFIG_SPI_OWNBUS=y CONFIG_SPI_EXCHANGE=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -393,8 +217,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -436,11 +259,7 @@ CONFIG_EXAMPLES_HELLO_BUILTIN=y # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -450,25 +269,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/compal_e99/nsh_compalram/defconfig b/nuttx/configs/compal_e99/nsh_compalram/defconfig index fe551816cc..edd607d566 100644 --- a/nuttx/configs/compal_e99/nsh_compalram/defconfig +++ b/nuttx/configs/compal_e99/nsh_compalram/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -80,18 +57,6 @@ CONFIG_DRAM_SIZE=0x00840000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERCOMM_CONSOLE=n CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n @@ -123,16 +88,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -141,72 +96,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz -# or TICKS_PER_MSEC=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -255,18 +144,13 @@ CONFIG_DISABLE_POLL=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -289,38 +173,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -336,40 +188,12 @@ CONFIG_PREALLOC_WDOGS=8 CONFIG_PREALLOC_TIMERS=8 # SPI driver -# CONFIG_SPI_OWNBUS - Set if there is only one active device -# on the SPI bus. No locking or SPI configuration will be performed. -# It is not necessary for clients to lock, re-configure, etc.. -# CONFIG_SPI_EXCHANGE - Driver supports a single exchange method -# (vs a recvblock() and sndblock ()methods) # CONFIG_SPI_OWNBUS=y CONFIG_SPI_EXCHANGE=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -395,8 +219,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -438,11 +261,7 @@ CONFIG_NSH_BUILTIN_APPS=y # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -452,25 +271,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/compal_e99/nsh_highram/defconfig b/nuttx/configs/compal_e99/nsh_highram/defconfig index 658ad0236c..0bc0301de6 100644 --- a/nuttx/configs/compal_e99/nsh_highram/defconfig +++ b/nuttx/configs/compal_e99/nsh_highram/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ROM_VECTORS - unique to c5471 -# Unique to c5471 -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to c5471. -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -80,18 +57,6 @@ CONFIG_DRAM_SIZE=0x00840000 # # C5471 specific device driver settings # -# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the -# console ant ttys0 (default is the modem UART). -# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control -# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_*_2STOP - Two stop bits -# CONFIG_SERCOMM_CONSOLE=n CONFIG_SERIAL_IRDA_CONSOLE=n CONFIG_UART_IRDA_HWFLOWCONTROL=n @@ -123,16 +88,6 @@ CONFIG_NET_C5471_BASET10=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -141,72 +96,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz -# or TICKS_PER_MSEC=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_GRAPHICS=n CONFIG_DEBUG_VERBOSE=n @@ -256,18 +145,13 @@ CONFIG_DISABLE_POLL=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -290,38 +174,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -337,40 +189,12 @@ CONFIG_PREALLOC_WDOGS=8 CONFIG_PREALLOC_TIMERS=8 # SPI driver -# CONFIG_SPI_OWNBUS - Set if there is only one active device -# on the SPI bus. No locking or SPI configuration will be performed. -# It is not necessary for clients to lock, re-configure, etc.. -# CONFIG_SPI_EXCHANGE - Driver supports a single exchange method -# (vs a recvblock() and sndblock ()methods) # CONFIG_SPI_OWNBUS=y CONFIG_SPI_EXCHANGE=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -396,8 +220,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -482,11 +305,7 @@ CONFIG_EXAMPLES_NXTEXT_DEVNO=0 # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -496,25 +315,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig index a44401fa2c..70b6d70b27 100755 --- a/nuttx/configs/demo9s12ne64/ostest/defconfig +++ b/nuttx/configs/demo9s12ne64/ostest/defconfig @@ -35,42 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed RAM. -# CONFIG_DRAM_START - The start address of RAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARCH="hc" CONFIG_ARCH_HC=y CONFIG_ARCH_HCS12=y @@ -94,14 +58,6 @@ CONFIG_ARCH_DMA=n # # HCS12 build options: # -# CONFIG_HCS12_SERIALMON - Indicates that the target systems uses -# the Freescale serial bootloader. -# CONFIG_HCS12_NONBANKED - Indicates that the target systems does not -# support banking. Only short calls are made; one fixed page is -# presented the the paging window. Only 48Kb of FLASH is usable -# in this configuration: pages 3e, 3d, then 3f will appear as a -# contiguous address space in memory. -# CONFIG_HCS12_SERIALMON=y CONFIG_HCS12_NONBANKED=y @@ -115,17 +71,6 @@ CONFIG_HCS12_SCI1=n # # MC9S12NEC64 specific serial device driver settings # -# CONFIG_SCIn_SERIAL_CONSOLE - selects SCIn for the -# console and ttys0 (default is the SCIn). -# CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_SCIn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_SCIn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_SCIn_2STOP - Two stop bits -# CONFIG_SCI0_SERIAL_CONSOLE=n CONFIG_SCI0_TXBUFSIZE=32 CONFIG_SCI0_RXBUFSIZE=32 @@ -145,16 +90,6 @@ CONFIG_SCI1_2STOP=0 # # MC9S12NEC64 specific SSI device driver settings # -# CONFIG_SPIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SPI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SPI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SPI0_DISABLE=n CONFIG_SPI1_DISABLE=y CONFIG_SPI_POLLWAIT=y @@ -163,19 +98,6 @@ CONFIG_SPI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -193,96 +115,6 @@ CONFIG_PASS1_OBJECT= # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -339,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -364,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -413,23 +210,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -437,53 +223,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -507,8 +258,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -516,22 +265,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -544,26 +277,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -580,26 +293,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -643,36 +336,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -708,15 +371,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -731,25 +385,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the DEMO9S12NE64 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3131/nsh/defconfig b/nuttx/configs/ea3131/nsh/defconfig index 8c32296ab4..3d164f3393 100644 --- a/nuttx/configs/ea3131/nsh/defconfig +++ b/nuttx/configs/ea3131/nsh/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=n @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -179,19 +104,6 @@ CONFIG_UART_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +113,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -347,9 +169,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -372,38 +191,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -421,62 +208,24 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -500,8 +249,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -509,22 +256,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -537,13 +268,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -553,26 +277,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -589,26 +293,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -653,36 +337,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -718,15 +372,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -741,25 +386,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig index 2aa5057cdd..8cbc94f575 100644 --- a/nuttx/configs/ea3131/ostest/defconfig +++ b/nuttx/configs/ea3131/ostest/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=n @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -179,19 +104,6 @@ CONFIG_UART_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +113,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -347,9 +169,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -372,38 +191,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -421,62 +208,24 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -500,8 +249,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -509,22 +256,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -537,13 +268,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -553,26 +277,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -589,26 +293,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -653,36 +337,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -718,15 +372,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -741,25 +386,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig index 3542d3ae37..3e6a31f5e1 100644 --- a/nuttx/configs/ea3131/pgnsh/defconfig +++ b/nuttx/configs/ea3131/pgnsh/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=n @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=y @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -184,19 +109,6 @@ CONFIG_MP25P_SPIMODE=3 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -214,96 +126,6 @@ CONFIG_PASS1_OBJECT=locked.r # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -338,114 +160,6 @@ CONFIG_SIG_SIGWORK=4 # # OS setup related to on-demand paging: # -# CONFIG_PAGING - If set =y in your configation file, this setting will -# enable the on-demand paging feature as described in -# http://www.nuttx.org/NuttXDemandPaging.html. -# -# If CONFIG_PAGING is selected, then the following also apply: -# -# CONFIG_PAGING_PAGESIZE - The size of one managed page. This must -# be a value supported by the processor's memory management unit. -# CONFIG_PAGING_NLOCKED - This is the number of locked pages in the -# memory map. The locked address region will then be from -# CONFIG_DRAM_VSTART through (CONFIG_DRAM_VSTART + -# CONFIG_PAGING_PAGESIZE*CONFIG_PAGING_NLOCKED) -# CONFIG_PAGING_LOCKED_PBASE and CONFIG_PAGING_LOCKED_VBASE - These -# may be defined to determine the base address of the locked page -# regions. If neither are defined, the logic will be set the bases -# to CONFIG_DRAM_START and CONFIG_DRAM_VSTART (i.e., it assumes -# that the base address of the locked region is at the beginning -# of RAM). -# NOTE: In some architectures, it may be necessary to take some -# memory from the beginning of this region for vectors or for a -# page table. In such cases, CONFIG_PAGING_LOCKED_P/VBASE should -# take that into consideration to prevent overlapping the locked -# memory region and the system data at the beginning of SRAM. -# CONFIG_PAGING_NPPAGED - This is the number of physical pages -# available to support the paged text region. This paged region -# begins at (CONFIG_PAGING_LOCKED_PBASE + CONFIG_PAGING_PAGESIZE*CONFIG_PAGING_NPPAGED) -# and continues until (CONFIG_PAGING_LOCKED_PBASE + CONFIG_PAGING_PAGESIZE*(CONFIG_PAGING_NLOCKED + -# CONFIG_PAGING_NPPAGED) -# CONFIG_PAGING_NVPAGED - This actual size of the paged text region -# (in pages). This is also the number of virtual pages required to -# support the entire paged region. The on-demand paging feature is -# intended to support only the case where the virtual paged text -# area is much larger the available physical pages. Otherwise, why -# would you enable on-demand paging? -# CONFIG_PAGING_NDATA - This is the number of data pages in the memory -# map. The data region will extend to the end of RAM unless overridden -# by a setting in the configuration file. -# NOTE: In some architectures, it may be necessary to take some memory -# from the end of RAM for page tables or other system usage. The -# configuration settings and linker directives must be cognizant of that: -# CONFIG_PAGING_NDATA should be defined to prevent the data region from -# extending all the way to the end of memory. -# CONFIG_PAGING_DEFPRIO - The default, minimum priority of the page fill -# worker thread. The priority of the page fill work thread will be boosted -# boosted dynmically so that it matches the priority of the task on behalf -# of which it peforms the fill. This defines the minimum priority that -# will be used. Default: 50. -# CONFIG_PAGING_STACKSIZE - Defines the size of the allocated stack -# for the page fill worker thread. Default: 1024. -# CONFIG_PAGING_BLOCKINGFILL - The architecture specific up_fillpage() -# function may be blocking or non-blocking. If defined, this setting -# indicates that the up_fillpage() implementation will block until the -# transfer is completed. Default: Undefined (non-blocking). -# CONFIG_PAGING_WORKPERIOD - The page fill worker thread will wake periodically -# even if there is no mapping to do. This selection controls that wake-up -# period (in microseconds). This wake-up a failsafe that will handle any -# cases where a single is lost (that would really be a bug and shouldn't -# happen!) and also supports timeouts for case of non-blocking, asynchronous -# fills (see CONFIG_PAGING_TIMEOUT_TICKS). -# CONFIG_PAGING_TIMEOUT_TICKS - If defined, the implementation will monitor -# the (asynchronous) page fill logic. If the fill takes longer than this -# number if microseconds, then a fatal error will be declared. -# Default: No timeouts monitored. -# -# Some architecture-specific settings. Defaults are architecture specific. -# If you don't know what you are doing, it is best to leave these undefined -# and try the system defaults: -# -# CONFIG_PAGING_VECPPAGE - This the physical address of the page in -# memory to be mapped to the vector address. -# CONFIG_PAGING_VECL2PADDR - This is the physical address of the L2 -# page table entry to use for the vector mapping. -# CONFIG_PAGING_VECL2VADDR - This is the virtual address of the L2 -# page table entry to use for the vector mapping. -# CONFIG_PAGING_BINPATH - If CONFIG_PAGING_BINPATH is defined, then it -# is the full path to a file on a mounted file system that contains -# a binary image of the NuttX executable. Pages will be filled by -# reading from offsets into this file that correspond to virtual -# fault addresses. -# CONFIG_PAGING_MOUNTPT - If CONFIG_PAGING_BINPATH is defined, additional -# options may be provided to control the initialization of underlying -# devices. CONFIG_PAGING_MOUNTPT identifies the mountpoint to be used -# if a device is mounted. -# CONFIG_PAGING_MINOR - Some mount operations require a "minor" number -# to identify the specific device instance. Default: 0 -# CONFIG_PAGING_SDSLOT - If CONFIG_PAGING_BINPATH is defined, additional -# options may be provided to control the initialization of underlying -# devices. CONFIG_PAGING_SDSLOT identifies the slot number of the SD -# device to initialize. This must be undefined if SD is not being used. -# This should be defined to be zero for the typical device that has -# only a single slot (See CONFIG_MMCSD_NSLOTS). If defined, -# CONFIG_PAGING_SDSLOT will instruct certain board-specific logic to -# initialize the media in this SD slot. -# CONFIG_PAGING_M25PX - Use the m25px.c FLASH driver. If this is selected, -# then the MTD interface to the M25Px device will be used to support -# paging. -# CONFIG_PAGING_AT45DB - Use the at45db.c FLASH driver. If this is selected, -# then the MTD interface to the Atmel AT45DB device will be used to support -# paging. -# CONFIG_PAGING_BINOFFSET - If CONFIG_PAGING_M25PX or CONFIG_PAGING_AT45DB -# is defined then CONFIG_PAGING_BINOFFSET will be used to specify the offset -# in bytes into the FLASH device where the NuttX binary image is located. -# Default: 0 -# CONFIG_PAGING_SPIPORT - If CONFIG_PAGING_M25PX or CONFIG_PAGING_AT45DB -# is defined and the device has multiple SPI busses (ports), then this -# configuration should be set to indicate which SPI port the device is -# connected. Default: 0 -# CONFIG_PAGING=y CONFIG_PAGING_PAGESIZE=1024 CONFIG_PAGING_NLOCKED=48 @@ -498,9 +212,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -523,38 +234,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -572,62 +251,24 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -651,8 +292,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -660,22 +299,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -688,13 +311,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -704,26 +320,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -740,26 +336,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -804,36 +380,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -869,15 +415,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -892,25 +429,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig index 1d05e73faf..a3043a2628 100644 --- a/nuttx/configs/ea3131/usbserial/defconfig +++ b/nuttx/configs/ea3131/usbserial/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=n @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -179,19 +104,6 @@ CONFIG_UART_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +113,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n @@ -349,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -374,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -423,9 +210,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n CONFIG_FS_WRITABLE=y @@ -433,53 +217,18 @@ CONFIG_FS_WRITABLE=y # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -503,8 +252,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -512,22 +259,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=y @@ -540,13 +271,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -556,26 +280,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -592,26 +296,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -656,36 +340,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -721,15 +375,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -744,37 +389,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/ram0" @@ -787,25 +401,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig index 491b48e91a..c618bf4a83 100644 --- a/nuttx/configs/ea3131/usbstorage/defconfig +++ b/nuttx/configs/ea3131/usbstorage/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=n @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -179,19 +104,6 @@ CONFIG_UART_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +113,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n @@ -349,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -374,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -423,9 +210,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n CONFIG_FS_WRITABLE=y @@ -433,53 +217,18 @@ CONFIG_FS_WRITABLE=y # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -503,8 +252,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -512,22 +259,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=y @@ -540,13 +271,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -556,26 +280,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -592,26 +296,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -656,36 +340,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -721,15 +375,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -744,38 +389,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/ram0" @@ -788,25 +401,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ea3152/ostest/defconfig b/nuttx/configs/ea3152/ostest/defconfig index dd95289de6..431e215e75 100644 --- a/nuttx/configs/ea3152/ostest/defconfig +++ b/nuttx/configs/ea3152/ostest/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - For most ARM9 architectures, this describes the -# size of installed DRAM. For the LPC31XX, it is used only to -# deterimine how to map the executable regions. It is SDRAM size -# only if you are executing out of the external SDRAM; or it could -# be NOR FLASH size, external SRAM size, or internal SRAM size. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_IRQPRIO - The LPC31xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,13 +58,6 @@ CONFIG_ARCH_DMA=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping in a file named -# board_memorymap.h. -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y @@ -114,7 +69,7 @@ CONFIG_LPC31XX_DEVKITARM=n CONFIG_LPC31XX_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_LPC31XX_MCI=n CONFIG_LPC31XX_SPI=n @@ -123,25 +78,6 @@ CONFIG_LPC31XX_UART=y # # Exernal memory available on the board (see also CONFIG_MM_REGIONS) # -# CONFIG_LPC31XX_EXTSRAM0 - Select if external SRAM0 is present -# CONFIG_LPC31XX_EXTSRAM0HEAP - Select if external SRAM0 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM0SIZE - Size (in bytes) of the installed -# external SRAM0 memory -# CONFIG_LPC31XX_EXTSRAM1 - Select if external SRAM1 is present -# CONFIG_LPC31XX_EXTSRAM1HEAP - Select if external SRAM1 should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSRAM1SIZE - Size (in bytes) of the installed -# external SRAM1 memory -# CONFIG_LPC31XX_EXTSDRAM - Select if external SDRAM is present -# CONFIG_LPC31XX_EXTSDRAMHEAP - Select if external SDRAM should be -# configured as part of the NuttX heap. -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external SDRAM memory -# CONFIG_LPC31XX_EXTNAND - Select if external NAND is present -# CONFIG_LPC31XX_EXTSDRAMSIZE - Size (in bytes) of the installed -# external NAND memory -# CONFIG_LPC31XX_EXTSRAM0=n CONFIG_LPC31XX_EXTSRAM0HEAP=n CONFIG_LPC31XX_EXTSRAM0SIZE=131072 @@ -157,17 +93,6 @@ CONFIG_LPC31XX_EXTNANDSIZE=67108864 # # LPC31XX specific device driver settings # -# CONFIG_UART_SERIAL_CONSOLE - selects the UART for the -# console and ttys0 -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UART_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UART_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=y CONFIG_UART_TXBUFSIZE=256 CONFIG_UART_RXBUFSIZE=256 @@ -179,19 +104,6 @@ CONFIG_UART_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +113,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -348,9 +170,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -373,38 +192,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -422,62 +209,24 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -501,8 +250,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -510,22 +257,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -538,13 +269,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC31XX USB Configuration # -# CONFIG_LPC31XX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_LPC31XX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable LPC31XX-specific DMA support -# CONFIG_LPC31XX_GIO_USBATTACH=6 CONFIG_LPC31XX_GIO_USBDPPULLUP=17 CONFIG_LPC31XX_VENDORID=0xd320 @@ -554,26 +278,6 @@ CONFIG_LPC31XX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -590,26 +294,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -654,36 +338,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -719,15 +373,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -742,25 +387,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/httpd/defconfig b/nuttx/configs/eagle100/httpd/defconfig index 284e8d5d2a..225bafa9f0 100644 --- a/nuttx/configs/eagle100/httpd/defconfig +++ b/nuttx/configs/eagle100/httpd/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,72 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -318,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -343,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -392,51 +210,18 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -462,8 +247,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -487,18 +270,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=n @@ -517,36 +289,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -590,26 +332,6 @@ CONFIG_EXAMPLE_DHCPD_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig index ef9a79a681..898d405b6d 100644 --- a/nuttx/configs/eagle100/nettest/defconfig +++ b/nuttx/configs/eagle100/nettest/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,72 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -318,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -343,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -392,51 +210,18 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -462,8 +247,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -478,18 +261,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=n @@ -508,36 +280,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -573,26 +315,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/nsh/defconfig b/nuttx/configs/eagle100/nsh/defconfig index 1d9b72faf1..47ddc168c1 100644 --- a/nuttx/configs/eagle100/nsh/defconfig +++ b/nuttx/configs/eagle100/nsh/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,72 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -320,9 +173,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -345,38 +195,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -394,52 +212,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -465,8 +249,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -499,39 +281,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -568,26 +317,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/nxflat/defconfig b/nuttx/configs/eagle100/nxflat/defconfig index e6e2da840f..8d291cb81c 100644 --- a/nuttx/configs/eagle100/nxflat/defconfig +++ b/nuttx/configs/eagle100/nxflat/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,69 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -289,15 +145,6 @@ CONFIG_SDCLONE_DISABLE=y # # Settings for examples/nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -330,9 +177,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -355,38 +199,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -404,51 +216,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -472,8 +251,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -506,36 +283,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -571,26 +318,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/ostest/defconfig b/nuttx/configs/eagle100/ostest/defconfig index 04e5ff77a8..74a5afd4d7 100644 --- a/nuttx/configs/eagle100/ostest/defconfig +++ b/nuttx/configs/eagle100/ostest/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,78 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -324,9 +171,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -349,38 +193,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -398,51 +210,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -466,8 +245,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -500,36 +277,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -565,26 +312,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/eagle100/thttpd/defconfig b/nuttx/configs/eagle100/thttpd/defconfig index e266896d13..b2865a2eda 100644 --- a/nuttx/configs/eagle100/thttpd/defconfig +++ b/nuttx/configs/eagle100/thttpd/defconfig @@ -33,39 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6918 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Configure to use the MicroMint Eagle-100 -# Ethernet bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,19 +69,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6918 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -134,16 +89,6 @@ CONFIG_UART1_2STOP=0 # # LM3S6918 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -152,19 +97,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6918 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -179,19 +111,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,75 +120,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -296,15 +146,6 @@ CONFIG_SDCLONE_DISABLE=n # # Settings for examples/nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -337,9 +178,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -362,38 +200,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -411,51 +217,18 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -481,8 +254,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -490,60 +261,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # THTTPD settings # -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -604,36 +321,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -669,26 +356,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Eagle100 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig index 37ca29ec12..4f556d406d 100644 --- a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig +++ b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig @@ -34,37 +34,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6B96 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -108,19 +78,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6B96 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -149,16 +106,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6B96 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -167,19 +114,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6B96 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=n @@ -194,19 +128,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -216,78 +137,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -340,9 +189,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -365,38 +211,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -414,10 +228,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_NFS - Enable NFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n CONFIG_NFS=y @@ -425,36 +235,10 @@ CONFIG_NFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_NSLOTS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -480,8 +264,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -514,36 +296,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -579,26 +331,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6B96 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig index 11562cabe5..21c4466974 100644 --- a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig +++ b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig @@ -34,37 +34,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6965 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -108,19 +78,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6B96 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -149,16 +106,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6B96 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -167,19 +114,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6B96 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -194,19 +128,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -216,78 +137,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -339,9 +188,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -364,38 +210,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -413,10 +227,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_NFS - Enable NFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n CONFIG_NFS=n @@ -424,36 +234,10 @@ CONFIG_NFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_NSLOTS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -477,8 +261,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -511,36 +293,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -576,26 +328,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6965 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200kitg/ostest/defconfig b/nuttx/configs/ez80f910200kitg/ostest/defconfig index b9a001ebf1..056ab3a1e5 100644 --- a/nuttx/configs/ez80f910200kitg/ostest/defconfig +++ b/nuttx/configs/ez80f910200kitg/ostest/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -85,17 +56,6 @@ CONFIG_ARCH_TIMERHOOK=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -114,21 +74,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=n CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -145,19 +90,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -167,74 +99,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -285,9 +149,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -310,38 +171,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -367,47 +196,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -431,29 +230,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -466,25 +249,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -501,25 +265,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -535,58 +280,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -637,33 +330,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -697,28 +363,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -741,11 +385,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -755,25 +395,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/dhcpd/defconfig b/nuttx/configs/ez80f910200zco/dhcpd/defconfig index 85c0881577..dad606ed98 100644 --- a/nuttx/configs/ez80f910200zco/dhcpd/defconfig +++ b/nuttx/configs/ez80f910200zco/dhcpd/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -86,18 +57,6 @@ CONFIG_ARCH_STACKDUMP=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -118,21 +77,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=y CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -149,19 +93,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -171,75 +102,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_NET - enables debug of the network subsystem -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -291,9 +153,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -316,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -373,47 +200,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -439,29 +236,13 @@ CONFIG_NET_BROADCAST=y # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -474,25 +255,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -509,25 +271,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,58 +286,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -635,18 +326,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -664,33 +344,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -731,28 +384,6 @@ CONFIG_EXAMPLE_DHCPD_NETMASK=0xffffff00 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -775,11 +406,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -789,25 +416,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/httpd/defconfig b/nuttx/configs/ez80f910200zco/httpd/defconfig index 9eda29217e..0902d80b2a 100644 --- a/nuttx/configs/ez80f910200zco/httpd/defconfig +++ b/nuttx/configs/ez80f910200zco/httpd/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -86,18 +57,6 @@ CONFIG_ARCH_STACKDUMP=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -118,21 +77,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=y CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -149,19 +93,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -171,75 +102,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_NET - enables debug of the network subsystem -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -291,9 +153,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -316,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -373,47 +200,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -439,29 +236,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -474,25 +255,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -509,25 +271,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,58 +286,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -643,18 +334,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -672,33 +352,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -739,28 +392,6 @@ CONFIG_EXAMPLE_DHCPD_NETMASK=0xffffff00 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -783,11 +414,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -797,25 +424,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/nettest/defconfig b/nuttx/configs/ez80f910200zco/nettest/defconfig index af65944364..bd5f02e8b4 100644 --- a/nuttx/configs/ez80f910200zco/nettest/defconfig +++ b/nuttx/configs/ez80f910200zco/nettest/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -86,18 +57,6 @@ CONFIG_ARCH_STACKDUMP=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -118,21 +77,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=y CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -149,19 +93,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -171,75 +102,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_NET - enables debug of the network subsystem -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -291,9 +153,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -316,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -373,47 +200,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -439,29 +236,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -474,25 +255,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -509,25 +271,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,58 +286,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -635,18 +326,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -664,33 +344,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -724,28 +377,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -768,11 +399,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -782,25 +409,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/nsh/defconfig b/nuttx/configs/ez80f910200zco/nsh/defconfig index c4d6c2dc1b..efa02583c3 100644 --- a/nuttx/configs/ez80f910200zco/nsh/defconfig +++ b/nuttx/configs/ez80f910200zco/nsh/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -86,18 +57,6 @@ CONFIG_ARCH_STACKDUMP=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -118,21 +77,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=y CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -149,19 +93,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -171,75 +102,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_NET - enables debug of the network subsystem -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -291,9 +153,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -316,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -373,47 +200,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -439,29 +236,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -474,25 +255,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -509,25 +271,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,58 +286,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -635,18 +326,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -664,33 +344,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -724,28 +377,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -768,11 +399,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -782,25 +409,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig index 282851238e..c5ffe7b122 100644 --- a/nuttx/configs/ez80f910200zco/ostest/defconfig +++ b/nuttx/configs/ez80f910200zco/ostest/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -85,18 +56,6 @@ CONFIG_ARCH_TIMERHOOK=y # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -117,21 +76,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=n CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -148,19 +92,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -170,74 +101,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -288,9 +151,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -313,38 +173,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -370,47 +198,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -434,29 +232,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -469,25 +251,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -504,25 +267,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -538,58 +282,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -647,33 +339,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -707,28 +372,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -751,11 +394,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -765,25 +404,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ez80f910200zco/poll/defconfig b/nuttx/configs/ez80f910200zco/poll/defconfig index 05f5c96bc7..1467ed6bbd 100644 --- a/nuttx/configs/ez80f910200zco/poll/defconfig +++ b/nuttx/configs/ez80f910200zco/poll/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture or, more accurately, the specific directory under -# nuttx/arch to use (CONFIG_ARCH_Z80 specifies nuttx/arch/z80). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_EZ80) -# CONFIG_ARCH_CHIP_EZ80F91 - Identifies ez80 chip variant -# CONFIG_ARCH_CHIP_EZ80F92 -# CONFIG_ARCH_CHIP_EZ80F93 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - Define for big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to board architecture. -# CONFIG_ARCH_TIMERHOOK - Provide board-specific hooks into periodic timer logic. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="ez80" @@ -86,18 +57,6 @@ CONFIG_ARCH_STACKDUMP=n # # eZ80 specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of data bits (7 or 8) -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART0_SERIAL_CONSOLE=y @@ -118,21 +77,6 @@ CONFIG_UART1_2STOP=0 # # ez80 EMAC # -# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. -# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device -# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY -# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD -# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000) -# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS - -# The size of one packet buffer and the number of Rx and Tx packet -# buffers. This must add up to exactly 8192 bytes. -# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive -# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; -# 5->14; 6->20; and 7->28 -# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller -# should poll for a Tx packet (milliseconds) -# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not -# fully implemented CONFIG_EZ80_EMAC=y CONFIG_EZ80_FIAD=0x1f CONFIG_EZ80_PHYAM79C874=y @@ -149,19 +93,6 @@ CONFIG_ARCH_MCFILTER=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -171,75 +102,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_DEBUG_NET - enables debug of the network subsystem -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal, write-only support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -291,9 +153,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -316,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -373,47 +200,17 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -439,29 +236,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -474,25 +255,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -509,25 +271,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,58 +286,6 @@ CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" CONFIG_USBMSC_VERSIONNO=0x0399 CONFIG_USBMSC_REMOVABLE=y -# -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). # CONFIG_NX=n CONFIG_NX_MULTIUSER=n @@ -635,18 +326,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -664,33 +344,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -724,28 +377,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -768,11 +399,7 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/wget -# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get -# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) -# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address -# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess -# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +# CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html" CONFIG_EXAMPLE_WGET_NOMAC=y CONFIG_EXAMPLE_WGET_IPADDR=0x0a000002 @@ -782,25 +409,6 @@ CONFIG_EXAMPLE_WGET_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/buttons/defconfig b/nuttx/configs/hymini-stm32v/buttons/defconfig index 3bf72b5e27..d50ba3697e 100644 --- a/nuttx/configs/hymini-stm32v/buttons/defconfig +++ b/nuttx/configs/hymini-stm32v/buttons/defconfig @@ -33,41 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_IRQBUTTONS - Must be defined for interrupting button support -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,10 +65,9 @@ CONFIG_STM32_RAISONANCE=n CONFIG_STM32_BUILDROOT=n CONFIG_STM32_DFU=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -148,17 +113,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -204,16 +158,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -222,19 +166,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -244,96 +175,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -390,9 +231,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -415,38 +253,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -465,46 +271,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -515,13 +281,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -529,53 +288,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -599,8 +323,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -608,22 +330,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -636,26 +342,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -672,26 +358,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -710,13 +376,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -740,12 +399,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=2 @@ -769,36 +422,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -834,15 +457,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -860,57 +474,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/nsh/defconfig b/nuttx/configs/hymini-stm32v/nsh/defconfig index e5c1a534e2..be3ba9640d 100755 --- a/nuttx/configs/hymini-stm32v/nsh/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -144,17 +111,6 @@ CONFIG_STM32_ADC3=n # # STM32F103V specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -200,16 +156,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103V specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -218,19 +164,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -240,96 +173,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -386,9 +229,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -411,38 +251,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -460,46 +268,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=n @@ -510,13 +278,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -524,29 +285,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -556,29 +300,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -602,8 +323,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -611,22 +330,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -639,26 +342,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -675,26 +358,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -713,13 +376,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -750,39 +406,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -819,15 +442,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -845,57 +459,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/nsh2/defconfig b/nuttx/configs/hymini-stm32v/nsh2/defconfig index 4ac12187ee..b18fd622bc 100644 --- a/nuttx/configs/hymini-stm32v/nsh2/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh2/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -149,17 +116,6 @@ CONFIG_STM32_TIM3_PARTIAL_REMAP=y # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -205,16 +161,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -223,19 +169,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -247,95 +180,6 @@ CONFIG_RTC=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Specifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distant past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# descriptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_GRAPHICS=y @@ -373,16 +217,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -414,9 +248,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -439,38 +270,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -497,46 +296,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -547,29 +306,12 @@ CONFIG_FS_ROMFS=y # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt priority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -581,22 +323,6 @@ CONFIG_MMCSD_HAVECARDDETECT=y # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -609,26 +335,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -645,26 +351,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -683,112 +369,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -829,19 +414,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at the right of display. -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at bottom of display. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the HY-MiniSTM32 -# screen has the used connector at top of display. -# CONFIG_LCD_BACKLIGHT - Define to support an adjustable backlight -# using timer 3. The granularity of the settings is determined -# by CONFIG_LCD_MAXPOWER. Requires CONFIG_STM32_TIM3. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=y CONFIG_LCD_RPORTRAIT=n @@ -874,41 +446,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -944,15 +481,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -967,35 +495,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1016,26 +515,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1048,28 +527,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1085,35 +542,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1129,44 +557,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1187,57 +577,10 @@ CONFIG_EXAMPLES_BUTTONS_BUILTIN=y # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/nx/defconfig b/nuttx/configs/hymini-stm32v/nx/defconfig index 9d57e2ea1c..56960f2b42 100644 --- a/nuttx/configs/hymini-stm32v/nx/defconfig +++ b/nuttx/configs/hymini-stm32v/nx/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -144,17 +111,6 @@ CONFIG_STM32_ADC3=n # # STM32F103V specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -200,16 +156,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103V specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -218,19 +164,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -240,93 +173,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -360,16 +206,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -401,9 +237,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -426,38 +259,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -484,46 +285,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -534,13 +295,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -548,53 +302,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -618,8 +337,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -627,22 +344,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -655,26 +356,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -691,26 +372,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -729,112 +390,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -875,19 +435,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at the right of display. -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at bottom of display. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the HY-MiniSTM32 -# screen has the used connector at top of display. -# CONFIG_LCD_BACKLIGHT - Define to support an adjustable backlight -# using timer 3. The granularity of the settings is determined -# by CONFIG_LCD_MAXPOWER. Requires CONFIG_STM32_TIM3. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n CONFIG_LCD_RPORTRAIT=y @@ -921,38 +468,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -989,15 +504,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1012,35 +518,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1061,28 +538,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1098,26 +553,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the lines drawn in the -# background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1133,57 +568,10 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/nxlines/defconfig b/nuttx/configs/hymini-stm32v/nxlines/defconfig index 8df5b37c3d..78e409955e 100644 --- a/nuttx/configs/hymini-stm32v/nxlines/defconfig +++ b/nuttx/configs/hymini-stm32v/nxlines/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -148,17 +115,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -204,16 +160,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103V specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -222,19 +168,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -244,93 +177,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -364,16 +210,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -405,9 +241,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -430,38 +263,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -488,46 +289,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -538,13 +299,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -552,53 +306,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -622,8 +341,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -631,22 +348,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -659,26 +360,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -695,26 +376,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -733,112 +394,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -877,19 +437,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at the right of display. -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the HY-MiniSTM32 screen -# has the used connector at bottom of display. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the HY-MiniSTM32 -# screen has the used connector at top of display. -# CONFIG_LCD_BACKLIGHT - Define to support an adjustable backlight -# using timer 3. The granularity of the settings is determined -# by CONFIG_LCD_MAXPOWER. Requires CONFIG_STM32_TIM3. -# CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_PORTRAIT=n CONFIG_LCD_RPORTRAIT=n @@ -904,38 +451,6 @@ CONFIG_LCD_MAXCONTRAST=100 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -972,15 +487,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -995,35 +501,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1044,45 +521,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxtext # -# CONFIG_EXAMPLES_NXTEXT_BUILTIN -- Build the NXTEXT example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXTEXT_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXTEXT_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXTEXT_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BGFONTID - Selects the font to use in the -# background text (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_BGFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUCOLOR -- The color of the pop-up window. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUFONTID - Selects the font to use in the pop-up -# windows (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_PUFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXTEXT_NOGETRUN -- If your display is read-only OR if -# reading is not reliable, then select this configuration to avoid -# reading from the display. -# CONFIG_EXAMPLES_NXTEXT_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. -# CONFIG_EXAMPLES_NXTEXT_BMCACHE - The maximum number of characters that -# can be put in the background window. Default is 128. -# CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum number of pre-rendered -# fonts that can be retained for the background window. Default is 16. -# CONFIG_EXAMPLES_NXTEXT_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NXTEXT_CLIENTPRIO -- The client priority. Default: 100 -# CONFIG_EXAMPLES_NXTEXT_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NXTEXT_LISTENERPRIO -- The priority of the event listener -# thread. Default 80. -# CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NXTEXT_BUILTIN=n CONFIG_EXAMPLES_NXTEXT_VPLANE=0 CONFIG_EXAMPLES_NXTEXT_DEVNO=0 @@ -1105,28 +543,6 @@ CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO=4 # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1142,35 +558,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1189,57 +576,10 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/usbserial/defconfig b/nuttx/configs/hymini-stm32v/usbserial/defconfig index 66a52588aa..75b3b2dc90 100755 --- a/nuttx/configs/hymini-stm32v/usbserial/defconfig +++ b/nuttx/configs/hymini-stm32v/usbserial/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -98,10 +65,9 @@ CONFIG_STM32_RAISONANCE=n CONFIG_STM32_BUILDROOT=n CONFIG_STM32_DFU=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -147,17 +113,6 @@ CONFIG_STM32_ADC3=n # # STM32F103V specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -203,16 +158,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103V specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -221,19 +166,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -243,96 +175,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_USB=n @@ -390,9 +232,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -415,38 +254,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -464,46 +271,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -514,13 +281,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -528,53 +288,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -598,8 +323,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -607,22 +330,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -635,26 +342,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration (Prolific PL2303 Emulation) # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -671,52 +358,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n #CONFIG_CDCACM_EP0MAXPACKET #CONFIG_CDCACM_EPINTIN @@ -739,26 +380,6 @@ CONFIG_CDCACM=n # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -777,13 +398,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -814,36 +428,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -879,15 +463,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -902,23 +477,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT - Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS - Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS - Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER - Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS - Show interrupt-related events -# CONFIG_EXAMPLES_USBTERM_BUILTIN=n CONFIG_EXAMPLES_USBTERM_BUFLEN=256 CONFIG_EXAMPLES_USBTERM_TRACEINIT=n @@ -933,57 +491,10 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/hymini-stm32v/usbstorage/defconfig b/nuttx/configs/hymini-stm32v/usbstorage/defconfig index 876b34fca8..612b6ca012 100755 --- a/nuttx/configs/hymini-stm32v/usbstorage/defconfig +++ b/nuttx/configs/hymini-stm32v/usbstorage/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -145,17 +112,6 @@ CONFIG_STM32_ADC3=n # # STM32F103V specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -201,16 +157,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103V specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -219,19 +165,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -241,93 +174,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n @@ -361,16 +207,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -402,9 +238,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -427,38 +260,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -476,46 +277,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -526,13 +287,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -540,53 +294,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -610,8 +329,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -619,22 +336,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -647,26 +348,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -683,26 +364,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -721,13 +382,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -758,41 +412,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -830,15 +449,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -853,44 +463,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -908,57 +480,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the Hy-Mini STM32v which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/kwikstik-k40/ostest/defconfig b/nuttx/configs/kwikstik-k40/ostest/defconfig index 8519f2733e..f91fbc13cc 100755 --- a/nuttx/configs/kwikstik-k40/ostest/defconfig +++ b/nuttx/configs/kwikstik-k40/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The K40X256VLQ100 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,54 +63,9 @@ CONFIG_KINETIS_DEVKITARM=n CONFIG_KINETIS_BUILDROOT=y CONFIG_KINETIS_DFU=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: # -# CONFIG_KINETIS_TRACE - Enable trace clocking on power up. -# CONFIG_KINETIS_FLEXBUS - Enable flexbus clocking on power up. -# CONFIG_KINETIS_UART0 - Support UART0 -# CONFIG_KINETIS_UART1 - Support UART1 -# CONFIG_KINETIS_UART2 - Support UART2 -# CONFIG_KINETIS_UART3 - Support UART3 -# CONFIG_KINETIS_UART4 - Support UART4 -# CONFIG_KINETIS_UART5 - Support UART5 -# CONFIG_KINETIS_ENET - Support Ethernet (K60 only) -# CONFIG_KINETIS_RNGB - Support the random number generator(K60 only) -# CONFIG_KINETIS_FLEXCAN0 - Support FlexCAN0 -# CONFIG_KINETIS_FLEXCAN1 - Support FlexCAN1 -# CONFIG_KINETIS_SPI0 - Support SPI0 -# CONFIG_KINETIS_SPI1 - Support SPI1 -# CONFIG_KINETIS_SPI2 - Support SPI2 -# CONFIG_KINETIS_I2C0 - Support I2C0 -# CONFIG_KINETIS_I2C1 - Support I2C1 -# CONFIG_KINETIS_I2S - Support I2S -# CONFIG_KINETIS_DAC0 - Support DAC0 -# CONFIG_KINETIS_DAC1 - Support DAC1 -# CONFIG_KINETIS_ADC0 - Support ADC0 -# CONFIG_KINETIS_ADC1 - Support ADC1 -# CONFIG_KINETIS_CMP - Support CMP -# CONFIG_KINETIS_VREF - Support VREF -# CONFIG_KINETIS_SDHC - Support SD host controller -# CONFIG_KINETIS_FTM0 - Support FlexTimer 0 -# CONFIG_KINETIS_FTM1 - Support FlexTimer 1 -# CONFIG_KINETIS_FTM2 - Support FlexTimer 2 -# CONFIG_KINETIS_LPTIMER - Support the low power timer -# CONFIG_KINETIS_RTC - Support RTC -# CONFIG_KINETIS_SLCD - Support the segment LCD (K40 only) -# CONFIG_KINETIS_EWM - Support the external watchdog -# CONFIG_KINETIS_CMT - Support Carrier Modulator Transmitter -# CONFIG_KINETIS_USBOTG - Support USB OTG (see also CONFIG_USBHOST and CONFIG_USBDEV) -# CONFIG_KINETIS_USBDCD - Support the USB Device Charger Detection module -# CONFIG_KINETIS_LLWU - Support the Low Leakage Wake-Up Unit -# CONFIG_KINETIS_TSI - Support the touch screeen interface -# CONFIG_KINETIS_FTFL - Support FLASH -# CONFIG_KINETIS_DMA - Support DMA -# CONFIG_KINETIS_CRC - Support CRC -# CONFIG_KINETIS_PDB - Support the Programmable Delay Block -# CONFIG_KINETIS_PIT - Support Programmable Interval Timers -# CONFIG_ARMV7M_MPU - Support the MPU CONFIG_KINETIS_TRACE=n CONFIG_KINETIS_FLEXBUS=n @@ -192,14 +114,6 @@ CONFIG_ARMV7M_MPU=n # # PIN Interrupt Support # -# CONFIG_GPIO_IRQ -- Enable pin interrtup support. Also needs one or -# more of the following: -# CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts -# CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts -# CONFIG_KINETIS_PORTCINTS -- Support 32 Port C interrupts -# CONFIG_KINETIS_PORTDINTS -- Support 32 Port D interrupts -# CONFIG_KINETIS_PORTEINTS -- Support 32 Port E interrupts -# CONFIG_GPIO_IRQ=n CONFIG_KINETIS_PORTAINTS=n CONFIG_KINETIS_PORTBINTS=n @@ -210,16 +124,6 @@ CONFIG_KINETIS_PORTEINTS=n # # K40X256VLQ100 specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of bits. Must be either 8 or 9. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -264,16 +168,6 @@ CONFIG_UART5_PARITY=0 # # K40X256VLQ100 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -282,19 +176,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -304,96 +185,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection--completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -450,9 +241,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -475,38 +263,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -524,46 +280,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -574,13 +290,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -588,53 +297,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -658,8 +332,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -667,22 +339,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -695,26 +351,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -731,26 +367,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -794,36 +410,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE - Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -859,15 +445,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -882,28 +459,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the KwikStik-K40 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions -# into RAM, either for better performance or for errata workarounds. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_BOOT_RAMFUNCS=y diff --git a/nuttx/configs/lincoln60/nsh/defconfig b/nuttx/configs/lincoln60/nsh/defconfig index e83881efb3..3821f8a2a2 100644 --- a/nuttx/configs/lincoln60/nsh/defconfig +++ b/nuttx/configs/lincoln60/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,9 @@ CONFIG_LPC17_CODESOURCERYL=y CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) +# CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n CONFIG_LPC17_USBOTG=n @@ -133,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -182,22 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -206,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -228,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -374,9 +209,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -399,38 +231,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -448,22 +248,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -471,53 +261,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -541,8 +296,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -550,22 +303,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -578,19 +315,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -600,26 +324,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -636,26 +340,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -699,36 +383,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -764,15 +418,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -787,26 +432,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lincoln60/ostest/defconfig b/nuttx/configs/lincoln60/ostest/defconfig index 5157665967..40fa5d97dd 100644 --- a/nuttx/configs/lincoln60/ostest/defconfig +++ b/nuttx/configs/lincoln60/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=y CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,22 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +150,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,96 +159,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -381,9 +215,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -406,38 +237,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -455,46 +254,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -505,13 +264,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -519,53 +271,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -589,8 +306,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -598,22 +313,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -626,19 +325,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -648,26 +334,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -684,26 +350,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -730,19 +376,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -761,12 +394,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -783,36 +410,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -848,15 +445,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -871,38 +459,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -915,26 +471,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s6432-s2e/nsh/defconfig b/nuttx/configs/lm3s6432-s2e/nsh/defconfig index 67ed9cab8a..4a929623d7 100644 --- a/nuttx/configs/lm3s6432-s2e/nsh/defconfig +++ b/nuttx/configs/lm3s6432-s2e/nsh/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6432 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6432 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=n CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6432 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6432 specific ethernet device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -339,9 +188,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -364,38 +210,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -413,51 +227,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -483,8 +264,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -517,36 +296,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -582,26 +331,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6432 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s6432-s2e/ostest/defconfig b/nuttx/configs/lm3s6432-s2e/ostest/defconfig index fed09ef833..92e77b457a 100644 --- a/nuttx/configs/lm3s6432-s2e/ostest/defconfig +++ b/nuttx/configs/lm3s6432-s2e/ostest/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6432 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6432 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=n CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6432 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6432 specific ethernet device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -338,9 +187,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -363,38 +209,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -412,51 +226,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -480,8 +261,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -514,36 +293,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -579,26 +328,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6432 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s6965-ek/nsh/defconfig b/nuttx/configs/lm3s6965-ek/nsh/defconfig index ffa9d885c0..310eab1e83 100755 --- a/nuttx/configs/lm3s6965-ek/nsh/defconfig +++ b/nuttx/configs/lm3s6965-ek/nsh/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6965 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6965 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6965 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6965 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=n @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -339,9 +188,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -364,38 +210,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -413,10 +227,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_NFS - Enable NFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n CONFIG_NFS=n @@ -424,42 +234,12 @@ CONFIG_NFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -485,8 +265,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -519,36 +297,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -584,26 +332,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6965 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s6965-ek/nx/defconfig b/nuttx/configs/lm3s6965-ek/nx/defconfig index 63c37ef44d..a579f4622e 100755 --- a/nuttx/configs/lm3s6965-ek/nx/defconfig +++ b/nuttx/configs/lm3s6965-ek/nx/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6965 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6965 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6965 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6965 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -220,78 +141,6 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -345,9 +194,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -370,38 +216,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -427,51 +241,18 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -495,8 +276,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -504,64 +283,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -591,19 +312,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # RiT P14201 OLED Driver Configuration # -# CONFIG_LCD_P14201 - Enable P14201 support -# CONFIG_P14201_SPIMODE - Controls the SPI mode (should be mode 2) -# CONFIG_P14201_FREQUENCY - Define to use a different bus frequency -# CONFIG_P14201_NINTERFACES - Specifies the number of physical P14201 devices that -# will be supported. -# CONFIG_P14201_FRAMEBUFFER - If defined, accesses will be performed using an in-memory -# copy of the OLEDs GDDRAM. This cost of this buffer is 128 * 96 / 2 = 6Kb. If this -# is defined, then the driver will be fully functional. If not, then it will have the -# following limitations: -# - Reading graphics memory cannot be supported, and -# - All pixel writes must be aligned to byte boundaries. -# -# The latter limitation effectively reduces the 128x96 disply to 64x96. CONFIG_LCD_P14201=y CONFIG_P14201_SPIMODE=2 CONFIG_P14201_FREQUENCY=3500000 @@ -638,36 +346,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -703,30 +381,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 CONFIG_EXAMPLES_NX_BGCOLOR=2 @@ -745,26 +399,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6965 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s6965-ek/ostest/defconfig b/nuttx/configs/lm3s6965-ek/ostest/defconfig index 15eaa74eb8..6384936a93 100755 --- a/nuttx/configs/lm3s6965-ek/ostest/defconfig +++ b/nuttx/configs/lm3s6965-ek/ostest/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S6965 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S6965 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S6965 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S6965 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -338,9 +187,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -363,38 +209,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -412,51 +226,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -480,8 +261,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -514,36 +293,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -579,26 +328,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S6965 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s8962-ek/nsh/defconfig b/nuttx/configs/lm3s8962-ek/nsh/defconfig index 46fb5e1175..2e1d5056e9 100755 --- a/nuttx/configs/lm3s8962-ek/nsh/defconfig +++ b/nuttx/configs/lm3s8962-ek/nsh/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S8962 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S8962 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S8962 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S8962 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=y CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=n @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -339,9 +188,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -364,38 +210,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -413,51 +227,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -483,8 +264,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -517,36 +296,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -582,26 +331,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S8962 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s8962-ek/nx/defconfig b/nuttx/configs/lm3s8962-ek/nx/defconfig index ecd4632a4b..a918f1c430 100755 --- a/nuttx/configs/lm3s8962-ek/nx/defconfig +++ b/nuttx/configs/lm3s8962-ek/nx/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S8962 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S8962 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S8962 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S8962 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -220,78 +141,6 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -345,9 +194,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -370,38 +216,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -427,51 +241,18 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -495,8 +276,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -504,64 +283,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -590,19 +311,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # RiT P14201 OLED Driver Configuration # -# CONFIG_LCD_P14201 - Enable P14201 support -# CONFIG_P14201_SPIMODE - Controls the SPI mode (should be mode 2) -# CONFIG_P14201_FREQUENCY - Define to use a different bus frequency -# CONFIG_P14201_NINTERFACES - Specifies the number of physical P14201 devices that -# will be supported. -# CONFIG_P14201_FRAMEBUFFER - If defined, accesses will be performed using an in-memory -# copy of the OLEDs GDDRAM. This cost of this buffer is 128 * 96 / 2 = 6Kb. If this -# is defined, then the driver will be fully functional. If not, then it will have the -# following limitations: -# - Reading graphics memory cannot be supported, and -# - All pixel writes must be aligned to byte boundaries. -# -# The latter limitation effectively reduces the 128x96 disply to 64x96. CONFIG_LCD_P14201=y CONFIG_P14201_SPIMODE=2 CONFIG_P14201_FREQUENCY=3500000 @@ -637,36 +345,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -702,30 +380,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 CONFIG_EXAMPLES_NX_BGCOLOR=2 @@ -744,26 +398,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S8962 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lm3s8962-ek/ostest/defconfig b/nuttx/configs/lm3s8962-ek/ostest/defconfig index 1fbc67c52c..757c0192a6 100755 --- a/nuttx/configs/lm3s8962-ek/ostest/defconfig +++ b/nuttx/configs/lm3s8962-ek/ostest/defconfig @@ -33,37 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LM3S8962 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibratre -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -107,19 +77,6 @@ CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y # # LM3S8962 specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=n CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -148,16 +105,6 @@ CONFIG_UART2_2STOP=0 # # LM3S8962 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -166,19 +113,6 @@ CONFIG_SSI_POLLWAIT=y # # LM3S8962 specific serial device driver settings # -# CONFIG_LM3S_ETHERNET - This must be set (along with CONFIG_NET) -# to build the LM3S Ethernet driver -# CONFIG_LM3S_ETHLEDS - Enable to use Ethernet LEDs on the board. -# CONFIG_LM3S_BOARDMAC - If the board-specific logic can provide -# a MAC address (via lm3s_ethernetmac()), then this should be selected. -# CONFIG_LM3S_ETHHDUPLEX - Set to force half duplex operation -# CONFIG_LM3S_ETHNOAUTOCRC - Set to suppress auto-CRC generation -# CONFIG_LM3S_ETHNOPAD - Set to suppress Tx padding -# CONFIG_LM3S_MULTICAST - Set to enable multicast frames -# CONFIG_LM3S_PROMISCUOUS - Set to enable promiscuous mode -# CONFIG_LM3S_BADCRC - Set to enable bad CRC rejection. -# CONFIG_LM3S_DUMPPACKET - Dump each packet received/sent to the console. -# CONFIG_LM3S_ETHERNET=n CONFIG_LM3S_ETHLEDS=n CONFIG_LM3S_BOARDMAC=y @@ -193,19 +127,6 @@ CONFIG_LM3S_DUMPPACKET=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -215,78 +136,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -338,9 +187,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -363,38 +209,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -412,51 +226,18 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -480,8 +261,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -514,36 +293,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -579,26 +328,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LM3S8962 Eval Kit which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig index be5ece3511..bab387d5d0 100644 --- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig +++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The Cortex-M4 supports interrupt prioritization -# CONFIG_ARCH_FPU - The Cortex-M4 supports a floating point unit (FPU) -# (But, unfortunately, most versions of GCC do not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARMV7M_CMNVECTOR - This must be defined to indicate that the -# LPC43xx port using the ARMv7 common vector logic. There are two -# variants +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,20 +57,7 @@ CONFIG_ARCH_DMA=n CONFIG_ARMV7M_CMNVECTOR=y # -# CONFIG_BOOT_xxx - The startup code needs to know if the code is running -# from internal FLASH, external FLASH, SPIFI, or SRAM in order to -# initialize properly. Note that a boot device is not specified for -# cases where the code is copied into SRAM; those cases are all covered -# by CONFIG_BOOT_SRAM. -# -# CONFIG_BOOT_SRAM=y : Running from SRAM (0x1000:0000) -# CONFIG_BOOT_SPIFI=y : Running from QuadFLASH (0x1400:0000) -# CONFIG_BOOT_FLASHA=y : Running in internal FLASHA (0x1a00:0000) -# CONFIG_BOOT_FLASHB=y : Running in internal FLASHA (0x1b00:0000) -# CONFIG_BOOT_CS0FLASH=y : Running in external FLASH CS0 (0x1c00:0000) -# CONFIG_BOOT_CS1FLASH=y : Running in external FLASH CS1 (0x1d00:0000) -# CONFIG_BOOT_CS2FLASH=y : Running in external FLASH CS2 (0x1e00:0000) -# CONFIG_BOOT_CS3FLASH=y : Running in external FLASH CS3 (0x1f00:0000) +# Execution address space # CONFIG_BOOT_SRAM=y CONFIG_BOOT_SPIFI=n @@ -132,11 +81,8 @@ CONFIG_LPC43_BUILDROOT=n CONFIG_ARCH_STDARG_H=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC43_ADC0=n CONFIG_LPC43_ADC1=n @@ -179,22 +125,6 @@ CONFIG_LPC43_WWDT=n # # LPC43xx specific serial device driver settings # -# CONFIG_SERIAL_TERMIOS - Serial driver supports termios.h interfaces (tcsetattr, -# tcflush, etc.). If this is not defined, then the terminal settings (baud, -# parity, etc.) are not configurable at runtime; serial streams cannot be -# flushed, etc. -# -# CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_U[S]ARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_U[S]ARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_U[S]ARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_U[S]ARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_U[S]ARTn_2STOP - Two stop bits -# CONFIG_SERIAL_TERMIOS=n CONFIG_USART0_SERIAL_CONSOLE=y @@ -232,10 +162,6 @@ CONFIG_UART1_2STOP=0 CONFIG_USART2_2STOP=0 CONFIG_USART3_2STOP=0 -# -# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode -# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable -# RS-485 mode. # CONFIG_USART0_RS485MODE=n CONFIG_USART2_RS485MODE=n @@ -244,22 +170,6 @@ CONFIG_USART3_RS485MODE=n # # LPC43xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -276,19 +186,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -298,99 +195,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -429,27 +233,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -461,16 +244,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -502,9 +275,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -527,46 +297,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -585,46 +315,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -635,13 +325,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -649,24 +332,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n @@ -678,29 +349,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # SPIFI device geometry: # -# CONFIG_SPIFI_OFFSET - Offset the beginning of the block driver this many -# bytes into the device address space. This offset must be an exact -# multiple of the erase block size (CONFIG_SPIFI_BLKSIZE). Default 0. -# CONFIG_SPIFI_BLKSIZE - The size of one device erase block. If not defined -# then the driver will try to determine the correct erase block size by -# examining that data returned from spifi_initialize (which sometimes -# seems bad). -# -# Other SPIFI options -# -# CONFIG_SPIFI_SECTOR512 - If defined, then the driver will report a more -# FAT friendly 512 byte sector size and will manage the read-modify-write -# operations on the larger erase block. -# CONFIG_SPIFI_READONLY - Define to support only read-only operations. -# CONFIG_SPIFI_LIBRARY - Don't use the LPC43xx ROM routines but, instead, -# use an external library implementation of the SPIFI interface. -# CONFIG_SPIFI_VERIFY - Verify all spifi_program() operations by reading -# from the SPI address space after each write. -# CONFIG_DEBUG_SPIFI_DUMP - Debug option to dump read/write buffers. You -# probably do not want to enable this unless you want to dig through a -# *lot* of debug output! Also required CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, -# and CONFIG_DEBUG_FS,# -# CONFIG_SPIFI_OFFSET=0 CONFIG_SPIFI_BLKSIZE=4096 CONFIG_SPIFI_SECTOR512=y @@ -709,29 +357,6 @@ CONFIG_SPIFI_LIBRARY=n CONFIG_SPIFI_VERIFY=n CONFIG_DEBUG_SPIFI_DUMP=n # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -755,8 +380,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -764,71 +387,8 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 -# -# CONFIG_MODBUS - General ModBus support -# CONFIG_MB_ASCII_ENABLED - Modbus ASCII support -# CONFIG_MB_RTU_ENABLED - Modbus RTU support -# CONFIG_MB_TCP_ENABLED - Modbus TCP support -# CONFIG_MB_ASCII_TIMEOUT_SEC - Character timeout value for Modbus ASCII. The -# character timeout value is not fixed for Modbus ASCII and is therefore -# a configuration option. It should be set to the maximum expected delay -# time of the network. Default 1 -# CONFIG_MB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS - Timeout to wait in ASCII prior -# to enabling transmitter. If defined the function calls -# vMBPortSerialDelay with the argument CONFIG_MB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS -# to allow for a delay before the serial transmitter is enabled. This is -# required because some targets are so fast that there is no time between -# receiving and transmitting the frame. If the master is to slow with -# enabling its receiver then he will not receive the response correctly. -# CONFIG_MB_FUNC_HANDLERS_MAX - Maximum number of Modbus functions codes the -# protocol stack should support. The maximum number of supported Modbus -# functions must be greater than the sum of all enabled functions in this -# file and custom function handlers. If set to small adding more functions -# will fail. -# CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF - Number of bytes which should be -# allocated for the Report Slave ID command. This number limits the -# maximum size of the additional segment in the report slave id function. -# See eMBSetSlaveID() for more information on how to set this value. It -# is only used if CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED is set to 1. -# CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED - If the Report Slave ID -# function should be enabled. -# CONFIG_MB_FUNC_READ_INPUT_ENABLED - If the Read Input Registers function -# should be enabled. -# CONFIG_MB_FUNC_READ_HOLDING_ENABLED - If the Read Holding Registers -# function should be enabled. -# CONFIG_MB_FUNC_WRITE_HOLDING_ENABLED - If the Write Single Register -# function should be enabled. -# CONFIG_MB_FUNC_WRITE_MULTIPLE_HOLDING_ENABLED - If the Write Multiple -# registers function should be enabled. -# CONFIG_MB_FUNC_READ_COILS_ENABLED - If the Read Coils function should -# be enabled. -# CONFIG_MB_FUNC_WRITE_COIL_ENABLED - If the Write Coils function should -# be enabled. -# CONFIG_MB_FUNC_WRITE_MULTIPLE_COILS_ENABLED - If the Write Multiple Coils -# function should be enabled. -# CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED - If the Read Discrete Inputs -# function should be enabled. -# CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED - If the Read/Write Multiple -# Registers function should be enabled. # CONFIG_MODBUS=n CONFIG_MB_ASCII_ENABLED=y @@ -852,22 +412,6 @@ CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED=y # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -880,19 +424,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC43xx USB Configuration # -# CONFIG_LPC43_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC43_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC43_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC43_USBDEV_DMA -# Enable lpc43xx-specific DMA support -# CONFIG_LPC43_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC43_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC43_USBDEV_DMA=n @@ -902,26 +433,6 @@ CONFIG_LPC43_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -938,26 +449,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1002,38 +493,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1070,14 +529,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1089,12 +540,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=0 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -1104,30 +549,12 @@ CONFIG_EXAMPLE_BUTTONS_NAME1="SW2" # # examples/modbus # -# CONFIG_EXAMPLES_MODBUS_PORT, Default 0 (for /dev/ttyS0) -# CONFIG_EXAMPLES_MODBUS_BAUD, Default B38400 -# CONFIG_EXAMPLES_MODBUS_PARITY, Default MB_PAR_EVEN -# -# CONFIG_EXAMPLES_MODBUS_REG_INPUT_START, Default 1000 -# CONFIG_EXAMPLES_MODBUS_REG_INPUT_NREGS, Default 4 -# CONFIG_EXAMPLES_MODBUS_REG_HOLDING_START, Default 2000 -# CONFIG_EXAMPLES_MODBUS_REG_HOLDING_NREGS, Default 130 -# CONFIG_EXAMPLES_MODBUS_PORT=1 CONFIG_EXAMPLES_MODBUS_BAUD=B9600 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1142,35 +569,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/watchdog @@ -1178,101 +580,18 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC43xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig index ad3afd6692..8c48275d22 100644 --- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig +++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig @@ -33,45 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The Cortex-M4 supports interrupt prioritization -# CONFIG_ARCH_FPU - The Cortex-M4 supports a floating point unit (FPU) -# (But, unfortunately, most versions of GCC do not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARMV7M_CMNVECTOR - This must be defined to indicate that the -# LPC43xx port using the ARMv7 common vector logic. There are two -# variants +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,20 +57,7 @@ CONFIG_ARCH_DMA=n CONFIG_ARMV7M_CMNVECTOR=y # -# CONFIG_BOOT_xxx - The startup code needs to know if the code is running -# from internal FLASH, external FLASH, SPIFI, or SRAM in order to -# initialize properly. Note that a boot device is not specified for -# cases where the code is copied into SRAM; those cases are all covered -# by CONFIG_BOOT_SRAM. -# -# CONFIG_BOOT_SRAM=y : Running from SRAM (0x1000:0000) -# CONFIG_BOOT_SPIFI=y : Running from QuadFLASH (0x1400:0000) -# CONFIG_BOOT_FLASHA=y : Running in internal FLASHA (0x1a00:0000) -# CONFIG_BOOT_FLASHB=y : Running in internal FLASHA (0x1b00:0000) -# CONFIG_BOOT_CS0FLASH=y : Running in external FLASH CS0 (0x1c00:0000) -# CONFIG_BOOT_CS1FLASH=y : Running in external FLASH CS1 (0x1d00:0000) -# CONFIG_BOOT_CS2FLASH=y : Running in external FLASH CS2 (0x1e00:0000) -# CONFIG_BOOT_CS3FLASH=y : Running in external FLASH CS3 (0x1f00:0000) +# Execution address space # CONFIG_BOOT_SRAM=y CONFIG_BOOT_SPIFI=n @@ -132,11 +81,8 @@ CONFIG_LPC43_BUILDROOT=n CONFIG_ARCH_STDARG_H=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC43_ADC0=n CONFIG_LPC43_ADC1=n @@ -179,17 +125,6 @@ CONFIG_LPC43_WWDT=n # # LPC43xx specific serial device driver settings # -# CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_U[S]ARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_U[S]ARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_U[S]ARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_U[S]ARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_U[S]ARTn_2STOP - Two stop bits -# CONFIG_USART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n @@ -225,10 +160,6 @@ CONFIG_UART1_2STOP=0 CONFIG_USART2_2STOP=0 CONFIG_USART3_2STOP=0 -# -# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode -# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable -# RS-485 mode. # CONFIG_USART0_RS485MODE=n CONFIG_USART2_RS485MODE=n @@ -237,22 +168,6 @@ CONFIG_USART3_RS485MODE=n # # LPC43xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -269,19 +184,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -291,99 +193,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -421,27 +230,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -453,16 +241,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -494,9 +272,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -519,46 +294,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -577,46 +312,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -627,13 +322,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -641,53 +329,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -711,8 +364,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -720,71 +371,8 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 -# -# CONFIG_MODBUS - General ModBus support -# CONFIG_MB_ASCII_ENABLED - Modbus ASCII support -# CONFIG_MB_RTU_ENABLED - Modbus RTU support -# CONFIG_MB_TCP_ENABLED - Modbus TCP support -# CONFIG_MB_ASCII_TIMEOUT_SEC - Character timeout value for Modbus ASCII. The -# character timeout value is not fixed for Modbus ASCII and is therefore -# a configuration option. It should be set to the maximum expected delay -# time of the network. Default 1 -# CONFIG_MB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS - Timeout to wait in ASCII prior -# to enabling transmitter. If defined the function calls -# vMBPortSerialDelay with the argument CONFIG_MB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS -# to allow for a delay before the serial transmitter is enabled. This is -# required because some targets are so fast that there is no time between -# receiving and transmitting the frame. If the master is to slow with -# enabling its receiver then he will not receive the response correctly. -# CONFIG_MB_FUNC_HANDLERS_MAX - Maximum number of Modbus functions codes the -# protocol stack should support. The maximum number of supported Modbus -# functions must be greater than the sum of all enabled functions in this -# file and custom function handlers. If set to small adding more functions -# will fail. -# CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF - Number of bytes which should be -# allocated for the Report Slave ID command. This number limits the -# maximum size of the additional segment in the report slave id function. -# See eMBSetSlaveID() for more information on how to set this value. It -# is only used if CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED is set to 1. -# CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED - If the Report Slave ID -# function should be enabled. -# CONFIG_MB_FUNC_READ_INPUT_ENABLED - If the Read Input Registers function -# should be enabled. -# CONFIG_MB_FUNC_READ_HOLDING_ENABLED - If the Read Holding Registers -# function should be enabled. -# CONFIG_MB_FUNC_WRITE_HOLDING_ENABLED - If the Write Single Register -# function should be enabled. -# CONFIG_MB_FUNC_WRITE_MULTIPLE_HOLDING_ENABLED - If the Write Multiple -# registers function should be enabled. -# CONFIG_MB_FUNC_READ_COILS_ENABLED - If the Read Coils function should -# be enabled. -# CONFIG_MB_FUNC_WRITE_COIL_ENABLED - If the Write Coils function should -# be enabled. -# CONFIG_MB_FUNC_WRITE_MULTIPLE_COILS_ENABLED - If the Write Multiple Coils -# function should be enabled. -# CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED - If the Read Discrete Inputs -# function should be enabled. -# CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED - If the Read/Write Multiple -# Registers function should be enabled. # CONFIG_MODBUS=n CONFIG_MB_ASCII_ENABLED=y @@ -808,22 +396,6 @@ CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED=y # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -836,19 +408,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC43xx USB Configuration # -# CONFIG_LPC43_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC43_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC43_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC43_USBDEV_DMA -# Enable lpc43xx-specific DMA support -# CONFIG_LPC43_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC43_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC43_USBDEV_DMA=n @@ -858,26 +417,6 @@ CONFIG_LPC43_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -894,26 +433,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -957,38 +476,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1025,14 +512,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1044,12 +523,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=0 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -1059,15 +532,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME1="SW2" # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1082,35 +546,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/watchdog @@ -1118,101 +557,18 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC43xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig index 5d09f6f1b2..bd7614b138 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,24 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -214,19 +149,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -236,93 +158,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -354,15 +189,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -395,9 +221,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -420,38 +243,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -469,23 +260,12 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -493,53 +273,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -565,8 +310,6 @@ CONFIG_NET_BROADCAST=y # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -574,22 +317,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -602,23 +329,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -630,26 +340,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -666,26 +356,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -712,19 +382,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -751,36 +408,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -816,15 +443,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -839,38 +457,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -883,26 +469,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig index a16f0c4043..e6248f5203 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,26 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -219,19 +152,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -241,96 +161,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -387,9 +217,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -412,38 +239,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -461,23 +256,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -485,53 +269,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -557,8 +306,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -566,22 +313,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -595,20 +326,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # LPC17xx USB Configuration # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -618,23 +335,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -647,18 +347,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -670,26 +358,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -706,26 +374,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -752,19 +400,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -783,36 +418,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -848,15 +453,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -871,38 +467,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -915,26 +479,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig index 17f73817b2..15cbe34436 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,24 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -213,19 +148,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -240,93 +162,6 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -359,15 +194,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -400,9 +226,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -425,38 +248,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -482,23 +273,12 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -506,53 +286,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -576,8 +321,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -585,22 +328,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -613,23 +340,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -641,26 +351,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -677,26 +367,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -715,64 +385,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -804,25 +416,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # UG-9664HSWAG01 Configuration Settings: # -# CONFIG_UG9664HSWAG01_SPIMODE - Controls the SPI mode -# CONFIG_UG9664HSWAG01_FREQUENCY - Define to use a different bus frequency -# CONFIG_UG9664HSWAG01_NINTERFACES - Specifies the number of physical -# UG-9664HSWAG01 devices that will be supported. NOTE: At present, this -# must be undefined or defined to be 1. -# CONFIG_UG9664HSWAG01_POWER -# If the hardware supports a controllable OLED a power supply, this -# configuration shold be defined. (See ug_power() below). -# CONFIG_LCD_UGDEBUG - Enable detailed UG-9664HSWAG01 debug output -# (CONFIG_DEBUG and CONFIG_VERBOSE must also be enabled). -# -# Required LCD driver settings: -# CONFIG_LCD_UG9664HSWAG01 - Enable UG-9664HSWAG01 support -# CONFIG_LCD_MAXCONTRAST should be 255, but any value >0 and <=255 will be accepted. -# CONFIG_LCD_MAXPOWER should be 2: 0=off, 1=dim, 2=normal -# -# Required SPI driver settings: -# CONFIG_SPI_CMDDATA - Include support for cmd/data selection. -# CONFIG_LCD_UG9664HSWAG01=y CONFIG_UG9664HSWAG01_SPIMODE=0 CONFIG_UG9664HSWAG01_FREQUENCY=3500000 @@ -840,19 +433,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -871,36 +451,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -936,15 +486,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -959,38 +500,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -1003,31 +512,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT - The height of the toolbar in rows. -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT=4 @@ -1047,26 +531,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig index dc65893f92..69da0df725 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,24 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -213,19 +148,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,93 +157,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -352,15 +187,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -393,9 +219,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -418,38 +241,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -467,23 +258,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -491,53 +271,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -561,8 +306,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -570,22 +313,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -598,23 +325,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -626,26 +336,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -662,26 +352,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -708,19 +378,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -739,36 +396,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -804,15 +431,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -827,38 +445,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -871,26 +457,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig index 4e0ba5ad93..5e74d0c563 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,26 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -216,19 +149,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -238,96 +158,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -359,15 +189,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -400,9 +221,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -425,38 +243,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -474,23 +260,12 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -498,53 +273,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -570,8 +310,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -579,22 +317,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -607,23 +329,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -635,26 +340,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -671,26 +356,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -709,61 +374,6 @@ CONFIG_USBMSC_REMOVABLE=y # # THTTPD settings # -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. -# CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -807,19 +417,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -838,36 +435,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -903,15 +470,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -926,38 +484,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -970,26 +496,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig index 426a7973ad..3595fa59d9 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -97,11 +64,8 @@ CONFIG_LPC17_BUILDROOT=n CONFIG_LPC17_CODEREDW=n CONFIG_LPC17_CODEREDL=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -136,17 +100,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -185,24 +138,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects National Semiconductor DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -213,19 +148,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,96 +157,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -382,9 +214,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -407,38 +236,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -456,23 +253,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -480,53 +266,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -550,8 +301,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -559,22 +308,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -587,23 +320,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_NOVBUS -# Define if the hardware implementation does not support the VBUS signal -# CONFIG_LPC17_USBDEV_NOLED -# Define if the hardware implementation does not support the LED output -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -615,26 +331,6 @@ CONFIG_LPC17_USBDEV_NOLED=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -651,26 +347,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -697,19 +373,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -728,36 +391,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -793,15 +426,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -816,38 +440,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -860,26 +452,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/m68332evb/defconfig b/nuttx/configs/m68332evb/defconfig index cf983f79f5..326a46c705 100644 --- a/nuttx/configs/m68332evb/defconfig +++ b/nuttx/configs/m68332evb/defconfig @@ -33,19 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in. -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="m68332evb" CONFIG_ARCH_M68332=y @@ -58,17 +46,6 @@ CONFIG_ARCH_STACKDUMP=y # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -87,16 +64,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -105,69 +72,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -217,9 +121,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -242,38 +143,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -290,29 +159,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -336,8 +182,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -356,24 +201,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mbed/hidkbd/defconfig b/nuttx/configs/mbed/hidkbd/defconfig index 8d70b8e992..3bb55142f2 100644 --- a/nuttx/configs/mbed/hidkbd/defconfig +++ b/nuttx/configs/mbed/hidkbd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=y @@ -134,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -183,24 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +148,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -235,96 +157,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -382,9 +214,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -407,38 +236,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -456,23 +253,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -480,53 +266,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -552,8 +303,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -561,22 +310,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -589,20 +322,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=y CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=y @@ -612,19 +331,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -635,18 +341,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -658,26 +352,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -694,26 +368,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -739,18 +393,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -770,36 +412,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -835,15 +447,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -858,26 +461,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mbed/nsh/defconfig b/nuttx/configs/mbed/nsh/defconfig index 42464036ad..806e090b99 100755 --- a/nuttx/configs/mbed/nsh/defconfig +++ b/nuttx/configs/mbed/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,9 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) +# CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n CONFIG_LPC17_USBOTG=n @@ -133,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -182,22 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -206,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -228,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -374,9 +209,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -399,38 +231,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -448,22 +248,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -471,53 +261,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -541,8 +296,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -550,22 +303,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -578,19 +315,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -600,26 +324,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -636,26 +340,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -699,36 +383,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -764,15 +418,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -787,26 +432,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mcu123-lpc214x/composite/defconfig b/nuttx/configs/mcu123-lpc214x/composite/defconfig index b2cce62b3e..e032428d5b 100644 --- a/nuttx/configs/mcu123-lpc214x/composite/defconfig +++ b/nuttx/configs/mcu123-lpc214x/composite/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -91,17 +68,6 @@ CONFIG_ADC_SETUP=y # # LPC214X specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -120,19 +86,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -142,72 +95,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +146,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +168,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -333,46 +185,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -383,42 +195,12 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n #CONFIG_MMCSD_SPICLOCK=20000000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -442,29 +224,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -477,20 +243,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC214X USB Configuration # -# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_LPC214X_USBDEV_DMA -# Enable lpc214x-specific DMA support CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC214X_USBDEV_DMA=n @@ -500,25 +252,6 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -535,41 +268,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_COMPOSITE -# Configure the mass storage driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBMSC_IFNOBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the mass storage interface number so that it is -# unique and contiguous. When used with the CDC/ACM driver, the -# correct value for this offset is two (because of the two CDC/ACM -# interfaces that will precede it). -# CONFIG_USBMSC_STRBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the mass storage string numbers so that they are -# unique and contiguous. When used with the CDC/ACM driver, the -# correct value for this offset is four (or perhaps 5 or 6, depending -# on if CONFIG_CDCACM_NOTIFSTR or CONFIG_CDCACM_DATAIFSTR are defined). -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_PL2303_EPBULKOUT and CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_IFNOBASE=2 @@ -591,67 +289,6 @@ CONFIG_USBMSC_REMOVABLE=y # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_COMPOSITE -# Configure the CDC serial driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_CDCACM_IFNOBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the CDC/ACM interface numbers so that they are -# unique and contiguous. When used with the Mass Storage driver, the -# correct value for this offset is zero. -# CONFIG_CDCACM_STRBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the CDC/ACM string numbers so that they are -# unique and contiguous. When used with the Mass Storage driver, the -# correct value for this offset is four (this value actuallly only needs -# to be defined if names are provided for the Notification interface, -# CONFIG_CDCACM_NOTIFSTR, or the data interface, CONFIG_CDCACM_DATAIFSTR). -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=y CONFIG_CDCACM_COMPOSITE=y CONFIG_CDCACM_IFNOBASE=0 @@ -678,26 +315,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Composite Device Configuration # -# CONFIG_USBDEV_COMPOSITE -# Enables USB composite device support -# CONFIG_COMPOSITE_IAD -# If one of the members of the composite has multiple interfaces -# (such as CDC/ACM), then an Interface Association Descriptor (IAD) -# will be necessary. Default: IAD will be used automatically if -# needed. It should not be necessary to set this. -# CONFIG_COMPOSITE_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_COMPOSITE_VENDORID and CONFIG_COMPOSITE_VENDORSTR -# The vendor ID code/string -# CONFIG_COMPOSITE_PRODUCTID and CONFIG_COMPOSITE_PRODUCTSTR -# The product ID code/string -# CONFIG_COMPOSITE_SERIALSTR -# Device serial number string -# CONFIG_COMPOSITE_CONFIGSTR -# Configuration string -# CONFIG_COMPOSITE_VERSIONNO -# The device version number -# CONFIG_USBDEV_COMPOSITE=y CONFIG_COMPOSITE_IAD=y #CONFIG_COMPOSITE_EP0MAXPACKET @@ -712,35 +329,6 @@ CONFIG_COMPOSITE_VERSIONNO=0x0101 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -781,15 +369,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -798,38 +377,6 @@ CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -842,48 +389,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/composite # -# CONFIG_EXAMPLES_COMPOSITE_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# CONFIG_EXAMPLES_COMPOSITE_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_COMPOSITE_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR2 and CONFIG_EXAMPLES_COMPOSITE_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_COMPOSITE_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR3 and CONFIG_EXAMPLES_COMPOSITE_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_COMPOSITE_NLUNS -# is 3. No defaults. -# -# CONFIG_EXAMPLES_COMPOSITE_TTYUSB - The minor number of the USB serial device. -# Default is zero (corresponding to /dev/ttyUSB0. Default is zero. -# CCONFIG_EXAMPLES_COMPOSITE_SERDEV - The string corresponding to -# CONFIG_EXAMPLES_COMPOSITE_TTYUSB. The default is "/dev/ttyUSB0". -# CONFIG_EXAMPLES_COMPOSITE_BUFSIZE - The size of the serial I/O buffer in -# bytes. Default 256 byters. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_COMPOSITE_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_COMPOSITE_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_COMPOSITE_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_COMPOSITE_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_COMPOSITE_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_COMPOSITE_DEBUGMM=n CONFIG_EXAMPLES_COMPOSITE_NLUNS=1 CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1=0 @@ -900,26 +405,6 @@ CONFIG_EXAMPLES_COMPOSITE_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC214x always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mcu123-lpc214x/nsh/defconfig b/nuttx/configs/mcu123-lpc214x/nsh/defconfig index aa1742ed26..9f860295ae 100644 --- a/nuttx/configs/mcu123-lpc214x/nsh/defconfig +++ b/nuttx/configs/mcu123-lpc214x/nsh/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -91,17 +68,6 @@ CONFIG_ADC_SETUP=y # # LPC214X specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -120,19 +86,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -142,72 +95,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -258,9 +145,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -283,38 +167,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,46 +184,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -382,13 +194,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n #CONFIG_MMCSD_SPICLOCK=20000000 @@ -396,38 +201,11 @@ CONFIG_MMCSD_READONLY=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -451,29 +229,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -486,20 +248,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC214X USB Configuration # -# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_LPC214X_USBDEV_DMA -# Enable lpc214x-specific DMA support CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC214X_USBDEV_DMA=n @@ -509,25 +257,6 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -544,25 +273,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -587,36 +297,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -651,26 +331,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC214x always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mcu123-lpc214x/ostest/defconfig b/nuttx/configs/mcu123-lpc214x/ostest/defconfig index 543462e6d7..d61ac67547 100644 --- a/nuttx/configs/mcu123-lpc214x/ostest/defconfig +++ b/nuttx/configs/mcu123-lpc214x/ostest/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -91,17 +68,6 @@ CONFIG_ADC_SETUP=y # # LPC214X specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -120,19 +86,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -142,72 +95,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -258,9 +145,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -283,38 +167,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,46 +184,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -382,42 +194,12 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n #CONFIG_MMCSD_SPICLOCK=20000000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -441,29 +223,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -476,20 +242,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC214X USB Configuration # -# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_LPC214X_USBDEV_DMA -# Enable lpc214x-specific DMA support CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC214X_USBDEV_DMA=n @@ -499,25 +251,6 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -534,25 +267,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -577,36 +291,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -641,26 +325,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC214x always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig index 6d3d85c67c..3d1b02030b 100644 --- a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -91,17 +68,6 @@ CONFIG_ADC_SETUP=y # # LPC214X specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -120,19 +86,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -142,72 +95,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -258,9 +145,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -283,38 +167,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,46 +184,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -382,42 +194,12 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n #CONFIG_MMCSD_SPICLOCK=20000000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -441,29 +223,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -476,20 +242,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC214X USB Configuration # -# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_LPC214X_USBDEV_DMA -# Enable lpc214x-specific DMA support CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC214X_USBDEV_DMA=n @@ -499,25 +251,6 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -535,25 +268,6 @@ CONFIG_NXFLAT=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -578,36 +292,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -642,14 +326,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -658,26 +334,6 @@ CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC214x always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig index 60554cfe04..4d88c2e78e 100644 --- a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -91,17 +68,6 @@ CONFIG_ADC_SETUP=y # # LPC214X specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -120,19 +86,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -142,72 +95,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +146,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +168,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -333,46 +185,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -383,42 +195,12 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n #CONFIG_MMCSD_SPICLOCK=20000000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -442,29 +224,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -477,20 +243,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC214X USB Configuration # -# CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC214X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_LPC214X_USBDEV_DMA -# Enable lpc214x-specific DMA support CONFIG_LPC214X_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC214X_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC214X_USBDEV_DMA=n @@ -500,25 +252,6 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -535,25 +268,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_PL2303_EPBULKOUT and CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -578,35 +292,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -641,14 +326,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -657,38 +334,6 @@ CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -701,26 +346,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC214x always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/micropendous3/hello/defconfig b/nuttx/configs/micropendous3/hello/defconfig index b2c98d5f78..7a04763fa6 100644 --- a/nuttx/configs/micropendous3/hello/defconfig +++ b/nuttx/configs/micropendous3/hello/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The AT90USB does not support interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -99,7 +63,7 @@ CONFIG_AVR_LINUXGCC=n CONFIG_AVR_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_AVR_INT0=n @@ -126,17 +90,6 @@ CONFIG_AVR_TWI=n # # AT90USB specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART1_TXBUFSIZE=256 CONFIG_USART1_RXBUFSIZE=256 @@ -148,19 +101,6 @@ CONFIG_USART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -170,93 +110,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -288,15 +141,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -329,9 +173,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -354,38 +195,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=4 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -403,23 +212,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -427,53 +225,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -497,8 +260,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -506,22 +267,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -534,26 +279,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -570,26 +295,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -616,19 +321,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -647,36 +339,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -712,15 +374,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -735,38 +388,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -779,26 +400,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the AT90USB which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mirtoo/nsh/defconfig b/nuttx/configs/mirtoo/nsh/defconfig index 373aa20a14..5a8ebbadd6 100644 --- a/nuttx/configs/mirtoo/nsh/defconfig +++ b/nuttx/configs/mirtoo/nsh/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -120,7 +74,7 @@ CONFIG_PIC32MX_PINGUINOW=n CONFIG_PIC32MX_PINGUINOL=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -174,25 +128,6 @@ CONFIG_SST25_SECTOR512=n # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 1 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 3 (PG1) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: All settings determined by selections in board.h. Except -# CONFIG_PIC32MX_OSCOUT - May be used to disable oscillator output (enabled by default) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=1 CONFIG_PIC32MX_ICESEL=2 CONFIG_PIC32MX_OSCOUT=1 @@ -200,17 +135,6 @@ CONFIG_PIC32MX_OSCOUT=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -235,19 +159,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -257,99 +168,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -388,15 +206,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -429,9 +238,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -454,38 +260,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -501,46 +275,6 @@ CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=4 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=y @@ -552,13 +286,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -566,53 +293,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -636,8 +328,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -645,22 +335,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -673,26 +347,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -709,26 +363,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -748,28 +382,6 @@ CONFIG_USBMSC_REMOVABLE=y # PGA117 support # # Prerequisites: -# CONFIG_ADC=y is needed to enable support for analog input devices -# -# CONFIG_ADC_PGA11X -# Enables support for the PGA11X driver (Needs CONFIG_ADC) -# CONFIG_PGA11X_SPIFREQUENCY -# SPI frequency. Default 1MHz -# CONFIG_PGA11X_DAISYCHAIN -# Use two PGA116/7's in Daisy Chain commands. -# CONFIG_PGA11X_SPIMODE -# SPI Mode. The specification says that the device operates in Mode 0 or -# Mode 3. But sometimes you need to tinker with this to get things to -# work correctly. Default: Mode 0 -# CONFIG_PGA11X_MULTIPLE -# Can be defined to support multiple PGA11X devices on board. Each -# device will require a customized SPI interface to distinguish them -# When SPI_SELECT is called with devid=SPIDEV_MUX. -# -# Other settings that effect the driver: -# CONFIG_SPI_OWNBUS -- If the PGA117 is the only device on the SPI -# bus, then this should be set to 'y' -# CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_VERBOSE, -# this will enable debug output from the PGA117 driver. # CONFIG_ADC=n CONFIG_SPI_OWNBUS=y @@ -792,19 +404,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -823,39 +422,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -892,15 +458,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -915,38 +472,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -959,26 +484,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mirtoo/nxffs/defconfig b/nuttx/configs/mirtoo/nxffs/defconfig index 485fbf38cf..6d27574b75 100644 --- a/nuttx/configs/mirtoo/nxffs/defconfig +++ b/nuttx/configs/mirtoo/nxffs/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -120,7 +74,7 @@ CONFIG_PIC32MX_PINGUINOW=y CONFIG_PIC32MX_PINGUINOL=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -174,25 +128,6 @@ CONFIG_SST25_SECTOR512=n # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 1 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 3 (PG1) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: All settings determined by selections in board.h. Except -# CONFIG_PIC32MX_OSCOUT - May be used to disable oscillator output (enabled by default) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=1 CONFIG_PIC32MX_ICESEL=2 CONFIG_PIC32MX_OSCOUT=1 @@ -200,17 +135,6 @@ CONFIG_PIC32MX_OSCOUT=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -235,19 +159,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -257,99 +168,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -388,15 +206,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -429,9 +238,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -454,38 +260,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -501,46 +275,6 @@ CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=4 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 @@ -552,13 +286,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -566,53 +293,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -636,8 +328,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -645,22 +335,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -673,26 +347,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -709,26 +363,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -748,31 +382,6 @@ CONFIG_USBMSC_REMOVABLE=y # PGA117 support # # Prerequisites: -# CONFIG_ADC=y is needed to enable support for analog input devices -# -# CONFIG_ADC_PGA11X -# Enables support for the PGA11X driver (Needs CONFIG_ADC) -# CONFIG_PGA11X_SPIFREQUENCY -# SPI frequency. Default 1MHz -# CONFIG_PGA11X_DAISYCHAIN -# Use two PGA116/7's in Daisy Chain commands. -# CONFIG_PGA11X_SPIMODE -# SPI Mode. The specification says that the device operates in Mode 0 or -# Mode 3. But sometimes you need to tinker with this to get things to -# work correctly. Default: Mode 0 -# CONFIG_PGA11X_MULTIPLE -# Can be defined to support multiple PGA11X devices on board. Each -# device will require a customized SPI interface to distinguish them -# When SPI_SELECT is called with devid=SPIDEV_MUX. -# -# Other settings that effect the driver: -# CONFIG_SPI_OWNBUS -- If the PGA117 is enabled, this must be set to 'n' -# because the PGA117 is *not* the only device on the SPI bus; the SPI -# bus is shared with the serial FLASH. If PGA117 is not enabled, then -# 'y' is the correct value because the serial FLASH is the only device -# on the SPI bus. -# CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_VERBOSE, -# this will enable debug output from the PGA117 driver (see above). # CONFIG_ADC=n CONFIG_SPI_OWNBUS=y @@ -794,19 +403,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -825,39 +421,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -938,15 +501,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -961,38 +515,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -1005,26 +527,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mirtoo/ostest/defconfig b/nuttx/configs/mirtoo/ostest/defconfig index 54cfda627c..3e759bbaca 100644 --- a/nuttx/configs/mirtoo/ostest/defconfig +++ b/nuttx/configs/mirtoo/ostest/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -120,7 +74,7 @@ CONFIG_PIC32MX_PINGUINOW=n CONFIG_PIC32MX_PINGUINOL=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -166,25 +120,6 @@ CONFIG_PIC32MX_IOPORTC=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 1 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 3 (PG1) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: All settings determined by selections in board.h. Except -# CONFIG_PIC32MX_OSCOUT - May be used to disable oscillator output (enabled by default) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=1 CONFIG_PIC32MX_ICESEL=2 CONFIG_PIC32MX_OSCOUT=1 @@ -192,17 +127,6 @@ CONFIG_PIC32MX_OSCOUT=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -227,19 +151,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -249,99 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -378,15 +196,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -419,9 +228,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -444,46 +250,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -499,46 +265,6 @@ CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=4 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_FS_FAT=y @@ -551,13 +277,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -565,53 +284,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -635,8 +319,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -644,22 +326,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -672,26 +338,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -708,26 +354,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -754,19 +380,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -785,39 +398,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -854,15 +434,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -877,38 +448,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -921,26 +460,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/mx1ads/ostest/defconfig b/nuttx/configs/mx1ads/ostest/defconfig index 97368fb8b2..18b577a14b 100644 --- a/nuttx/configs/mx1ads/ostest/defconfig +++ b/nuttx/configs/mx1ads/ostest/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,31 +53,12 @@ CONFIG_ARCH_STACKDUMP=y # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=n # # IMX specific serial device driver settings # -# CONFIG_UARTn_DISABLE - select to disable all support for -# the UART -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_DISABLE=n CONFIG_UART2_DISABLE=y CONFIG_UART3_DISABLE=y @@ -129,24 +87,12 @@ CONFIG_UART3_2STOP=0 # # IMX specific SPI device driver settings # -# CONFIG_SPIn_DISABLE - select to disable all support for -# the SPI CONFIG_SPI1_DISABLE=n CONFIG_SPI2_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -155,72 +101,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -271,9 +151,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -296,38 +173,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -344,29 +189,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -390,29 +212,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -424,12 +230,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # IMX USB Configuration # -# CONFIG_IMX_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_IMX_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable IMX-specific DMA support CONFIG_IMX_GIO_USBATTACH=6 CONFIG_IMX_GIO_USBDPPULLUP=17 CONFIG_IMX_VENDORID=0xd320 @@ -439,23 +239,6 @@ CONFIG_IMX_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 CONFIG_PL2303_EPBULKIN=1 @@ -471,23 +254,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 CONFIG_USBMSC_EPBULKIN=1 @@ -547,25 +313,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ne64badge/ostest/defconfig b/nuttx/configs/ne64badge/ostest/defconfig index 5d7a1e2274..2401f5ea6e 100755 --- a/nuttx/configs/ne64badge/ostest/defconfig +++ b/nuttx/configs/ne64badge/ostest/defconfig @@ -35,42 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed RAM. -# CONFIG_DRAM_START - The start address of RAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARCH="hc" CONFIG_ARCH_HC=y CONFIG_ARCH_HCS12=y @@ -92,11 +56,6 @@ CONFIG_ARCH_CALIBRATION=n CONFIG_ARCH_DMA=n # -# CONFIG_GPIO_IRQ - Enable general support for GPIO IRQs -# CONFIG_HCS12_PORTG_INTS - Enable PortG IRQs -# CONFIG_HCS12_PORTH_INTS - Enable PortH IRQs -# CONFIG_HCS12_PORTJ_INTS - Enable PortJ IRQs -# CONFIG_GPIO_IRQ=n CONFIG_HCS12_PORTG_INTS=n CONFIG_HCS12_PORTH_INTS=n @@ -105,14 +64,6 @@ CONFIG_HCS12_PORTJ_INTS=n # # HCS12 build options: # -# CONFIG_HCS12_SERIALMON - Indicates that the target systems uses -# the Freescale serial bootloader. -# CONFIG_HCS12_NONBANKED - Indicates that the target systems does not -# support banking. Only short calls are made; one fixed page is -# presented the the paging window. Only 48Kb of FLASH is usable -# in this configuration: pages 3e, 3d, then 3f will appear as a -# contiguous address space in memory. -# CONFIG_HCS12_SERIALMON=n CONFIG_HCS12_NONBANKED=y @@ -126,17 +77,6 @@ CONFIG_HCS12_SCI1=n # # MC9S12NEC64 specific serial device driver settings # -# CONFIG_SCIn_SERIAL_CONSOLE - selects SCIn for the -# console and ttys0 (default is the SCIn). -# CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_SCIn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_SCIn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_SCIn_2STOP - Two stop bits -# CONFIG_SCI0_SERIAL_CONSOLE=y CONFIG_SCI0_TXBUFSIZE=32 CONFIG_SCI0_RXBUFSIZE=32 @@ -156,16 +96,6 @@ CONFIG_SCI1_2STOP=0 # # MC9S12NEC64 specific SSI device driver settings # -# CONFIG_SPIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SPI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SPI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SPI0_DISABLE=n CONFIG_SPI1_DISABLE=y CONFIG_SPI_POLLWAIT=y @@ -174,19 +104,6 @@ CONFIG_SPI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -204,96 +121,6 @@ CONFIG_PASS1_OBJECT= # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -350,9 +177,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -375,38 +199,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -424,23 +216,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -448,53 +229,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -518,8 +264,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -527,22 +271,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -555,26 +283,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -591,26 +299,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -654,36 +342,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -719,15 +377,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -742,25 +391,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the NE64 Badge which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/nettest/defconfig b/nuttx/configs/ntosd-dm320/nettest/defconfig index be9c619a43..7ade4f05ad 100644 --- a/nuttx/configs/ntosd-dm320/nettest/defconfig +++ b/nuttx/configs/ntosd-dm320/nettest/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,16 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -143,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +143,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +165,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,29 +181,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -380,29 +206,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -414,12 +224,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -429,25 +233,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -464,25 +249,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -543,25 +309,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/nsh/defconfig b/nuttx/configs/ntosd-dm320/nsh/defconfig index 75b3c43939..640fa449dd 100644 --- a/nuttx/configs/ntosd-dm320/nsh/defconfig +++ b/nuttx/configs/ntosd-dm320/nsh/defconfig @@ -35,29 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -95,17 +66,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -124,16 +84,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -142,72 +92,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -258,9 +142,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -283,38 +164,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -331,37 +180,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -387,29 +211,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -421,12 +229,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -436,25 +238,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -471,25 +254,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -530,33 +294,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=80 @@ -603,25 +340,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/ostest/defconfig b/nuttx/configs/ntosd-dm320/ostest/defconfig index ed72d0f2da..d6598a42c7 100644 --- a/nuttx/configs/ntosd-dm320/ostest/defconfig +++ b/nuttx/configs/ntosd-dm320/ostest/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=y # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,16 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -143,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +143,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +165,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,29 +181,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -378,29 +204,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -412,12 +222,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -427,23 +231,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 CONFIG_PL2303_EPBULKIN=1 @@ -459,23 +246,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 CONFIG_USBMSC_EPBULKIN=1 @@ -535,25 +305,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/poll/defconfig b/nuttx/configs/ntosd-dm320/poll/defconfig index 5e643db4db..3fcdc7a73c 100644 --- a/nuttx/configs/ntosd-dm320/poll/defconfig +++ b/nuttx/configs/ntosd-dm320/poll/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,16 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -143,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +143,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +165,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,29 +181,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -380,29 +206,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -414,12 +224,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -429,25 +233,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -464,25 +249,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -550,25 +316,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/thttpd/defconfig b/nuttx/configs/ntosd-dm320/thttpd/defconfig index db7b54f879..d7849310a3 100644 --- a/nuttx/configs/ntosd-dm320/thttpd/defconfig +++ b/nuttx/configs/ntosd-dm320/thttpd/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,19 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -147,75 +94,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -243,15 +121,6 @@ CONFIG_SDCLONE_DISABLE=n # # Settings for NXFLAT -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -284,9 +153,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -309,38 +175,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -358,51 +192,18 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -428,29 +229,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -462,12 +247,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -477,25 +256,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -512,25 +272,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -548,60 +289,7 @@ CONFIG_USBMSC_REMOVABLE=y # # THTTPD settings -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. +# CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -654,36 +342,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/nsh # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -726,25 +384,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig index 8939a27831..3747853349 100644 --- a/nuttx/configs/ntosd-dm320/udp/defconfig +++ b/nuttx/configs/ntosd-dm320/udp/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,16 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -143,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +143,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +165,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,29 +181,7 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates +# CONFIG_NET=y CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=8 @@ -379,29 +206,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -413,12 +224,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -428,25 +233,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -463,25 +249,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -550,25 +317,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ntosd-dm320/uip/defconfig b/nuttx/configs/ntosd-dm320/uip/defconfig index 362afc2f2b..a3b3eae095 100644 --- a/nuttx/configs/ntosd-dm320/uip/defconfig +++ b/nuttx/configs/ntosd-dm320/uip/defconfig @@ -33,30 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_VSTART - The startaddress of DRAM (virtual) -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -76,12 +53,6 @@ CONFIG_ARCH_STACKDUMP=n # # ARM-specific configuration # -# CONFIG_ARCH_LOWVECTORS - define if vectors reside at address 0x0000:00000 -# Undefine if vectors reside at address 0xffff:0000 -# CONFIG_ARCH_ROMPGTABLE - A pre-initialized, read-only page table is available. -# If defined, then board-specific logic must also define PGTABLE_BASE_PADDR, -# PGTABLE_BASE_VADDR, and all memory section mapping, possibly in board.h -# CONFIG_ARCH_LOWVECTORS=n CONFIG_ARCH_ROMPGTABLE=n @@ -96,17 +67,6 @@ CONFIG_DM320_BUILDROOT=n # # DM320 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -125,16 +85,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -143,72 +93,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -259,9 +143,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -284,38 +165,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -332,29 +181,6 @@ CONFIG_PREALLOC_TIMERS=8 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -380,29 +206,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -414,12 +224,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # DM320 USB Configuration # -# CONFIG_DM320_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_DM320_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable DM320-specific DMA support CONFIG_DM320_GIO_USBATTACH=6 CONFIG_DM320_GIO_USBDPPULLUP=17 CONFIG_DM320_VENDORID=0xd320 @@ -429,25 +233,6 @@ CONFIG_DM320_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 @@ -464,25 +249,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -551,25 +317,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig index 0499c2eaf0..cd8b148b56 100755 --- a/nuttx/configs/nucleus2g/nsh/defconfig +++ b/nuttx/configs/nucleus2g/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -134,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -183,24 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -209,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -231,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -378,9 +210,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -403,38 +232,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -452,23 +249,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -476,53 +262,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -546,8 +297,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -555,22 +304,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -583,20 +316,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -606,19 +325,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -629,18 +335,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -652,26 +346,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -688,26 +362,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -733,18 +387,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -764,36 +406,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -829,15 +441,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -852,26 +455,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig index b491abdfa8..89d4245baa 100755 --- a/nuttx/configs/nucleus2g/ostest/defconfig +++ b/nuttx/configs/nucleus2g/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,9 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) +# CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n CONFIG_LPC17_USBOTG=n @@ -133,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -182,22 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -206,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -228,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -374,9 +209,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -399,38 +231,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -448,22 +248,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -471,53 +261,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -541,8 +296,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -550,22 +303,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -578,19 +315,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -600,26 +324,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -636,26 +340,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -699,36 +383,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -764,15 +418,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -787,26 +432,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/nucleus2g/usbserial/defconfig b/nuttx/configs/nucleus2g/usbserial/defconfig index ebee5bde1b..d75e01f4dc 100755 --- a/nuttx/configs/nucleus2g/usbserial/defconfig +++ b/nuttx/configs/nucleus2g/usbserial/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,9 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) +# CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n CONFIG_LPC17_USBOTG=n @@ -133,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -182,22 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -206,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -228,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -375,9 +210,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -400,38 +232,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -449,22 +249,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -472,53 +262,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -542,8 +297,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -551,22 +304,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -579,19 +316,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -601,26 +325,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -637,26 +341,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -700,36 +384,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -765,15 +419,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -788,37 +433,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -831,26 +445,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/nucleus2g/usbstorage/defconfig b/nuttx/configs/nucleus2g/usbstorage/defconfig index 0d6cb4f6de..c902909af6 100755 --- a/nuttx/configs/nucleus2g/usbstorage/defconfig +++ b/nuttx/configs/nucleus2g/usbstorage/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,9 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) +# CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n CONFIG_LPC17_USBOTG=n @@ -133,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -182,22 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -206,19 +144,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -228,96 +153,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -375,9 +210,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -400,38 +232,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -449,22 +249,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -472,53 +262,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -542,8 +297,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -551,22 +304,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -579,19 +316,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -601,26 +325,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -637,26 +341,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -700,36 +384,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -765,15 +419,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -788,38 +433,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -832,26 +445,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig index 9fc6d6f5d0..a7f4fb6d51 100755 --- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,24 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -219,19 +154,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -241,94 +163,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() function -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -363,16 +197,6 @@ CONFIG_SCHED_WAITPID=y # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -404,9 +228,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -429,39 +250,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed or fdopend'ed. This needs to be pretty -# large for ftpc because it uses two streams per socket. -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -479,46 +267,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -529,13 +277,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -543,53 +284,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -615,8 +321,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -624,22 +328,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -652,20 +340,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -675,19 +349,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -698,18 +359,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -721,26 +370,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -757,26 +386,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -795,61 +404,6 @@ CONFIG_USBMSC_REMOVABLE=y # # THTTPD settings # -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. -# CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -892,18 +446,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -923,12 +465,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -945,36 +481,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1016,15 +522,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1039,26 +536,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig index f6e69d3913..85333830d0 100755 --- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=y @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,24 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -219,19 +154,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -241,96 +163,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -388,9 +220,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -413,38 +242,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -462,46 +259,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -512,13 +269,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -526,53 +276,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -598,8 +313,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -607,22 +320,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -635,20 +332,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=y CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=y @@ -658,19 +341,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -681,18 +351,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -704,26 +362,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -740,26 +378,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -785,18 +403,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -816,12 +422,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -838,36 +438,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -903,15 +473,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -926,26 +487,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig index d072367b69..d46de05f45 100755 --- a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,24 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -219,19 +154,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -241,96 +163,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -388,9 +220,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -413,38 +242,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -462,46 +259,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -512,13 +269,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -526,53 +276,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -598,8 +313,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -607,22 +320,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -635,19 +332,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -657,26 +341,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -693,26 +357,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -738,18 +382,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -769,12 +401,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -791,36 +417,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -856,15 +452,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -879,26 +466,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig index 0ad922ed39..fac5a70393 100755 --- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,24 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -219,19 +154,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -241,95 +163,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -367,16 +200,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -408,9 +231,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -433,38 +253,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -482,46 +270,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -532,13 +280,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -546,53 +287,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -618,8 +324,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -627,19 +331,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_LPC17_CAN1 or -# CONFIG_LPC17_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_LPC17_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_LPC17_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -652,22 +343,6 @@ CONFIG_CAN2_BAUD=700000 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -680,20 +355,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -703,19 +364,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -726,18 +374,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=1536 CONFIG_USBHOST_NEDS=2 @@ -749,26 +385,6 @@ CONFIG_USBHOST_IOBUFSIZE=512 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -785,26 +401,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -830,18 +426,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -861,12 +445,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -883,39 +461,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -952,15 +497,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -975,26 +511,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/nx/defconfig b/nuttx/configs/olimex-lpc1766stk/nx/defconfig index d50e3b1605..be5d1657be 100755 --- a/nuttx/configs/olimex-lpc1766stk/nx/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nx/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,22 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +150,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -240,96 +164,6 @@ CONFIG_SPI_CMDDATA=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -392,9 +226,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -417,38 +248,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -474,46 +273,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -524,13 +283,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -538,53 +290,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -608,8 +325,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -617,22 +332,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -645,19 +344,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -667,26 +353,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -703,26 +369,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -741,64 +387,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -828,20 +416,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # RiT P14201 OLED Driver Configuration # -# CONFIG_LCD_P14201 - Enable P14201 support -# CONFIG_P14201_SPIMODE - Controls the SPI mode (should be mode 2) -# CONFIG_P14201_FREQUENCY - Define to use a different bus frequency -# CONFIG_P14201_NINTERFACES - Specifies the number of physical P14201 devices that -# will be supported. -# CONFIG_P14201_FRAMEBUFFER - If defined, accesses will be performed using an in-memory -# copy of the OLEDs GDDRAM. This cost of this buffer is 128 * 96 / 2 = 6Kb. If this -# is defined, then the driver will be fully functional. If not, then it will have the -# following limitations: -# - Reading graphics memory cannot be supported, and -# - All pixel writes must be aligned to byte boundaries. -# -# The latter limitation effectively reduces the 128x96 disply to 64x96. -# CONFIG_LCD_P14201=n CONFIG_P14201_SPIMODE=2 CONFIG_P14201_FREQUENCY=3500000 @@ -853,26 +427,6 @@ CONFIG_P14201_FRAMEBUFFER=y # # Nokia 6100 Configuration Settings: # -# CONFIG_NOKIA6100_SPIMODE - Controls the SPI mode -# CONFIG_NOKIA6100_FREQUENCY - Define to use a different bus frequency -# CONFIG_NOKIA6100_NINTERFACES - Specifies the number of physical Nokia -# 6100 devices that will be supported. -# CONFIG_NOKIA6100_BPP - Device supports 8, 12, and 16 bits per pixel. -# CONFIG_NOKIA6100_S1D15G10 - Selects the Epson S1D15G10 display controller -# CONFIG_NOKIA6100_PCF8833 - Selects the Phillips PCF8833 display controller -# CONFIG_NOKIA6100_BLINIT - Initial backlight setting -# -# Required LCD driver settings: -# CONFIG_LCD_NOKIA6100 - Enable Nokia 6100 support -# Required LCD driver settings: -# CONFIG_LCD_NOKIA6100 - Enable Nokia 6100 support -# CONFIG_LCD_MAXCONTRAST - must be 63 with the Epson controller and 127 with -# the Phillips controller. -# CONFIG_LCD_MAXPOWER - Maximum value of backlight setting. The backlight -# control is managed outside of the 6100 driver so this value has no -# meaning to the driver. Board-specific logic may place restrictions on -# this value. -# CONFIG_LCD_NOKIA6100=y #CONFIG_NOKIA6100_SPIMODE #CONFIG_NOKIA6100_FREQUENCY @@ -894,18 +448,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -925,12 +467,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -947,36 +483,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1012,15 +518,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1035,38 +532,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -1079,31 +544,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 CONFIG_EXAMPLES_NX_BGCOLOR=0x02 @@ -1122,26 +562,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig index 92aba7837c..bc28760fce 100755 --- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,22 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +150,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,96 +159,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -381,9 +215,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -406,38 +237,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -455,46 +254,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -505,13 +264,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -519,53 +271,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -589,8 +306,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -598,22 +313,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -626,19 +325,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -648,26 +334,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -684,26 +350,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -730,19 +376,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -761,12 +394,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -783,36 +410,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -848,15 +445,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -871,38 +459,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -915,26 +471,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig index 79d3c7311c..f72bfd9361 100755 --- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -191,24 +144,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -218,19 +153,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -240,93 +162,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -358,15 +193,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -399,9 +225,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -424,38 +247,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -473,46 +264,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -523,13 +274,6 @@ CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -537,56 +281,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_SLIP - Use the SLIP data link layer (L2) -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_SLIP=y @@ -615,8 +321,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -624,22 +328,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -652,19 +340,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -674,26 +349,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -710,26 +365,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -748,61 +383,6 @@ CONFIG_USBMSC_REMOVABLE=y # # THTTPD settings # -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. -# CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -845,18 +425,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -876,12 +444,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -898,36 +460,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -963,15 +495,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -986,26 +509,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig index 52277615dc..6a99e0da9b 100755 --- a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=y CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,24 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -216,19 +151,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -238,93 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -356,15 +191,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n @@ -397,9 +223,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -422,38 +245,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -471,46 +262,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -521,13 +272,6 @@ CONFIG_FS_ROMFS=y # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -535,53 +279,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -607,8 +316,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -616,22 +323,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -644,19 +335,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -666,26 +344,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -702,26 +360,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -740,61 +378,6 @@ CONFIG_USBMSC_REMOVABLE=y # # THTTPD settings # -# CONFIG_THTTPD_PORT - THTTPD Server port number -# CONFIG_THTTPD_IPADDR - Server IP address (no host name) -# CONFIG_THTTPD_SERVER_ADDRESS - SERVER_ADDRESS: response -# CONFIG_THTTPD_SERVER_SOFTWARE - SERVER_SOFTWARE: response -# CONFIG_THTTPD_PATH - Server working directory -# CONFIG_THTTPD_CGI_PATH - Path to CGI executables -# CONFIG_THTTPD_CGI_PATTERN - Only CGI programs matching this -# pattern will be executed. In fact, if this value is not defined -# then no CGI logic will be built. -# CONFIG_THTTPD_CGI_PRIORITY - Provides the priority of CGI child tasks -# CONFIG_THTTPD_CGI_STACKSIZE - Provides the initial stack size of -# CGI child task (will be overridden by the stack size in the NXFLAT -# header) -# CONFIG_THTTPD_CGI_BYTECOUNT - Byte output limit for CGI tasks. -# CONFIG_THTTPD_CGI_TIMELIMIT - How many seconds to allow CGI programs -# to run before killing them. -# CONFIG_THTTPD_CHARSET- The default character set name to use with -# text MIME types. -# CONFIG_THTTPD_IOBUFFERSIZE - -# CONFIG_THTTPD_INDEX_NAMES - A list of index filenames to check. The -# files are searched for in this order. -# CONFIG_AUTH_FILE - The file to use for authentication. If this is -# defined then thttpd checks for this file in the local directory -# before every fetch. If the file exists then authentication is done, -# otherwise the fetch proceeds as usual. If you leave this undefined -# then thttpd will not implement authentication at all and will not -# check for auth files, which saves a bit of CPU time. A typical -# value is ".htpasswd" -# CONFIG_THTTPD_LISTEN_BACKLOG - The listen() backlog queue length. -# CONFIG_THTTPD_LINGER_MSEC - How many milliseconds to leave a connection -# open while doing a lingering close. -# CONFIG_THTTPD_OCCASIONAL_MSEC - How often to run the occasional -# cleanup job. -# CONFIG_THTTPD_IDLE_READ_LIMIT_SEC - How many seconds to allow for -# reading the initial request on a new connection. -# CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC - How many seconds before an -# idle connection gets closed. -# CONFIG_THTTPD_TILDE_MAP1 and CONFIG_THTTPD_TILDE_MAP2 - Tilde mapping. -# Many URLs use ~username to indicate a user's home directory. thttpd -# provides two options for mapping this construct to an actual filename. -# 1) Map ~username to /username. This is the recommended choice. -# Each user gets a subdirectory in the main web tree, and the tilde -# construct points there. The prefix could be something like "users", -# or it could be empty. -# 2) Map ~username to /. The postfix would be -# the name of a subdirectory off of the user's actual home dir, -# something like "public_html". -# You can also leave both options undefined, and thttpd will not do -# anything special about tildes. Enabling both options is an error. -# Typical values, if they're defined, are "users" for -# CONFIG_THTTPD_TILDE_MAP1 and "public_html"forCONFIG_THTTPD_TILDE_MAP2. -# CONFIG_THTTPD_GENERATE_INDICES -# CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match -# and verify referrers. -# CONFIG_THTTPD_PORT=80 CONFIG_THTTPD_IPADDR=0x0a000002 CONFIG_THTTPD_SERVER_ADDRESS="http://www.nuttx.org" @@ -837,18 +420,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -868,12 +439,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -890,36 +455,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -955,15 +490,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -978,26 +504,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig index 27f8793903..bd7bab899c 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,22 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +150,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,96 +159,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -382,9 +216,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -407,38 +238,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -456,46 +255,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -506,13 +265,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -520,53 +272,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -590,8 +307,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -599,22 +314,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -627,19 +326,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -649,26 +335,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -685,26 +351,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -730,18 +376,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -761,12 +395,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -783,36 +411,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -848,15 +446,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -871,38 +460,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -915,26 +472,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig index 42f6dfac77..1a94fef661 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=n @@ -140,17 +104,6 @@ CONFIG_ARCH_IRQBUTTONS=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -189,22 +142,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -213,19 +150,6 @@ CONFIG_PHY_FDUPLEX=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -235,96 +159,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -382,9 +216,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -407,38 +238,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -456,46 +255,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -506,13 +265,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -520,53 +272,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -590,8 +307,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -599,22 +314,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -627,19 +326,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # LPC17xx USB Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -649,26 +335,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -685,26 +351,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -730,18 +376,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -761,12 +395,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -783,36 +411,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT" # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -848,15 +446,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -871,38 +460,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -915,26 +472,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig index 769185afc8..73a30a7f77 100755 --- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The LPC17xx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -95,11 +62,8 @@ CONFIG_LPC17_CODESOURCERYL=n CONFIG_LPC17_DEVKITARM=n CONFIG_LPC17_BUILDROOT=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: -# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h) # CONFIG_LPC17_ETHERNET=n CONFIG_LPC17_USBHOST=y @@ -134,17 +98,6 @@ CONFIG_LPC17_GPDMA=n # # LPC17xx specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -183,24 +136,6 @@ CONFIG_UART3_2STOP=0 # # LPC17xx specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# CONFIG_PHY_KS8721=y CONFIG_PHY_AUTONEG=y CONFIG_PHY_SPEED100=n @@ -210,19 +145,6 @@ CONFIG_NET_REGDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -232,98 +154,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_DEBUG_NET - enable network debug output -# CONFIG_DEBUG_USB - enable usb debug output -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -382,9 +212,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -407,38 +234,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -456,46 +251,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -506,13 +261,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -520,56 +268,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -# CONFIG_NET_WLAN - Enable or disable WLAN network interface # CONFIG_NET=y CONFIG_NET_NOINTS=y @@ -596,8 +306,6 @@ CONFIG_NET_WLAN=y # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -605,22 +313,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -633,20 +325,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=y CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -656,19 +334,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # LPC17xx USB Device Configuration # -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_LPC17_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in SRAM. -# CONFIG_LPC17_USBDEV_DMA -# Enable lpc17xx-specific DMA support -# CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n CONFIG_LPC17_USBDEV_DMA=n @@ -679,18 +344,6 @@ CONFIG_LPC17_USBDEV_DMAINTMASK=0 # LPC17xx USB Host Configuration # # OHCI RAM layout: -# CONFIG_USBHOST_OHCIRAM_SIZE -# Total size of OHCI RAM (in AHB SRAM Bank 1) -# CONFIG_USBHOST_NEDS -# Number of endpoint descriptors -# CONFIG_USBHOST_NTDS -# Number of transfer descriptors -# CONFIG_USBHOST_TDBUFFERS -# Number of transfer descriptor buffers -# CONFIG_USBHOST_TDBUFSIZE -# Size of one transfer descriptor buffer -# CONFIG_USBHOST_IOBUFSIZE -# Size of one end-user I/O buffer # CONFIG_USBHOST_OHCIRAM_SIZE=2048 CONFIG_USBHOST_NEDS=3 @@ -702,26 +355,6 @@ CONFIG_USBHOST_IOBUFSIZE=448 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -738,26 +371,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -783,18 +396,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -823,36 +424,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -888,15 +459,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -911,26 +473,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the LPC17xx which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-lpc2378/nsh/defconfig b/nuttx/configs/olimex-lpc2378/nsh/defconfig index 7f8b68369b..c21ddc13ab 100755 --- a/nuttx/configs/olimex-lpc2378/nsh/defconfig +++ b/nuttx/configs/olimex-lpc2378/nsh/defconfig @@ -40,32 +40,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2148. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -108,17 +82,6 @@ CONFIG_UART2=y # # LPC23xx specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specify the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARITY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -144,16 +107,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -162,38 +115,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal support) -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n #CONFIG_DEBUG_MM=y @@ -245,9 +166,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -270,38 +188,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -319,22 +205,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=20000000 @@ -351,36 +227,6 @@ CONFIG_EXAMPLES_SERLOOP_BUFIO= # # Settings for examples/nsh # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -409,27 +255,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC23xx always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# -#CONFIG_BOOT_RUNFROMFLASH= CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n #CONFIG_STACK_POINTER diff --git a/nuttx/configs/olimex-lpc2378/ostest/defconfig b/nuttx/configs/olimex-lpc2378/ostest/defconfig index afc46eaab6..4231d9e852 100755 --- a/nuttx/configs/olimex-lpc2378/ostest/defconfig +++ b/nuttx/configs/olimex-lpc2378/ostest/defconfig @@ -40,32 +40,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to lpc2378. -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -108,17 +82,6 @@ CONFIG_UART2=y # # LPC23xx specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specify the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARITY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -144,16 +107,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_RAW_BINARY=y @@ -162,38 +115,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimal support) -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n #CONFIG_DEBUG_MM=y @@ -245,9 +166,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -270,38 +188,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -319,22 +205,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=20000000 @@ -351,36 +227,6 @@ CONFIG_EXAMPLES_SERLOOP_BUFIO= # # Settings for examples/nsh # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -409,27 +255,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (Must always =n; the LPC23xx always runs from FLASH) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# -#CONFIG_BOOT_RUNFROMFLASH= CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n #CONFIG_STACK_POINTER diff --git a/nuttx/configs/olimex-stm32-p107/nsh/defconfig b/nuttx/configs/olimex-stm32-p107/nsh/defconfig index c405163689..1bfea5ce21 100644 --- a/nuttx/configs/olimex-stm32-p107/nsh/defconfig +++ b/nuttx/configs/olimex-stm32-p107/nsh/defconfig @@ -33,41 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_END - Last address+1 of installed RAM -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -123,15 +89,6 @@ CONFIG_STM32_CAN1_REMAP2=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -184,17 +141,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -240,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -265,19 +201,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -287,100 +210,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -441,9 +270,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -466,38 +292,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -515,46 +309,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=n @@ -565,13 +319,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -579,29 +326,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -612,36 +342,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -651,54 +351,27 @@ CONFIG_NET_SOCKOPTS=y CONFIG_NET_BUFSIZE=1020 CONFIG_NET_TCP=y CONFIG_NET_TCP_CONNS=40 -# CONFIG_NET_TCP_READAHEAD_BUFSIZE +# CONFIG_NET_NTCP_READAHEAD_BUFFERS=8 CONFIG_NET_TCPBACKLOG=n CONFIG_NET_MAX_LISTENPORTS=40 CONFIG_NET_UDP=n CONFIG_NET_UDP_CHECKSUMS=n -# CONFIG_NET_UDP_CONNS=10 +# CONFIG_NET_ICMP=y CONFIG_NET_ICMP_PING=y -# CONFIG_NET_PINGADDRCONF=0 +# CONFIG_NET_STATISTICS=n -# CONFIG_NET_RECEIVE_WINDOW= +# CONFIG_NET_BROADCAST=n -# CONFIG_NET_ARPTAB_SIZE=8 +# CONFIG_NET_ARP_IPIN=n CONFIG_NET_MULTICAST=n -# CONFIG_NET_FWCACHE_SIZE=2 +# # # STM32F107vc Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=n CONFIG_STM32_RMII=y @@ -718,8 +391,6 @@ CONFIG_STM32_ETHMAC_REGDEBUG=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -727,22 +398,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -755,26 +410,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -791,26 +426,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -829,13 +444,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -866,39 +474,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -938,15 +513,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -964,51 +530,11 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # STM32F10xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (CONFIG_STM32_CAN1 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=y CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -1027,26 +553,6 @@ CONFIG_EXAMPLES_CAN_NMSGS=4 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-stm32-p107/ostest/defconfig b/nuttx/configs/olimex-stm32-p107/ostest/defconfig index 26a04d5564..7d37ffc39c 100644 --- a/nuttx/configs/olimex-stm32-p107/ostest/defconfig +++ b/nuttx/configs/olimex-stm32-p107/ostest/defconfig @@ -33,41 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_DRAM_END - Last address+1 of installed RAM -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -102,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -138,10 +95,9 @@ CONFIG_STM32_CAN1_REMAP1=y CONFIG_STM32_CAN1_REMAP2=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -187,17 +143,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -243,16 +188,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -268,21 +203,6 @@ CONFIG_STM32_R61580_DISABLE=y # # STM32F103Z specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -294,19 +214,6 @@ CONFIG_CAN2_BAUD=700000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -316,100 +223,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -468,9 +281,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -493,38 +303,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -542,46 +320,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -592,13 +330,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -606,53 +337,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -676,8 +372,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -685,22 +379,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -713,26 +391,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -749,26 +407,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -787,13 +425,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -824,36 +455,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=1 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -889,15 +490,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -915,57 +507,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-strp711/nettest/defconfig b/nuttx/configs/olimex-strp711/nettest/defconfig index 7b09516476..7f05cf2f38 100755 --- a/nuttx/configs/olimex-strp711/nettest/defconfig +++ b/nuttx/configs/olimex-strp711/nettest/defconfig @@ -35,36 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to Olimex STR-P711 -# CONFIG_ARCH_BUTTONS - Support reading buttons. Unique to Olimex STR-P711 -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -85,27 +55,6 @@ CONFIG_ARCH_STACKDUMP=y # # STR71x specific boot/build settings # -# CONFIG_STR71X_I2C0, CONFIG_STR71X_I2C1, CONFIG_STR71X_UART0, CONFIG_STR71X_UART1, -# CONFIG_STR71X_UART2, CONFIG_STR71X_UART3, CONFIG_STR71X_USB, CONFIG_STR71X_CAN, -# CONFIG_STR71X_BSPI0, CONFIG_STR71X_BSPI1, CONFIG_STR71X_HDLC, CONFIG_STR71X_XTI, -# CONFIG_STR71X_GPIO0, CONFIG_STR71X_GPIO1, CONFIG_STR71X_GPIO2, CONFIG_STR71X_ADC12, -# CONFIG_STR71X_CKOUT, CONFIG_STR71X_TIM1, CONFIG_STR71X_TIM2, CONFIG_STR71X_TIM3, and -# CONFIG_STR71X_RTC -# Select peripherals to initialize (Timer0 and EIC are always initialized) -# CONFIG_STR71X_BANK0, CONFIG_STR71X_BANK1, CONFIG_STR71X_BANK2, and CONFIG_STR71X_BANK3 -# Enable initialize of external memory banks 0-3. -# CONFIG_STR71X_BANK0_SIZE, CONFIG_STR71X_BANK1_SIZE, CONFIG_STR71X_BANK2_SIZE, and -# CONFIG_STR71X_BANK3_SIZE -# If a particular external memory bank is configured, then its width must be provided. -# 8 and 16 (bits) are the only valid options. -# CONFIG_STR71X_BANK0_WAITSTATES, CONFIG_STR71X_BANK1_WAITSTATES, -# CONFIG_STR71X_BANK2_WAITSTATES, and CONFIG_STR71X_BANK3_WAITSTATES -# If a particular external memory bank is configured, then the number of waistates -# for the bank must also be provided. Valid options are {0, .., 15} -# CONFIG_STR71X_BIGEXTMEM -# The default is to provide 20 bits of address for all external memory regions. If -# any memory region is larger than 1Mb, then this option should be selected. In this -# case, 24 bits of addressing will be used CONFIG_STR71X_I2C0=n CONFIG_STR71X_I2C1=n CONFIG_STR71X_UART0=y @@ -144,17 +93,6 @@ CONFIG_STR71X_BIGEXTMEM=n # # STR71x specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -187,16 +125,6 @@ CONFIG_UART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -205,90 +133,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -345,9 +189,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -370,38 +211,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -419,22 +228,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # ENC28J60 configuration # -# CONFIG_NET_ENC28J60 - Enabled ENC28J60 support -# CONFIG_ENC28J60_SPIMODE - Controls the SPI mode -# CONFIG_ENC28J60_FREQUENCY - Define to use a different bus frequency -# CONFIG_ENC28J60_NINTERFACES - Specifies the number of physical ENC28J60 -# devices that will be supported. -# CONFIG_ENC28J60_STATS - Collect network statistics -# CONFOG_ENC28J60_HALFDUPPLEX - Default is full duplex CONFIG_NET_ENC28J60=y #CONFIG_ENC28J60_SPIMODE CONFIG_ENC28J60_FREQUENCY=20000000 @@ -445,38 +244,11 @@ CONFIG_ENC28J60_HALFDUPPLEX=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -502,29 +274,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -537,20 +293,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STR71X USB Configuration # -# CONFIG_STR71X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_STR71X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_STR71X_USBDEV_DMA -# Enable str71x-specific DMA support CONFIG_STR71X_USBDEV_FRAME_INTERRUPT=n CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT=n CONFIG_STR71X_USBDEV_DMA=n @@ -560,25 +302,6 @@ CONFIG_STR71X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -595,25 +318,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -631,18 +335,7 @@ CONFIG_USBMSC_REMOVABLE=y # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) +# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -660,36 +353,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -724,27 +387,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (This option does not appy to the STR71x -- it always runs from flash). -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# (This option does not appy to the STR71x -- it is never copied to RAM). -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-strp711/nsh/defconfig b/nuttx/configs/olimex-strp711/nsh/defconfig index 5a332d6152..3573e8b2bb 100644 --- a/nuttx/configs/olimex-strp711/nsh/defconfig +++ b/nuttx/configs/olimex-strp711/nsh/defconfig @@ -35,36 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to Olimex STR-P711 -# CONFIG_ARCH_BUTTONS - Support reading buttons. Unique to Olimex STR-P711 -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -85,27 +55,6 @@ CONFIG_ARCH_STACKDUMP=y # # STR71x specific boot/build settings # -# CONFIG_STR71X_I2C0, CONFIG_STR71X_I2C1, CONFIG_STR71X_UART0, CONFIG_STR71X_UART1, -# CONFIG_STR71X_UART2, CONFIG_STR71X_UART3, CONFIG_STR71X_USB, CONFIG_STR71X_CAN, -# CONFIG_STR71X_BSPI0, CONFIG_STR71X_BSPI1, CONFIG_STR71X_HDLC, CONFIG_STR71X_XTI, -# CONFIG_STR71X_GPIO0, CONFIG_STR71X_GPIO1, CONFIG_STR71X_GPIO2, CONFIG_STR71X_ADC12, -# CONFIG_STR71X_CKOUT, CONFIG_STR71X_TIM1, CONFIG_STR71X_TIM2, CONFIG_STR71X_TIM3, and -# CONFIG_STR71X_RTC -# Select peripherals to initialize (Timer0 and EIC are always initialized) -# CONFIG_STR71X_BANK0, CONFIG_STR71X_BANK1, CONFIG_STR71X_BANK2, and CONFIG_STR71X_BANK3 -# Enable initialize of external memory banks 0-3. -# CONFIG_STR71X_BANK0_SIZE, CONFIG_STR71X_BANK1_SIZE, CONFIG_STR71X_BANK2_SIZE, and -# CONFIG_STR71X_BANK3_SIZE -# If a particular external memory bank is configured, then its width must be provided. -# 8 and 16 (bits) are the only valid options. -# CONFIG_STR71X_BANK0_WAITSTATES, CONFIG_STR71X_BANK1_WAITSTATES, -# CONFIG_STR71X_BANK2_WAITSTATES, and CONFIG_STR71X_BANK3_WAITSTATES -# If a particular external memory bank is configured, then the number of waistates -# for the bank must also be provided. Valid options are {0, .., 15} -# CONFIG_STR71X_BIGEXTMEM -# The default is to provide 20 bits of address for all external memory regions. If -# any memory region is larger than 1Mb, then this option should be selected. In this -# case, 24 bits of addressing will be used CONFIG_STR71X_I2C0=n CONFIG_STR71X_I2C1=n CONFIG_STR71X_UART0=y @@ -144,17 +93,6 @@ CONFIG_STR71X_BIGEXTMEM=n # # STR71x specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -187,16 +125,6 @@ CONFIG_UART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -205,72 +133,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -321,9 +183,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -346,38 +205,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -395,47 +222,17 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -459,29 +256,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -494,20 +275,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STR71X USB Configuration # -# CONFIG_STR71X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_STR71X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_STR71X_USBDEV_DMA -# Enable str71x-specific DMA support CONFIG_STR71X_USBDEV_FRAME_INTERRUPT=n CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT=n CONFIG_STR71X_USBDEV_DMA=n @@ -517,25 +284,6 @@ CONFIG_STR71X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -552,25 +300,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -595,35 +324,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -658,27 +358,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (This option does not appy to the STR71x -- it always runs from flash). -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# (This option does not appy to the STR71x -- it is never copied to RAM). -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/olimex-strp711/ostest/defconfig b/nuttx/configs/olimex-strp711/ostest/defconfig index ce86bcceaf..18f6c953f9 100644 --- a/nuttx/configs/olimex-strp711/ostest/defconfig +++ b/nuttx/configs/olimex-strp711/ostest/defconfig @@ -35,36 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to Olimex STR-P711 -# CONFIG_ARCH_BUTTONS - Support reading buttons. Unique to Olimex STR-P711 -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y CONFIG_ARCH_ARM7TDMI=y @@ -85,27 +55,6 @@ CONFIG_ARCH_STACKDUMP=y # # STR71x specific boot/build settings # -# CONFIG_STR71X_I2C0, CONFIG_STR71X_I2C1, CONFIG_STR71X_UART0, CONFIG_STR71X_UART1, -# CONFIG_STR71X_UART2, CONFIG_STR71X_UART3, CONFIG_STR71X_USB, CONFIG_STR71X_CAN, -# CONFIG_STR71X_BSPI0, CONFIG_STR71X_BSPI1, CONFIG_STR71X_HDLC, CONFIG_STR71X_XTI, -# CONFIG_STR71X_GPIO0, CONFIG_STR71X_GPIO1, CONFIG_STR71X_GPIO2, CONFIG_STR71X_ADC12, -# CONFIG_STR71X_CKOUT, CONFIG_STR71X_TIM1, CONFIG_STR71X_TIM2, CONFIG_STR71X_TIM3, and -# CONFIG_STR71X_RTC -# Select peripherals to initialize (Timer0 and EIC are always initialized) -# CONFIG_STR71X_BANK0, CONFIG_STR71X_BANK1, CONFIG_STR71X_BANK2, and CONFIG_STR71X_BANK3 -# Enable initialize of external memory banks 0-3. -# CONFIG_STR71X_BANK0_SIZE, CONFIG_STR71X_BANK1_SIZE, CONFIG_STR71X_BANK2_SIZE, and -# CONFIG_STR71X_BANK3_SIZE -# If a particular external memory bank is configured, then its width must be provided. -# 8 and 16 (bits) are the only valid options. -# CONFIG_STR71X_BANK0_WAITSTATES, CONFIG_STR71X_BANK1_WAITSTATES, -# CONFIG_STR71X_BANK2_WAITSTATES, and CONFIG_STR71X_BANK3_WAITSTATES -# If a particular external memory bank is configured, then the number of waistates -# for the bank must also be provided. Valid options are {0, .., 15} -# CONFIG_STR71X_BIGEXTMEM -# The default is to provide 20 bits of address for all external memory regions. If -# any memory region is larger than 1Mb, then this option should be selected. In this -# case, 24 bits of addressing will be used CONFIG_STR71X_I2C0=n CONFIG_STR71X_I2C1=n CONFIG_STR71X_UART0=y @@ -144,17 +93,6 @@ CONFIG_STR71X_BIGEXTMEM=n # # STR71x specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -187,16 +125,6 @@ CONFIG_UART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=y @@ -205,72 +133,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -321,9 +183,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -346,38 +205,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -395,47 +222,17 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -459,29 +256,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -494,20 +275,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STR71X USB Configuration # -# CONFIG_STR71X_USBDEV_FRAME_INTERRUPT -# Handle USB Start-Of-Frame events. -# Enable reading SOF from interrupt handler vs. simply reading on demand. -# Probably a bad idea... Unless there is some issue with sampling the SOF -# from hardware asynchronously. -# CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT -# Enable high priority interrupts. I have no idea why you might want to -# do that -# CONFIG_STR71X_USBDEV_NDMADESCRIPTORS -# Number of DMA descriptors to allocate in the 8Kb USB RAM. This is a -# tradeoff between the number of DMA channels that can be supported vs -# the size of the DMA buffers available. -# CONFIG_STR71X_USBDEV_DMA -# Enable str71x-specific DMA support CONFIG_STR71X_USBDEV_FRAME_INTERRUPT=n CONFIG_STR71X_USBDEV_EPFAST_INTERRUPT=n CONFIG_STR71X_USBDEV_DMA=n @@ -517,25 +284,6 @@ CONFIG_STR71X_USBDEV_DMAINTMASK=0 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -552,25 +300,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -595,36 +324,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -659,27 +358,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (This option does not appy to the STR71x -- it always runs from flash). -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# (This option does not appy to the STR71x -- it is never copied to RAM). -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig index e9c79c98f0..6e30c5b27a 100644 --- a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -117,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +121,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -226,19 +151,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -248,99 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -376,15 +195,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -417,9 +227,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -442,45 +249,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -499,46 +267,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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_FS_FAT=y CONFIG_FAT_LCNAMES=y @@ -550,13 +278,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -564,53 +285,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -634,8 +320,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -643,22 +327,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -671,26 +339,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -707,26 +355,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -753,19 +381,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -784,39 +399,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -853,15 +435,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -876,38 +449,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -920,26 +461,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig index fd42230579..82d68e5af4 100644 --- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -117,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +121,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -226,19 +151,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -248,93 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -366,15 +191,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -407,9 +223,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -432,38 +245,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -481,23 +262,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -505,53 +275,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -575,8 +310,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -584,22 +317,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -612,26 +329,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -648,26 +345,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -694,19 +371,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -725,36 +389,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -790,15 +424,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -813,38 +438,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -857,26 +450,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pic32-starterkit/nsh/defconfig b/nuttx/configs/pic32-starterkit/nsh/defconfig index ff7c056edc..e0843ff876 100644 --- a/nuttx/configs/pic32-starterkit/nsh/defconfig +++ b/nuttx/configs/pic32-starterkit/nsh/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -116,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -175,28 +130,6 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 CONFIG_PIC32MX_FETHIO=0 @@ -205,17 +138,6 @@ CONFIG_PIC32MX_FMIIEN=0 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n @@ -268,35 +190,6 @@ CONFIG_UART6_2STOP=0 # # PIC32MX specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 2 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 4 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. Automatically enables CONFIG_NET_DESCDEBUG as well. -# CONFIG_NET_DESCDEBUG - Enabled low level descriptor debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all incoming and output packet contents. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# -# Related DEVCFG3 Configuration Settings: -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=y CONFIG_PHY_LAN8720=n @@ -318,19 +211,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -340,99 +220,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -473,27 +260,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -505,16 +271,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -546,9 +302,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -571,46 +324,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -638,46 +351,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -688,13 +361,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -702,65 +368,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS -- CONFIG_NET_NOINT indicates that uIP not called from -# the interrupt level. If CONFIG_NET_NOINTS is defined, critical sections -# will be managed with semaphores; Otherwise, it assumed that uIP will be -# called from interrupt level handling and critical sections will be -# managed by enabling and disabling interrupts. -# CONFIG_NET_MULTIBUFFER - Traditionally, uIP has used a single buffer -# for all incoming and outgoing traffic. If this configuration is -# selected, then the driver can manage multiple I/O buffers and can, -# for example, be filling one input buffer while sending another -# output buffer. Or, as another example, the driver may support -# queuing of concurrent input/ouput and output transfers for better -# performance. -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -791,8 +410,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -800,45 +417,12 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=512 CONFIG_FTPD_DATABUFFERSIZE=2048 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -851,26 +435,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -887,54 +451,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -959,26 +475,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -997,112 +493,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1155,19 +545,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -1186,39 +563,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1255,14 +599,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=4 @@ -1274,45 +610,10 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1327,40 +628,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# Build the USBMSC storage example as an NSH built-in application. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1374,33 +641,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1415,25 +655,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1444,26 +665,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pic32-starterkit/nsh2/defconfig b/nuttx/configs/pic32-starterkit/nsh2/defconfig index 8b620d6ffa..68e22e41d8 100644 --- a/nuttx/configs/pic32-starterkit/nsh2/defconfig +++ b/nuttx/configs/pic32-starterkit/nsh2/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -116,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -175,28 +130,6 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 CONFIG_PIC32MX_FETHIO=0 @@ -205,17 +138,6 @@ CONFIG_PIC32MX_FMIIEN=0 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n @@ -268,35 +190,6 @@ CONFIG_UART6_2STOP=0 # # PIC32MX specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 2 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 4 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. Automatically enables CONFIG_NET_DESCDEBUG as well. -# CONFIG_NET_DESCDEBUG - Enabled low level descriptor debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all incoming and output packet contents. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# -# Related DEVCFG3 Configuration Settings: -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=y CONFIG_PHY_LAN8720=n @@ -318,19 +211,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -340,99 +220,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -473,27 +260,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=y CONFIG_RAMLOG=y @@ -505,16 +271,6 @@ CONFIG_RAMLOG_CONSOLE_BUFSIZE=16384 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -546,9 +302,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -571,46 +324,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -638,46 +351,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -688,13 +361,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -702,65 +368,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS -- CONFIG_NET_NOINT indicates that uIP not called from -# the interrupt level. If CONFIG_NET_NOINTS is defined, critical sections -# will be managed with semaphores; Otherwise, it assumed that uIP will be -# called from interrupt level handling and critical sections will be -# managed by enabling and disabling interrupts. -# CONFIG_NET_MULTIBUFFER - Traditionally, uIP has used a single buffer -# for all incoming and outgoing traffic. If this configuration is -# selected, then the driver can manage multiple I/O buffers and can, -# for example, be filling one input buffer while sending another -# output buffer. Or, as another example, the driver may support -# queuing of concurrent input/ouput and output transfers for better -# performance. -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_NOINTS=n @@ -791,8 +410,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -800,45 +417,12 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=512 CONFIG_FTPD_DATABUFFERSIZE=2048 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -851,26 +435,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -887,54 +451,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -959,26 +475,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -997,112 +493,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1155,19 +545,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -1186,39 +563,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1255,14 +599,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=4 @@ -1274,45 +610,10 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1327,40 +628,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# Build the USBMSC storage example as an NSH built-in application. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1374,33 +641,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1415,25 +655,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1444,26 +665,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig index 0600860e83..2b53d9a68b 100644 --- a/nuttx/configs/pic32-starterkit/ostest/defconfig +++ b/nuttx/configs/pic32-starterkit/ostest/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -116,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -175,28 +130,6 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 CONFIG_PIC32MX_FETHIO=0 @@ -205,17 +138,6 @@ CONFIG_PIC32MX_FMIIEN=0 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n @@ -268,35 +190,6 @@ CONFIG_UART6_2STOP=0 # # PIC32MX specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 2 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 4 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. Automatically enables CONFIG_NET_DESCDEBUG as well. -# CONFIG_NET_DESCDEBUG - Enabled low level descriptor debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all incoming and output packet contents. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# -# Related DEVCFG3 Configuration Settings: -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=y CONFIG_PHY_LAN8720=n @@ -318,19 +211,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -340,99 +220,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -471,27 +258,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -503,16 +269,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -544,9 +300,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -569,46 +322,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -636,46 +349,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -686,13 +359,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -700,69 +366,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS -- CONFIG_NET_NOINT indicates that uIP not called from -# the interrupt level. If CONFIG_NET_NOINTS is defined, critical sections -# will be managed with semaphores; Otherwise, it assumed that uIP will be -# called from interrupt level handling and critical sections will be -# managed by enabling and disabling interrupts. -# CONFIG_NET_MULTIBUFFER - Traditionally, uIP has used a single buffer -# for all incoming and outgoing traffic. If this configuration is -# selected, then the driver can manage multiple I/O buffers and can, -# for example, be filling one input buffer while sending another -# output buffer. Or, as another example, the driver may support -# queuing of concurrent input/ouput and output transfers for better -# performance. -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -793,8 +408,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -802,45 +415,12 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=512 CONFIG_FTPD_DATABUFFERSIZE=2048 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -853,26 +433,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -889,54 +449,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -961,26 +473,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -999,112 +491,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1157,19 +543,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -1188,39 +561,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1257,14 +597,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=4 @@ -1276,45 +608,10 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1329,40 +626,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# Build the USBMSC storage example as an NSH built-in application. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1376,33 +639,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1417,25 +653,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1446,26 +663,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pic32mx7mmb/nsh/defconfig b/nuttx/configs/pic32mx7mmb/nsh/defconfig index a52fca9870..48591460c1 100644 --- a/nuttx/configs/pic32mx7mmb/nsh/defconfig +++ b/nuttx/configs/pic32mx7mmb/nsh/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -116,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -175,28 +130,6 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 CONFIG_PIC32MX_FETHIO=0 @@ -205,17 +138,6 @@ CONFIG_PIC32MX_FMIIEN=0 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n @@ -268,35 +190,6 @@ CONFIG_UART6_2STOP=0 # # PIC32MX specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 2 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 4 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. Automatically enables CONFIG_NET_DESCDEBUG as well. -# CONFIG_NET_DESCDEBUG - Enabled low level descriptor debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all incoming and output packet contents. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# -# Related DEVCFG3 Configuration Settings: -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -318,19 +211,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -340,99 +220,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -479,27 +266,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -511,16 +277,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -552,9 +308,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -577,46 +330,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -653,46 +366,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -703,13 +376,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -717,24 +383,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n @@ -742,46 +396,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS -- CONFIG_NET_NOINT indicates that uIP not called from -# the interrupt level. If CONFIG_NET_NOINTS is defined, critical sections -# will be managed with semaphores; Otherwise, it assumed that uIP will be -# called from interrupt level handling and critical sections will be -# managed by enabling and disabling interrupts. -# CONFIG_NET_MULTIBUFFER - Traditionally, uIP has used a single buffer -# for all incoming and outgoing traffic. If this configuration is -# selected, then the driver can manage multiple I/O buffers and can, -# for example, be filling one input buffer while sending another -# output buffer. Or, as another example, the driver may support -# queuing of concurrent input/ouput and output transfers for better -# performance. -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -811,8 +425,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -820,23 +432,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=512 CONFIG_FTPD_DATABUFFERSIZE=2048 @@ -850,22 +445,6 @@ CONFIG_INPUT_STMPE811=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -878,26 +457,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -914,54 +473,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -986,26 +497,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -1024,112 +515,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1175,63 +560,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # PIC32MX7 MMB LCD Hardware Configuration # -# CONFIG_LCD_MIO283QT2 -# Enables the MIO183QT2 LCD support. -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the PIC32MX7 MMB's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# PIC32MX7 MMB's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_MIO283QT2=y CONFIG_LCD_NOGETRUN=n CONFIG_LCD_LANDSCAPE=n @@ -1254,19 +591,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -1285,41 +609,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1357,14 +646,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=4 @@ -1376,65 +657,10 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1455,26 +681,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1487,28 +693,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1524,35 +708,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=y CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1568,20 +723,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1590,15 +731,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1613,40 +745,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# Build the USBMSC storage example as an NSH built-in application. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1660,33 +758,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1701,25 +772,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1730,26 +782,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pic32mx7mmb/ostest/defconfig b/nuttx/configs/pic32mx7mmb/ostest/defconfig index 33ac1dbeab..fe6a6f13e5 100644 --- a/nuttx/configs/pic32mx7mmb/ostest/defconfig +++ b/nuttx/configs/pic32mx7mmb/ostest/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -116,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -175,28 +130,6 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 CONFIG_PIC32MX_FETHIO=0 @@ -205,17 +138,6 @@ CONFIG_PIC32MX_FMIIEN=0 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n @@ -268,35 +190,6 @@ CONFIG_UART6_2STOP=0 # # PIC32MX specific PHY/Ethernet device driver settings # -# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY -# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY -# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY -# CONFIG_PHY_AUTONEG - Enable auto-negotion -# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. -# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex -# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 2 -# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 4 -# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is -# the higest priority. -# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). -# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs -# CONFIG_DEBUG. Automatically enables CONFIG_NET_DESCDEBUG as well. -# CONFIG_NET_DESCDEBUG - Enabled low level descriptor debug. Also needs -# CONFIG_DEBUG. -# CONFIG_NET_DUMPPACKET - Dump all incoming and output packet contents. -# Also needs CONFIG_DEBUG. -# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. -# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. -# Automatically set if CONFIG_NET_IGMP is selected. -# -# Related DEVCFG3 Configuration Settings: -# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit. 1 (or undefined)= -# Default Ethernet I/O Pins; 0=Alternate Ethernet I/O Pins -# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit. 1 (or undefined) = MII -# enabled; 0=RMII enabled -# CONFIG_PHY_KS8721=n CONFIG_PHY_DP83848C=n CONFIG_PHY_LAN8720=y @@ -318,19 +211,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -340,99 +220,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -471,27 +258,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -503,16 +269,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -544,9 +300,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -569,46 +322,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -636,46 +349,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -686,13 +359,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -700,69 +366,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS -- CONFIG_NET_NOINT indicates that uIP not called from -# the interrupt level. If CONFIG_NET_NOINTS is defined, critical sections -# will be managed with semaphores; Otherwise, it assumed that uIP will be -# called from interrupt level handling and critical sections will be -# managed by enabling and disabling interrupts. -# CONFIG_NET_MULTIBUFFER - Traditionally, uIP has used a single buffer -# for all incoming and outgoing traffic. If this configuration is -# selected, then the driver can manage multiple I/O buffers and can, -# for example, be filling one input buffer while sending another -# output buffer. Or, as another example, the driver may support -# queuing of concurrent input/ouput and output transfers for better -# performance. -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -793,8 +408,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -802,45 +415,12 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=512 CONFIG_FTPD_DATABUFFERSIZE=2048 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -853,26 +433,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -889,54 +449,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -961,26 +473,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -999,112 +491,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1157,19 +543,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -1188,39 +561,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1257,14 +597,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=4 @@ -1276,45 +608,10 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1329,40 +626,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# Build the USBMSC storage example as an NSH built-in application. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1376,33 +639,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1417,25 +653,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1446,26 +663,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/pjrc-8051/defconfig b/nuttx/configs/pjrc-8051/defconfig index b987080fc8..d234bd82d2 100644 --- a/nuttx/configs/pjrc-8051/defconfig +++ b/nuttx/configs/pjrc-8051/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_CHIP_8051 - Set if processor is 8051 family -# CONFIG_ARCH_CHIP_8052 = Set if processor is 8052 family -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="8051" CONFIG_ARCH_8051=y CONFIG_ARCH_CHIP_8051=n @@ -56,20 +47,6 @@ CONFIG_ARCH_BOARD_PJRC_87C52=y # other architectures. # # CONFIG-ARCH_PJRC - Set if using the PJRC 87C52 board -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to 8051. -# CONFIG_8052_TIMER2 - Use timer2 for the 100Hz system timer. -# (default is timer0 at 112.5Hz). -# -# These features are only supported when CONFIG_ARCH_BRINGUP -# is set: -# -# CONFIG_ARCH_BRINGUP - Enables some bringup features -# CONFIG_FRAME_DUMP - Enable stack/frame dumping logic -# CONFIG_FRAME_DUMP_SHORT - Terse frame dump output -# CONFIG_SUPPRESS_INTERRUPTS - Do not enable interrupts -# CONFIG_SWITCH_FRAME_DUMP - Dump frames from normal switches -# CONFIG_INTERRUPT_FRAME_DUMP - Dump frames from interrupt switches -# CONFIG_LED_DEBUG - Enable debug output from LED logic # CONFIG_ARCH_PJRC=y CONFIG_ARCH_LEDS=y @@ -86,16 +63,6 @@ CONFIG_LED_DEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -104,69 +71,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -216,9 +120,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -241,38 +142,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -289,29 +158,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -335,8 +181,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -355,25 +200,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=y diff --git a/nuttx/configs/qemu-i486/nsh/defconfig b/nuttx/configs/qemu-i486/nsh/defconfig index b3f54ae5f6..46fd300588 100644 --- a/nuttx/configs/qemu-i486/nsh/defconfig +++ b/nuttx/configs/qemu-i486/nsh/defconfig @@ -35,39 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - Set if the architecture supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARCH="x86" CONFIG_ARCH_X86=y CONFIG_ARCH_I486=y @@ -88,15 +55,6 @@ CONFIG_ARCH_DMA=n # # 16550 UART Settings # -# CONFIG_16550_UART - Enable 16550 UART support -# CONFIG_16550_REGINCR - Address increment between registers (1, 2, or 4) -# CONFIG_16550_REGWIDTH - Width of a register in bits (8, 16, or 32) -# CONFIG_16550_ADDRWIDTH - Width of register address in bytes (8, 16, or 32) -# CONFIG_16550_UARTn - 'y' to enable UARTn -# CONFIG_16550_UARTn_BASE - Base address for UARTn -# CONFIG_16550_UARTn_CLOCK - Input clock for UARTn -# CONFIG_16550_UARTn_IRQ - IRQ for UARTn -# CONFIG_16550_UART=y CONFIG_16550_REGINCR=1 CONFIG_16550_REGWIDTH=8 @@ -123,17 +81,6 @@ CONFIG_16550_UART3_IRQ=IRQ3 # # Serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -172,63 +119,6 @@ CONFIG_UART3_2STOP=0 # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory that builds -# the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with debug symbols -# (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple regions of memory -# to allocate from, this specifies the number of memory regions that the -# memory manager must handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot time console -# output. -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz or MSEC_PER_TICK=10. -# This setting may be defined to inform NuttX that the processor hardware is -# providing system timer interrupts at some interrupt interval other than 10 -# msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set this number of -# milliseconds; Round robin scheduling can be disabled by setting this -# value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in scheduler to -# monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a task name to save in -# the TCB. Useful if scheduler instrumentation is selected. Set to zero to -# disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - Used to initialize -# the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic provides /dev/console. -# Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console driver -# (minimal support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and errorcheck -# mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority inheritance -# on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority inheritance -# is enabled. It defines the maximum number of different threads (minus one) -# that can take counts on a semaphore with priority inheritance support. -# This may be set to zero if priority inheritance is disabled OR if you are -# only using semaphores as mutexes (only one holder) OR if no more than two -# threads participate using a counting semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, then this setting -# is the maximum number of higher priority threads (minus 1) than can be -# waiting for another thread to release a count on a semaphore. This value -# may be set to zero if no more than one thread is expected to wait for a -# semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors by task_create() -# when a new task is started. If set, all files/drivers will appear to be -# closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first three file -# descriptors (stdin, stdout, stderr) by task_create() when a new task is -# started. If set, all files/drivers will appear to be closed in the new -# task except for stdin, stdout, and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket desciptors by -# task_create() when a new task is started. If set, all sockets will appear -# to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -274,9 +164,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a little smaller if we -# do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -299,16 +186,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with BSPs from -# www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format used with many -# different loaders using the GNU objcopy program Should not be selected if -# you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many different -# loaders using the GNU objcopy program. This option should not be selected -# if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -317,34 +194,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously active tasks. This -# value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of of parameters -# that a task may receive (i.e., maxmum value of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread-specific data that can -# be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file descriptors (one for -# each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate on fopen. (Only if -# CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be buffered by ungetc() -# (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message structures. -# The system manages a pool of preallocated message structures to minimize -# dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with a fixed payload -# size given by this settin (does not include other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that can be passed to a -# watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog structures. The -# system manages a pool of preallocated watchdog structures to minimize -# dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX timer structures. -# The system manages a pool of preallocated timer structures to minimize -# dynamic allocations. Set to zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -361,37 +210,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -415,8 +239,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -445,36 +268,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=4096 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -503,25 +296,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/qemu-i486/ostest/defconfig b/nuttx/configs/qemu-i486/ostest/defconfig index 92a980be04..32f3fcaea6 100644 --- a/nuttx/configs/qemu-i486/ostest/defconfig +++ b/nuttx/configs/qemu-i486/ostest/defconfig @@ -35,39 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - Set if the architecture supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization -# CONFIG_ARCH="x86" CONFIG_ARCH_X86=y CONFIG_ARCH_I486=y @@ -88,63 +55,6 @@ CONFIG_ARCH_DMA=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory that builds -# the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with debug symbols -# (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple regions of memory -# to allocate from, this specifies the number of memory regions that the -# memory manager must handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot time console -# output. -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz or MSEC_PER_TICK=10. -# This setting may be defined to inform NuttX that the processor hardware is -# providing system timer interrupts at some interrupt interval other than 10 -# msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set this number of -# milliseconds; Round robin scheduling can be disabled by setting this -# value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in scheduler to -# monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a task name to save in -# the TCB. Useful if scheduler instrumentation is selected. Set to zero to -# disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - Used to initialize -# the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic provides /dev/console. -# Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console driver -# (minimal support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and errorcheck -# mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority inheritance -# on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority inheritance -# is enabled. It defines the maximum number of different threads (minus one) -# that can take counts on a semaphore with priority inheritance support. -# This may be set to zero if priority inheritance is disabled OR if you are -# only using semaphores as mutexes (only one holder) OR if no more than two -# threads participate using a counting semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, then this setting -# is the maximum number of higher priority threads (minus 1) than can be -# waiting for another thread to release a count on a semaphore. This value -# may be set to zero if no more than one thread is expected to wait for a -# semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors by task_create() -# when a new task is started. If set, all files/drivers will appear to be -# closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first three file -# descriptors (stdin, stdout, stderr) by task_create() when a new task is -# started. If set, all files/drivers will appear to be closed in the new -# task except for stdin, stdout, and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket desciptors by -# task_create() when a new task is started. If set, all sockets will appear -# to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -190,9 +100,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a little smaller if we -# do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -215,16 +122,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with BSPs from -# www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format used with many -# different loaders using the GNU objcopy program Should not be selected if -# you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many different -# loaders using the GNU objcopy program. This option should not be selected -# if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -233,34 +130,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously active tasks. This -# value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of of parameters -# that a task may receive (i.e., maxmum value of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread-specific data that can -# be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file descriptors (one for -# each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate on fopen. (Only if -# CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be buffered by ungetc() -# (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message structures. -# The system manages a pool of preallocated message structures to minimize -# dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with a fixed payload -# size given by this settin (does not include other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that can be passed to a -# watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog structures. The -# system manages a pool of preallocated watchdog structures to minimize -# dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX timer structures. -# The system manages a pool of preallocated timer structures to minimize -# dynamic allocations. Set to zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -277,37 +146,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -331,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -373,25 +216,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/rgmp/arm/default/defconfig b/nuttx/configs/rgmp/arm/default/defconfig index 2966ca8300..b39fb54609 100644 --- a/nuttx/configs/rgmp/arm/default/defconfig +++ b/nuttx/configs/rgmp/arm/default/defconfig @@ -37,15 +37,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="rgmp" CONFIG_ARCH_RGMP=y CONFIG_ARCH_BOARD="rgmp" @@ -54,69 +45,6 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -167,9 +95,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -195,16 +120,6 @@ CONFIG_ARCH_STDBOOL_H=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -213,38 +128,6 @@ CONFIG_HAVE_LIBM=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -262,38 +145,13 @@ CONFIG_STDIO_LINEBUFFER=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_LLH_LEN - The link level header length -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates +# CONFIG_NET=y CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=5 @@ -317,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -354,25 +211,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2 after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/rgmp/arm/nsh/defconfig b/nuttx/configs/rgmp/arm/nsh/defconfig index b4b96e5d7b..67ff5fe93b 100644 --- a/nuttx/configs/rgmp/arm/nsh/defconfig +++ b/nuttx/configs/rgmp/arm/nsh/defconfig @@ -37,15 +37,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="rgmp" CONFIG_ARCH_RGMP=y CONFIG_ARCH_BOARD="rgmp" @@ -54,69 +45,6 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y @@ -167,9 +95,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -195,16 +120,6 @@ CONFIG_ARCH_STDBOOL_H=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -213,38 +128,6 @@ CONFIG_HAVE_LIBM=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -262,38 +145,13 @@ CONFIG_STDIO_LINEBUFFER=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_LLH_LEN - The link level header length -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates +# CONFIG_NET=y CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=5 @@ -317,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -342,34 +199,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0xc0a8006a # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_CONSOLE=y CONFIG_NSH_TELNET=n CONFIG_NSH_IOBUFFER_SIZE=512 @@ -383,25 +212,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2 after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/rgmp/x86/default/defconfig b/nuttx/configs/rgmp/x86/default/defconfig index 0af87bb20e..ddbd1e51b9 100644 --- a/nuttx/configs/rgmp/x86/default/defconfig +++ b/nuttx/configs/rgmp/x86/default/defconfig @@ -37,15 +37,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="rgmp" CONFIG_ARCH_RGMP=y CONFIG_ARCH_BOARD="rgmp" @@ -54,69 +45,6 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -167,9 +95,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -195,16 +120,6 @@ CONFIG_ARCH_STDBOOL_H=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -213,38 +128,6 @@ CONFIG_HAVE_LIBM=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -262,38 +145,13 @@ CONFIG_STDIO_LINEBUFFER=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_LLH_LEN - The link level header length -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates +# CONFIG_NET=y CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=5 @@ -317,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -354,25 +211,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2 after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/rgmp/x86/nsh/defconfig b/nuttx/configs/rgmp/x86/nsh/defconfig index d06c9e8f81..da8219af37 100644 --- a/nuttx/configs/rgmp/x86/nsh/defconfig +++ b/nuttx/configs/rgmp/x86/nsh/defconfig @@ -37,15 +37,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="rgmp" CONFIG_ARCH_RGMP=y CONFIG_ARCH_BOARD="rgmp" @@ -54,69 +45,6 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y @@ -167,9 +95,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -195,16 +120,6 @@ CONFIG_ARCH_STDBOOL_H=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -213,38 +128,6 @@ CONFIG_HAVE_LIBM=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -262,38 +145,13 @@ CONFIG_STDIO_LINEBUFFER=y # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_LLH_LEN - The link level header length -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates +# CONFIG_NET=y CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=5 @@ -317,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -342,34 +199,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0xc0a8006a # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_CONSOLE=y CONFIG_NSH_TELNET=n CONFIG_NSH_IOBUFFER_SIZE=512 @@ -383,25 +212,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2 after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sam3u-ek/knsh/defconfig b/nuttx/configs/sam3u-ek/knsh/defconfig index cac79c8e89..a4b5d6ed8c 100755 --- a/nuttx/configs/sam3u-ek/knsh/defconfig +++ b/nuttx/configs/sam3u-ek/knsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -98,12 +65,10 @@ CONFIG_SAM3U_BUILDROOT=y # # Cortex-M3 features # -# CONFIG_ARMV7M_MPU - Enabled the MPU -# CONFIG_ARMV7M_MPU=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_SAM3U_DMA=n CONFIG_SAM3U_NAND=n @@ -130,17 +95,6 @@ CONFIG_USART3_ISUART=y # # SAM3U specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=Y CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=n @@ -186,19 +140,6 @@ CONFIG_USART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -216,99 +157,6 @@ CONFIG_PASS1_OBJECT= # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_NUTTX_KERNEL - Builds NuttX as a separately compiled kernel. -# CONFIG_SYS_RESERVED - Reserved system call values for use -# by archtecture specific ligc. -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -377,9 +225,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -402,38 +247,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -451,22 +264,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -474,26 +277,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_BLOCKSETUP -# Support block setup methods -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_BLOCKSETUP=y CONFIG_MMCSD_MMCSUPPORT=n @@ -501,29 +290,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -547,8 +313,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -556,22 +320,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -584,26 +332,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -620,26 +348,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -658,64 +366,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -770,36 +420,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -835,15 +455,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -858,26 +469,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the SAM3U10E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sam3u-ek/nsh/defconfig b/nuttx/configs/sam3u-ek/nsh/defconfig index e1e21b0dfb..502fa9f5a5 100755 --- a/nuttx/configs/sam3u-ek/nsh/defconfig +++ b/nuttx/configs/sam3u-ek/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,7 +63,7 @@ CONFIG_SAM3U_DEVKITARM=n CONFIG_SAM3U_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_SAM3U_DMA=n CONFIG_SAM3U_NAND=n @@ -123,17 +90,6 @@ CONFIG_USART3_ISUART=y # # SAM3U specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=Y CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=n @@ -179,19 +135,6 @@ CONFIG_USART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +144,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -347,9 +200,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -372,38 +222,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -421,22 +239,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -444,26 +252,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_BLOCKSETUP -# Support block setup methods -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_BLOCKSETUP=y CONFIG_MMCSD_MMCSUPPORT=n @@ -471,29 +265,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -517,8 +288,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -526,22 +295,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -554,26 +307,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -590,26 +323,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -628,64 +341,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -740,36 +395,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -805,15 +430,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -828,26 +444,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the SAM3U10E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig index 719afdaee0..60eece3689 100755 --- a/nuttx/configs/sam3u-ek/nx/defconfig +++ b/nuttx/configs/sam3u-ek/nx/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,7 +63,7 @@ CONFIG_SAM3U_DEVKITARM=n CONFIG_SAM3U_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_SAM3U_DMA=n CONFIG_SAM3U_NAND=n @@ -123,17 +90,6 @@ CONFIG_USART3_ISUART=y # # SAM3U specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=Y CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=n @@ -179,19 +135,6 @@ CONFIG_USART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -201,96 +144,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -348,9 +201,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -373,38 +223,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -430,22 +248,12 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -453,26 +261,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_BLOCKSETUP -# Support block setup methods -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_BLOCKSETUP=y CONFIG_MMCSD_MMCSUPPORT=n @@ -480,29 +274,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -526,8 +297,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -535,22 +304,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -563,26 +316,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -599,26 +332,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -637,64 +350,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -749,36 +404,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -814,15 +439,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -837,30 +453,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 CONFIG_EXAMPLES_NX_BGCOLOR=0x7b5d @@ -878,26 +470,6 @@ CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the SAM3U10E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig index b0283c1c25..b223d6bd31 100755 --- a/nuttx/configs/sam3u-ek/ostest/defconfig +++ b/nuttx/configs/sam3u-ek/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,7 +63,7 @@ CONFIG_SAM3U_DEVKITARM=n CONFIG_SAM3U_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_SAM3U_DMA=n CONFIG_SAM3U_NAND=n @@ -124,17 +91,6 @@ CONFIG_USART3_ISUART=y # # SAM3U specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=Y CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=n @@ -180,19 +136,6 @@ CONFIG_USART3_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -202,96 +145,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -348,9 +201,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -373,38 +223,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -422,22 +240,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -445,53 +253,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -515,8 +288,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -524,22 +295,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -552,26 +307,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -588,26 +323,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -626,64 +341,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -738,36 +395,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -803,15 +430,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -826,26 +444,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the SAM3U10E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig index ef1954a51f..cd6bf7bcc0 100755 --- a/nuttx/configs/sam3u-ek/touchscreen/defconfig +++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,7 +63,7 @@ CONFIG_SAM3U_DEVKITARM=n CONFIG_SAM3U_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_SAM3U_DMA=n CONFIG_SAM3U_HSMCI=n @@ -124,17 +91,6 @@ CONFIG_USART3_ISUART=y # # SAM3U specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_UART_SERIAL_CONSOLE=Y CONFIG_USART0_SERIAL_CONSOLE=n CONFIG_USART1_SERIAL_CONSOLE=n @@ -186,19 +142,6 @@ CONFIG_INPUT_ADS7843E=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=n @@ -208,93 +151,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -331,16 +187,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -372,9 +218,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -397,38 +240,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -455,9 +266,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n @@ -471,13 +279,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -485,26 +286,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_BLOCKSETUP -# Support block setup methods -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_BLOCKSETUP=y CONFIG_MMCSD_MMCSUPPORT=n @@ -512,29 +299,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -558,8 +322,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -567,22 +329,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -595,26 +341,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -631,26 +357,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -669,64 +375,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -756,12 +404,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # SAM3U-EK LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=y @@ -793,38 +435,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -862,15 +472,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -885,33 +486,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -930,26 +504,6 @@ CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -962,28 +516,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -999,35 +531,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1043,20 +546,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1065,26 +554,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the SAM3U10E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/mount/defconfig b/nuttx/configs/sim/mount/defconfig index 7073d8148f..dfbad63f87 100644 --- a/nuttx/configs/sim/mount/defconfig +++ b/nuttx/configs/sim/mount/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,69 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -164,9 +92,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -189,16 +114,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -207,38 +122,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -255,37 +138,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -309,8 +167,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -358,25 +215,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nettest/defconfig b/nuttx/configs/sim/nettest/defconfig index 3dedd9a01c..3244a7a561 100644 --- a/nuttx/configs/sim/nettest/defconfig +++ b/nuttx/configs/sim/nettest/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,69 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -164,9 +92,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -189,16 +114,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -207,38 +122,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -255,37 +138,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=y CONFIG_NET_IPv6=n @@ -309,8 +167,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -357,25 +214,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nsh/defconfig b/nuttx/configs/sim/nsh/defconfig index 3d3dc63142..28c88bd5fa 100644 --- a/nuttx/configs/sim/nsh/defconfig +++ b/nuttx/configs/sim/nsh/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,99 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task.# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enable the atexit() API -# CONFIG_SCHED_ONEXIT - Enable the on_exit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -181,33 +79,6 @@ CONFIG_SCHED_ONEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_SYSLOG_DEVPATH - The full path to the system logging device -# CONFIG_SYSLOG_CHAR - Enable the generic character device for the SYSLOG. -# The full path to the SYSLOG device is provided by CONFIG_SYSLOG_DEVPATH. -# A valid character device must exist at this path. It will by opened -# by syslog_initialize. -# -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_SYSLOG_DEVPATH="/dev/syslog" @@ -246,9 +117,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -271,16 +139,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -289,38 +147,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -338,46 +164,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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=n @@ -387,29 +173,6 @@ CONFIG_FS_ROMFS=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -433,8 +196,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -463,33 +225,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=80 @@ -524,25 +259,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nsh2/defconfig b/nuttx/configs/sim/nsh2/defconfig index 9f6e038ef5..eeb9665231 100644 --- a/nuttx/configs/sim/nsh2/defconfig +++ b/nuttx/configs/sim/nsh2/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -76,93 +67,6 @@ CONFIG_SIM_TOUCHSCREEN=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y @@ -223,9 +127,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -248,16 +149,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -266,38 +157,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -315,46 +174,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -364,29 +183,6 @@ CONFIG_FS_ROMFS=y # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -410,8 +206,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -419,94 +213,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -569,39 +275,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n @@ -631,31 +304,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR @@ -673,24 +321,6 @@ CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 #CONFIG_EXAMPLES_NXHELLO_BGCOLOR @@ -702,33 +332,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 #CONFIG_EXAMPLES_NXLINES_BGCOLOR @@ -743,20 +346,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -773,25 +362,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nx/defconfig b/nuttx/configs/sim/nx/defconfig index ff4b231af2..ae4fde6f0e 100644 --- a/nuttx/configs/sim/nx/defconfig +++ b/nuttx/configs/sim/nx/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -60,73 +51,6 @@ CONFIG_SIM_FBBPP=8 # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -179,9 +103,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -204,16 +125,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -222,38 +133,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -280,40 +159,12 @@ CONFIG_FB_HWCURSORIMAGE=n # # FAT filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -# CONFIG_NET=n CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=0 @@ -337,67 +188,12 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities # -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries -# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -424,39 +220,10 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=8 CONFIG_NXCONSOLE_MXCHARS=256 -# CONFIG_NXCONSOLE_CACHESIZE -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # Settings for examples/uip @@ -486,34 +253,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=80 @@ -541,28 +280,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -579,35 +296,6 @@ CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -628,25 +316,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nx11/defconfig b/nuttx/configs/sim/nx11/defconfig index bf167f6109..0bc9dc1f35 100644 --- a/nuttx/configs/sim/nx11/defconfig +++ b/nuttx/configs/sim/nx11/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -67,73 +58,6 @@ CONFIG_SIM_TOUCHSCREEN=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -186,9 +110,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -211,16 +132,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -229,38 +140,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -287,40 +166,12 @@ CONFIG_FB_HWCURSORIMAGE=n # # FAT filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -# CONFIG_NET=n CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=0 @@ -344,67 +195,12 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities # -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries -# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -431,39 +227,10 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=32 CONFIG_NXCONSOLE_MXCHARS=256 -# CONFIG_NXCONSOLE_CACHESIZE -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # Settings for examples/uip @@ -493,34 +260,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=80 @@ -548,29 +287,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -595,25 +311,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nxffs/defconfig b/nuttx/configs/sim/nxffs/defconfig index 50362a8af4..40c8e40fdd 100644 --- a/nuttx/configs/sim/nxffs/defconfig +++ b/nuttx/configs/sim/nxffs/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,69 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y @@ -165,9 +93,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -190,16 +115,6 @@ CONFIG_ARCH_BZERO=n ## # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -208,38 +123,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -256,37 +139,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -310,8 +168,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -367,25 +224,6 @@ CONFIG_EXAMPLES_NXFFS_NEBLOCKS=32 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/nxwm/defconfig b/nuttx/configs/sim/nxwm/defconfig index 603ec1a21c..0a4150ff45 100644 --- a/nuttx/configs/sim/nxwm/defconfig +++ b/nuttx/configs/sim/nxwm/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -76,95 +67,6 @@ CONFIG_SIM_TOUCHSCREEN=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# CONFIG_SCHED_ONEXIT - Enabled the on_exit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y @@ -225,9 +127,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -250,16 +149,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -268,46 +157,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -326,46 +175,6 @@ CONFIG_PREALLOC_TIMERS=8 # # Filesystem configuration # -# 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 @@ -376,30 +185,6 @@ CONFIG_FS_ROMFS=y # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -# CONFIG_NET=n CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=0 @@ -423,103 +208,12 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities # -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries -# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=y CONFIG_NX_NPLANES=1 @@ -581,39 +275,10 @@ CONFIG_NXWM_TOUCHSCREEN=n # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=y CONFIG_NXCONSOLE_BPP=32 CONFIG_NXCONSOLE_MXCHARS=256 -# CONFIG_NXCONSOLE_CACHESIZE -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # Settings for examples/uip @@ -643,37 +308,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n @@ -702,31 +336,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR @@ -744,24 +353,6 @@ CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 #CONFIG_EXAMPLES_NXHELLO_BGCOLOR @@ -773,33 +364,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 #CONFIG_EXAMPLES_NXLINES_BGCOLOR @@ -814,20 +378,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -844,25 +394,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/ostest/defconfig b/nuttx/configs/sim/ostest/defconfig index 95798ced0e..3f7a3b06e4 100644 --- a/nuttx/configs/sim/ostest/defconfig +++ b/nuttx/configs/sim/ostest/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,69 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -164,9 +92,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -189,16 +114,6 @@ CONFIG_ARCH_BZERO=n ## # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -207,38 +122,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -255,37 +138,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -309,8 +167,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -351,25 +208,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/pashello/defconfig b/nuttx/configs/sim/pashello/defconfig index 40894c1d3d..c6c79be095 100644 --- a/nuttx/configs/sim/pashello/defconfig +++ b/nuttx/configs/sim/pashello/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -52,69 +43,6 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -164,9 +92,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -189,16 +114,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -207,38 +122,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=64 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -255,37 +138,12 @@ CONFIG_PREALLOC_TIMERS=8 # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -309,8 +167,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -346,25 +203,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sim/touchscreen/defconfig b/nuttx/configs/sim/touchscreen/defconfig index 707e9ff20b..c0e4f4fc0a 100644 --- a/nuttx/configs/sim/touchscreen/defconfig +++ b/nuttx/configs/sim/touchscreen/defconfig @@ -35,15 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_SIM). -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH="sim" CONFIG_ARCH_SIM=y CONFIG_ARCH_BOARD="sim" @@ -67,69 +58,6 @@ CONFIG_SIM_TOUCHSCREEN=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -181,9 +109,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -206,16 +131,6 @@ CONFIG_ARCH_BZERO=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -224,38 +139,6 @@ CONFIG_HAVE_LIBM=y # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -280,37 +163,12 @@ CONFIG_FB_HWCURSORIMAGE=n # # FAT filesystem configuration -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -334,66 +192,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# At present, there is only one font. But if there were were more, -# then this option would select the sans serif font. -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -442,33 +247,6 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=80 @@ -496,28 +274,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 CONFIG_EXAMPLES_NX_VPLANE=0 #CONFIG_EXAMPLES_NX_BGCOLOR #CONFIG_EXAMPLES_NX_COLOR1 @@ -541,20 +297,6 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -562,32 +304,12 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Additional examples/touchscreen needed only for the simulated target -# CONFIG_EXAMPLES_TOUCHSCREEN_BGCOLOR -- Background color # CONFIG_EXAMPLES_TOUCHSCREEN_BGCOLOR=0x007b68ee # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig index a7013b672e..2c901e34d9 100644 --- a/nuttx/configs/skp16c26/ostest/defconfig +++ b/nuttx/configs/skp16c26/ostest/defconfig @@ -33,34 +33,9 @@ # ############################################################################ # -# architecture selection. NOTE: There are additional M16C-specific +# Architecture Selection. NOTE: There are additional M16C-specific # settings that are provided via the arch/board/board.h file. # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - Identifies the specific chip variant For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the internal SRAM. -# CONFIG_DRAM_START - The start address of internal SRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to skp16c26. -# CONFIG_ARCH_BUTTONS - Provide button APIs. Unique to skp16c26. -# CONFIG_ARCH_LCD - Configure LCD. Unique to skp16c26. CONFIG_ARCH="sh" CONFIG_ARCH_M16C=y @@ -82,18 +57,6 @@ CONFIG_ARCH_LCD=y # # M16C specific device driver settings # -# CONFIG_UARTn_DISABLE - Disables all support for UARTn. -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART0_DISABLE=y CONFIG_UART1_DISABLE=y CONFIG_UART2_DISABLE=y @@ -126,19 +89,6 @@ CONFIG_LCD_CONSOLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -148,69 +98,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -260,9 +147,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -285,38 +169,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=2 CONFIG_NPTHREAD_KEYS=0 @@ -333,29 +185,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -379,29 +208,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -413,12 +226,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # M16C USB Configuration # -# CONFIG_M16C_GIO_USBATTACH -# GIO that detects USB attach/detach events -# CONFIG_M16C_GIO_USBDPPULLUP -# GIO -# CONFIG_DMA320_USBDEV_DMA -# Enable M16C-specific DMA support CONFIG_M16C_GIO_USBATTACH=6 CONFIG_M16C_GIO_USBDPPULLUP=17 CONFIG_M16C_VENDORID=0xd320 @@ -428,23 +235,6 @@ CONFIG_M16C_USBDEV_DMA=n # # USB Serial Device Configuration # -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303_EPINTIN=3 CONFIG_PL2303_EPBULKOUT=2 CONFIG_PL2303_EPBULKIN=1 @@ -460,23 +250,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 CONFIG_USBMSC_EPBULKIN=1 @@ -536,25 +309,6 @@ CONFIG_DM9X_ETRANS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig index 6ea54c1882..e23446ae66 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/defconfig +++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -98,22 +65,13 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: CONFIG_STM32_TIM2=n CONFIG_STM32_TIM3=n CONFIG_STM32_TIM4=n @@ -151,17 +109,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -207,16 +154,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -232,19 +169,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -254,100 +178,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -407,9 +237,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -432,38 +259,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -481,46 +276,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -531,13 +286,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -545,53 +293,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -615,8 +328,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -624,22 +335,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -652,26 +347,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -688,26 +363,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -726,13 +381,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -763,36 +411,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -828,15 +446,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -854,57 +463,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index 2fdebae711..a458e76534 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -33,41 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_IRQBUTTONS - Must be defined for interrupting button support -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,24 +67,14 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -164,17 +120,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -220,16 +165,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -245,19 +180,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -267,100 +189,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -419,9 +247,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -444,38 +269,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -494,46 +287,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -544,13 +297,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -558,53 +304,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -628,8 +339,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -637,22 +346,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -665,26 +358,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -701,26 +374,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -739,13 +392,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -769,12 +415,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=2 @@ -798,36 +438,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -863,15 +473,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -889,57 +490,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/composite/defconfig b/nuttx/configs/stm3210e-eval/composite/defconfig index fc35efdc19..14732772a7 100755 --- a/nuttx/configs/stm3210e-eval/composite/defconfig +++ b/nuttx/configs/stm3210e-eval/composite/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,38 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -504,46 +292,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -554,13 +302,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -568,53 +309,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -638,8 +344,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -647,22 +351,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -675,26 +363,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -711,41 +379,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_COMPOSITE -# Configure the mass storage driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBMSC_IFNOBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the mass storage interface number so that it is -# unique and contiguous. When used with the CDC/ACM driver, the -# correct value for this offset is two (because of the two CDC/ACM -# interfaces that will precede it). -# CONFIG_USBMSC_STRBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the mass storage string numbers so that they are -# unique and contiguous. When used with the CDC/ACM driver, the -# correct value for this offset is four (or perhaps 5 or 6, depending -# on if CONFIG_CDCACM_NOTIFSTR or CONFIG_CDCACM_DATAIFSTR are defined). -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_IFNOBASE=2 @@ -767,79 +400,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_COMPOSITE -# Configure the CDC serial driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_CDCACM_IFNOBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the CDC/ACM interface numbers so that they are -# unique and contiguous. When used with the Mass Storage driver, the -# correct value for this offset is zero. -# CONFIG_CDCACM_STRBASE -# If the CDC driver is part of a composite device, then this may need to -# be defined to offset the CDC/ACM string numbers so that they are -# unique and contiguous. When used with the Mass Storage driver, the -# correct value for this offset is four (this value actuallly only needs -# to be defined if names are provided for the Notification interface, -# CONFIG_CDCACM_NOTIFSTR, or the data interface, CONFIG_CDCACM_DATAIFSTR). -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=y CONFIG_CDCACM_COMPOSITE=y CONFIG_CDCACM_IFNOBASE=0 @@ -866,26 +431,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Composite Device Configuration # -# CONFIG_USBDEV_COMPOSITE -# Enables USB composite device support -# CONFIG_COMPOSITE_IAD -# If one of the members of the composite has multiple interfaces -# (such as CDC/ACM), then an Interface Association Descriptor (IAD) -# will be necessary. Default: IAD will be used automatically if -# needed. It should not be necessary to set this. -# CONFIG_COMPOSITE_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_COMPOSITE_VENDORID and CONFIG_COMPOSITE_VENDORSTR -# The vendor ID code/string -# CONFIG_COMPOSITE_PRODUCTID and CONFIG_COMPOSITE_PRODUCTSTR -# The product ID code/string -# CONFIG_COMPOSITE_SERIALSTR -# Device serial number string -# CONFIG_COMPOSITE_CONFIGSTR -# Configuration string -# CONFIG_COMPOSITE_VERSIONNO -# The device version number -# CONFIG_USBDEV_COMPOSITE=y CONFIG_COMPOSITE_IAD=y #CONFIG_COMPOSITE_EP0MAXPACKET @@ -925,41 +470,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -997,15 +507,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1020,44 +521,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1072,48 +535,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/composite # -# CONFIG_EXAMPLES_COMPOSITE_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# CONFIG_EXAMPLES_COMPOSITE_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_COMPOSITE_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR2 and CONFIG_EXAMPLES_COMPOSITE_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_COMPOSITE_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_COMPOSITE_DEVMINOR3 and CONFIG_EXAMPLES_COMPOSITE_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_COMPOSITE_NLUNS -# is 3. No defaults. -# -# CONFIG_EXAMPLES_COMPOSITE_TTYUSB - The minor number of the USB serial device. -# Default is zero (corresponding to /dev/ttyUSB0. Default is zero. -# CCONFIG_EXAMPLES_COMPOSITE_SERDEV - The string corresponding to -# CONFIG_EXAMPLES_COMPOSITE_TTYUSB. The default is "/dev/ttyUSB0". -# CONFIG_EXAMPLES_COMPOSITE_BUFSIZE - The size of the serial I/O buffer in -# bytes. Default 256 byters. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_COMPOSITE_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_COMPOSITE_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_COMPOSITE_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_COMPOSITE_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_COMPOSITE_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_COMPOSITE_DEBUGMM=n CONFIG_EXAMPLES_COMPOSITE_NLUNS=1 CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1=0 @@ -1133,57 +554,10 @@ CONFIG_EXAMPLES_COMPOSITE_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig index e27cb955e6..aebd41dfc2 100755 --- a/nuttx/configs/stm3210e-eval/nsh/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=y # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,100 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -415,9 +245,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -440,38 +267,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -489,46 +284,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=n @@ -539,13 +294,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -553,29 +301,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -585,29 +316,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -631,8 +339,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -640,22 +346,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -668,26 +358,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -704,26 +374,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -742,13 +392,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -779,39 +422,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -848,15 +458,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -874,57 +475,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig index 87b6e9cce9..4ebcba0131 100644 --- a/nuttx/configs/stm3210e-eval/nsh2/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -181,17 +139,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -237,16 +184,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -262,19 +199,6 @@ CONFIG_STM32_R61580_DISABLE=y # # STM32F10xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (CONFIG_STM32_CAN1 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=y #CONFIG_CAN_FIFOSIZE @@ -297,19 +221,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -319,99 +230,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -452,16 +270,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -493,9 +301,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -518,38 +323,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -576,46 +349,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -626,13 +359,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -640,29 +366,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -672,29 +381,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -718,8 +404,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -727,24 +411,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_COMPOSITE -# Enables USB composite device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_COMPOSITE=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -758,26 +424,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -794,55 +440,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_COMPOSITE -# Configure the CDC serial driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_COMPOSITE=y #CONFIG_CDCACM_EP0MAXPACKET @@ -866,29 +463,6 @@ CONFIG_CDCACM_COMPOSITE=y # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_COMPOSITE -# Configure the mass storage driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_EP0MAXPACKET=64 @@ -908,112 +482,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1054,66 +527,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -1149,41 +571,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1222,14 +609,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=2 @@ -1241,15 +620,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1263,52 +633,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1329,26 +657,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1361,28 +669,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1398,35 +684,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1442,44 +699,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1497,57 +716,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig index d221390550..3de1ddb760 100644 --- a/nuttx/configs/stm3210e-eval/nx/defconfig +++ b/nuttx/configs/stm3210e-eval/nx/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,38 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -513,46 +301,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -563,13 +311,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -577,53 +318,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -647,8 +353,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -656,22 +360,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -684,26 +372,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -720,26 +388,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -758,112 +406,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -904,66 +451,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -999,38 +495,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1067,15 +531,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1090,35 +545,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1139,28 +565,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1176,26 +580,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the lines drawn in the -# background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1211,57 +595,10 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nxconsole/defconfig b/nuttx/configs/stm3210e-eval/nxconsole/defconfig index db6e45188f..53339ffe6c 100644 --- a/nuttx/configs/stm3210e-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3210e-eval/nxconsole/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,45 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -521,46 +302,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -571,13 +312,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -585,53 +319,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -655,8 +354,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -664,22 +361,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -692,26 +373,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -728,26 +389,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -766,112 +407,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=y CONFIG_NX_NPLANES=1 @@ -912,66 +452,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=y CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_PORTRAIT=n @@ -1007,41 +496,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1079,15 +533,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1102,35 +547,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1151,45 +567,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxtext # -# CONFIG_EXAMPLES_NXTEXT_BUILTIN -- Build the NXTEXT example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXTEXT_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXTEXT_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXTEXT_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BGFONTID - Selects the font to use in the -# background text (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_BGFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUCOLOR -- The color of the pop-up window. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUFONTID - Selects the font to use in the pop-up -# windows (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_PUFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXTEXT_NOGETRUN -- If your display is read-only OR if -# reading is not reliable, then select this configuration to avoid -# reading from the display. -# CONFIG_EXAMPLES_NXTEXT_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. -# CONFIG_EXAMPLES_NXTEXT_BMCACHE - The maximum number of characters that -# can be put in the background window. Default is 128. -# CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum number of pre-rendered -# fonts that can be retained for the background window. Default is 16. -# CONFIG_EXAMPLES_NXTEXT_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NXTEXT_CLIENTPRIO -- The client priority. Default: 100 -# CONFIG_EXAMPLES_NXTEXT_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NXTEXT_LISTENERPRIO -- The priority of the event listener -# thread. Default 80. -# CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NXTEXT_BUILTIN=n CONFIG_EXAMPLES_NXTEXT_VPLANE=0 CONFIG_EXAMPLES_NXTEXT_DEVNO=0 @@ -1212,28 +589,6 @@ CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO=4 # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1252,66 +607,10 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1327,26 +626,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig index 46e2573632..044187ea28 100644 --- a/nuttx/configs/stm3210e-eval/nxlines/defconfig +++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=y # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,38 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -513,46 +301,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -563,13 +311,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -577,53 +318,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -647,8 +353,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -656,22 +360,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -684,26 +372,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -720,26 +388,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -758,112 +406,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -903,66 +450,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -998,38 +494,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1066,15 +530,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1089,35 +544,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1138,45 +564,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxtext # -# CONFIG_EXAMPLES_NXTEXT_BUILTIN -- Build the NXTEXT example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXTEXT_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXTEXT_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXTEXT_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BGFONTID - Selects the font to use in the -# background text (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_BGFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUCOLOR -- The color of the pop-up window. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUFONTID - Selects the font to use in the pop-up -# windows (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_PUFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXTEXT_NOGETRUN -- If your display is read-only OR if -# reading is not reliable, then select this configuration to avoid -# reading from the display. -# CONFIG_EXAMPLES_NXTEXT_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. -# CONFIG_EXAMPLES_NXTEXT_BMCACHE - The maximum number of characters that -# can be put in the background window. Default is 128. -# CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum number of pre-rendered -# fonts that can be retained for the background window. Default is 16. -# CONFIG_EXAMPLES_NXTEXT_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NXTEXT_CLIENTPRIO -- The client priority. Default: 100 -# CONFIG_EXAMPLES_NXTEXT_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NXTEXT_LISTENERPRIO -- The priority of the event listener -# thread. Default 80. -# CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NXTEXT_BUILTIN=n CONFIG_EXAMPLES_NXTEXT_VPLANE=0 CONFIG_EXAMPLES_NXTEXT_DEVNO=0 @@ -1199,28 +586,6 @@ CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO=4 # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1236,35 +601,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1283,57 +619,10 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig index 471c0f5fe2..2739c1ca77 100644 --- a/nuttx/configs/stm3210e-eval/nxtext/defconfig +++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,38 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -513,46 +301,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -563,13 +311,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -577,53 +318,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -647,8 +353,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -656,22 +360,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -684,26 +372,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -720,26 +388,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -758,112 +406,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -903,66 +450,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -998,38 +494,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -1066,15 +530,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1089,35 +544,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1138,45 +564,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxtext # -# CONFIG_EXAMPLES_NXTEXT_BUILTIN -- Build the NXTEXT example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXTEXT_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXTEXT_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXTEXT_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BGFONTID - Selects the font to use in the -# background text (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_BGFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUCOLOR -- The color of the pop-up window. Default -# depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_PUFONTID - Selects the font to use in the pop-up -# windows (see font ID numbers in include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXTEXT_PUFONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXTEXT_BPP. -# CONFIG_EXAMPLES_NXTEXT_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXTEXT_NOGETRUN -- If your display is read-only OR if -# reading is not reliable, then select this configuration to avoid -# reading from the display. -# CONFIG_EXAMPLES_NXTEXT_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. -# CONFIG_EXAMPLES_NXTEXT_BMCACHE - The maximum number of characters that -# can be put in the background window. Default is 128. -# CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum number of pre-rendered -# fonts that can be retained for the background window. Default is 16. -# CONFIG_EXAMPLES_NXTEXT_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NXTEXT_CLIENTPRIO -- The client priority. Default: 100 -# CONFIG_EXAMPLES_NXTEXT_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NXTEXT_LISTENERPRIO -- The priority of the event listener -# thread. Default 80. -# CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NXTEXT_BUILTIN=n CONFIG_EXAMPLES_NXTEXT_VPLANE=0 CONFIG_EXAMPLES_NXTEXT_DEVNO=0 @@ -1199,28 +586,6 @@ CONFIG_EXAMPLES_NXTEXT_NOTIFYSIGNO=4 # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1236,35 +601,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1283,57 +619,10 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig index 891e1c0a77..14a36327fc 100755 --- a/nuttx/configs/stm3210e-eval/ostest/defconfig +++ b/nuttx/configs/stm3210e-eval/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,24 +66,14 @@ CONFIG_STM32_BUILDROOT=y # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -162,17 +119,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -218,16 +164,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -243,21 +179,6 @@ CONFIG_STM32_R61580_DISABLE=y # # STM32F103Z specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -269,19 +190,6 @@ CONFIG_CAN2_BAUD=700000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -291,100 +199,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -443,9 +257,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -468,38 +279,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -517,46 +296,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -567,13 +306,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -581,53 +313,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -651,8 +348,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -660,22 +355,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -688,26 +367,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -724,26 +383,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -762,13 +401,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -799,36 +431,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -864,15 +466,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -890,57 +483,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/pm/defconfig b/nuttx/configs/stm3210e-eval/pm/defconfig index 6068d9ea15..b6e1c06d4b 100644 --- a/nuttx/configs/stm3210e-eval/pm/defconfig +++ b/nuttx/configs/stm3210e-eval/pm/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -100,15 +67,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -191,17 +149,6 @@ CONFIG_RTC_ALARM=y # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -247,16 +194,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -272,19 +209,6 @@ CONFIG_STM32_R61580_DISABLE=y # # STM32F10xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (CONFIG_STM32_CAN1 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=y #CONFIG_CAN_FIFOSIZE @@ -307,19 +231,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -329,99 +240,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n @@ -483,16 +301,6 @@ CONFIG_PM_IRQBUTTONS_MAX=7 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=y CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -524,9 +332,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -549,38 +354,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -607,46 +380,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -657,13 +390,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -671,29 +397,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA - Support DMA data transfers. Requires CONFIG_STM32_SDIO -# and CONFIG_STM32_DMA2. -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -703,29 +412,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -749,8 +435,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -758,24 +442,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_COMPOSITE -# Enables USB composite device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_COMPOSITE=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -789,26 +455,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -825,55 +471,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_COMPOSITE -# Configure the CDC serial driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_COMPOSITE=y #CONFIG_CDCACM_EP0MAXPACKET @@ -897,29 +494,6 @@ CONFIG_CDCACM_COMPOSITE=y # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_COMPOSITE -# Configure the mass storage driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_EP0MAXPACKET=64 @@ -939,112 +513,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1085,66 +558,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3210E-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3210E-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3210E-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -1173,14 +595,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# -#CONFIG_EXAMPLE_BUTTONS_MIN=0 -#CONFIG_EXAMPLE_BUTTONS_MAX=7 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 CONFIG_EXAMPLE_IRQBUTTONS_MAX=7 CONFIG_EXAMPLE_BUTTONS_NAME0="WAKEUP" @@ -1202,41 +616,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1275,14 +654,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=2 @@ -1294,15 +665,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1316,52 +678,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1382,26 +702,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1414,28 +714,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1451,35 +729,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1495,44 +744,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1550,57 +761,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig index 6c9d12ec86..4aaf8f411b 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/defconfig +++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,24 +66,14 @@ CONFIG_STM32_BUILDROOT=y # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=n -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB: CONFIG_STM32_DMA1=n CONFIG_STM32_DMA2=n @@ -162,17 +119,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -218,16 +164,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -243,19 +179,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -265,100 +188,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_USB=n @@ -418,9 +247,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -443,38 +269,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -492,46 +286,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -542,13 +296,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -556,53 +303,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -626,8 +338,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -635,24 +345,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_COMPOSITE -# Enables USB composite device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_COMPOSITE=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -666,26 +358,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration (Prolific PL2303 Emulation) # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=y CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -702,55 +374,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_COMPOSITE -# Configure the CDC serial driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_COMPOSITE=y #CONFIG_CDCACM_EP0MAXPACKET @@ -774,29 +397,6 @@ CONFIG_CDCACM_COMPOSITE=y # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_COMPOSITE -# Configure the mass storage driver as part of a composite driver -# (only if CONFIG_USBDEV_COMPOSITE is also defined) -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_EP0MAXPACKET=64 @@ -816,13 +416,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -853,36 +446,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -918,15 +481,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -941,23 +495,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT - Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS - Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS - Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER - Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS - Show interrupt-related events -# CONFIG_EXAMPLES_USBTERM_BUILTIN=n CONFIG_EXAMPLES_USBTERM_BUFLEN=256 CONFIG_EXAMPLES_USBTERM_TRACEINIT=n @@ -972,57 +509,10 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig index 29753c53da..ff6eed8bd7 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig +++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -99,15 +66,6 @@ CONFIG_STM32_BUILDROOT=y # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -160,17 +118,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -216,16 +163,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -241,19 +178,6 @@ CONFIG_STM32_R61580_DISABLE=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -263,97 +187,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n @@ -389,16 +222,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -430,9 +253,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -455,38 +275,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -504,46 +292,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -554,13 +302,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -568,53 +309,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -638,8 +344,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -647,22 +351,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -675,26 +363,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -711,26 +379,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -749,13 +397,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # @@ -786,41 +427,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -858,15 +464,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -881,44 +478,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -936,57 +495,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/dhcpd/defconfig b/nuttx/configs/stm3220g-eval/dhcpd/defconfig index 6beaab3727..bd0fe82381 100644 --- a/nuttx/configs/stm3220g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3220g-eval/dhcpd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -346,19 +232,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -368,99 +241,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -497,16 +277,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -538,9 +308,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -563,46 +330,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -630,46 +357,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -680,13 +367,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -694,32 +374,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -731,36 +391,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -790,8 +420,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -799,30 +427,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -832,22 +436,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -860,26 +448,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -896,26 +464,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -934,124 +482,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1129,39 +564,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1198,14 +600,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1217,15 +611,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1243,57 +628,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/nettest/defconfig b/nuttx/configs/stm3220g-eval/nettest/defconfig index 5ad68ed4c6..9a6d760675 100644 --- a/nuttx/configs/stm3220g-eval/nettest/defconfig +++ b/nuttx/configs/stm3220g-eval/nettest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -346,19 +232,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -368,99 +241,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -497,16 +277,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -538,9 +308,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -563,46 +330,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -630,46 +357,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -680,13 +367,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -694,32 +374,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -731,36 +391,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -790,8 +420,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -799,30 +427,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -832,22 +436,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -860,26 +448,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -896,26 +464,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -934,124 +482,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1122,39 +557,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1191,14 +593,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1210,15 +604,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1236,57 +621,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/nsh/defconfig b/nuttx/configs/stm3220g-eval/nsh/defconfig index 58b47b3d7c..2b7f2c0872 100644 --- a/nuttx/configs/stm3220g-eval/nsh/defconfig +++ b/nuttx/configs/stm3220g-eval/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -348,17 +234,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3220G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F207IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -380,19 +255,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -402,99 +264,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -543,27 +312,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -575,16 +323,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -616,9 +354,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -641,46 +376,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -708,46 +403,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -758,13 +413,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -772,32 +420,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -809,36 +437,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -868,8 +466,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -877,52 +473,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -941,45 +496,6 @@ CONFIG_INPUT_TSC2007=n # Prerequisites: CONFIG_INPUT=y # Other settings that effect the driver: CONFIG_DISABLE_POLL # -# CONFIG_INPUT_STMPE811 -# Enables support for the STMPE811 driver (Needs CONFIG_INPUT) -# CONFIG_STMPE811_SPI -# Enables support for the SPI interface (not currenly supported) -# CONFIG_STMPE811_I2C -# Enables support for the I2C interface -# CONFIG_STMPE811_MULTIPLE -# Can be defined to support multiple STMPE811 devices on board. -# CONFIG_STMPE811_ACTIVELOW -# Interrupt is generated by an active low signal (or falling edge). -# CONFIG_STMPE811_EDGE -# Interrupt is generated on an edge (vs. on the active level) -# CONFIG_STMPE811_NPOLLWAITERS -# Maximum number of threads that can be waiting on poll() (ignored if -# CONFIG_DISABLE_POLL is set). -# CONFIG_STMPE811_TSC_DISABLE -# Disable driver touchscreen functionality. -# CONFIG_STMPE811_ADC_DISABLE -# Disable driver ADC functionality. -# CONFIG_STMPE811_GPIO_DISABLE -# Disable driver GPIO functionality. -# CONFIG_STMPE811_GPIOINT_DISABLE -# Disable driver GPIO interrupt functionality (ignored if GPIO functionality is -# disabled). -# CONFIG_STMPE811_SWAPXY -# Reverse the meaning of X and Y to handle different LCD orientations. -# For the STM3220G-EVAL, X and Y should be swapped in PORTRAIT modes -# CONFIG_STMPE811_TEMP_DISABLE -# Disable driver temperature sensor functionality. -# CONFIG_STMPE811_REGDBUG -# Enabled very low register-level debug output. Requires CONFIG_DEBUG. -# CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY -# STMPE811 touchscreen data comes in a a very high rate. New touch positions -# will only be reported when the X or Y data changes by these thresholds. -# This trades reduces data rate for some loss in dragging accuracy. The -# STMPE811 is configure for 12-bit values so the raw ranges are 0-4095. So -# for example, if your display is 320x240, then THRESHX=13 and THRESHY=17 -# would correspond to one pixel. Default: 12 -# CONFIG_INPUT_STMPE811=n CONFIG_STMPE811_SPI=n CONFIG_STMPE811_I2C=y @@ -1000,22 +516,6 @@ CONFIG_STMPE811_THRESHY=34 # # STM32 USB OTG FS Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -1030,27 +530,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # Pre-requisites # -# CONFIG_USBHOST - Enable general USB host support -# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block -# CONFIG_STM32_SYSCFG - Needed -# CONFIG_SCHED_WORKQUEUE - Worker thread support is required -# -# Options: -# -# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. -# Default 128 (512 bytes) -# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO -# in 32-bit words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit -# words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 -# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever -# want to do that? -# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access -# debug. Depends on CONFIG_DEBUG. -# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB -# packets. Depends on CONFIG_DEBUG. -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE @@ -1063,26 +542,6 @@ CONFIG_STM32_USBHOST_PKTDUMP=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1099,26 +558,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1137,124 +576,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1299,61 +625,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3220G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3220G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3220G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_RLANDSCAPE=n @@ -1394,39 +674,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1463,14 +710,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1482,15 +721,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1505,68 +735,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1587,26 +763,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1619,28 +775,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1656,35 +790,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1700,20 +805,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1722,44 +813,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1777,77 +830,14 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/watchdog @@ -1855,57 +845,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/nsh2/defconfig b/nuttx/configs/stm3220g-eval/nsh2/defconfig index 13f7292576..49f92aebe2 100644 --- a/nuttx/configs/stm3220g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3220g-eval/nsh2/defconfig @@ -33,41 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -102,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -119,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -193,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -249,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -267,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -293,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -349,17 +234,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3220G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F207IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -381,19 +255,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -403,99 +264,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -543,27 +311,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=y CONFIG_RAMLOG=y @@ -575,16 +322,6 @@ CONFIG_RAMLOG_SYSLOG=y # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -616,9 +353,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -641,46 +375,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -708,46 +402,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -758,13 +412,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -772,32 +419,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -809,36 +436,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -868,8 +465,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -877,52 +472,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -941,45 +495,6 @@ CONFIG_INPUT_TSC2007=n # Prerequisites: CONFIG_INPUT=y # Other settings that effect the driver: CONFIG_DISABLE_POLL # -# CONFIG_INPUT_STMPE811 -# Enables support for the STMPE811 driver (Needs CONFIG_INPUT) -# CONFIG_STMPE811_SPI -# Enables support for the SPI interface (not currenly supported) -# CONFIG_STMPE811_I2C -# Enables support for the I2C interface -# CONFIG_STMPE811_MULTIPLE -# Can be defined to support multiple STMPE811 devices on board. -# CONFIG_STMPE811_ACTIVELOW -# Interrupt is generated by an active low signal (or falling edge). -# CONFIG_STMPE811_EDGE -# Interrupt is generated on an edge (vs. on the active level) -# CONFIG_STMPE811_NPOLLWAITERS -# Maximum number of threads that can be waiting on poll() (ignored if -# CONFIG_DISABLE_POLL is set). -# CONFIG_STMPE811_TSC_DISABLE -# Disable driver touchscreen functionality. -# CONFIG_STMPE811_ADC_DISABLE -# Disable driver ADC functionality. -# CONFIG_STMPE811_GPIO_DISABLE -# Disable driver GPIO functionality. -# CONFIG_STMPE811_GPIOINT_DISABLE -# Disable driver GPIO interrupt functionality (ignored if GPIO functionality is -# disabled). -# CONFIG_STMPE811_SWAPXY -# Reverse the meaning of X and Y to handle different LCD orientations. -# For the STM3220G-EVAL, X and Y should be swapped in PORTRAIT modes -# CONFIG_STMPE811_TEMP_DISABLE -# Disable driver temperature sensor functionality. -# CONFIG_STMPE811_REGDBUG -# Enabled very low register-level debug output. Requires CONFIG_DEBUG. -# CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY -# STMPE811 touchscreen data comes in a a very high rate. New touch positions -# will only be reported when the X or Y data changes by these thresholds. -# This trades reduces data rate for some loss in dragging accuracy. The -# STMPE811 is configure for 12-bit values so the raw ranges are 0-4095. So -# for example, if your display is 320x240, then THRESHX=13 and THRESHY=17 -# would correspond to one pixel. Default: 12 -# CONFIG_INPUT_STMPE811=n CONFIG_STMPE811_SPI=n CONFIG_STMPE811_I2C=y @@ -1000,22 +515,6 @@ CONFIG_STMPE811_THRESHY=34 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -1028,26 +527,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1064,26 +543,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1102,124 +561,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1264,61 +610,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3220G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3220G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3220G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_RLANDSCAPE=n @@ -1359,39 +659,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1428,14 +695,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1447,15 +706,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1470,68 +720,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1552,26 +748,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1584,28 +760,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1621,35 +775,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1665,20 +790,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1687,44 +798,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1742,77 +815,14 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/watchdog @@ -1820,57 +830,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/nxwm/defconfig b/nuttx/configs/stm3220g-eval/nxwm/defconfig index 8d97997457..bb5155fe5a 100644 --- a/nuttx/configs/stm3220g-eval/nxwm/defconfig +++ b/nuttx/configs/stm3220g-eval/nxwm/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=n CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -348,17 +234,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3220G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F207IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -380,19 +255,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -402,100 +264,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# CONFIG_SCHED_ONEXIT - Enabled the on_exit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -545,27 +313,6 @@ CONFIG_SCHED_ONEXIT=y # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -577,16 +324,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -618,9 +355,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -643,46 +377,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -710,46 +404,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -760,13 +414,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -774,32 +421,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -811,36 +438,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -870,8 +467,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -879,52 +474,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -943,45 +497,6 @@ CONFIG_INPUT_TSC2007=n # Prerequisites: CONFIG_INPUT=y # Other settings that effect the driver: CONFIG_DISABLE_POLL # -# CONFIG_INPUT_STMPE811 -# Enables support for the STMPE811 driver (Needs CONFIG_INPUT) -# CONFIG_STMPE811_SPI -# Enables support for the SPI interface (not currenly supported) -# CONFIG_STMPE811_I2C -# Enables support for the I2C interface -# CONFIG_STMPE811_MULTIPLE -# Can be defined to support multiple STMPE811 devices on board. -# CONFIG_STMPE811_ACTIVELOW -# Interrupt is generated by an active low signal (or falling edge). -# CONFIG_STMPE811_EDGE -# Interrupt is generated on an edge (vs. on the active level) -# CONFIG_STMPE811_NPOLLWAITERS -# Maximum number of threads that can be waiting on poll() (ignored if -# CONFIG_DISABLE_POLL is set). -# CONFIG_STMPE811_TSC_DISABLE -# Disable driver touchscreen functionality. -# CONFIG_STMPE811_ADC_DISABLE -# Disable driver ADC functionality. -# CONFIG_STMPE811_GPIO_DISABLE -# Disable driver GPIO functionality. -# CONFIG_STMPE811_GPIOINT_DISABLE -# Disable driver GPIO interrupt functionality (ignored if GPIO functionality is -# disabled). -# CONFIG_STMPE811_SWAPXY -# Reverse the meaning of X and Y to handle different LCD orientations. -# For the STM3220G-EVAL, X and Y should be swapped in PORTRAIT modes -# CONFIG_STMPE811_TEMP_DISABLE -# Disable driver temperature sensor functionality. -# CONFIG_STMPE811_REGDBUG -# Enabled very low register-level debug output. Requires CONFIG_DEBUG. -# CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY -# STMPE811 touchscreen data comes in a a very high rate. New touch positions -# will only be reported when the X or Y data changes by these thresholds. -# This trades reduces data rate for some loss in dragging accuracy. The -# STMPE811 is configure for 12-bit values so the raw ranges are 0-4095. So -# for example, if your display is 320x240, then THRESHX=13 and THRESHY=17 -# would correspond to one pixel. Default: 12 -# CONFIG_INPUT_STMPE811=y CONFIG_STMPE811_SPI=n CONFIG_STMPE811_I2C=y @@ -1002,22 +517,6 @@ CONFIG_STMPE811_THRESHY=51 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -1030,26 +529,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1066,26 +545,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1104,124 +563,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=y CONFIG_NX_NPLANES=1 @@ -1296,61 +642,15 @@ CONFIG_NXWM_HEXCALCULATOR_FONTID=5 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=y CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=325 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3220G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3220G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3220G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_RLANDSCAPE=n @@ -1391,41 +691,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 @@ -1464,14 +729,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1483,15 +740,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1506,68 +754,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1588,26 +782,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1620,28 +794,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1657,35 +809,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=y CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1701,20 +824,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1723,44 +832,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1778,77 +849,14 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Settings for examples/watchdog @@ -1856,57 +864,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig index a105faece6..d141b9c409 100644 --- a/nuttx/configs/stm3220g-eval/ostest/defconfig +++ b/nuttx/configs/stm3220g-eval/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -346,19 +232,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -368,99 +241,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -496,16 +276,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -537,9 +307,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -562,46 +329,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -620,46 +347,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -670,13 +357,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -684,32 +364,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -720,35 +380,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -776,8 +407,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -785,30 +414,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -818,22 +423,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -846,26 +435,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -882,26 +451,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -920,124 +469,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1087,20 +523,6 @@ CONFIG_NXWIDGETS_DEFAULT_FONTID=5 # # STM3220G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the PT3's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3220G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_RLANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -1140,41 +562,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1212,35 +599,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1261,26 +619,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1293,28 +631,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1330,35 +646,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1374,20 +661,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1396,12 +669,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=2 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -1413,14 +680,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME2="Up/Down" # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1432,15 +691,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1455,44 +705,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1510,57 +722,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3220g-eval/telnetd/defconfig b/nuttx/configs/stm3220g-eval/telnetd/defconfig index b390eb8c60..90ed21bec4 100644 --- a/nuttx/configs/stm3220g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3220g-eval/telnetd/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3220xxx supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -101,15 +68,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -118,22 +76,13 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -192,17 +141,6 @@ CONFIG_STM32_TIM11=n # # STM32F20xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -248,16 +186,6 @@ CONFIG_USART5_2STOP=0 # # STM32F20xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -266,21 +194,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F20xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -292,33 +205,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F20xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -346,19 +232,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -368,99 +241,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -497,16 +277,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -538,9 +308,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -563,46 +330,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -630,46 +357,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -680,13 +367,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -694,32 +374,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -731,36 +391,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -790,8 +420,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -799,30 +427,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -832,22 +436,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -860,26 +448,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -896,26 +464,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -934,124 +482,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1115,21 +550,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/telnetd # -# CONFIG_EXAMPLES_TELNETD_DAEMONPRIO - Priority of the Telnet daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE - Stack size allocated for the -# Telnet daemon. Default: 2048 -# CONFIG_EXAMPLES_TELNETD_CLIENTPRIO- Priority of the Telnet client. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_TELNETD_CLIENTSTACKSIZE - Stack size allocated for the -# Telnet client. Default: 2048 -# CONFIG_EXAMPLE_TELNETD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_TELNETD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_TELNETD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_TELNETD_NETMASK - The network mask. Default: 255.255.255.0 -# CONFIG_EXAMPLES_TELNETD_DAEMONPRIO=128 CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE=2048 CONFIG_EXAMPLES_TELNETD_CLIENTPRIO=128 @@ -1149,39 +569,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1218,14 +605,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1237,15 +616,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1263,57 +633,10 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3220G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig index ef807dd892..8b2c82018b 100644 --- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,19 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -302,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -356,19 +238,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -378,99 +247,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -507,16 +283,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -548,9 +314,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -573,46 +336,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -640,46 +363,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -690,13 +373,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -704,32 +380,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -741,36 +397,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -800,8 +426,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -809,30 +433,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -842,22 +442,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -870,26 +454,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -906,26 +470,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -944,112 +488,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1127,39 +565,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1196,14 +601,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1215,15 +612,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1238,26 +626,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig index 499a88ce21..cbc3c7706f 100644 --- a/nuttx/configs/stm3240g-eval/nettest/defconfig +++ b/nuttx/configs/stm3240g-eval/nettest/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,19 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -302,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -356,19 +238,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -378,99 +247,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -507,16 +283,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -548,9 +314,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -573,46 +336,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -640,46 +363,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -690,13 +373,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -704,32 +380,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -741,36 +397,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -800,8 +426,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -809,30 +433,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -842,22 +442,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -870,26 +454,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -906,26 +470,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -944,112 +488,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1120,39 +558,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1189,14 +594,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1208,15 +605,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1231,26 +619,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index db00f0d54e..b21a140e7b 100644 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,21 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -304,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -360,17 +240,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3240G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F407IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -392,19 +261,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -414,99 +270,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -554,27 +317,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -586,16 +328,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -627,9 +359,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -652,46 +381,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -719,46 +408,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -769,13 +418,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -783,32 +425,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -820,36 +442,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -879,8 +471,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -888,52 +478,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -952,45 +501,6 @@ CONFIG_INPUT_TSC2007=n # Prerequisites: CONFIG_INPUT=y # Other settings that effect the driver: CONFIG_DISABLE_POLL # -# CONFIG_INPUT_STMPE811 -# Enables support for the STMPE811 driver (Needs CONFIG_INPUT) -# CONFIG_STMPE811_SPI -# Enables support for the SPI interface (not currenly supported) -# CONFIG_STMPE811_I2C -# Enables support for the I2C interface -# CONFIG_STMPE811_MULTIPLE -# Can be defined to support multiple STMPE811 devices on board. -# CONFIG_STMPE811_ACTIVELOW -# Interrupt is generated by an active low signal (or falling edge). -# CONFIG_STMPE811_EDGE -# Interrupt is generated on an edge (vs. on the active level) -# CONFIG_STMPE811_NPOLLWAITERS -# Maximum number of threads that can be waiting on poll() (ignored if -# CONFIG_DISABLE_POLL is set). -# CONFIG_STMPE811_TSC_DISABLE -# Disable driver touchscreen functionality. -# CONFIG_STMPE811_ADC_DISABLE -# Disable driver ADC functionality. -# CONFIG_STMPE811_GPIO_DISABLE -# Disable driver GPIO functionality. -# CONFIG_STMPE811_GPIOINT_DISABLE -# Disable driver GPIO interrupt functionality (ignored if GPIO functionality is -# disabled). -# CONFIG_STMPE811_SWAPXY -# Reverse the meaning of X and Y to handle different LCD orientations. -# For the STM3240G-EVAL, X and Y should be swapped in PORTRAIT modes -# CONFIG_STMPE811_TEMP_DISABLE -# Disable driver temperature sensor functionality. -# CONFIG_STMPE811_REGDBUG -# Enabled very low register-level debug output. Requires CONFIG_DEBUG. -# CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY -# STMPE811 touchscreen data comes in a a very high rate. New touch positions -# will only be reported when the X or Y data changes by these thresholds. -# This trades reduces data rate for some loss in dragging accuracy. The -# STMPE811 is configure for 12-bit values so the raw ranges are 0-4095. So -# for example, if your display is 320x240, then THRESHX=13 and THRESHY=17 -# would correspond to one pixel. Default: 12 -# CONFIG_INPUT_STMPE811=n CONFIG_STMPE811_SPI=n CONFIG_STMPE811_I2C=y @@ -1011,22 +521,6 @@ CONFIG_STMPE811_THRESHY=34 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -1039,26 +533,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1075,26 +549,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1113,112 +567,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1263,61 +611,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=n CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3240G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3240G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3240G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_RLANDSCAPE=n @@ -1358,39 +660,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1427,14 +696,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1446,15 +707,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1469,68 +721,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1551,26 +749,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1583,28 +761,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1620,35 +776,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1664,20 +791,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1686,44 +799,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1741,101 +816,18 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig index 6698f487a3..1813fe7def 100644 --- a/nuttx/configs/stm3240g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,31 +77,18 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# CONFIG_STM32_CCMEXCLUDE=y # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -205,17 +148,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -261,16 +193,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -279,21 +201,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -305,33 +212,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -361,17 +241,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3240G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F407IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -393,19 +262,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -415,99 +271,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -554,27 +317,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=y CONFIG_RAMLOG=y @@ -586,16 +328,6 @@ CONFIG_RAMLOG_SYSLOG=y # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -627,9 +359,6 @@ CONFIG_DISABLE_POLL=n # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -652,46 +381,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -719,46 +408,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -769,13 +418,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -783,32 +425,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=y #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -820,36 +442,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -879,8 +471,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -888,52 +478,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -943,22 +492,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -971,26 +504,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1007,26 +520,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1045,112 +538,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1220,39 +607,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1289,14 +643,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1308,15 +654,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1331,103 +668,22 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/nxconsole/defconfig b/nuttx/configs/stm3240g-eval/nxconsole/defconfig index 308be59a06..c7a2dbacbc 100644 --- a/nuttx/configs/stm3240g-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3240g-eval/nxconsole/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,21 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -304,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -360,17 +240,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3240G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F407IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -392,19 +261,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -414,99 +270,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -553,27 +316,6 @@ CONFIG_SCHED_ATEXIT=n # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -585,16 +327,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -626,9 +358,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -651,46 +380,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -718,46 +407,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -768,13 +417,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -782,32 +424,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -819,36 +441,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -878,8 +470,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -887,52 +477,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -942,22 +491,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -970,26 +503,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1006,26 +519,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1044,112 +537,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=y CONFIG_NX_NPLANES=1 @@ -1194,62 +581,15 @@ CONFIG_NX_MXCLIENTMSGS=16 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=y CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=256 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3240G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3240G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3240G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_RLANDSCAPE=n @@ -1290,41 +630,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1362,14 +667,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1381,15 +678,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1404,68 +692,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1486,26 +720,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1518,28 +732,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1555,35 +747,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=y CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1599,44 +762,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1654,101 +779,18 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/nxwm/defconfig b/nuttx/configs/stm3240g-eval/nxwm/defconfig index 7d86671954..3dd4102637 100644 --- a/nuttx/configs/stm3240g-eval/nxwm/defconfig +++ b/nuttx/configs/stm3240g-eval/nxwm/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=n CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,21 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -304,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -360,17 +240,6 @@ CONFIG_I2C_TRACE=n # # Enable ADC driver support. The STM3240G-EVAL has a 10 Kohm potentiometer # RV1 connected to PF9 of STM32F407IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 -# In order to use the ADC, you must make the following selections: -# -# Above: -# CONFIG_STM32_ADC3=y : Enable ADC3 -# CONFIG_STM32_TIM1=y : Enable Timer 1 -# -# Below: -# CONFIG_ADC=y : Enable the generic ADC infrastructure -# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC -# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling -# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency # CONFIG_ADC=n #CONFIG_STM32_TIM1_ADC=y @@ -392,19 +261,6 @@ CONFIG_STM32_TIM8_CHANNEL=4 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -414,100 +270,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# CONFIG_SCHED_ONEXIT - Enabled the on_exit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -556,27 +318,6 @@ CONFIG_SCHED_ONEXIT=y # # System Logging # -# CONFIG_SYSLOG - Enables the System Logging feature. -# CONFIG_RAMLOG - Enables the RAM logging feature -# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. -# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all -# console output will be re-directed to a circular buffer in RAM. This -# is useful, for example, if the only console is a Telnet console. Then -# in that case, console output from non-Telnet threads will go to the -# circular buffer and can be viewed using the NSH 'dmesg' command. -# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging -# interface. If this feature is enabled (along with CONFIG_SYSLOG), -# then all debug output (only) will be re-directed to the circular -# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' -# command. -# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting -# for this driver on poll(). Default: 4 -# -# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the -# following may also be provided: -# -# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 -# CONFIG_SYSLOG=n CONFIG_RAMLOG=n @@ -588,16 +329,6 @@ CONFIG_RAMLOG_SYSLOG=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -629,9 +360,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -654,46 +382,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -721,46 +409,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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 @@ -771,13 +419,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -785,32 +426,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -822,36 +443,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -881,8 +472,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -890,52 +479,11 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # FTP Server # -# CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. -# Default: "NuttX" -# CONFIG_FTPD_SERVERID - The server name to use in FTP communications. -# Default: "NuttX FTP Server" -# CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: -# 128 bytes. -# CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data -# transfers. Default: 512 bytes. -# CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each -# FTP daemon worker thread. Default: 2048 bytes. -# -# Other required configuration settings: Of course TCP networking support -# is required. But here are a couple that are less obvious: -# -# CONFIG_DISABLE_PTHREAD - pthread support is required -# CONFIG_DISABLE_POLL - poll() support is required -# CONFIG_FTPD_CMDBUFFERSIZE=2048 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -954,45 +502,6 @@ CONFIG_INPUT_TSC2007=n # Prerequisites: CONFIG_INPUT=y # Other settings that effect the driver: CONFIG_DISABLE_POLL # -# CONFIG_INPUT_STMPE811 -# Enables support for the STMPE811 driver (Needs CONFIG_INPUT) -# CONFIG_STMPE811_SPI -# Enables support for the SPI interface (not currenly supported) -# CONFIG_STMPE811_I2C -# Enables support for the I2C interface -# CONFIG_STMPE811_MULTIPLE -# Can be defined to support multiple STMPE811 devices on board. -# CONFIG_STMPE811_ACTIVELOW -# Interrupt is generated by an active low signal (or falling edge). -# CONFIG_STMPE811_EDGE -# Interrupt is generated on an edge (vs. on the active level) -# CONFIG_STMPE811_NPOLLWAITERS -# Maximum number of threads that can be waiting on poll() (ignored if -# CONFIG_DISABLE_POLL is set). -# CONFIG_STMPE811_TSC_DISABLE -# Disable driver touchscreen functionality. -# CONFIG_STMPE811_ADC_DISABLE -# Disable driver ADC functionality. -# CONFIG_STMPE811_GPIO_DISABLE -# Disable driver GPIO functionality. -# CONFIG_STMPE811_GPIOINT_DISABLE -# Disable driver GPIO interrupt functionality (ignored if GPIO functionality is -# disabled). -# CONFIG_STMPE811_SWAPXY -# Reverse the meaning of X and Y to handle different LCD orientations. -# For the STM3240G-EVAL, X and Y should be swapped in PORTRAIT modes -# CONFIG_STMPE811_TEMP_DISABLE -# Disable driver temperature sensor functionality. -# CONFIG_STMPE811_REGDBUG -# Enabled very low register-level debug output. Requires CONFIG_DEBUG. -# CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY -# STMPE811 touchscreen data comes in a a very high rate. New touch positions -# will only be reported when the X or Y data changes by these thresholds. -# This trades reduces data rate for some loss in dragging accuracy. The -# STMPE811 is configure for 12-bit values so the raw ranges are 0-4095. So -# for example, if your display is 320x240, then THRESHX=13 and THRESHY=17 -# would correspond to one pixel. Default: 12 -# CONFIG_INPUT_STMPE811=y CONFIG_STMPE811_SPI=n CONFIG_STMPE811_I2C=y @@ -1013,22 +522,6 @@ CONFIG_STMPE811_THRESHY=51 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -1041,26 +534,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -1077,26 +550,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1115,112 +568,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=y CONFIG_NX_NPLANES=1 @@ -1295,62 +642,15 @@ CONFIG_NXWM_HEXCALCULATOR_FONTID=5 # # NxConsole Configuration Settings: # -# CONFIG_NXCONSOLE -# Enables building of the NxConsole driver. -# CONFIG_NXCONSOLE_BPP -# Currently, NxConsole supports only a single pixel depth. This -# configuration setting must be provided to support that single pixel depth. -# Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) -# CONFIG_NXCONSOLE_MXCHARS -# NxConsole needs to remember every character written to the console so -# that it can redraw the window. This setting determines the size of some -# internal memory allocations used to hold the character data. Default: 128. -# CONFIG_NXCONSOLE_CACHESIZE -# NxConsole supports caching of rendered fonts. This font caching is required -# for two reasons: (1) First, it improves text performance, but more -# importantly (2) it preserves the font memory. Since the NX server runs on -# a separate server thread, it requires that the rendered font memory persist -# until the server has a chance to render the font. (NOTE: There is still -# inherently a race condition in this!). Unfortunately, the font cache would -# be quite large if all fonts were saved. The CONFIG_NXCONSOLE_CACHESIZE setting -# will control the size of the font cache (in number of glyphs). Only that -# number of the most recently used glyphs will be retained. Default: 16. -# CONFIG_NXCONSOLE_LINESEPARATION -# This the space (in rows) between each row of test. Default: 2 -# CONFIG_NXCONSOLE_NOWRAP -# By default, lines will wrap when the test reaches the right hand side -# of the window. This setting can be defining to change this behavior so -# that the text is simply truncated until a new line is encountered. -# CONFIG_NXCONSOLE=y CONFIG_NXCONSOLE_BPP=16 CONFIG_NXCONSOLE_MXCHARS=325 CONFIG_NXCONSOLE_CACHESIZE=32 -# CONFIG_NXCONSOLE_LINESEPARATION -# CONFIG_NXCONSOLE_NOWRAP +# # # STM3240G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then NxConsole can do more efficient -# scrolling. Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the STM3240G-EVAL's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3240G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_NOGETRUN=y CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_RLANDSCAPE=n @@ -1391,41 +691,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 @@ -1464,14 +729,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1483,15 +740,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1506,68 +754,14 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1588,26 +782,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1620,28 +794,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1657,35 +809,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=y CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1701,20 +824,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1723,44 +832,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1778,101 +849,18 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/ftpd # -# CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the -# FTP daemon. Default: 2048 -# CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the -# network by apps/examples/ftpd. You would need to suppress network -# configuration if the network is configuration prior to running the -# example. -# -# NSH always initializes the network so if CONFIG_NSH_BUILTIN_APPS is -# defined, so is CONFIG_EXAMPLES_FTPD_NONETINIT (se it does not explicitly -# need to be defined in that case): -# -# CONFIG_NSH_BUILTIN_APPS - Build the FTPD daemon example test as an -# NSH built-in function. By default the FTPD daemon will be built -# as a standalone application. -# -# If CONFIG_EXAMPLES_FTPD_NONETINIT is not defined, then the following may -# be specified to customized the network configuration: -# -# CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig index cb10053141..6bfb26afc2 100644 --- a/nuttx/configs/stm3240g-eval/ostest/defconfig +++ b/nuttx/configs/stm3240g-eval/ostest/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM3240xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,21 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 -# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -304,30 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -354,19 +237,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -376,99 +246,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -504,16 +281,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -545,9 +312,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -570,46 +334,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -628,46 +352,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -678,13 +362,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -692,32 +369,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -728,35 +385,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -784,8 +412,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -793,30 +419,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -826,22 +428,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -854,26 +440,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -890,26 +456,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -928,112 +474,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1083,20 +523,6 @@ CONFIG_NXWIDGETS_DEFAULT_FONTID=5 # # STM3240G-EVAL LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is this 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the PT3's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# STM3240G-EVAL's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_RLANDSCAPE=n CONFIG_LCD_PORTRAIT=n @@ -1136,41 +562,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1208,35 +599,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=y CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1257,26 +619,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=y CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1289,28 +631,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1326,35 +646,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1370,20 +661,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1392,12 +669,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=2 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -1409,14 +680,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME2="Up/Down" # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1428,15 +691,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1451,44 +705,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=y CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1503,26 +719,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig index e17328d519..2db1801e92 100644 --- a/nuttx/configs/stm3240g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,15 +69,6 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=y CONFIG_STM32_JTAG_FULL_ENABLE=y CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n @@ -121,30 +77,17 @@ CONFIG_STM32_JTAG_SW_ENABLE=n # # On-chip CCM SRAM configuration # -# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need -# to do this if DMA is enabled to prevent non-DMA-able CCM memory from -# being a part of the stack. -# # # On-board FSMC SRAM configuration # -# CONFIG_STM32_FSMC - Required. See below -# CONFIG_MM_REGIONS - Required. Must be 2 or 3 (see above) -# -# CONFIG_STM32_FSMC_SRAM=y - Indicates that SRAM is available via the -# FSMC (as opposed to an LCD or FLASH). -# CONFIG_HEAP2_BASE - The base address of the SRAM in the FSMC address space -# CONFIG_HEAP2_END - The end (+1) of the SRAM in the FSMC address space -# CONFIG_STM32_FSMC_SRAM=y CONFIG_HEAP2_BASE=0x64000000 CONFIG_HEAP2_END=0x64200000 -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -204,17 +147,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=y @@ -260,16 +192,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -278,19 +200,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -302,33 +211,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -356,19 +238,6 @@ CONFIG_I2C_TRACE=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -378,99 +247,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -507,16 +283,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -548,9 +314,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -573,46 +336,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -640,46 +363,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -690,13 +373,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -704,32 +380,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -741,36 +397,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=y CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -800,8 +426,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -809,30 +433,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -842,22 +442,6 @@ CONFIG_RTC_ALARM=n # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -870,26 +454,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -906,26 +470,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -944,112 +488,6 @@ CONFIG_USBMSC_REMOVABLE=y # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1113,21 +551,6 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 # # Settings for examples/telnetd # -# CONFIG_EXAMPLES_TELNETD_DAEMONPRIO - Priority of the Telnet daemon. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE - Stack size allocated for the -# Telnet daemon. Default: 2048 -# CONFIG_EXAMPLES_TELNETD_CLIENTPRIO- Priority of the Telnet client. -# Default: SCHED_PRIORITY_DEFAULT -# CONFIG_EXAMPLES_TELNETD_CLIENTSTACKSIZE - Stack size allocated for the -# Telnet client. Default: 2048 -# CONFIG_EXAMPLE_TELNETD_NOMAC - If the hardware has no MAC address of its -# own, define this =y to provide a bogus address for testing. -# CONFIG_EXAMPLE_TELNETD_IPADDR - The target IP address. Default 10.0.0.2 -# CONFIG_EXAMPLE_TELNETD_DRIPADDR - The default router address. Default -# 10.0.0.1 -# CONFIG_EXAMPLE_TELNETD_NETMASK - The network mask. Default: 255.255.255.0 -# CONFIG_EXAMPLES_TELNETD_DAEMONPRIO=128 CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE=2048 CONFIG_EXAMPLES_TELNETD_CLIENTPRIO=128 @@ -1147,39 +570,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1216,14 +606,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # I2C tool settings # -# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command -# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0). -# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3) -# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03) -# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77) -# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff) -# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000) -# CONFIG_I2CTOOL_BUILTIN=y CONFIG_I2CTOOL_MINBUS=1 CONFIG_I2CTOOL_MAXBUS=3 @@ -1235,15 +617,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1258,26 +631,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3240G-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 69d4e717cf..01b4e89edf 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM32F4Discovery supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM32F4Discovery supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,24 +69,14 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default only SW-DP is enabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=n CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -181,17 +136,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -242,19 +186,6 @@ CONFIG_SPI_EXCHANGE=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -266,33 +197,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -322,13 +226,6 @@ CONFIG_STM32_TIM4_CHANNEL=2 # # Quadrature Encoder configuration. # -# CONFIG_QENCODER - Enables the upper-half quadrature encoder driver -# CONFIG_STM32_TIMn - Enables TIMn -# CONFIG_STM32_TIMn_QE - Configures TIMn as a quadrature encoder -# CONFIG_STM32_TIMn_QECLKOUT - Used to configure the TIMn prescaler value -# -# Uses TIM2 or TIM8. TIM2 also needs CONFIG_STM32_TIM2=y; TIM8 needs CONFIG_STM_TIM8=y above. -# CONFIG_QENCODER=n CONFIG_STM32_TIM2_QE=n CONFIG_STM32_TIM2_QECLKOUT=28000000 @@ -338,19 +235,6 @@ CONFIG_STM32_TIM8_QECLKOUT=28000000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -360,99 +244,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -498,16 +289,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -539,9 +320,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -564,46 +342,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -631,46 +369,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -681,13 +379,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -695,32 +386,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -732,36 +403,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=n CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -791,8 +432,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -800,30 +439,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -833,22 +448,6 @@ CONFIG_RTC_ALARM=n # # STM32 USB OTG FS Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -863,27 +462,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # Pre-requisites # -# CONFIG_USBHOST - Enable general USB host support -# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block -# CONFIG_STM32_SYSCFG - Needed -# CONFIG_SCHED_WORKQUEUE - Worker thread support is required -# -# Options: -# -# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. -# Default 128 (512 bytes) -# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO -# in 32-bit words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit -# words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 -# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever -# want to do that? -# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access -# debug. Depends on CONFIG_DEBUG. -# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB -# packets. Depends on CONFIG_DEBUG. -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE @@ -896,26 +474,6 @@ CONFIG_STM32_USBHOST_PKTDUMP=n # # USB Serial Device Configuration (Prolifics PL2303 emulation) # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -932,54 +490,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -1004,26 +514,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1042,124 +532,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1229,65 +606,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_USBCONSOLE - If defined, then the an arbitrary USB device may be -# used to as the NSH console. In this case, CONFIG_NSH_CONDEV must be -# defined to indicate which USB device to use as the console. -# CONFIG_NSH_USBCONDEV - If CONFIG_NSH_USBCONSOLE is set to 'y', then -# CONFIG_NSH_USBCONDEV must also be set to select the USB device used to -# support the NSH console. This should be set to the quoted name of a -# readable/write-able USB driver such as: CONFIG_NSH_USBCONDEV="/dev/ttyACM0". -# CONFIG_NSH_UBSDEV_MINOR - The minor device number of the USB device. -# Default: 0 -# CONFIG_NSH_USBDEV_TRACEINIT - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show initialization events -# CONFIG_NSH_USBDEV_TRACECLASS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show class driver events -# CONFIG_NSH_USBDEV_TRACETRANSFERS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show data transfer events -# CONFIG_NSH_USBDEV_TRACECONTROLLER - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show controller events -# CONFIG_NSH_USBDEV_TRACEINTERRUPTS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show interrupt-related events. -# CONFIG_NSH_CONDEV - If CONFIG_NSH_CONSOLE is set to 'y', then CONFIG_NSH_CONDEV -# may also be set to select the serial device used to support the NSH console. -# This should be set to the quoted name of a readable/write-able character -# driver such as: CONFIG_NSH_CONDEV="/dev/ttyS1". This is useful, for example, -# to separate the NSH command line from the system console when the system -# console is used to provide debug output. Default: stdin and stdout (probably -# "/dev/console") -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1333,15 +651,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1358,25 +667,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1387,49 +677,14 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/watchdog @@ -1438,33 +693,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/watchdog @@ -1472,57 +700,10 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the stm32f4discovery which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index 0e006f4a58..acb289df82 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM32F4Discovery supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM32F4Discovery supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,24 +69,14 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default only SW-DP is enabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=n CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -181,17 +136,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -242,19 +186,6 @@ CONFIG_SPI_EXCHANGE=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -266,33 +197,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -322,13 +226,6 @@ CONFIG_STM32_TIM4_CHANNEL=2 # # Quadrature Encoder configuration. # -# CONFIG_QENCODER - Enables the upper-half quadrature encoder driver -# CONFIG_STM32_TIMn - Enables TIMn -# CONFIG_STM32_TIMn_QE - Configures TIMn as a quadrature encoder -# CONFIG_STM32_TIMn_QECLKOUT - Used to configure the TIMn prescaler value -# -# Uses TIM2 or TIM8. TIM2 also needs CONFIG_STM32_TIM2=y; TIM8 needs CONFIG_STM_TIM8=y above. -# CONFIG_QENCODER=n CONFIG_STM32_TIM2_QE=n CONFIG_STM32_TIM2_QECLKOUT=28000000 @@ -338,19 +235,6 @@ CONFIG_STM32_TIM8_QECLKOUT=28000000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -360,99 +244,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -498,16 +289,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -539,9 +320,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -564,46 +342,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -631,46 +369,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -681,13 +379,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -695,32 +386,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -732,36 +403,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=n CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -791,8 +432,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -800,30 +439,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -833,22 +448,6 @@ CONFIG_RTC_ALARM=n # # STM32 USB OTG FS Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -863,27 +462,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # Pre-requisites # -# CONFIG_USBHOST - Enable general USB host support -# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block -# CONFIG_STM32_SYSCFG - Needed -# CONFIG_SCHED_WORKQUEUE - Worker thread support is required -# -# Options: -# -# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. -# Default 128 (512 bytes) -# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO -# in 32-bit words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit -# words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 -# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever -# want to do that? -# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access -# debug. Depends on CONFIG_DEBUG. -# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB -# packets. Depends on CONFIG_DEBUG. -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE @@ -896,26 +474,6 @@ CONFIG_STM32_USBHOST_PKTDUMP=n # # USB Serial Device Configuration (Prolifics PL2303 emulation) # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -932,54 +490,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -1004,26 +514,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1042,124 +532,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1, CONFIG_NXTK_BORDERCOLOR2, CONFIG_NXTK_BORDERCOLOR3 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker. -# CONFIG_NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter. -# The default is mediumdark grey, and light grey, respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=y CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1205,23 +582,6 @@ CONFIG_NX_MXCLIENTMSGS=16 # # SSD1289 LCD Hardware Configuration # -# CONFIG_LCD_SSD1289 - Enables support for the SSD1289-based LCD. -# CONFIG_LCD_NOGETRUN -# NX components need to know if it can read from the LCD or not. If reading -# from the LCD is supported, then some graphic operations can be improved. -# Default: Supported -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse -# landscape" support. Default is the 320x240 "landscape" -# orientation -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. Default is the 320x240 "landscape" -# orientation -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. Default is the 320x240 "landscape" -# orientation -# CONFIG_LCD_SSD1289=y CONFIG_LCD_NOGETRUN=n CONFIG_LCD_LANDSCAPE=y @@ -1258,39 +618,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1327,15 +654,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1352,25 +670,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1381,49 +680,14 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/watchdog @@ -1432,33 +696,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/watchdog @@ -1466,66 +703,10 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1541,26 +722,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the stm32f4discovery which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index dfdea14d5d..2c3f9866df 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM32F4Discovery supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM32F4Discovery supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -104,24 +69,14 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default only SW-DP is enabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=n CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -181,17 +136,6 @@ CONFIG_STM32_TIM11=n # # STM32F4Discovery specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -237,16 +181,6 @@ CONFIG_USART5_2STOP=0 # # STM32F40xxx specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -255,19 +189,6 @@ CONFIG_SSI_POLLWAIT=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -279,30 +200,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -321,19 +218,6 @@ CONFIG_STM32_ETH_PTP=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -343,99 +227,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -471,16 +262,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -512,9 +293,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -537,46 +315,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -595,46 +333,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -645,13 +343,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -659,27 +350,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MULTIBLOCK_DISABLE=y CONFIG_MMCSD_MMCSUPPORT=n @@ -687,35 +363,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates # CONFIG_NET=n CONFIG_NET_NOINTS=n @@ -743,8 +390,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -752,30 +397,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=n CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -785,22 +406,6 @@ CONFIG_RTC_ALARM=n # # STM32 USB OTG FS Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -815,27 +420,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # Pre-requisites # -# CONFIG_USBHOST - Enable general USB host support -# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block -# CONFIG_STM32_SYSCFG - Needed -# CONFIG_SCHED_WORKQUEUE - Worker thread support is required -# -# Options: -# -# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. -# Default 128 (512 bytes) -# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO -# in 32-bit words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit -# words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 -# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever -# want to do that? -# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access -# debug. Depends on CONFIG_DEBUG. -# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB -# packets. Depends on CONFIG_DEBUG. -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE @@ -848,26 +432,6 @@ CONFIG_STM32_USBHOST_PKTDUMP=n # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -884,54 +448,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -956,26 +472,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -994,124 +490,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1161,25 +544,6 @@ CONFIG_NXWIDGETS_DEFAULT_FONTID=5 # # stm32f4discovery LCD Hardware Configuration # -# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" -# support. Default is this 320x240 "landscape" orientation -# (this setting is informative only... not used). -# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" -# orientation support. In this orientation, the PT3's -# LCD ribbon cable is at the bottom of the display. Default is -# 320x240 "landscape" orientation. -# CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse -# portrait" orientation support. In this orientation, the -# stm32f4discovery's LCD ribbon cable is at the top of the display. -# Default is 320x240 "landscape" orientation. -# CONFIG_LCD_BACKLIGHT - Define to support a backlight. -# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an -# adjustable backlight will be provided using timer 1 to generate -# various pulse widthes. The granularity of the settings is -# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or -# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight -# is provided. -# CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n CONFIG_LCD_RPORTRAIT=y @@ -1217,41 +581,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_CONDEV - Select the serial device used to support -# the NSH console. Default: stdin and stdout -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1289,35 +618,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/nx # -# CONFIG_EXAMPLES_NX_BUILTIN -- Build the NX example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NX_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NX_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NX_BGCOLOR -- The color of the background. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR1 -- The color of window 1. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_COLOR2 -- The color of window 2. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_TBCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NX_FONTCOLOR -- The color of the toolbar. Default depends on -# CONFIG_EXAMPLES_NX_BPP. -# CONFIG_EXAMPLES_NX_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NX_RAWWINDOWS -- Use raw windows; Default is to -# use pretty, framed NXTK windows with toolbars. -# CONFIG_EXAMPLES_NX_STACKSIZE -- The stacksize to use when creating -# the NX server. Default 2048 -# CONFIG_EXAMPLES_NX_CLIENTPRIO -- The client priority. Default: 80 -# CONFIG_EXAMPLES_NX_SERVERPRIO -- The server priority. Default: 120 -# CONFIG_EXAMPLES_NX_NOTIFYSIGNO -- The signal number to use with -# nx_eventnotify(). Default: 4 -# CONFIG_EXAMPLES_NX_BUILTIN=n CONFIG_EXAMPLES_NX_VPLANE=0 CONFIG_EXAMPLES_NX_DEVNO=0 @@ -1338,26 +638,6 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=n # # Settings for examples/nxhello # -# CONFIG_EXAMPLES_NXHELLO_BUILTIN -- Build the NXHELLO example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXHELLO_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXHELLO_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXHELLO_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_FONTID - Selects the font (see font ID numbers in -# include/nuttx/nx/nxfonts.h) -# CONFIG_EXAMPLES_NXHELLO_FONTCOLOR -- The color of the fonts used in the -# background window. Default depends on CONFIG_EXAMPLES_NXHELLO_BPP. -# CONFIG_EXAMPLES_NXHELLO_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 32. -# CONFIG_EXAMPLES_NXHELLO_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXHELLO_BUILTIN=n CONFIG_EXAMPLES_NXHELLO_VPLANE=0 CONFIG_EXAMPLES_NXHELLO_DEVNO=0 @@ -1370,28 +650,6 @@ CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n # # Settings for examples/nximage # -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXIMAGE_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXIMAGE_BPP -- Pixels per pixel to use. Valid options -# include 8, 16, and 24. Default is 16. -# CONFIG_EXAMPLES_NXIMAGE_XSCALEp5, CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0 -- The logo image width is 160 columns. -# One of these may be defined to rescale the image horizontally by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_YSCALEp5, CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5, -# CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows. -# One of these may be defined to rescale the image vertically by .5, 1.5, -# or 2.0. -# CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXIMAGE_BUILTIN=n CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 @@ -1407,35 +665,6 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # # Settings for examples/nxlines # -# CONFIG_EXAMPLES_NXLINES_BUILTIN -- Build the NXLINES example as a "built-in" -# that can be executed from the NSH command line -# CONFIG_EXAMPLES_NXLINES_VPLANE -- The plane to select from the frame- -# buffer driver for use in the test. Default: 0 -# CONFIG_EXAMPLES_NXLINES_DEVNO - The LCD device to select from the LCD -# driver for use in the test: Default: 0 -# CONFIG_EXAMPLES_NXLINES_BGCOLOR -- The color of the background. Default -# depends on CONFIG_EXAMPLES_NXLINES_BPP. -# CONFIG_EXAMPLES_NXLINES_LINEWIDTH - Selects the width of the lines in -# pixels (default: 16) -# CONFIG_EXAMPLES_NXLINES_LINECOLOR -- The color of the central lines drawn -# in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BORDERWIDTH -- The width of the circular border -# drawn in the background window. (default: 4). -# CONFIG_EXAMPLES_NXLINES_BORDERCOLOR -- The color of the circular border -# drawn in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR -- The color of the circular region -# filled in the background window. Default depends on CONFIG_EXAMPLES_NXLINES_BPP -# (there really is no meaningful default). -# CONFIG_EXAMPLES_NXLINES_BPP -- Pixels per pixel to use. Valid options -# include 2, 4, 8, 16, 24, and 32. Default is 16. -# CONFIG_EXAMPLES_NXLINES_EXTERNINIT - The driver for the graphics device on -# this platform requires some unusual initialization. This is the -# for, for example, SPI LCD/OLED devices. If this configuration is -# selected, then the platform code must provide an LCD initialization -# function. -# CONFIG_EXAMPLES_NXLINES_BUILTIN=n CONFIG_EXAMPLES_NXLINES_VPLANE=0 CONFIG_EXAMPLES_NXLINES_DEVNO=0 @@ -1451,20 +680,6 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # # Settings for examples/touchscreen # -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as -# an NSH built-in function. Default: Built as a standalone problem -# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N -# correspnds to touchscreen device /dev/input0. Note this value must -# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. -# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen -# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. -# Default: "/dev/input0" -# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" @@ -1473,12 +688,6 @@ CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Settings for examples/buttons # -# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number (0-7) -# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number (-7) -# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n -# CONFIG_EXAMPLE_BUTTONS_MIN=0 CONFIG_EXAMPLE_BUTTONS_MAX=2 CONFIG_EXAMPLE_IRQBUTTONS_MIN=0 @@ -1490,15 +699,6 @@ CONFIG_EXAMPLE_BUTTONS_NAME2="Up/Down" # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1515,25 +715,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1544,44 +725,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_BUILTIN -# This example can be built as two NSH "built-in" commands if this option -# is selection: 'msconn' will connect the USB mass storage device; 'msdis' -# will disconnect the USB storage device. -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEBUGMM -# Enables some debug tests to check for memory usage and memory leaks. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_BUILTIN=n CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 @@ -1599,57 +742,10 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the stm32f4discovery which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 799eea34cc..338baf585e 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -33,42 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The STM32F4Discovery supports interrupt prioritization -# CONFIG_ARCH_FPU - The STM32F4Discovery supports a floating point unit (FPU) -# (But, unfortunately, GCC does not support it). -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -105,24 +70,14 @@ CONFIG_STM32_BUILDROOT=n # # JTAG Enable settings (by default only SW-DP is enabled): # -# CONFIG_STM32_DFU - Use the DFU bootloader, not JTAG -# -# JTAG Enable options: -# -# CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP) -# but without JNTRST. -# CONFIG_STM32_JTAG_SW_ENABLE - Set JTAG-DP disabled and SW-DP enabled -# CONFIG_STM32_DFU=n CONFIG_STM32_JTAG_FULL_ENABLE=n CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: +# # AHB1: CONFIG_STM32_CRC=n CONFIG_STM32_BKPSRAM=n @@ -182,17 +137,6 @@ CONFIG_STM32_TIM11=n # # STM32F40xxx specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART3_SERIAL_CONSOLE=n @@ -243,19 +187,6 @@ CONFIG_SPI_EXCHANGE=y # # STM32F40xxx specific CAN device driver settings # -# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or -# CONFIG_STM32_CAN2 must also be defined) -# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default -# Standard 11-bit IDs. -# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. -# Default: 8 -# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. -# Default: 4 -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. -# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. -# CONFIG_CAN=n CONFIG_CAN_EXTID=n #CONFIG_CAN_FIFOSIZE @@ -267,33 +198,6 @@ CONFIG_CAN2_BAUD=700000 # # STM32F40xxx Ethernet device driver settings # -# CONFIG_STM32_PHYADDR - The 5-bit address of the PHY on the board -# CONFIG_STM32_MII - Support Ethernet MII interface -# CONFIG_STM32_MII_MCO1 - Use MCO1 to clock the MII interface -# CONFIG_STM32_MII_MCO2 - Use MCO2 to clock the MII interface -# CONFIG_STM32_RMII - Support Ethernet RMII interface -# CONFIG_STM32_AUTONEG - Use PHY autonegotion to determine speed and mode -# CONFIG_STM32_ETHFD - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select full duplex mode. Default: half-duplex -# CONFIG_STM32_ETH100MBPS - If CONFIG_STM32_AUTONEG is not defined, then this -# may be defined to select 100 MBps speed. Default: 10 Mbps -# CONFIG_STM32_PHYSR - This must be provided if CONFIG_STM32_AUTONEG is -# defined. The PHY status register address may diff from PHY to PHY. This -# configuration sets the address of the PHY status register. -# CONFIG_STM32_PHYSR_SPEED - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides bit mask indicating 10 or 100MBps speed. -# CONFIG_STM32_PHYSR_100MBPS - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the speed bit(s) indicating 100MBps speed. -# CONFIG_STM32_PHYSR_MODE - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provide bit mask indicating full or half duplex modes. -# CONFIG_STM32_PHYSR_FULLDUPLEX - This must be provided if CONFIG_STM32_AUTONEG is -# defined. This provides the value of the mode bits indicating full duplex mode. -# CONFIG_STM32_ETH_PTP - Precision Time Protocol (PTP). Not supported -# but some hooks are indicated with this condition. -# CONFIG_STM32_ETHMAC_REGDEBUG - If CONFIG_DEBUG is also enabled, this will -# generate far more debug output than you could ever care to see unless you -# are debugging low-level Ethernet driver features. -# CONFIG_STM32_PHYADDR=0x01 CONFIG_STM32_MII=y CONFIG_STM32_MII_MCO1=y @@ -323,13 +227,6 @@ CONFIG_STM32_TIM4_CHANNEL=2 # # Quadrature Encoder configuration. # -# CONFIG_QENCODER - Enables the upper-half quadrature encoder driver -# CONFIG_STM32_TIMn - Enables TIMn -# CONFIG_STM32_TIMn_QE - Configures TIMn as a quadrature encoder -# CONFIG_STM32_TIMn_QECLKOUT - Used to configure the TIMn prescaler value -# -# Uses TIM2 or TIM8. TIM2 also needs CONFIG_STM32_TIM2=y; TIM8 needs CONFIG_STM_TIM8=y above. -# CONFIG_QENCODER=n CONFIG_STM32_TIM2_QE=n CONFIG_STM32_TIM2_QECLKOUT=28000000 @@ -339,19 +236,6 @@ CONFIG_STM32_TIM8_QECLKOUT=28000000 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -361,99 +245,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -517,16 +308,6 @@ CONFIG_PM_IRQBUTTON=y # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -558,9 +339,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -583,46 +361,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -650,46 +388,6 @@ CONFIG_FB_HWCURSORIMAGE=n # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -700,13 +398,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -714,32 +405,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # STM32 SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_SDIO_PRI - Select SDIO interrupt prority. Default: 128 -# CONFIG_SDIO_DMAPRIO - Select SDIO DMA interrupt priority. -# Default: Medium -# CONFIG_SDIO_WIDTH_D1_ONLY - Select 1-bit transfer mode. Default: -# 4-bit transfer mode. -# CONFIG_MMCSD_MULTIBLOCK_DISABLE - Use only the single block transfer method. -# This setting is used to work around buggy drivers that cannot handle -# multiple block transfers. -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n #CONFIG_SDIO_PRI=128 #CONFIG_SDIO_DMAPRIO @@ -751,36 +422,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP # -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_NOINTS - uIP not called from interrupt level. -# CONFIG_NET_MULTIBUFFER - Use multiple input/output buffers (probably no) -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_ARP_IPIN - Harvest IP/MAC address mappings from the ARP table -# from incoming IP packets. -# CONFIG_NET_MULTICAST - Outgoing multi-cast address support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when -# looking for duplicates -# CONFIG_NET=n CONFIG_NET_NOINTS=n CONFIG_NET_MULTIBUFFER=y @@ -810,8 +451,6 @@ CONFIG_NET_MULTICAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -819,30 +458,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # RTC Configuration # -# CONFIG_RTC - Enables general support for a hardware RTC. Specific -# architectures may require other specific settings. -# CONFIG_RTC_DATETIME - There are two general types of RTC: (1) A simple -# battery backed counter that keeps the time when power is down, and (2) -# A full date / time RTC the provides the date and time information, often -# in BCD format. If CONFIG_RTC_DATETIME is selected, it specifies this -# second kind of RTC. In this case, the RTC is used to "seed" the normal -# NuttX timer and the NuttX system timer provides for higher resoution -# time. -# CONFIG_RTC_HIRES - If CONFIG_RTC_DATETIME not selected, then the simple, -# battery backed counter is used. There are two different implementations -# of such simple counters based on the time resolution of the counter: -# The typical RTC keeps time to resolution of 1 second, usually -# supporting a 32-bit time_t value. In this case, the RTC is used to -# "seed" the normal NuttX timer and the NuttX timer provides for higher -# resoution time. If CONFIG_RTC_HIRES is enabled in the NuttX configuration, -# then the RTC provides higher resolution time and completely replaces the -# system timer for purpose of date and time. -# CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the frequency -# of the high resolution RTC must be provided. If CONFIG_RTC_HIRES is -# not defined, CONFIG_RTC_FREQUENCY is assumed to be one. -# CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an -# alarm. A callback function will be executed when the alarm goes off -# CONFIG_RTC=y CONFIG_RTC_DATETIME=y CONFIG_RTC_HIRES=n @@ -852,22 +467,6 @@ CONFIG_RTC_ALARM=y # # STM32 USB OTG FS Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -882,27 +481,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # Pre-requisites # -# CONFIG_USBHOST - Enable general USB host support -# CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block -# CONFIG_STM32_SYSCFG - Needed -# CONFIG_SCHED_WORKQUEUE - Worker thread support is required -# -# Options: -# -# CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words. -# Default 128 (512 bytes) -# CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO -# in 32-bit words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_PTXFIFO_SIZE - Size of the periodic Tx FIFO in 32-bit -# words. Default 96 (384 bytes) -# CONFIG_STM32_OTGFS_DESCSIZE - Maximum size of a descriptor. Default: 128 -# CONFIG_STM32_OTGFS_SOFINTR - Enable SOF interrupts. Why would you ever -# want to do that? -# CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access -# debug. Depends on CONFIG_DEBUG. -# CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB -# packets. Depends on CONFIG_DEBUG. -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE @@ -915,26 +493,6 @@ CONFIG_STM32_USBHOST_PKTDUMP=n # # USB Serial Device Configuration (Prolifics PL2303 emulation) # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -951,54 +509,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -1023,26 +533,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -1061,124 +551,11 @@ CONFIG_USBMSC_REMOVABLE=y # # Watchdog timer configuration # -# CONFIG_WATCHDOG - Enable overall watchdog timer driver support. -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# CONFIG_WATCHDOG=n # # Graphics related configuration settings # -# CONFIG_NX -# Enables overall support for graphics library and NX -# CONFIG_NX_MULTIUSER -# Configures NX in multi-user mode -# CONFIG_NX_NPLANES -# Some YUV color formats requires support for multiple planes, -# one for each color component. Unless you have such special -# hardware, this value should be undefined or set to 1 -# CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP, -# CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP, -# CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and -# CONFIG_NX_DISABLE_32BPP -# NX supports a variety of pixel depths. You can save some -# memory by disabling support for unused color depths. -# CONFIG_NX_PACKEDMSFIRST -# If a pixel depth of less than 8-bits is used, then NX needs -# to know if the pixels pack from the MS to LS or from LS to MS -# CONFIG_NX_LCDDRIVER -# By default, NX builds to use a framebuffer driver (see -# include/nuttx/fb.h). If this option is defined, NX will -# build to use an LCD driver (see include/nuttx/lcd/lcd.h). -# CONFIG_LCD_MAXPOWER - The full-on power setting for an LCD device. -# CONFIG_LCD_MAXCONTRAST - The maximum contrast value for an LCD device. -# CONFIG_NX_MOUSE -# Build in support for mouse input -# CONFIG_NX_KBD -# Build in support of keypad/keyboard input -# CONFIG_NXTK_BORDERWIDTH -# Specifies with with of the border (in pixels) used with -# framed windows. The default is 4. -# CONFIG_NXTK_BORDERCOLOR1 and CONFIG_NXTK_BORDERCOLOR2 -# Specify the colors of the border used with framed windows. -# CONFIG_NXTK_BORDERCOLOR2 is the shadow side color and so -# is normally darker. The default is medium and dark grey, -# respectively -# CONFIG_NXTK_AUTORAISE -# If set, a window will be raised to the top if the mouse position -# is over a visible portion of the window. Default: A mouse -# button must be clicked over a visible portion of the window. -# CONFIG_NXFONTS_CHARBITS -# The number of bits in the character set. Current options are -# only 7 and 8. The default is 7. -# CONFIG_NXFONT_SANS17X22 -# This option enables support for a tiny, 17x22 san serif font -# (font ID FONTID_SANS17X22 == 14). -# CONFIG_NXFONT_SANS20X26 -# This option enables support for a tiny, 20x26 san serif font -# (font ID FONTID_SANS20X26 == 15). -# CONFIG_NXFONT_SANS23X27 -# This option enables support for a tiny, 23x27 san serif font -# (font ID FONTID_SANS23X27 == 1). -# CONFIG_NXFONT_SANS22X29 -# This option enables support for a small, 22x29 san serif font -# (font ID FONTID_SANS22X29 == 2). -# CONFIG_NXFONT_SANS28X37 -# This option enables support for a medium, 28x37 san serif font -# (font ID FONTID_SANS28X37 == 3). -# CONFIG_NXFONT_SANS39X48 -# This option enables support for a large, 39x48 san serif font -# (font ID FONTID_SANS39X48 == 4). -# CONFIG_NXFONT_SANS17X23B -# This option enables support for a tiny, 17x23 san serif bold font -# (font ID FONTID_SANS17X23B == 16). -# CONFIG_NXFONT_SANS20X27B -# This option enables support for a tiny, 20x27 san serif bold font -# (font ID FONTID_SANS20X27B == 17). -# CONFIG_NXFONT_SANS22X29B -# This option enables support for a small, 22x29 san serif bold font -# (font ID FONTID_SANS22X29B == 5). -# CONFIG_NXFONT_SANS28X37B -# This option enables support for a medium, 28x37 san serif bold font -# (font ID FONTID_SANS28X37B == 6). -# CONFIG_NXFONT_SANS40X49B -# This option enables support for a large, 40x49 san serif bold font -# (font ID FONTID_SANS40X49B == 7). -# CONFIG_NXFONT_SERIF22X29 -# This option enables support for a small, 22x29 font (with serifs) -# (font ID FONTID_SERIF22X29 == 8). -# CONFIG_NXFONT_SERIF29X37 -# This option enables support for a medium, 29x37 font (with serifs) -# (font ID FONTID_SERIF29X37 == 9). -# CONFIG_NXFONT_SERIF38X48 -# This option enables support for a large, 38x48 font (with serifs) -# (font ID FONTID_SERIF38X48 == 10). -# CONFIG_NXFONT_SERIF22X28B -# This option enables support for a small, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF22X28B == 11). -# CONFIG_NXFONT_SERIF27X38B -# This option enables support for a medium, 27x38 bold font (with serifs) -# (font ID FONTID_SERIF27X38B == 12). -# CONFIG_NXFONT_SERIF38X49B -# This option enables support for a large, 38x49 bold font (with serifs) -# (font ID FONTID_SERIF38X49B == 13). -# -# NX Multi-user only options: -# -# CONFIG_NX_BLOCKING -# Open the client message queues in blocking mode. In this case, -# nx_eventhandler() will not return until a message is received and processed. -# CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS -# Specifies the maximum number of messages that can fit in -# the message queues. No additional resources are allocated, but -# this can be set to prevent flooding of the client or server with -# too many messages (CONFIG_PREALLOC_MQ_MSGS controls how many -# messages are pre-allocated). -# CONFIG_NX=n CONFIG_NX_MULTIUSER=n CONFIG_NX_NPLANES=1 @@ -1248,65 +625,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_USBCONSOLE - If defined, then the an arbitrary USB device may be -# used to as the NSH console. In this case, CONFIG_NSH_CONDEV must be -# defined to indicate which USB device to use as the console. -# CONFIG_NSH_USBCONDEV - If CONFIG_NSH_USBCONSOLE is set to 'y', then -# CONFIG_NSH_USBCONDEV must also be set to select the USB device used to -# support the NSH console. This should be set to the quoted name of a -# readable/write-able USB driver such as: CONFIG_NSH_USBCONDEV="/dev/ttyACM0". -# CONFIG_NSH_UBSDEV_MINOR - The minor device number of the USB device. -# Default: 0 -# CONFIG_NSH_USBDEV_TRACEINIT - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show initialization events -# CONFIG_NSH_USBDEV_TRACECLASS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show class driver events -# CONFIG_NSH_USBDEV_TRACETRANSFERS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show data transfer events -# CONFIG_NSH_USBDEV_TRACECONTROLLER - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show controller events -# CONFIG_NSH_USBDEV_TRACEINTERRUPTS - Is using a USB console and CONFIG_USB_TRACE -# is defined, this will show interrupt-related events. -# CONFIG_NSH_CONDEV - If CONFIG_NSH_CONSOLE is set to 'y', then CONFIG_NSH_CONDEV -# may also be set to select the serial device used to support the NSH console. -# This should be set to the quoted name of a readable/write-able character -# driver such as: CONFIG_NSH_CONDEV="/dev/ttyS1". This is useful, for example, -# to separate the NSH command line from the system console when the system -# console is used to provide debug output. Default: stdin and stdout (probably -# "/dev/console") -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -1352,15 +670,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -1377,25 +686,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1406,49 +696,14 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Settings for examples/adc # -# CONFIG_ADC - Enabled ADC support -# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 -# CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of samples is provided on the command line -# and this value is ignored. Otherwise, this number of samples is -# collected and the program terminates. Default: Samples are collected -# indefinitely. -# CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. -# Default: 4 # # Settings for examples/can # -# CONFIG_CAN - Enables CAN support. -# CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback -# mode for testing. The STM32 CAN driver does support loopback mode. -# CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. -# Default: Built as a standalone problem -# -# CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 -# CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS -# is defined, then the number of loops is provided on the command line -# and this value is ignored. Otherwise, this number of CAN message is -# collected and the program terminates. Default: If built as an NSH -# built-in, the default is 32. Otherwise messages are sent and received -# indefinitely. # # Settings for examples/pwm # -# CONFIG_PWM - Enables PWM support. -# CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. -# Default: Not built! The example can only be used as an NSH built-in -# application -# -# CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 -# CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz -# CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% -# CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. -# as a percentage. Default: 5 seconds # # Settings for examples/watchdog @@ -1457,33 +712,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Settings for examples/watchdog @@ -1491,57 +719,10 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # This test depends on these specific Watchdog/NSH configurations settings (your # specific watchdog hardware settings might require additional settings). # -# CONFIG_WATCHDOG- Enables watchdog timer support support. -# CONFIG_NSH_BUILTIN_APPS - Build the watchdog time test as an NSH -# built-in function. Default: Not built! The example can only be used -# as an NSH built-in application -# -# The STM32 also needs one of the following enabled: -# -# CONFIG_STM32_WWDG=y, OR -# CONFIG_STM32_IWDG=y (but not both) -# -# Specific configuration options for this example include: -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH - The path to the Watchdog device. -# Default: /dev/watchdog0 -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME - Time in milliseconds that the example -# will ping the watchdog before letting the watchdog expire. Default: 5000 -# milliseconds -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY - Time delay between pings in -# milliseconds. Default: 500 milliseconds. -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT - The watchdog timeout value in -# milliseconds before the watchdog timer expires. Default: 2000 -# milliseconds. -# -# CONFIG_EXAMPLES_WATCHDOG_DEVPATH -# CONFIG_EXAMPLES_WATCHDOG_PINGTIME -# CONFIG_EXAMPLES_WATCHDOG_PINGDELAY -# CONFIG_EXAMPLES_WATCHDOG_TIMEOUT # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the stm32f4discovery which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig index e850dca92e..41263d4cf0 100644 --- a/nuttx/configs/sure-pic32mx/nsh/defconfig +++ b/nuttx/configs/sure-pic32mx/nsh/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -118,7 +73,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +122,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=y @@ -232,19 +158,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -254,99 +167,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -388,15 +208,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -429,9 +240,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -454,46 +262,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -512,46 +280,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -562,13 +290,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -576,53 +297,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -646,8 +332,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -655,22 +339,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -683,26 +351,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -719,54 +367,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -791,26 +391,6 @@ CONFIG_CDCACM_CONSOLE=n # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -837,19 +417,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -868,39 +435,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -937,15 +471,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -960,38 +485,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -1004,33 +497,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1045,25 +511,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1074,26 +521,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig index 4a5bdddda3..b6d74f4bfe 100644 --- a/nuttx/configs/sure-pic32mx/ostest/defconfig +++ b/nuttx/configs/sure-pic32mx/ostest/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -118,7 +73,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +122,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=y @@ -226,19 +152,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -248,93 +161,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -366,15 +192,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -407,9 +224,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -432,38 +246,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -481,23 +263,12 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -505,53 +276,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -575,8 +311,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -584,22 +318,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -612,26 +330,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -648,26 +346,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -694,19 +372,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -725,36 +390,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -790,15 +425,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -813,38 +439,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -857,26 +451,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/sure-pic32mx/usbnsh/defconfig b/nuttx/configs/sure-pic32mx/usbnsh/defconfig index 5f033fb333..a57c85636f 100644 --- a/nuttx/configs/sure-pic32mx/usbnsh/defconfig +++ b/nuttx/configs/sure-pic32mx/usbnsh/defconfig @@ -33,52 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -118,7 +73,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +122,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -232,19 +158,6 @@ CONFIG_PIC32MX_USBDEV_BDTDEBUG=n # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -254,99 +167,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_HAVE_CXX - Enable support for C++ -# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support -# for initialization of static C++ instances for this architecture -# and for the selected toolchain (via up_cxxinitialize()). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n @@ -385,15 +205,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -426,9 +237,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -451,46 +259,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -509,46 +277,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -559,13 +287,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -573,53 +294,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -643,8 +329,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -652,22 +336,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -680,26 +348,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -716,54 +364,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=y CONFIG_CDCACM_CONSOLE=y #CONFIG_CDCACM_EP0MAXPACKET @@ -788,26 +388,6 @@ CONFIG_CDCACM_CONSOLE=y # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -834,19 +414,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -865,39 +432,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -934,15 +468,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -957,38 +482,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -1001,33 +494,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Settings for examples/usbterm # -# CONFIG_EXAMPLES_USBTERM_BUILTIN - Build the usbterm example as an NSH -# built-in command. NOTE: This is not fully functional as of this -# writing.. It should work, but there is no mechanism in place yet -# to exit the USB terminal program and return to NSH. -# CONFIG_EXAMPLES_USBTERM_DEVINIT - If defined, then the example will -# call a user provided function as part of its initialization: -# int usbterm_devinit(void); -# And another user provided function at termination: -# void usbterm_devuninit(void); -# CONFIG_EXAMPLES_USBTERM_BUFLEN - The size of the input and output -# buffers used for receiving data. Default 256 bytes. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB, or -# CONFIG_USBDEV_TRACE), then the example code will also manage the USB trace -# output. The amount of trace output can be controlled using: -# -# CONFIG_EXAMPLES_USBTERM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBTERM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBTERM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBTERM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBTERM_BUILTIN=y CONFIG_EXAMPLES_USBTERM_DEVINIT=y #CONFIG_EXAMPLES_USBTERM_BUFLEN @@ -1042,25 +508,6 @@ CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1071,26 +518,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/teensy/hello/defconfig b/nuttx/configs/teensy/hello/defconfig index 560c637311..9a4bfdc7d9 100644 --- a/nuttx/configs/teensy/hello/defconfig +++ b/nuttx/configs/teensy/hello/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The AT90USB does not support interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -99,7 +63,7 @@ CONFIG_AVR_LINUXGCC=n CONFIG_AVR_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_AVR_INT0=n @@ -126,17 +90,6 @@ CONFIG_AVR_TWI=n # # AT90USB specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART1_TXBUFSIZE=256 CONFIG_USART1_RXBUFSIZE=256 @@ -148,19 +101,6 @@ CONFIG_USART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -170,93 +110,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -288,15 +141,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -329,9 +173,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -354,38 +195,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=4 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -403,23 +212,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -427,53 +225,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -497,8 +260,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -506,22 +267,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -534,26 +279,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -570,26 +295,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -616,19 +321,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -647,36 +339,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -712,15 +374,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -735,38 +388,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -779,26 +400,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the AT90USB which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig index 590c6d9b57..d27d89c526 100755 --- a/nuttx/configs/teensy/nsh/defconfig +++ b/nuttx/configs/teensy/nsh/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The AT90USB does not support interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -99,7 +63,7 @@ CONFIG_AVR_LINUXGCC=n CONFIG_AVR_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_AVR_INT0=n @@ -126,17 +90,6 @@ CONFIG_AVR_TWI=n # # AT90USB specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART1_TXBUFSIZE=256 CONFIG_USART1_RXBUFSIZE=256 @@ -148,19 +101,6 @@ CONFIG_USART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -170,96 +110,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -292,16 +142,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -333,9 +173,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -358,38 +195,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=2 CONFIG_NPTHREAD_KEYS=0 @@ -407,23 +212,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -431,53 +225,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -503,8 +262,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -512,22 +269,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -540,20 +281,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -563,26 +290,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -599,26 +306,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -644,18 +331,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -675,36 +350,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -740,15 +385,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -763,26 +399,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the AT90USB which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/teensy/usbstorage/defconfig b/nuttx/configs/teensy/usbstorage/defconfig index 230e5c3e97..c736f98d0b 100755 --- a/nuttx/configs/teensy/usbstorage/defconfig +++ b/nuttx/configs/teensy/usbstorage/defconfig @@ -33,43 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO - The AT90USB does not support interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="avr" CONFIG_ARCH_AVR=y @@ -99,7 +63,7 @@ CONFIG_AVR_LINUXGCC=n CONFIG_AVR_BUILDROOT=y # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_AVR_INT0=n @@ -126,17 +90,6 @@ CONFIG_AVR_TWI=n # # AT90USB specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the USART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART1_TXBUFSIZE=256 CONFIG_USART1_RXBUFSIZE=256 @@ -148,19 +101,6 @@ CONFIG_USART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -170,93 +110,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -289,16 +142,6 @@ CONFIG_SIG_SIGWORK=4 # # Settings for NXFLAT # -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name -# CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n CONFIG_SYMTAB_ORDEREDBYNAME=y @@ -330,9 +173,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -355,38 +195,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=2 CONFIG_NPTHREAD_KEYS=0 @@ -404,23 +212,12 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support -# CONFIG_FS_FAT=y CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -428,53 +225,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -500,8 +262,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -509,22 +269,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=y CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -544,20 +288,6 @@ CONFIG_USB_NOISYVBUS=n # # USB Host Configuration # -# CONFIG_USBHOST -# Enables USB host support -# CONFIG_USBHOST_NPREALLOC -# Number of pre-allocated class instances -# CONFIG_USBHOST_BULK_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling bulk endpoint support -# CONFIG_USBHOST_INT_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling interrupt endpoint support -# CONFIG_USBHOST_ISOC_DISABLE -# On some architectures, selecting this setting will reduce driver size -# by disabling isochronous endpoint support -# CONFIG_USBHOST=n CONFIG_USBHOST_NPREALLOC=0 CONFIG_USBHOST_BULK_DISABLE=n @@ -567,26 +297,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -603,26 +313,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=y CONFIG_USBMSC_EP0MAXPACKET=8 CONFIG_USBMSC_EPBULKOUT=1 @@ -648,18 +338,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) # CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n @@ -679,36 +357,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -744,15 +392,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -767,38 +406,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -811,26 +418,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the AT90USB which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/twr-k60n512/nsh/defconfig b/nuttx/configs/twr-k60n512/nsh/defconfig index 1b24745a25..024390eb77 100644 --- a/nuttx/configs/twr-k60n512/nsh/defconfig +++ b/nuttx/configs/twr-k60n512/nsh/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The K60X512VMD100 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,55 +63,9 @@ CONFIG_KINETIS_DEVKITARM=n CONFIG_KINETIS_BUILDROOT=y CONFIG_KINETIS_DFU=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: # -# CONFIG_KINETIS_TRACE - Enable trace clocking on power up. -# CONFIG_KINETIS_FLEXBUS - Enable flexbus clocking on power up. -# CONFIG_KINETIS_UART0 - Support UART0 -# CONFIG_KINETIS_UART1 - Support UART1 -# CONFIG_KINETIS_UART2 - Support UART2 -# CONFIG_KINETIS_UART3 - Support UART3 -# CONFIG_KINETIS_UART4 - Support UART4 -# CONFIG_KINETIS_UART5 - Support UART5 -# CONFIG_KINETIS_ENET - Support Ethernet (K60 only) -# CONFIG_KINETIS_RNGB - Support the random number generator(K60 only) -# CONFIG_KINETIS_FLEXCAN0 - Support FlexCAN0 -# CONFIG_KINETIS_FLEXCAN1 - Support FlexCAN1 -# CONFIG_KINETIS_SPI0 - Support SPI0 -# CONFIG_KINETIS_SPI1 - Support SPI1 -# CONFIG_KINETIS_SPI2 - Support SPI2 -# CONFIG_KINETIS_I2C0 - Support I2C0 -# CONFIG_KINETIS_I2C1 - Support I2C1 -# CONFIG_KINETIS_I2S - Support I2S -# CONFIG_KINETIS_DAC0 - Support DAC0 -# CONFIG_KINETIS_DAC1 - Support DAC1 -# CONFIG_KINETIS_ADC0 - Support ADC0 -# CONFIG_KINETIS_ADC1 - Support ADC1 -# CONFIG_KINETIS_CMP - Support CMP -# CONFIG_KINETIS_VREF - Support VREF -# CONFIG_KINETIS_SDHC - Support SD host controller -# CONFIG_KINETIS_FTM0 - Support FlexTimer 0 -# CONFIG_KINETIS_FTM1 - Support FlexTimer 1 -# CONFIG_KINETIS_FTM2 - Support FlexTimer 2 -# CONFIG_KINETIS_LPTIMER - Support the low power timer -# CONFIG_KINETIS_RTC - Support RTC -# CONFIG_KINETIS_SLCD - Support the segment LCD (K40 only) -# CONFIG_KINETIS_EWM - Support the external watchdog -# CONFIG_KINETIS_CMT - Support Carrier Modulator Transmitter -# CONFIG_KINETIS_USBOTG - Support USB OTG (see also CONFIG_USBHOST and CONFIG_USBDEV) -# CONFIG_KINETIS_USBDCD - Support the USB Device Charger Detection module -# CONFIG_KINETIS_LLWU - Support the Low Leakage Wake-Up Unit -# CONFIG_KINETIS_TSI - Support the touch screeen interface -# CONFIG_KINETIS_FTFL - Support FLASH -# CONFIG_KINETIS_DMA - Support DMA -# CONFIG_KINETIS_CRC - Support CRC -# CONFIG_KINETIS_PDB - Support the Programmable Delay Block -# CONFIG_KINETIS_PIT - Support Programmable Interval Timers -# CONFIG_ARMV7M_MPU - Support the MPU - CONFIG_KINETIS_TRACE=n CONFIG_KINETIS_FLEXBUS=n CONFIG_KINETIS_UART0=n @@ -192,14 +113,6 @@ CONFIG_ARMV7M_MPU=n # # PIN Interrupt Support # -# CONFIG_GPIO_IRQ -- Enable pin interrtup support. Also needs one or -# more of the following: -# CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts -# CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts -# CONFIG_KINETIS_PORTCINTS -- Support 32 Port C interrupts -# CONFIG_KINETIS_PORTDINTS -- Support 32 Port D interrupts -# CONFIG_KINETIS_PORTEINTS -- Support 32 Port E interrupts -# CONFIG_GPIO_IRQ=n CONFIG_KINETIS_PORTAINTS=n CONFIG_KINETIS_PORTBINTS=n @@ -210,16 +123,6 @@ CONFIG_KINETIS_PORTEINTS=n # # K40X256VLQ100 specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of bits. Must be either 8 or 9. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -264,16 +167,6 @@ CONFIG_UART5_PARITY=0 # # K40X256VLQ100 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -282,19 +175,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -304,96 +184,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection--completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -451,9 +241,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -476,38 +263,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -525,46 +280,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=n @@ -575,13 +290,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -589,24 +297,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_XFRDEBUG=n CONFIG_MMCSD_MMCSUPPORT=n @@ -614,29 +310,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -660,8 +333,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -669,22 +340,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -697,26 +352,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -733,26 +368,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -796,39 +411,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE - Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -865,15 +447,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -888,28 +461,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the KwikStik-K40 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions -# into RAM, either for better performance or for errata workarounds. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_BOOT_RAMFUNCS=y diff --git a/nuttx/configs/twr-k60n512/ostest/defconfig b/nuttx/configs/twr-k60n512/ostest/defconfig index 1b8153ad83..fcbb1d7900 100644 --- a/nuttx/configs/twr-k60n512/ostest/defconfig +++ b/nuttx/configs/twr-k60n512/ostest/defconfig @@ -33,40 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The K60X512VMD100 supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -96,55 +63,9 @@ CONFIG_KINETIS_DEVKITARM=n CONFIG_KINETIS_BUILDROOT=y CONFIG_KINETIS_DFU=y -# -# Individual subsystems can be enabled: # # Individual subsystems can be enabled: # -# CONFIG_KINETIS_TRACE - Enable trace clocking on power up. -# CONFIG_KINETIS_FLEXBUS - Enable flexbus clocking on power up. -# CONFIG_KINETIS_UART0 - Support UART0 -# CONFIG_KINETIS_UART1 - Support UART1 -# CONFIG_KINETIS_UART2 - Support UART2 -# CONFIG_KINETIS_UART3 - Support UART3 -# CONFIG_KINETIS_UART4 - Support UART4 -# CONFIG_KINETIS_UART5 - Support UART5 -# CONFIG_KINETIS_ENET - Support Ethernet (K60 only) -# CONFIG_KINETIS_RNGB - Support the random number generator(K60 only) -# CONFIG_KINETIS_FLEXCAN0 - Support FlexCAN0 -# CONFIG_KINETIS_FLEXCAN1 - Support FlexCAN1 -# CONFIG_KINETIS_SPI0 - Support SPI0 -# CONFIG_KINETIS_SPI1 - Support SPI1 -# CONFIG_KINETIS_SPI2 - Support SPI2 -# CONFIG_KINETIS_I2C0 - Support I2C0 -# CONFIG_KINETIS_I2C1 - Support I2C1 -# CONFIG_KINETIS_I2S - Support I2S -# CONFIG_KINETIS_DAC0 - Support DAC0 -# CONFIG_KINETIS_DAC1 - Support DAC1 -# CONFIG_KINETIS_ADC0 - Support ADC0 -# CONFIG_KINETIS_ADC1 - Support ADC1 -# CONFIG_KINETIS_CMP - Support CMP -# CONFIG_KINETIS_VREF - Support VREF -# CONFIG_KINETIS_SDHC - Support SD host controller -# CONFIG_KINETIS_FTM0 - Support FlexTimer 0 -# CONFIG_KINETIS_FTM1 - Support FlexTimer 1 -# CONFIG_KINETIS_FTM2 - Support FlexTimer 2 -# CONFIG_KINETIS_LPTIMER - Support the low power timer -# CONFIG_KINETIS_RTC - Support RTC -# CONFIG_KINETIS_SLCD - Support the segment LCD (K40 only) -# CONFIG_KINETIS_EWM - Support the external watchdog -# CONFIG_KINETIS_CMT - Support Carrier Modulator Transmitter -# CONFIG_KINETIS_USBOTG - Support USB OTG (see also CONFIG_USBHOST and CONFIG_USBDEV) -# CONFIG_KINETIS_USBDCD - Support the USB Device Charger Detection module -# CONFIG_KINETIS_LLWU - Support the Low Leakage Wake-Up Unit -# CONFIG_KINETIS_TSI - Support the touch screeen interface -# CONFIG_KINETIS_FTFL - Support FLASH -# CONFIG_KINETIS_DMA - Support DMA -# CONFIG_KINETIS_CRC - Support CRC -# CONFIG_KINETIS_PDB - Support the Programmable Delay Block -# CONFIG_KINETIS_PIT - Support Programmable Interval Timers -# CONFIG_ARMV7M_MPU - Support the MPU - CONFIG_KINETIS_TRACE=n CONFIG_KINETIS_FLEXBUS=n CONFIG_KINETIS_UART0=n @@ -192,14 +113,6 @@ CONFIG_ARMV7M_MPU=n # # PIN Interrupt Support # -# CONFIG_GPIO_IRQ -- Enable pin interrtup support. Also needs one or -# more of the following: -# CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts -# CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts -# CONFIG_KINETIS_PORTCINTS -- Support 32 Port C interrupts -# CONFIG_KINETIS_PORTDINTS -- Support 32 Port D interrupts -# CONFIG_KINETIS_PORTEINTS -- Support 32 Port E interrupts -# CONFIG_GPIO_IRQ=n CONFIG_KINETIS_PORTAINTS=n CONFIG_KINETIS_PORTBINTS=n @@ -210,16 +123,6 @@ CONFIG_KINETIS_PORTEINTS=n # # K40X256VLQ100 specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_BITS - The number of bits. Must be either 8 or 9. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UART0_SERIAL_CONSOLE=n CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n @@ -264,16 +167,6 @@ CONFIG_UART5_PARITY=0 # # K40X256VLQ100 specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=n CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -282,19 +175,6 @@ CONFIG_SSI_POLLWAIT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -304,96 +184,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection--completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -450,9 +240,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -475,38 +262,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -524,46 +279,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -574,13 +289,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -588,53 +296,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -658,8 +331,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -667,22 +338,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -695,26 +350,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -731,26 +366,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -794,36 +409,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE - Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -859,15 +444,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -882,28 +458,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the KwikStik-K40 which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions -# into RAM, either for better performance or for errata workarounds. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_BOOT_RAMFUNCS=y diff --git a/nuttx/configs/ubw32/nsh/defconfig b/nuttx/configs/ubw32/nsh/defconfig index 6f9b642e78..f54a68de15 100644 --- a/nuttx/configs/ubw32/nsh/defconfig +++ b/nuttx/configs/ubw32/nsh/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -117,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +121,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -226,19 +151,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -248,95 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -372,15 +195,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -413,9 +227,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -438,46 +249,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -496,46 +267,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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 @@ -546,13 +277,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -560,53 +284,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -630,8 +319,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -639,22 +326,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -667,26 +338,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -703,54 +354,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -775,26 +378,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -821,19 +404,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -852,39 +422,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -921,15 +458,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -944,38 +472,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -990,25 +486,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1019,26 +496,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/ubw32/ostest/defconfig b/nuttx/configs/ubw32/ostest/defconfig index f623226980..e9af9b5de3 100644 --- a/nuttx/configs/ubw32/ostest/defconfig +++ b/nuttx/configs/ubw32/ostest/defconfig @@ -33,53 +33,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip family. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# NOTE: The PIC32MX is always little endian. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_VECNOTIRQ - Usually the interrupt vector number provided -# to interfaces like irq_attach() and irq_detach are the same as IRQ -# numbers that are provied to IRQ management functions like -# up_enable_irq() and up_disable_irq(). But that is not true for all -# interrupt controller implementations. For example, the PIC32MX -# interrupt controller manages interrupt sources that have a many-to-one -# relationship to interrupt vectors. In such cases, CONFIG_ARCH_VECNOTIRQ -# must defined so that the OS logic will know not to assume it can use -# a vector number to enable or disable interrupts. -# CONFIG_ARCH_IRQPRIO - The PIC32MX supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="mips" CONFIG_ARCH_MIPS=y @@ -117,7 +71,7 @@ CONFIG_PIC32MX_MICROCHIPW_LITE=y CONFIG_PIC32MX_MICROCHIPL_LITE=n # -# Individual subsystems can be enabled: +# Individual subsystems can be enabled: # CONFIG_PIC32MX_WDT=n @@ -167,41 +121,12 @@ CONFIG_PIC32MX_IOPORTG=y # # PIC32MX Configuration Settings # -# DEVCFG0: -# CONFIG_PIC32MX_DEBUGGER - Background Debugger Enable. Default 3 (disabled). The -# value 2 enables. -# CONFIG_PIC32MX_ICESEL - In-Circuit Emulator/Debugger Communication Channel Select -# Default 1 (PG2) -# CONFIG_PIC32MX_PROGFLASHWP - Program FLASH write protect. Default 0xff (disabled) -# CONFIG_PIC32MX_BOOTFLASHWP - Default 1 (disabled) -# CONFIG_PIC32MX_CODEWP - Default 1 (disabled) -# DEVCFG1: (All settings determined by selections in board.h) -# DEVCFG2: (All settings determined by selections in board.h) -# DEVCFG3: -# CONFIG_PIC32MX_USBIDO - USB USBID Selection. Default 1 if USB enabled -# (USBID pin is controlled by the USB module), but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_VBUSIO - USB VBUSON Selection (Default 1 if USB enabled -# (VBUSON pin is controlled by the USB module, but 0 (GPIO) otherwise. -# CONFIG_PIC32MX_WDENABLE - Enabled watchdog on power up. Default 0 (watchdog -# can be enabled later by software). -# CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttys0 (default is the UART1). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - Two stop bits -# CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_UART2_SERIAL_CONSOLE=n @@ -226,19 +151,6 @@ CONFIG_UART2_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=y CONFIG_MOTOROLA_SREC=n @@ -248,95 +160,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# CONFIG_SCHED_WAITPID - Enable the waitpid() API -# CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -371,15 +194,6 @@ CONFIG_SCHED_ATEXIT=n # # Settings for nxflat -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_NXFLAT_DUMPBUFFER. Dump a most buffers that NXFFLAT deals -# with. CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and -# CONFIG_DEBUG_BINFMT have to be defined or -# CONFIG_NXFLAT_DUMPBUFFER does nothing. -# CONFIG_SYMTAB_ORDEREDBYNAME. Select if the system symbol table -# is ordered by symbol name # CONFIG_NXFLAT=n CONFIG_NXFLAT_DUMPBUFFER=n @@ -412,9 +226,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -437,46 +248,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_STDIO_LINEBUFFER - If standard C buffered I/O is enabled -# (CONFIG_STDIO_BUFFER_SIZE > 0), then this option may be added -# to force automatic, line-oriented flushing the output buffer -# for putc(), fputc(), putchar(), puts(), fputs(), printf(), -# fprintf(), and vfprintf(). When a newline is encountered in -# the output string, the output buffer will be flushed. This -# (slightly) increases the NuttX footprint but supports the kind -# of behavior that people expect for printf(). -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -495,46 +266,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# 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=y CONFIG_FAT_LFN=y @@ -545,13 +276,6 @@ CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=12500000 @@ -559,53 +283,18 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_MMCSD_MMCSUPPORT=n CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -629,8 +318,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -638,22 +325,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -666,26 +337,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -702,54 +353,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB serial device class driver (Standard CDC ACM class) # -# CONFIG_CDCACM -# Enable compilation of the USB serial driver -# CONFIG_CDCACM_CONSOLE -# Configures the CDC/ACM serial port as the console device. -# CONFIG_CDCACM_EP0MAXPACKET -# Endpoint 0 max packet size. Default 64 -# CONFIG_CDCACM_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation. Default 2. -# CONFIG_CDCACM_EPINTIN_FSSIZE -# Max package size for the interrupt IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPINTIN_HSSIZE -# Max package size for the interrupt IN endpoint if high speed mode. -# Default 64 -# CONFIG_CDCACM_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation. Default 4. -# CONFIG_CDCACM_EPBULKOUT_FSSIZE -# Max package size for the bulk OUT endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKOUT_HSSIZE -# Max package size for the bulk OUT endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation. Default 3. -# CONFIG_CDCACM_EPBULKIN_FSSIZE -# Max package size for the bulk IN endpoint if full speed mode. -# Default 64. -# CONFIG_CDCACM_EPBULKIN_HSSIZE -# Max package size for the bulk IN endpoint if high speed mode. -# Default 512. -# CONFIG_CDCACM_NWRREQS and CONFIG_CDCACM_NRDREQS -# The number of write/read requests that can be in flight. -# Default 256. -# CONFIG_CDCACM_VENDORID and CONFIG_CDCACM_VENDORSTR -# The vendor ID code/string. Default 0x0525 and "NuttX" -# 0x0525 is the Netchip vendor and should not be used in any -# products. This default VID was selected for compatibility with -# the Linux CDC ACM default VID. -# CONFIG_CDCACM_PRODUCTID and CONFIG_CDCACM_PRODUCTSTR -# The product ID code/string. Default 0xa4a7 and "CDC/ACM Serial" -# 0xa4a7 was selected for compatibility with the Linux CDC ACM -# default PID. -# CONFIG_CDCACM_RXBUFSIZE and CONFIG_CDCACM_TXBUFSIZE -# Size of the serial receive/transmit buffers. Default 256. -# CONFIG_CDCACM=n CONFIG_CDCACM_CONSOLE=n #CONFIG_CDCACM_EP0MAXPACKET @@ -774,26 +377,6 @@ CONFIG_CDCACM_EPBULKIN=2 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=1 @@ -820,19 +403,6 @@ CONFIG_EXAMPLE_UIP_DHCPC=n # # Settings for examples/nettest # -# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act -# as either the client side or server side of the test -# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the -# client side simply receives messages forever, allowing -# measurement of throughput -# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has -# no MAC address; one will be assigned -# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address -# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address -# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask -# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the -# client side of the test (may be target or host) -# CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=y @@ -851,39 +421,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_BUILTIN_APPS - Support external registered, -# "named" applications that can be executed from the NSH -# command line (see apps/README.txt for more information). -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=n CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -920,15 +457,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -943,38 +471,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Settings for examples/usbstorage # -# CONFIG_EXAMPLES_USBMSC_NLUNS -# Defines the number of logical units (LUNs) exported by the USB storage -# driver. Each LUN corresponds to one exported block driver (or partition -# of a block driver). May be 1, 2, or 3. Default is 1. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR1 -# The minor device number of the block driver for the first LUN. For -# example, N in /dev/mmcsdN. Used for registering the block driver. Default -# is zero. -# CONFIG_EXAMPLES_USBMSC_DEVPATH1 -# The full path to the registered block driver. Default is "/dev/mmcsd0" -# CONFIG_EXAMPLES_USBMSC_DEVMINOR2 and CONFIG_EXAMPLES_USBMSC_DEVPATH2 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 2 or 3. No defaults. -# CONFIG_EXAMPLES_USBMSC_DEVMINOR3 and CONFIG_EXAMPLES_USBMSC_DEVPATH3 -# Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBMSC_NLUNS -# is 3. No defaults. -# -# If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then -# the example code will also manage the USB trace output. The amount of trace output -# can be controlled using: -# -# CONFIG_EXAMPLES_USBMSC_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_USBMSC_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_USBMSC_NLUNS=1 CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" @@ -989,25 +485,6 @@ CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n # # Configuration prequisites: # -# CONFIG_USBDEV=y : USB device support must be enabled -# CONFIG_CDCACM=y : The CDC/ACM driver must be built -# CONFIG_NSH_BUILTIN_APPS : NSH built-in application support must be enabled -# -# Configuration options specific to this example: -# -# CONFIG_EXAMPLES_CDCACM_DEVMINOR -# The minor number of the CDC/ACM device. -# CONFIG_EXAMPLES_CDCACM_TRACEINIT -# Show initialization events -# CONFIG_EXAMPLES_CDCACM_TRACECLASS -# Show class driver events -# CONFIG_EXAMPLES_CDCACM_TRACETRANSFERS -# Show data transfer events -# CONFIG_EXAMPLES_CDCACM_TRACECONTROLLER -# Show controller events -# CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS -# Show interrupt-related events. -# CONFIG_EXAMPLES_CDCACM_DEVMINOR=0 CONFIG_EXAMPLES_CDCACM_TRACEINIT=n CONFIG_EXAMPLES_CDCACM_TRACECLASS=n @@ -1018,26 +495,6 @@ CONFIG_EXAMPLES_CDCACM_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the PIC32MX which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/us7032evb1/nsh/defconfig b/nuttx/configs/us7032evb1/nsh/defconfig index b6be4c7a24..fabf35b1a6 100644 --- a/nuttx/configs/us7032evb1/nsh/defconfig +++ b/nuttx/configs/us7032evb1/nsh/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_ENDIAN_BIG - Define for big-endian operation -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to Olimex STR-P711 -# CONFIG_ARCH_BUTTONS - Support reading buttons. Unique to Olimex STR-P711 -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="sh" CONFIG_ARCH_SH1=y CONFIG_ARCH_CHIP="sh1" @@ -102,17 +73,6 @@ CONFIG_SH1_CMI=n # # SH1 specific device driver settings # -# CONFIG_SCIn_SERIAL_CONSOLE - selects the SCIn for the -# console and ttys0 (default is the UART0). -# CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_SCIn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_SCIn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_SCIn_2STOP - Two stop bits -# CONFIG_SCI0_SERIAL_CONSOLE=n CONFIG_SCI1_SERIAL_CONSOLE=y CONFIG_SCI0_TXBUFSIZE=64 @@ -131,19 +91,6 @@ CONFIG_SCI1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -153,69 +100,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -265,9 +149,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -290,38 +171,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -339,47 +188,17 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -403,29 +222,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -438,25 +241,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -473,25 +257,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -516,33 +281,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -576,25 +314,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/us7032evb1/ostest/defconfig b/nuttx/configs/us7032evb1/ostest/defconfig index d084f8963a..924efb8a0e 100644 --- a/nuttx/configs/us7032evb1/ostest/defconfig +++ b/nuttx/configs/us7032evb1/ostest/defconfig @@ -35,35 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_ENDIAN_BIG - Define for big-endian operation -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to Olimex STR-P711 -# CONFIG_ARCH_BUTTONS - Support reading buttons. Unique to Olimex STR-P711 -# CONFIG_DRAM_SIZE - Describes the internal DRAM. -# CONFIG_DRAM_START - The start address of internal DRAM -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH="sh" CONFIG_ARCH_SH1=y CONFIG_ARCH_CHIP="sh1" @@ -102,17 +73,6 @@ CONFIG_SH1_CMI=n # # SH1 specific device driver settings # -# CONFIG_SCIn_SERIAL_CONSOLE - selects the SCIn for the -# console and ttys0 (default is the UART0). -# CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_SCIn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_SCIn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 -# CONFIG_SCIn_2STOP - Two stop bits -# CONFIG_SCI0_SERIAL_CONSOLE=n CONFIG_SCI1_SERIAL_CONSOLE=y CONFIG_SCI0_TXBUFSIZE=64 @@ -131,19 +91,6 @@ CONFIG_SCI1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -153,69 +100,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -265,9 +149,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -290,38 +171,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -339,47 +188,17 @@ CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -403,29 +222,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -438,25 +241,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -473,25 +257,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -516,33 +281,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 @@ -576,25 +314,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig index 1f7300f727..f3f9881f45 100755 --- a/nuttx/configs/vsn/nsh/defconfig +++ b/nuttx/configs/vsn/nsh/defconfig @@ -35,40 +35,7 @@ # ############################################################################ # -# architecture selection -# -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_family - for use in C code. This identifies the -# particular chip family that the architecture is implemented -# in. -# CONFIG_ARCH_architecture - for use in C code. This identifies the -# specific architecture within the chip familyl. -# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory -# CONFIG_ARCH_CHIP_name - For use in C code -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_DRAM_START - The start address of DRAM (physical) -# CONFIG_ARCH_IRQPRIO - The ST32F103Z supports interrupt prioritization -# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt -# stack. If defined, this symbol is the size of the interrupt -# stack in bytes. If not defined, the user task stacks will be -# used during interrupt handling. -# CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions -# CONFIG_ARCH_BOOTLOADER - Set if you are using a bootloader. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to board architecture. -# CONFIG_ARCH_BUTTONS - Enable support for buttons. Unique to board architecture. -# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that -# cause a 100 second delay during boot-up. This 100 second delay -# serves no purpose other than it allows you to calibrate -# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure -# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until -# the delay actually is 100 seconds. -# CONFIG_ARCH_DMA - Support DMA initialization +# Architecture Selection # CONFIG_ARCH="arm" CONFIG_ARCH_ARM=y @@ -103,11 +70,6 @@ CONFIG_STM32_DFU=n # # STM32 JTAG Options # -# CONFIG_STM32_JTAG_FULL_ENABLE -- Full JTAG Enable (Parallel and Serial) -# CONFIG_STM32_JTAG_NOJNTRST_ENABLE -- Full but without the JNTRST pin -# CONFIG_STM32_JTAG_SW_ENABLE - Serial (SWJ) dual pin only which, can -# coexist besides the FRAM on SPI3 -# CONFIG_STM32_JTAG_FULL_ENABLE=n CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n CONFIG_STM32_JTAG_SW_ENABLE=n @@ -177,17 +139,6 @@ CONFIG_STM32_ADC3=n # # STM32F103Z specific serial device driver settings # -# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the -# console and ttys0 (default is the USART1). -# CONFIG_USARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_USARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_USARTn_BAUD - The configure BAUD of the UART. Must be -# CONFIG_USARTn_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_USARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_USARTn_2STOP - Two stop bits -# CONFIG_USART1_SERIAL_CONSOLE=y CONFIG_USART2_SERIAL_CONSOLE=n CONFIG_USART3_SERIAL_CONSOLE=n @@ -233,16 +184,6 @@ CONFIG_USART5_2STOP=0 # # STM32F103Z specific SSI device driver settings # -# CONFIG_SSIn_DISABLE - select to disable all support for -# the SSI -# CONFIG_SSI_POLLWAIT - Select to disable interrupt driven SSI support -# Poll-waiting is recommended if the interrupt rate would be to -# high in the interrupt driven case. -# CONFIG_SSI_TXLIMIT - Write this many words to the Tx FIFO before -# emptying the Rx FIFO. If the SPI frequency is high and this -# value is large, then larger values of this setting may cause -# Rx FIFO overrun errors. Default: half of the Tx FIFO size (4). -# CONFIG_SSI0_DISABLE=y CONFIG_SSI1_DISABLE=y CONFIG_SSI_POLLWAIT=y @@ -277,19 +218,6 @@ CONFIG_EVENT=y # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_MOTOROLA_SREC - make the Motorola S-Record binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_MOTOROLA_SREC=y @@ -299,96 +227,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_GREGORIAN_TIME - Enables Gregorian time conversions. -# You would only need this if you are concerned about accurate -# time conversions in the past or in the distant future. -# CONFIG_JULIAN_TIME - Enables Julian time conversions. You -# would only need this if you are concerned about accurate -# time conversion in the distand past. You must also define -# CONFIG_GREGORIAN_TIME in order to use Julian time. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# CONFIG_NXFLAT. Enable support for the NXFLAT binary format. -# This format will support execution of NuttX binaries located -# in a ROMFS filesystem (see examples/nxflat). -# CONFIG_SCHED_WORKQUEUE. Create a dedicated "worker" thread to -# handle delayed processing from interrupt handlers. This feature -# is required for some drivers but, if there are not complaints, -# can be safely disabled. The worker thread also performs -# garbage collection -- completing any delayed memory deallocations -# from interrupt handlers. If the worker thread is disabled, -# then that clean will be performed by the IDLE thread instead -# (which runs at the lowest of priority and may not be appropriate -# if memory reclamation is of high priority). If CONFIG_SCHED_WORKQUEUE -# is enabled, then the following options can also be used: -# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker -# thread. Default: 50 -# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for -# work in units of microseconds. Default: 50000 (50 MS). -# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker -# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. -# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up -# the worker thread. Default: 4 -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n @@ -446,9 +284,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=n # @@ -471,38 +306,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -520,10 +323,6 @@ CONFIG_PREALLOC_TIMERS=4 # # Filesystem configuration # -# CONFIG_FS_FAT - Enable FAT filesystem support -# CONFIG_FAT_SECTORSIZE - Max supported sector size -# CONFIG_FS_NXFFS - Enable NX Flash File System -# CONFIG_FS_ROMFS - Enable ROMFS filesystem support CONFIG_FS_FAT=y CONFIG_FS_NXFFS=y CONFIG_FS_ROMFS=y @@ -538,13 +337,6 @@ CONFIG_I2C_SLAVE=n # # SPI-based MMC/SD driver # -# CONFIG_MMCSD_NSLOTS -# Number of MMC/SD slots supported by the driver -# CONFIG_MMCSD_READONLY -# Provide read-only access (default is read/write) -# CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. -# Default is 20MHz. -# CONFIG_MMCSD_NSLOTS=0 CONFIG_MMCSD_READONLY=y CONFIG_MMCSD_SPICLOCK=12500000 @@ -552,24 +344,12 @@ CONFIG_MMCSD_SPICLOCK=12500000 # # Block driver buffering # -# CONFIG_FS_READAHEAD -# Enable read-ahead buffering -# CONFIG_FS_WRITEBUFFER -# Enable write buffering -# CONFIG_FS_READAHEAD=n CONFIG_FS_WRITEBUFFER=n # # SDIO-based MMC/SD driver # -# CONFIG_SDIO_DMA -# SDIO driver supports DMA -# CONFIG_MMCSD_MMCSUPPORT -# Enable support for MMC cards -# CONFIG_MMCSD_HAVECARDDETECT -# SDIO driver card detection is 100% accurate -# CONFIG_SDIO_DMA=n CONFIG_SDIO_WIDTH_D1_ONLY=y # Added single width support CONFIG_MMCSD_MMCSUPPORT=y @@ -577,30 +357,6 @@ CONFIG_MMCSD_HAVECARDDETECT=n # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_LLH_LEN - The link level header length -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -625,8 +381,6 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries # CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -634,22 +388,6 @@ CONFIG_NET_RESOLV_ENTRIES=4 # # USB Device Configuration # -# CONFIG_USBDEV -# Enables USB device support -# CONFIG_USBDEV_ISOCHRONOUS -# Build in extra support for isochronous endpoints -# CONFIG_USBDEV_DUALSPEED -# Hardware handles high and full speed operation (USB 2.0) -# CONFIG_USBDEV_SELFPOWERED -# Will cause USB features to indicate that the device is -# self-powered -# CONFIG_USBDEV_MAXPOWER -# Maximum power consumption in mA -# CONFIG_USBDEV_TRACE -# Enables USB tracing for debug -# CONFIG_USBDEV_TRACE_NRECORDS -# Number of trace entries to remember -# CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n CONFIG_USBDEV_DUALSPEED=n @@ -662,26 +400,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # USB Serial Device Configuration # -# CONFIG_PL2303 -# Enable compilation of the USB serial driver -# CONFIG_PL2303_EPINTIN -# The logical 7-bit address of a hardware endpoint that supports -# interrupt IN operation -# CONFIG_PL2303_EPBULKOUT -# The logical 7-bit address of a hardware endpoint that supports -# bulk OUT operation -# CONFIG_PL2303_EPBULKIN -# The logical 7-bit address of a hardware endpoint that supports -# bulk IN operation -# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR -# The vendor ID code/string -# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR -# The product ID code/string -# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE -# Size of the serial receive/transmit buffers -# CONFIG_PL2303=n CONFIG_PL2303_EPINTIN=1 CONFIG_PL2303_EPBULKOUT=2 @@ -698,26 +416,6 @@ CONFIG_PL2303_TXBUFSIZE=512 # # USB Storage Device Configuration # -# CONFIG_USBMSC -# Enable compilation of the USB storage driver -# CONFIG_USBMSC_EP0MAXPACKET -# Max packet size for endpoint 0 -# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN -# The logical 7-bit address of a hardware endpoints that support -# bulk OUT and IN operations -# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS -# The number of write/read requests that can be in flight -# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN -# The size of the buffer in each write/read request. This -# value needs to be at least as large as the endpoint -# maxpacket and ideally as large as a block device sector. -# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR -# The vendor ID code/string -# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR -# The product ID code/string -# CONFIG_USBMSC_REMOVABLE -# Select if the media is removable -# CONFIG_USBMSC=n CONFIG_USBMSC_EP0MAXPACKET=64 CONFIG_USBMSC_EPBULKOUT=2 @@ -761,38 +459,6 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # # Settings for apps/nshlib # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# CONFIG_NSH_ARCHINIT - Platform provides architecture -# specific initialization (nsh_archinitialize()). -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ARCHROMFS - May be defined to specify an alternative -# ROMFS image that can be found at configs//include/nsh_romfsimg.h. -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint -# CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n @@ -831,15 +497,6 @@ CONFIG_NSH_MMCSDMINOR=0 # # Settings for examples/usbserial # -# CONFIG_EXAMPLES_USBSERIAL_INONLY -# Only verify IN (device-to-host) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_OUTONLY -# Only verify OUT (host-to-device) data transfers. Default: both -# CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL -# Send only small, single packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_ONLYBIG -# Send only large, multi-packet messages. Default: Send large and small. -# CONFIG_EXAMPLES_USBSERIAL_INONLY=n CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n @@ -854,26 +511,6 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# (should also be =n for the STM3210E-EVAL which always runs from flash) -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only) -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/xtrs/nsh/defconfig b/nuttx/configs/xtrs/nsh/defconfig index c9f6245f6d..53e99e1607 100644 --- a/nuttx/configs/xtrs/nsh/defconfig +++ b/nuttx/configs/xtrs/nsh/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,33 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # Z80sim specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=256 CONFIG_UART_TXBUFSIZE=256 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# -# -# CONFIG_LINKER_START_AREA - Start of START area -# CONFIG_LINKER_CODE_AREA - Start of _CODE area -# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code -# starting at 0000 -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -95,72 +64,6 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -211,9 +114,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -236,38 +136,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -284,29 +152,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -330,41 +175,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Settings for examples/nsh # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=40 @@ -392,25 +209,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/xtrs/ostest/defconfig b/nuttx/configs/xtrs/ostest/defconfig index c7059876aa..b5ac8b0352 100644 --- a/nuttx/configs/xtrs/ostest/defconfig +++ b/nuttx/configs/xtrs/ostest/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,33 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # xtrs specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=256 CONFIG_UART_TXBUFSIZE=256 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# -# -# CONFIG_LINKER_START_AREA - Start of START area -# CONFIG_LINKER_CODE_AREA - Start of _CODE area -# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code -# starting at 0000 -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -95,72 +64,6 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -211,9 +114,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -236,38 +136,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -284,29 +152,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -330,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -350,25 +194,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/xtrs/pashello/defconfig b/nuttx/configs/xtrs/pashello/defconfig index 349c254ad1..d3f4be1872 100644 --- a/nuttx/configs/xtrs/pashello/defconfig +++ b/nuttx/configs/xtrs/pashello/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,33 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # xtrs specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=256 CONFIG_UART_TXBUFSIZE=256 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# -# -# CONFIG_LINKER_START_AREA - Start of START area -# CONFIG_LINKER_CODE_AREA - Start of _CODE area -# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code -# starting at 0000 -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -95,72 +64,6 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -211,9 +114,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -236,38 +136,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -284,29 +152,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -330,8 +175,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -350,25 +194,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig index fd2fae82fc..751e1805e7 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/defconfig +++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig @@ -35,33 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_Z16). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_Z16F) -# CONFIG_ARCH_CHIP_Z16F2810 - Identifies z16f chip variant -# CONFIG_ARCH_CHIP_Z16F2811 -# CONFIG_ARCH_CHIP_Z16F3211 -# CONFIG_ARCH_CHIP_Z16F6411 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to z16f. -# CONFIG_ARCH="z16" CONFIG_ARCH_Z16=y CONFIG_ARCH_CHIP="z16f" @@ -81,16 +54,6 @@ CONFIG_ARCH_LEDS=y # # Z16F specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -107,16 +70,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -125,71 +78,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -239,9 +127,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -264,38 +149,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -312,29 +165,6 @@ CONFIG_PREALLOC_TIMERS=4 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -358,8 +188,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -378,25 +207,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig index a52c6de0f3..1fc2275567 100644 --- a/nuttx/configs/z16f2800100zcog/pashello/defconfig +++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig @@ -35,33 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_Z16). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_Z16F) -# CONFIG_ARCH_CHIP_Z16F2810 - Identifies z16f chip variant -# CONFIG_ARCH_CHIP_Z16F2811 -# CONFIG_ARCH_CHIP_Z16F3211 -# CONFIG_ARCH_CHIP_Z16F6411 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_ARCH_NOINTC - define if the architecture does not -# support an interrupt controller or otherwise cannot support -# APIs like up_enable_irq() and up_disable_irq(). -# CONFIG_ARCH_IRQPRIO -# Define if the architecture suports prioritizaton of interrupts -# and the up_prioritize_irq() API. -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to z16f. -# CONFIG_ARCH="z16" CONFIG_ARCH_Z16=y CONFIG_ARCH_CHIP="z16f" @@ -81,16 +54,6 @@ CONFIG_ARCH_LEDS=y # # Z16F specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=256 @@ -107,16 +70,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -125,71 +78,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -239,9 +127,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -264,38 +149,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 @@ -312,29 +165,6 @@ CONFIG_PREALLOC_TIMERS=4 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -358,8 +188,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -378,25 +207,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z80sim/nsh/defconfig b/nuttx/configs/z80sim/nsh/defconfig index e7c700da19..f6f46b24aa 100644 --- a/nuttx/configs/z80sim/nsh/defconfig +++ b/nuttx/configs/z80sim/nsh/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,27 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # Z80sim specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=64 CONFIG_UART_TXBUFSIZE=64 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -85,72 +60,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -201,9 +110,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -226,38 +132,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -274,29 +148,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -320,41 +171,13 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 # # Settings for examples/nsh # -# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer -# CONFIG_NSH_STRERROR - Use strerror(errno) -# CONFIG_NSH_LINELEN - Maximum length of one command line -# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi -# CONFIG_NSH_DISABLESCRIPT - Disable scripting support -# CONFIG_NSH_DISABLEBG - Disable background commands -# CONFIG_NSH_ROMFSETC - Use startup script in /etc -# CONFIG_NSH_CONSOLE - Use serial console front end -# CONFIG_NSH_TELNET - Use telnetd console front end -# -# If CONFIG_NSH_TELNET is selected: -# CONFIG_NSH_IOBUFFER_SIZE -- Telnetd I/O buffer size -# CONFIG_NSH_DHCPC - Obtain address using DHCP -# CONFIG_NSH_IPADDR - Provides static IP address -# CONFIG_NSH_DRIPADDR - Provides static router IP address -# CONFIG_NSH_NETMASK - Provides static network mask -# CONFIG_NSH_NOMAC - Use a bogus MAC address -# -# If CONFIG_NSH_ROMFSETC is selected: -# CONFIG_NSH_ROMFSMOUNTPT - ROMFS mountpoint -# CONFIG_NSH_INITSCRIPT - Relative path to init script -# CONFIG_NSH_ROMFSDEVNO - ROMFS RAM device minor -# CONFIG_NSH_ROMFSSECTSIZE - ROMF sector size -# CONFIG_NSH_FATDEVNO - FAT FS RAM device minor -# CONFIG_NSH_FATSECTSIZE - FAT FS sector size -# CONFIG_NSH_FATNSECTORS - FAT FS number of sectors -# CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint CONFIG_NSH_FILEIOSIZE=1024 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=40 @@ -382,25 +205,6 @@ CONFIG_NSH_FATMOUNTPT=/tmp # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z80sim/ostest/defconfig b/nuttx/configs/z80sim/ostest/defconfig index 2748176431..cc070e8fc0 100644 --- a/nuttx/configs/z80sim/ostest/defconfig +++ b/nuttx/configs/z80sim/ostest/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,27 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # Z80sim specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=0 CONFIG_UART_TXBUFSIZE=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -85,72 +60,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -201,9 +110,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -226,38 +132,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -274,29 +148,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -320,8 +171,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -340,25 +190,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z80sim/pashello/defconfig b/nuttx/configs/z80sim/pashello/defconfig index 91c33174a3..2080b26358 100644 --- a/nuttx/configs/z80sim/pashello/defconfig +++ b/nuttx/configs/z80sim/pashello/defconfig @@ -35,16 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_Z80 - Set if processor is Z80 -# CONFIG_ARCH_CHIP - Identifies the specific chip -# CONFIG_ARCH_CHIP_Z80 - Set if this the class Z80 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z80=y CONFIG_ARCH_CHIP="z80" @@ -56,27 +46,12 @@ CONFIG_DRAM_SIZE=65536 # # Z80sim specific device driver settings # -# CONFIG_UART_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UART_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UART_RXBUFSIZE=0 CONFIG_UART_TXBUFSIZE=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -85,72 +60,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -201,9 +110,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -226,38 +132,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# actived tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -274,29 +148,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -320,8 +171,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -340,25 +190,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig index 3a1ae75603..c59b266b2c 100644 --- a/nuttx/configs/z8encore000zco/ostest/defconfig +++ b/nuttx/configs/z8encore000zco/ostest/defconfig @@ -35,27 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_Z8). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_Z8) -# CONFIG_ARCH_CHIP_Z8F642X - Identifies z8 chip variant -# CONFIG_ARCH_CHIP_Z8F6423 -# CONFIG_ARCH_CHIP_Z8F640X -# CONFIG_ARCH_CHIP_Z8F6403 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to z8 board architecture. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z8=y CONFIG_ARCH_CHIP="z8" @@ -73,16 +52,6 @@ CONFIG_ARCH_LEDS=n # # eZ8 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=0 @@ -99,16 +68,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -117,74 +76,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -235,9 +126,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -260,38 +148,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -308,29 +164,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -354,8 +187,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -379,25 +211,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n diff --git a/nuttx/configs/z8f64200100kit/ostest/defconfig b/nuttx/configs/z8f64200100kit/ostest/defconfig index 540b6928a1..841d2e90ba 100644 --- a/nuttx/configs/z8f64200100kit/ostest/defconfig +++ b/nuttx/configs/z8f64200100kit/ostest/defconfig @@ -35,27 +35,6 @@ # # Architecture selection # -# CONFIG_ARCH - identifies the arch subdirectory and, hence, the -# processor architecture. -# CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_Z8). -# CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the -# architecture. -# CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the -# particular chip or SoC that the architecture is implemented -# in (CONFIG_ARCH_CHIP_Z8) -# CONFIG_ARCH_CHIP_Z8F642X - Identifies z8 chip variant -# CONFIG_ARCH_CHIP_Z8F6423 -# CONFIG_ARCH_CHIP_Z8F640X -# CONFIG_ARCH_CHIP_Z8F6403 -# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, -# the board that supports the particular chip or SoC. -# CONFIG_ARCH_BOARD_name - for use in C code -# CONFIG_BOARD_LOOPSPERMSEC - for delay loops -# CONFIG_ENDIAN_BIG - define if big endian (default is little endian) -# CONFIG_DRAM_SIZE - Describes the installed DRAM. -# CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to z8 board architecture. -# CONFIG_ARCH="z80" CONFIG_ARCH_Z8=y CONFIG_ARCH_CHIP="z8" @@ -73,16 +52,6 @@ CONFIG_ARCH_LEDS=n # # ez8 specific device driver settings # -# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the -# console and ttyS0 (default is the UART0). -# CONFIG_UARTn_RXBUFSIZE - Characters are buffered as received. -# This specific the size of the receive buffer -# CONFIG_UARTn_TXBUFSIZE - Characters are buffered before -# being sent. This specific the size of the transmit buffer -# CONFIG_UARTn_BAUD - The configure BAUD of the UART. -# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits -# CONFIG_UART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART0_TXBUFSIZE=0 @@ -99,16 +68,6 @@ CONFIG_UART1_2STOP=0 # # General build options # -# CONFIG_RRLOAD_BINARY - make the rrload binary format used with -# BSPs from www.ridgerun.com using the tools/mkimage.sh script -# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format -# used with many different loaders using the GNU objcopy program -# Should not be selected if you are not using the GNU toolchain. -# CONFIG_RAW_BINARY - make a raw binary format file used with many -# different loaders using the GNU objcopy program. This option -# should not be selected if you are not using the GNU toolchain. -# CONFIG_HAVE_LIBM - toolchain supports libm.a -# CONFIG_RRLOAD_BINARY=n CONFIG_INTELHEX_BINARY=n CONFIG_RAW_BINARY=n @@ -117,74 +76,6 @@ CONFIG_HAVE_LIBM=n # # General OS setup # -# CONFIG_APPS_DIR - Identifies the relative path to the directory -# that builds the application to link with NuttX. Default: ../apps -# CONFIG_DEBUG - enables built-in debug options -# CONFIG_DEBUG_VERBOSE - enables verbose debug output -# CONFIG_DEBUG_SYMBOLS - build without optimization and with -# debug symbols (needed for use with a debugger). -# CONFIG_MM_REGIONS - If the architecture includes multiple -# regions of memory to allocate from, this specifies the -# number of memory regions that the memory manager must -# handle and enables the API mm_addregion(start, end); -# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot -# time console output -# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot -# time console input -# CONFIG_MSEC_PER_TICK - The default system timer is 100Hz -# or MSEC_PER_TICK=10. This setting may be defined to -# inform NuttX that the processor hardware is providing -# system timer interrupts at some interrupt interval other -# than 10 msec. -# CONFIG_RR_INTERVAL - The round robin timeslice will be set -# this number of milliseconds; Round robin scheduling can -# be disabled by setting this value to zero. -# CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in -# scheduler to monitor system performance -# CONFIG_TASK_NAME_SIZE - Spcifies that maximum size of a -# task name to save in the TCB. Useful if scheduler -# instrumentation is selected. Set to zero to disable. -# CONFIG_JULIAN_TIME - Enables Julian time conversions -# CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY - -# Used to initialize the internal time logic. -# CONFIG_HAVE_LOWUARTINIT - Provides low-level UART initialization -# logic as up_lowuartinit (only needed if there is no -# serial driver). -# CONFIG_DEV_CONSOLE - Set if architecture-specific logic -# provides /dev/console. Enables stdout, stderr, stdin. -# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) -# CONFIG_MUTEX_TYPES: Set to enable support for recursive and -# errorcheck mutexes. Enables pthread_mutexattr_settype(). -# CONFIG_PRIORITY_INHERITANCE : Set to enable support for priority -# inheritance on mutexes and semaphores. -# CONFIG_SEM_PREALLOCHOLDERS: This setting is only used if priority -# inheritance is enabled. It defines the maximum number of -# different threads (minus one) that can take counts on a -# semaphore with priority inheritance support. This may be -# set to zero if priority inheritance is disabled OR if you -# are only using semaphores as mutexes (only one holder) OR -# if no more than two threads participate using a counting -# semaphore. -# CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, -# then this setting is the maximum number of higher priority -# threads (minus 1) than can be waiting for another thread -# to release a count on a semaphore. This value may be set -# to zero if no more than one thread is expected to wait for -# a semaphore. -# CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors -# by task_create() when a new task is started. If set, all -# files/drivers will appear to be closed in the new task. -# CONFIG_FDCLONE_STDIO. Disable cloning of all but the first -# three file descriptors (stdin, stdout, stderr) by task_create() -# when a new task is started. If set, all files/drivers will -# appear to be closed in the new task except for stdin, stdout, -# and stderr. -# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket -# desciptors by task_create() when a new task is started. If -# set, all sockets will appear to be closed in the new task. -# -#CONFIG_APPS_DIR= CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n @@ -235,9 +126,6 @@ CONFIG_DISABLE_POLL=y # # Misc libc settings # -# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a -# little smaller if we do not support fieldwidthes -# CONFIG_NOPRINTF_FIELDWIDTH=y # @@ -260,38 +148,6 @@ CONFIG_ARCH_BZERO=n # # Sizes of configurable things (0 disables) # -# CONFIG_MAX_TASKS - The maximum number of simultaneously -# active tasks. This value must be a power of two. -# CONFIG_MAX_TASK_ARGS - This controls the maximum number of -# of parameters that a task may receive (i.e., maxmum value -# of 'argc') -# CONFIG_NPTHREAD_KEYS - The number of items of thread- -# specific data that can be retained -# CONFIG_NFILE_DESCRIPTORS - The maximum number of file -# descriptors (one for each open) -# CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed -# CONFIG_NAME_MAX - The maximum size of a file name. -# CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate -# on fopen. (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_NUNGET_CHARS - Number of characters that can be -# buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0) -# CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message -# structures. The system manages a pool of preallocated -# message structures to minimize dynamic allocations -# CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with -# a fixed payload size given by this settin (does not include -# other message structure overhead. -# CONFIG_MAX_WDOGPARMS - Maximum number of parameters that -# can be passed to a watchdog handler -# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog -# structures. The system manages a pool of preallocated -# watchdog structures to minimize dynamic allocations -# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX -# timer structures. The system manages a pool of preallocated -# timer structures to minimize dynamic allocations. Set to -# zero for all dynamic allocations. -# CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=0 @@ -308,29 +164,6 @@ CONFIG_PREALLOC_TIMERS=0 # # TCP/IP and UDP support via uIP -# CONFIG_NET - Enable or disable all network features -# CONFIG_NET_IPv6 - Build in support for IPv6 -# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread. -# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options -# CONFIG_NET_BUFSIZE - uIP buffer size -# CONFIG_NET_TCP - TCP support on or off -# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) -# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers -# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) -# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until -# accept() is called. The size of the backlog is selected when listen() is called. -# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) -# CONFIG_NET_UDP - UDP support on or off -# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off -# CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP connections -# CONFIG_NET_ICMP - ICMP ping response support on or off -# CONFIG_NET_ICMP_PING - ICMP ping request support on or off -# CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address -# CONFIG_NET_STATISTICS - uIP statistics on or off -# CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's window -# CONFIG_NET_ARPTAB_SIZE - The size of the ARP table -# CONFIG_NET_BROADCAST - Broadcast support -# CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates # CONFIG_NET=n CONFIG_NET_IPv6=n @@ -354,8 +187,7 @@ CONFIG_NET_BROADCAST=n # # UIP Network Utilities -# CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP -# CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries +# CONFIG_NET_DHCP_LIGHT=n CONFIG_NET_RESOLV_ENTRIES=4 @@ -379,25 +211,6 @@ CONFIG_NSH_NETMASK=0xffffff00 # # Stack and heap information # -# CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP -# operation from FLASH but must copy initialized .data sections to RAM. -# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH -# but copy themselves entirely into RAM for better performance. -# CONFIG_CUSTOM_STACK - The up_ implementation will handle -# all stack operations outside of the nuttx model. -# CONFIG_STACK_POINTER - The initial stack pointer -# CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack. -# This is the thread that (1) performs the inital boot of the system up -# to the point where user_start() is spawned, and (2) there after is the -# IDLE thread that executes only when there is no other thread ready to -# run. -# CONFIG_USERMAIN_STACKSIZE - The size of the stack to allocate -# for the main user thread that begins at the user_start() entry point. -# CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size -# CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size -# CONFIG_HEAP_BASE - The beginning of the heap -# CONFIG_HEAP_SIZE - The size of the heap -# CONFIG_BOOT_RUNFROMFLASH=n CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n From 6ab6c46f2f29d82707bc7c3aae3ec5283bd285aa Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 30 Aug 2012 18:18:47 +0000 Subject: [PATCH 09/19] Add USB host support for the STM3240G-EVAL board git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5069 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 6 + nuttx/configs/stm3220g-eval/nsh/defconfig | 2 - nuttx/configs/stm3240g-eval/README.txt | 65 +++- nuttx/configs/stm3240g-eval/dhcpd/defconfig | 14 +- nuttx/configs/stm3240g-eval/nettest/defconfig | 14 +- nuttx/configs/stm3240g-eval/nsh/defconfig | 14 +- nuttx/configs/stm3240g-eval/nsh2/defconfig | 14 +- .../configs/stm3240g-eval/nxconsole/defconfig | 14 +- nuttx/configs/stm3240g-eval/nxwm/defconfig | 14 +- nuttx/configs/stm3240g-eval/ostest/defconfig | 14 +- nuttx/configs/stm3240g-eval/src/Makefile | 4 +- .../stm3240g-eval/src/stm3240g-internal.h | 70 +++-- nuttx/configs/stm3240g-eval/src/up_boot.c | 11 +- nuttx/configs/stm3240g-eval/src/up_nsh.c | 101 +++--- nuttx/configs/stm3240g-eval/src/up_usb.c | 294 ++++++++++++++++++ nuttx/configs/stm3240g-eval/src/up_usbdev.c | 103 ------ nuttx/configs/stm3240g-eval/telnetd/defconfig | 14 +- nuttx/configs/stm32f4discovery/nsh/defconfig | 2 - .../stm32f4discovery/nxlines/defconfig | 2 - .../configs/stm32f4discovery/ostest/defconfig | 2 - nuttx/configs/stm32f4discovery/pm/defconfig | 2 - nuttx/configs/stm32f4discovery/src/up_usb.c | 2 + 22 files changed, 585 insertions(+), 193 deletions(-) create mode 100644 nuttx/configs/stm3240g-eval/src/up_usb.c delete mode 100644 nuttx/configs/stm3240g-eval/src/up_usbdev.c diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 5412295783..d628fffbb9 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3215,3 +3215,9 @@ appears to handle NAKing correctly is complete. * configs/stm32f4discovery/*: Added and verifed support for USB OTG FS host on the STM32F4Discovery board. + * configs/*/defconfig: Remove configuration documentation from config + files. It is redundant, error-prone, and difficult to maintain. + Configuration documentation is available in configs/README.txt for + common configurations and in configs/*/README.txt for board and MCU_ + specific configurations. + * configs/stm3240g-eval: Add USB host support. diff --git a/nuttx/configs/stm3220g-eval/nsh/defconfig b/nuttx/configs/stm3220g-eval/nsh/defconfig index 2b7f2c0872..226c65d26f 100644 --- a/nuttx/configs/stm3220g-eval/nsh/defconfig +++ b/nuttx/configs/stm3220g-eval/nsh/defconfig @@ -528,8 +528,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt index 949db18913..907c8e199d 100755 --- a/nuttx/configs/stm3240g-eval/README.txt +++ b/nuttx/configs/stm3240g-eval/README.txt @@ -853,7 +853,7 @@ STM3240G-EVAL-specific Configuration Options want to do that? CONFIG_STM32_USBHOST_REGDEBUG - Enable very low-level register access debug. Depends on CONFIG_DEBUG. - CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB + CONFIG_STM32_USBHOST_PKTDUMP - Dump all incoming and outgoing USB packets. Depends on CONFIG_DEBUG. Configurations @@ -1028,8 +1028,67 @@ Where is one of the following: CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block CONFIG_STM32_SYSCFG - Needed CONFIG_SCHED_WORKQUEUE - Worker thread support is required - - 9. This configuration requires that jumper JP22 be set to enable RS-232 + + 9. USB OTG FS Host Support. The following changes will enable support for + a USB host on the STM32F4Discovery, including support for a mass storage + class driver: + + CONFIG_USBDEV=n - Make sure tht USB device support is disabled + CONFIG_USBHOST=y - Enable USB host support + CONFIG_STM32_OTGFS=y - Enable the STM32 USB OTG FS block + CONFIG_STM32_SYSCFG=y - Needed for all USB OTF FS support + CONFIG_SCHED_WORKQUEUE=y - Worker thread support is required for the mass + storage class driver. + CONFIG_NSH_ARCHINIT=y - Architecture specific USB initialization + is needed for NSH + CONFIG_FS_FAT=y - Needed by the USB host mass storage class. + + With those changes, you can use NSH with a FLASH pen driver as shown + belong. Here NSH is started with nothing in the USB host slot: + + NuttShell (NSH) NuttX-x.yy + nsh> ls /dev + /dev: + console + null + ttyS0 + + After inserting the FLASH drive, the /dev/sda appears and can be + mounted like this: + + nsh> ls /dev + /dev: + console + null + sda + ttyS0 + nsh> mount -t vfat /dev/sda /mnt/stuff + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + + And files on the FLASH can be manipulated to standard interfaces: + + nsh> echo "This is a test" >/mnt/stuff/atest.txt + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + -rw-rw-rw- 16 atest.txt + nsh> cat /mnt/stuff/atest.txt + This is a test + nsh> cp /mnt/stuff/filea.c fileb.c + nsh> ls /mnt/stuff + /mnt/stuff: + -rw-rw-rw- 16236 filea.c + -rw-rw-rw- 16 atest.txt + -rw-rw-rw- 16236 fileb.c + + To prevent data loss, don't forget to un-mount the FLASH drive + before removing it: + + nsh> umount /mnt/stuff + + 11. This configuration requires that jumper JP22 be set to enable RS-232 operation. nsh2: diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig index 8b2c82018b..35a7140e48 100644 --- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig @@ -440,7 +440,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -451,6 +451,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig index cbc3c7706f..54d5f3fa8b 100644 --- a/nuttx/configs/stm3240g-eval/nettest/defconfig +++ b/nuttx/configs/stm3240g-eval/nettest/defconfig @@ -440,7 +440,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -451,6 +451,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index b21a140e7b..3e27810aa8 100644 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -519,7 +519,7 @@ CONFIG_STMPE811_THRESHX=26 CONFIG_STMPE811_THRESHY=34 # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -530,6 +530,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig index 1813fe7def..8e8c0fb8cb 100644 --- a/nuttx/configs/stm3240g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig @@ -490,7 +490,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -501,6 +501,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/nxconsole/defconfig b/nuttx/configs/stm3240g-eval/nxconsole/defconfig index c7a2dbacbc..ec66b3f99e 100644 --- a/nuttx/configs/stm3240g-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3240g-eval/nxconsole/defconfig @@ -489,7 +489,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -500,6 +500,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/nxwm/defconfig b/nuttx/configs/stm3240g-eval/nxwm/defconfig index 3dd4102637..9f93fbf273 100644 --- a/nuttx/configs/stm3240g-eval/nxwm/defconfig +++ b/nuttx/configs/stm3240g-eval/nxwm/defconfig @@ -520,7 +520,7 @@ CONFIG_STMPE811_THRESHX=39 CONFIG_STMPE811_THRESHY=51 # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -531,6 +531,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig index 6bfb26afc2..b38005e4dd 100644 --- a/nuttx/configs/stm3240g-eval/ostest/defconfig +++ b/nuttx/configs/stm3240g-eval/ostest/defconfig @@ -426,7 +426,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -437,6 +437,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm3240g-eval/src/Makefile b/nuttx/configs/stm3240g-eval/src/Makefile index 0e901a4d16..80225ea1fb 100644 --- a/nuttx/configs/stm3240g-eval/src/Makefile +++ b/nuttx/configs/stm3240g-eval/src/Makefile @@ -56,8 +56,8 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y) CSRCS += up_buttons.c endif -ifeq ($(CONFIG_USBDEV),y) -CSRCS += up_usbdev.c +ifeq ($(CONFIG_STM32_OTGFS),y) +CSRCS += up_usb.c endif ifeq ($(CONFIG_STM32_FSMC),y) diff --git a/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h b/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h index c71aee75f0..cef4d2d19f 100644 --- a/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h +++ b/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h @@ -134,9 +134,14 @@ * PF11 OTG_FS_Overcurrent */ -#define GPIO_OTGFS_VBUS (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_OPENDRAIN|GPIO_PORTA|GPIO_PIN9) -#define GPIO_OTGFS_PWRON (GPIO_OUTPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTH|GPIO_PIN5) -#define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTF|GPIO_PIN11) +#define GPIO_OTGFS_VBUS (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_OPENDRAIN|GPIO_PORTA|GPIO_PIN9) +#define GPIO_OTGFS_PWRON (GPIO_OUTPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTH|GPIO_PIN5) + +#ifdef CONFIG_USBHOST +# define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_EXTI|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTF|GPIO_PIN11) +#else +# define GPIO_OTGFS_OVER (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTF|GPIO_PIN11) +#endif /* The STM3240G-EVAL has two STMPE811QTR I/O expanders on board both connected * to the STM32 via I2C1. They share a common interrupt line: PI2. @@ -212,77 +217,93 @@ void weak_function stm32_spiinitialize(void); -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_usbinitialize * * Description: - * Called to setup USB-related GPIO pins for the STM3210E-EVAL board. + * Called from stm32_usbinitialize very early in inialization to setup USB-related GPIO pins for + * the STM3240G-EVAL board. * - ************************************************************************************/ + ****************************************************************************************************/ +#ifdef CONFIG_STM32_OTGFS void weak_function stm32_usbinitialize(void); +#endif -/************************************************************************************ +/**************************************************************************************************** + * Name: stm32_usbhost_initialize + * + * Description: + * Called at application startup time to initialize the USB host functionality. This function will + * start a thread that will monitor for device connection/disconnection events. + * + ****************************************************************************************************/ + +#if defined(CONFIG_STM32_OTGFS) && defined(CONFIG_USBHOST) +int stm32_usbhost_initialize(void); +#endif + +/**************************************************************************************************** * Name: stm32_extmemgpios * * Description: * Initialize GPIOs for external memory usage * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemgpios(const uint32_t *gpios, int ngpios); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_extmemaddr * * Description: * Initialize adress line GPIOs for external memory access * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemaddr(int naddrs); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_extmemdata * * Description: * Initialize data line GPIOs for external memory access * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_extmemdata(int ndata); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_enablefsmc * * Description: * enable clocking to the FSMC module * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_enablefsmc(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_disablefsmc * * Description: * enable clocking to the FSMC module * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_disablefsmc(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_selectsram * * Description: @@ -306,43 +327,43 @@ void stm32_disablefsmc(void); * word and uses the needed byte only). The NBL[1:0] are always kept low * during read transactions. * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_selectsram(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_deselectsram * * Description: * Disable SRAM * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_deselectsram(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_selectlcd * * Description: * Initialize to the LCD * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_selectlcd(void); #endif -/************************************************************************************ +/**************************************************************************************************** * Name: stm32_deselectlcd * * Description: * Disable the LCD * - ************************************************************************************/ + ****************************************************************************************************/ #ifdef CONFIG_STM32_FSMC void stm32_deselectlcd(void); @@ -350,4 +371,3 @@ void stm32_deselectlcd(void); #endif /* __ASSEMBLY__ */ #endif /* __CONFIGS_STM3240G_EVAL_SRC_STM3240G_INTERNAL_H */ - diff --git a/nuttx/configs/stm3240g-eval/src/up_boot.c b/nuttx/configs/stm3240g-eval/src/up_boot.c index 7322878e81..518bb4ff70 100644 --- a/nuttx/configs/stm3240g-eval/src/up_boot.c +++ b/nuttx/configs/stm3240g-eval/src/up_boot.c @@ -88,12 +88,13 @@ void stm32_boardinitialize(void) stm32_selectsram(); #endif - /* Initialize USB is 1) USBDEV is selected, 2) the OTG FS controller is not - * disabled, and 3) the weak function stm32_usbinitialize() has been brought - * into the build. + /* Initialize USB if the 1) OTG FS controller is in the configuration and 2) + * disabled, and 3) the weak function stm32_usbinitialize() has been brought + * the weak function stm32_usbinitialize() has been brought into the build. + * Presumeably either CONFIG_USBDEV or CONFIG_USBHOST is also selected. */ - -#if defined(CONFIG_USBDEV) && defined(CONFIG_STM32_OTGFS) + +#ifdef CONFIG_STM32_OTGFS if (stm32_usbinitialize) { stm32_usbinitialize(); diff --git a/nuttx/configs/stm3240g-eval/src/up_nsh.c b/nuttx/configs/stm3240g-eval/src/up_nsh.c index 016c68a357..c106e99180 100644 --- a/nuttx/configs/stm3240g-eval/src/up_nsh.c +++ b/nuttx/configs/stm3240g-eval/src/up_nsh.c @@ -55,7 +55,12 @@ # include #endif +#ifdef CONFIG_STM32_OTGFS +# include "stm32_usbhost.h" +#endif + #include "stm32_internal.h" +#include "stm3240g-internal.h" /**************************************************************************** * Pre-Processor Definitions @@ -67,41 +72,56 @@ #undef CONFIG_STM32_SPI1 -/* PORT and SLOT number probably depend on the board configuration */ +/* Assume that we support everything until convinced otherwise */ -#ifdef CONFIG_ARCH_BOARD_STM3240G_EVAL -# define CONFIG_NSH_HAVEUSBDEV 1 -# define CONFIG_NSH_HAVEMMCSD 1 -# if defined(CONFIG_NSH_MMCSDSLOTNO) && CONFIG_NSH_MMCSDSLOTNO != 0 -# error "Only one MMC/SD slot" -# undef CONFIG_NSH_MMCSDSLOTNO -# endif -# ifndef CONFIG_NSH_MMCSDSLOTNO -# define CONFIG_NSH_MMCSDSLOTNO 0 -# endif -#else - /* Add configuration for new STM32 boards here */ -# error "Unrecognized STM32 board" -# undef CONFIG_NSH_HAVEUSBDEV -# undef CONFIG_NSH_HAVEMMCSD -#endif - -/* Can't support USB features if USB is not enabled */ - -#ifndef CONFIG_USBDEV -# undef CONFIG_NSH_HAVEUSBDEV -#endif +#define HAVE_MMCSD 1 +#define HAVE_USBDEV 1 +#define HAVE_USBHOST 1 /* Can't support MMC/SD features if mountpoints are disabled or if SDIO support * is not enabled. */ #if defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_STM32_SDIO) -# undef CONFIG_NSH_HAVEMMCSD +# undef HAVE_MMCSD #endif -#ifndef CONFIG_NSH_MMCSDMINOR -# define CONFIG_NSH_MMCSDMINOR 0 +/* Default MMC/SD minor number */ + +#ifdef HAVE_MMCSD +# ifndef CONFIG_NSH_MMCSDMINOR +# define CONFIG_NSH_MMCSDMINOR 0 +# endif + +/* Default MMC/SD SLOT number */ + +# if defined(CONFIG_NSH_MMCSDSLOTNO) && CONFIG_NSH_MMCSDSLOTNO != 0 +# error "Only one MMC/SD slot" +# undef CONFIG_NSH_MMCSDSLOTNO +# endif + +# ifndef CONFIG_NSH_MMCSDSLOTNO +# define CONFIG_NSH_MMCSDSLOTNO 0 +# endif +#endif + +/* Can't support USB host or device features if USB OTG FS is not enabled */ + +#ifndef CONFIG_STM32_OTGFS +# undef HAVE_USBDEV +# undef HAVE_USBHOST +#endif + +/* Can't support USB device is USB device is not enabled */ + +#ifndef CONFIG_USBDEV +# undef HAVE_USBDEV +#endif + +/* Can't support USB host is USB host is not enabled */ + +#ifndef CONFIG_USBHOST +# undef HAVE_USBHOST #endif /* Debug ********************************************************************/ @@ -138,8 +158,10 @@ int nsh_archinitialize(void) FAR struct spi_dev_s *spi; FAR struct mtd_dev_s *mtd; #endif -#ifdef CONFIG_NSH_HAVEMMCSD +#ifdef HAVE_MMCSD FAR struct sdio_dev_s *sdio; +#endif +#if defined(HAVE_MMCSD) || defined(HAVE_USBHOST) int ret; #endif @@ -148,35 +170,29 @@ int nsh_archinitialize(void) #ifdef CONFIG_STM32_SPI1 /* Get the SPI port */ - message("nsh_archinitialize: Initializing SPI port 1\n"); spi = up_spiinitialize(1); if (!spi) { message("nsh_archinitialize: Failed to initialize SPI port 0\n"); return -ENODEV; } - message("nsh_archinitialize: Successfully initialized SPI port 0\n"); /* Now bind the SPI interface to the M25P64/128 SPI FLASH driver */ - message("nsh_archinitialize: Bind SPI to the SPI flash driver\n"); mtd = m25p_initialize(spi); if (!mtd) { message("nsh_archinitialize: Failed to bind SPI port 0 to the SPI FLASH driver\n"); return -ENODEV; } - message("nsh_archinitialize: Successfully bound SPI port 0 to the SPI FLASH driver\n"); #warning "Now what are we going to do with this SPI FLASH driver?" #endif /* Mount the SDIO-based MMC/SD block driver */ -#ifdef CONFIG_NSH_HAVEMMCSD +#ifdef HAVE_MMCSD /* First, get an instance of the SDIO interface */ - message("nsh_archinitialize: Initializing SDIO slot %d\n", - CONFIG_NSH_MMCSDSLOTNO); sdio = sdio_initialize(CONFIG_NSH_MMCSDSLOTNO); if (!sdio) { @@ -187,15 +203,12 @@ int nsh_archinitialize(void) /* Now bind the SDIO interface to the MMC/SD driver */ - message("nsh_archinitialize: Bind SDIO to the MMC/SD driver, minor=%d\n", - CONFIG_NSH_MMCSDMINOR); ret = mmcsd_slotinitialize(CONFIG_NSH_MMCSDMINOR, sdio); if (ret != OK) { message("nsh_archinitialize: Failed to bind SDIO to the MMC/SD driver: %d\n", ret); return ret; } - message("nsh_archinitialize: Successfully bound SDIO to the MMC/SD driver\n"); /* Then let's guess and say that there is a card in the slot. I need to check to * see if the STM3240G-EVAL board supports a GPIO to detect if there is a card in @@ -204,5 +217,19 @@ int nsh_archinitialize(void) sdio_mediachange(sdio, true); #endif + +#ifdef HAVE_USBHOST + /* Initialize USB host operation. stm32_usbhost_initialize() starts a thread + * will monitor for USB connection and disconnection events. + */ + + ret = stm32_usbhost_initialize(); + if (ret != OK) + { + message("nsh_archinitialize: Failed to initialize USB host: %d\n", ret); + return ret; + } +#endif + return OK; } diff --git a/nuttx/configs/stm3240g-eval/src/up_usb.c b/nuttx/configs/stm3240g-eval/src/up_usb.c new file mode 100644 index 0000000000..294fd661e3 --- /dev/null +++ b/nuttx/configs/stm3240g-eval/src/up_usb.c @@ -0,0 +1,294 @@ +/************************************************************************************ + * configs/stm3240g-eval/src/up_usbdev.c + * arch/arm/src/board/up_boot.c + * + * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ************************************************************************************/ + +/************************************************************************************ + * Included Files + ************************************************************************************/ + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "up_arch.h" +#include "stm32_internal.h" +#include "stm3240g-internal.h" + +#ifdef CONFIG_STM32_OTGFS + +/************************************************************************************ + * Pre-processor Definitions + ************************************************************************************/ + +#if defined(CONFIG_USBDEV) || defined(CONFIG_USBHOST) +# define HAVE_USB 1 +#else +# warning "CONFIG_STM32_OTGFS is enabled but neither CONFIG_USBDEV nor CONFIG_USBHOST" +# undef HAVE_USB +#endif + +#ifndef CONFIG_USBHOST_DEFPRIO +# define CONFIG_USBHOST_DEFPRIO 50 +#endif + +#ifndef CONFIG_USBHOST_STACKSIZE +# define CONFIG_USBHOST_STACKSIZE 1024 +#endif + +/************************************************************************************ + * Private Data + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +static struct usbhost_driver_s *g_drvr; +#endif + +/************************************************************************************ + * Private Functions + ************************************************************************************/ + +/************************************************************************************ + * Name: usbhost_waiter + * + * Description: + * Wait for USB devices to be connected. + * + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +static int usbhost_waiter(int argc, char *argv[]) +{ + bool connected = false; + int ret; + + uvdbg("Running\n"); + for (;;) + { + /* Wait for the device to change state */ + + ret = DRVR_WAIT(g_drvr, connected); + DEBUGASSERT(ret == OK); + + connected = !connected; + uvdbg("%s\n", connected ? "connected" : "disconnected"); + + /* Did we just become connected? */ + + if (connected) + { + /* Yes.. enumerate the newly connected device */ + + (void)DRVR_ENUMERATE(g_drvr); + } + } + + /* Keep the compiler from complaining */ + + return 0; +} +#endif + +/************************************************************************************ + * Public Functions + ************************************************************************************/ + +/************************************************************************************ + * Name: stm32_usbinitialize + * + * Description: + * Called from stm32_usbinitialize very early in inialization to setup USB-related + * GPIO pins for the STM3240G-EVAL board. + * + ************************************************************************************/ + +void stm32_usbinitialize(void) +{ + /* The OTG FS has an internal soft pull-up. No GPIO configuration is required */ + + /* Configure the OTG FS VBUS sensing GPIO, Power On, and Overcurrent GPIOs */ + +#ifdef CONFIG_STM32_OTGFS + stm32_configgpio(GPIO_OTGFS_VBUS); + stm32_configgpio(GPIO_OTGFS_PWRON); + stm32_configgpio(GPIO_OTGFS_OVER); +#endif +} + +/*********************************************************************************** + * Name: stm32_usbhost_initialize + * + * Description: + * Called at application startup time to initialize the USB host functionality. + * This function will start a thread that will monitor for device + * connection/disconnection events. + * + ***********************************************************************************/ + +#ifdef CONFIG_USBHOST +int stm32_usbhost_initialize(void) +{ + int pid; + int ret; + + /* First, register all of the class drivers needed to support the drivers + * that we care about: + */ + + uvdbg("Register class drivers\n"); + ret = usbhost_storageinit(); + if (ret != OK) + { + udbg("Failed to register the mass storage class\n"); + } + + /* Then get an instance of the USB host interface */ + + uvdbg("Initialize USB host\n"); + g_drvr = usbhost_initialize(0); + if (g_drvr) + { + /* Start a thread to handle device connection. */ + + uvdbg("Start usbhost_waiter\n"); + + pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO, + CONFIG_USBHOST_STACKSIZE, + (main_t)usbhost_waiter, (const char **)NULL); + return pid < 0 ? -ENOEXEC : OK; + } + + return -ENODEV; +} +#endif + +/*********************************************************************************** + * Name: stm32_usbhost_vbusdrive + * + * Description: + * Enable/disable driving of VBUS 5V output. This function must be provided be + * each platform that implements the STM32 OTG FS host interface + * + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port + * control and status register (PPWR bit in OTG_FS_HPRT). + * + * "The application uses this field to control power to this port, and the core + * clears this bit on an overcurrent condition." + * + * Input Parameters: + * iface - For future growth to handle multiple USB host interface. Should be zero. + * enable - true: enable VBUS power; false: disable VBUS power + * + * Returned Value: + * None + * + ***********************************************************************************/ + +#ifdef CONFIG_USBHOST +void stm32_usbhost_vbusdrive(int iface, bool enable) +{ + DEBUGASSERT(iface == 0); + + if (enable) + { + /* Enable the Power Switch by driving the enable pin low */ + + stm32_gpiowrite(GPIO_OTGFS_PWRON, false); + } + else + { + /* Disable the Power Switch by driving the enable pin high */ + + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); + } +} +#endif + +/************************************************************************************ + * Name: stm32_setup_overcurrent + * + * Description: + * Setup to receive an interrupt-level callback if an overcurrent condition is + * detected. + * + * Input paramter: + * handler - New overcurrent interrupt handler + * + * Returned value: + * Old overcurrent interrupt handler + * + ************************************************************************************/ + +#ifdef CONFIG_USBHOST +xcpt_t stm32_setup_overcurrent(xcpt_t handler) +{ + return stm32_gpiosetevent(GPIO_OTGFS_OVER, true, true, true, handler); +} +#endif + +/************************************************************************************ + * Name: stm32_usbsuspend + * + * Description: + * Board logic must provide the stm32_usbsuspend logic if the USBDEV driver is + * used. This function is called whenever the USB enters or leaves suspend mode. + * This is an opportunity for the board logic to shutdown clocks, power, etc. + * while the USB is suspended. + * + ************************************************************************************/ + +#ifdef CONFIG_USBDEV +void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) +{ + ulldbg("resume: %d\n", resume); +} +#endif + +#endif /* CONFIG_STM32_OTGFS */ + + + diff --git a/nuttx/configs/stm3240g-eval/src/up_usbdev.c b/nuttx/configs/stm3240g-eval/src/up_usbdev.c deleted file mode 100644 index bd7f880b00..0000000000 --- a/nuttx/configs/stm3240g-eval/src/up_usbdev.c +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************************ - * configs/stm3240g-eval/src/up_usbdev.c - * arch/arm/src/board/up_boot.c - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ************************************************************************************/ - -/************************************************************************************ - * Included Files - ************************************************************************************/ - -#include - -#include -#include -#include -#include - -#include -#include - -#include "up_arch.h" -#include "stm32_internal.h" -#include "stm3240g-internal.h" - -/************************************************************************************ - * Definitions - ************************************************************************************/ - -/************************************************************************************ - * Private Functions - ************************************************************************************/ - -/************************************************************************************ - * Public Functions - ************************************************************************************/ - -/************************************************************************************ - * Name: stm32_usbinitialize - * - * Description: - * Called to setup USB-related GPIO pins for the STM3210E-EVAL board. - * - ************************************************************************************/ - -void stm32_usbinitialize(void) -{ - /* The OTG FS has an internal soft pull-up */ - - /* Configure the OTG FS VBUS sensing GPIO, Power On, and Overcurrent GPIOs */ - -#ifdef CONFIG_STM32_OTGFS - stm32_configgpio(GPIO_OTGFS_VBUS); - stm32_configgpio(GPIO_OTGFS_PWRON); - stm32_configgpio(GPIO_OTGFS_OVER); -#endif -} - -/************************************************************************************ - * Name: stm32_usbsuspend - * - * Description: - * Board logic must provide the stm32_usbsuspend logic if the USBDEV driver is - * used. This function is called whenever the USB enters or leaves suspend mode. - * This is an opportunity for the board logic to shutdown clocks, power, etc. - * while the USB is suspended. - * - ************************************************************************************/ - -void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) -{ - ulldbg("resume: %d\n", resume); -} - diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig index 2db1801e92..26686968a3 100644 --- a/nuttx/configs/stm3240g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig @@ -440,7 +440,7 @@ CONFIG_RTC_FREQUENCY=n CONFIG_RTC_ALARM=n # -# USB Device Configuration +# STM32 USB OTG FS Device Configuration # CONFIG_USBDEV=n CONFIG_USBDEV_ISOCHRONOUS=n @@ -451,6 +451,18 @@ CONFIG_USBDEV_MAXPOWER=100 CONFIG_USBDEV_TRACE=n CONFIG_USBDEV_TRACE_NRECORDS=128 +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + # # USB Serial Device Configuration # diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 01b4e89edf..16c9ea6491 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -460,8 +460,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index acb289df82..4c34a26a7f 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -460,8 +460,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index 2c3f9866df..094a1c4855 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -418,8 +418,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 338baf585e..8d469b4c7e 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -479,8 +479,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/src/up_usb.c b/nuttx/configs/stm32f4discovery/src/up_usb.c index d4250bc2f0..89fc960062 100644 --- a/nuttx/configs/stm32f4discovery/src/up_usb.c +++ b/nuttx/configs/stm32f4discovery/src/up_usb.c @@ -281,10 +281,12 @@ xcpt_t stm32_setup_overcurrent(xcpt_t handler) * ************************************************************************************/ +#ifdef CONFIG_USBDEV void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) { ulldbg("resume: %d\n", resume); } +#endif #endif /* CONFIG_STM32_OTGFS */ From b121fbbb00aa877caef26e5ffb14b3687d36827f Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 30 Aug 2012 20:13:50 +0000 Subject: [PATCH 10/19] Add configurable application entry point git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/ChangeLog.txt | 4 + apps/README.txt | 2 +- apps/examples/adc/adc_main.c | 30 ++-- apps/examples/buttons/main.c | 14 +- apps/examples/can/can_main.c | 24 +-- apps/examples/composite/composite.h | 10 -- apps/examples/composite/composite_main.c | 20 +-- apps/examples/dhcpd/target.c | 16 +- apps/examples/ftpd/ftpd.h | 10 -- apps/examples/ftpd/ftpd_main.c | 4 +- apps/examples/hello/main.c | 10 +- apps/examples/helloxx/main.cxx | 23 +-- apps/examples/hidkbd/hidkbd_main.c | 12 +- apps/examples/igmp/igmp.c | 4 +- apps/examples/lcdrw/lcdrw_main.c | 10 +- apps/examples/mm/mm_main.c | 4 +- apps/examples/modbus/modbus_main.c | 36 ++--- apps/examples/mount/mount_main.c | 16 +- apps/examples/nettest/nettest.c | 16 +- apps/examples/nsh/nsh_main.c | 4 +- apps/examples/null/null_main.c | 4 +- apps/examples/nx/nx_main.c | 88 +++++------ apps/examples/nxconsole/nxcon_main.c | 44 +++--- apps/examples/nxffs/nxffs_main.c | 4 +- apps/examples/nxflat/nxflat_main.c | 4 +- apps/examples/nxhello/nxhello_main.c | 28 ++-- apps/examples/nximage/nximage_main.c | 26 ++- apps/examples/nxlines/nxlines_main.c | 26 ++- apps/examples/nxtext/nxtext_main.c | 40 ++--- apps/examples/ostest/main.c | 32 ++-- apps/examples/pashello/pashello.c | 12 +- apps/examples/pipe/pipe_main.c | 46 +++--- apps/examples/pipe/redirect_test.c | 6 +- apps/examples/poll/poll_main.c | 36 ++--- apps/examples/pwm/pwm_main.c | 2 +- apps/examples/qencoder/qe_main.c | 32 ++-- apps/examples/rgmp/main.c | 4 +- apps/examples/romfs/romfs_main.c | 4 +- apps/examples/sendmail/target.c | 4 +- apps/examples/serloop/main.c | 4 +- apps/examples/telnetd/shell.c | 8 +- apps/examples/telnetd/shell.h | 10 -- apps/examples/thttpd/main.c | 4 +- apps/examples/tiff/tiff_main.c | 10 +- apps/examples/touchscreen/tc_main.c | 30 ++-- apps/examples/udp/target.c | 4 +- apps/examples/uip/main.c | 4 +- apps/examples/usbserial/main.c | 50 +++--- apps/examples/usbstorage/usbmsc_main.c | 48 +++--- apps/examples/usbterm/usbterm_main.c | 42 ++--- apps/examples/watchdog/watchdog_main.c | 2 +- apps/examples/wget/target.c | 4 +- apps/examples/wlan/wlan_main.c | 12 +- apps/interpreters/README.txt | 2 +- apps/system/i2c/i2c_main.c | 10 +- nuttx/ChangeLog | 4 + nuttx/Documentation/NuttShell.html | 10 +- nuttx/Documentation/NuttxPortingGuide.html | 17 +- nuttx/Documentation/UsbTrace.html | 8 +- nuttx/configs/README.txt | 5 + nuttx/configs/amber/hello/defconfig | 1 + nuttx/configs/avr32dev1/nsh/defconfig | 1 + nuttx/configs/avr32dev1/ostest/defconfig | 1 + nuttx/configs/c5471evm/httpd/defconfig | 1 + nuttx/configs/c5471evm/nettest/defconfig | 1 + nuttx/configs/c5471evm/nsh/defconfig | 1 + nuttx/configs/c5471evm/ostest/defconfig | 1 + .../configs/compal_e88/nsh_highram/defconfig | 1 + .../compal_e99/nsh_compalram/defconfig | 1 + .../configs/compal_e99/nsh_highram/defconfig | 1 + nuttx/configs/demo9s12ne64/ostest/defconfig | 1 + nuttx/configs/ea3131/nsh/defconfig | 1 + nuttx/configs/ea3131/ostest/defconfig | 1 + nuttx/configs/ea3131/pgnsh/defconfig | 1 + nuttx/configs/ea3131/usbserial/defconfig | 1 + nuttx/configs/ea3131/usbstorage/defconfig | 2 + nuttx/configs/ea3152/ostest/defconfig | 1 + nuttx/configs/eagle100/httpd/defconfig | 1 + nuttx/configs/eagle100/nettest/defconfig | 1 + nuttx/configs/eagle100/nsh/defconfig | 1 + nuttx/configs/eagle100/nxflat/defconfig | 1 + nuttx/configs/eagle100/ostest/defconfig | 1 + nuttx/configs/eagle100/thttpd/defconfig | 1 + nuttx/configs/ekk-lm3s9b96/nsh/defconfig | 1 + nuttx/configs/ekk-lm3s9b96/ostest/defconfig | 1 + .../configs/ez80f910200kitg/ostest/defconfig | 1 + nuttx/configs/ez80f910200zco/dhcpd/defconfig | 1 + nuttx/configs/ez80f910200zco/httpd/defconfig | 1 + .../configs/ez80f910200zco/nettest/defconfig | 1 + nuttx/configs/ez80f910200zco/nsh/defconfig | 1 + nuttx/configs/ez80f910200zco/ostest/defconfig | 1 + nuttx/configs/ez80f910200zco/poll/defconfig | 1 + nuttx/configs/hymini-stm32v/buttons/defconfig | 1 + nuttx/configs/hymini-stm32v/nsh/defconfig | 1 + nuttx/configs/hymini-stm32v/nsh2/defconfig | 1 + nuttx/configs/hymini-stm32v/nx/defconfig | 1 + nuttx/configs/hymini-stm32v/nxlines/defconfig | 1 + .../configs/hymini-stm32v/usbserial/defconfig | 1 + .../hymini-stm32v/usbstorage/defconfig | 2 + nuttx/configs/kwikstik-k40/ostest/defconfig | 1 + nuttx/configs/lincoln60/nsh/defconfig | 1 + nuttx/configs/lincoln60/ostest/defconfig | 1 + nuttx/configs/lm3s6432-s2e/nsh/defconfig | 1 + nuttx/configs/lm3s6432-s2e/ostest/defconfig | 1 + nuttx/configs/lm3s6965-ek/nsh/defconfig | 1 + nuttx/configs/lm3s6965-ek/nx/defconfig | 1 + nuttx/configs/lm3s6965-ek/ostest/defconfig | 1 + nuttx/configs/lm3s8962-ek/nsh/defconfig | 1 + nuttx/configs/lm3s8962-ek/nx/defconfig | 1 + nuttx/configs/lm3s8962-ek/ostest/defconfig | 1 + nuttx/configs/lpc4330-xplorer/nsh/defconfig | 1 + .../configs/lpc4330-xplorer/ostest/defconfig | 1 + .../lpcxpresso-lpc1768/dhcpd/defconfig | 1 + .../configs/lpcxpresso-lpc1768/nsh/defconfig | 1 + nuttx/configs/lpcxpresso-lpc1768/nx/defconfig | 1 + .../lpcxpresso-lpc1768/ostest/defconfig | 1 + .../lpcxpresso-lpc1768/thttpd/defconfig | 1 + .../lpcxpresso-lpc1768/usbstorage/defconfig | 2 + nuttx/configs/m68332evb/defconfig | 1 + nuttx/configs/mbed/hidkbd/defconfig | 1 + nuttx/configs/mbed/nsh/defconfig | 1 + .../mcu123-lpc214x/composite/defconfig | 2 + nuttx/configs/mcu123-lpc214x/nsh/defconfig | 1 + nuttx/configs/mcu123-lpc214x/ostest/defconfig | 1 + .../mcu123-lpc214x/usbserial/defconfig | 1 + .../mcu123-lpc214x/usbstorage/defconfig | 2 + nuttx/configs/micropendous3/hello/defconfig | 1 + nuttx/configs/mirtoo/nsh/defconfig | 1 + nuttx/configs/mirtoo/nxffs/defconfig | 1 + nuttx/configs/mirtoo/ostest/defconfig | 1 + nuttx/configs/mx1ads/ostest/defconfig | 1 + nuttx/configs/ne64badge/ostest/defconfig | 1 + nuttx/configs/ntosd-dm320/nettest/defconfig | 1 + nuttx/configs/ntosd-dm320/nsh/defconfig | 1 + nuttx/configs/ntosd-dm320/ostest/defconfig | 1 + nuttx/configs/ntosd-dm320/poll/defconfig | 1 + nuttx/configs/ntosd-dm320/thttpd/defconfig | 1 + nuttx/configs/ntosd-dm320/udp/defconfig | 1 + nuttx/configs/ntosd-dm320/uip/defconfig | 1 + nuttx/configs/nucleus2g/nsh/defconfig | 1 + nuttx/configs/nucleus2g/ostest/defconfig | 1 + nuttx/configs/nucleus2g/usbserial/defconfig | 1 + nuttx/configs/nucleus2g/usbstorage/defconfig | 2 + .../configs/olimex-lpc1766stk/ftpc/defconfig | 1 + .../olimex-lpc1766stk/hidkbd/defconfig | 1 + .../olimex-lpc1766stk/nettest/defconfig | 1 + nuttx/configs/olimex-lpc1766stk/nsh/defconfig | 1 + nuttx/configs/olimex-lpc1766stk/nx/defconfig | 2 +- .../olimex-lpc1766stk/ostest/defconfig | 1 + .../olimex-lpc1766stk/slip-httpd/defconfig | 1 + .../olimex-lpc1766stk/thttpd/defconfig | 1 + .../olimex-lpc1766stk/usbserial/defconfig | 1 + .../olimex-lpc1766stk/usbstorage/defconfig | 2 + .../configs/olimex-lpc1766stk/wlan/defconfig | 1 + nuttx/configs/olimex-lpc2378/nsh/defconfig | 1 + nuttx/configs/olimex-lpc2378/ostest/defconfig | 1 + nuttx/configs/olimex-stm32-p107/nsh/defconfig | 1 + .../olimex-stm32-p107/ostest/defconfig | 1 + .../configs/olimex-strp711/nettest/defconfig | 1 + nuttx/configs/olimex-strp711/nsh/defconfig | 1 + nuttx/configs/olimex-strp711/ostest/defconfig | 1 + nuttx/configs/pcblogic-pic32mx/nsh/defconfig | 1 + .../configs/pcblogic-pic32mx/ostest/defconfig | 1 + nuttx/configs/pic32-starterkit/nsh/defconfig | 1 + nuttx/configs/pic32-starterkit/nsh2/defconfig | 2 +- .../configs/pic32-starterkit/ostest/defconfig | 2 +- nuttx/configs/pic32mx7mmb/nsh/defconfig | 1 + nuttx/configs/pic32mx7mmb/ostest/defconfig | 2 +- nuttx/configs/pjrc-8051/defconfig | 1 + nuttx/configs/qemu-i486/nsh/defconfig | 1 + nuttx/configs/qemu-i486/ostest/defconfig | 1 + nuttx/configs/rgmp/arm/default/defconfig | 1 + nuttx/configs/rgmp/arm/nsh/defconfig | 1 + nuttx/configs/rgmp/x86/default/defconfig | 1 + nuttx/configs/rgmp/x86/nsh/defconfig | 1 + nuttx/configs/sam3u-ek/knsh/defconfig | 1 + nuttx/configs/sam3u-ek/nsh/defconfig | 1 + nuttx/configs/sam3u-ek/nx/defconfig | 1 + nuttx/configs/sam3u-ek/ostest/defconfig | 1 + nuttx/configs/sam3u-ek/touchscreen/defconfig | 1 + nuttx/configs/sim/mount/defconfig | 1 + nuttx/configs/sim/nettest/defconfig | 1 + nuttx/configs/sim/nsh/defconfig | 1 + nuttx/configs/sim/nsh2/defconfig | 1 + nuttx/configs/sim/nx/defconfig | 1 + nuttx/configs/sim/nx11/defconfig | 1 + nuttx/configs/sim/nxffs/defconfig | 1 + nuttx/configs/sim/nxwm/defconfig | 1 + nuttx/configs/sim/ostest/defconfig | 1 + nuttx/configs/sim/pashello/defconfig | 1 + nuttx/configs/sim/touchscreen/defconfig | 1 + nuttx/configs/skp16c26/ostest/defconfig | 1 + nuttx/configs/stm3210e-eval/RIDE/defconfig | 1 + nuttx/configs/stm3210e-eval/buttons/defconfig | 1 + .../configs/stm3210e-eval/composite/defconfig | 2 + nuttx/configs/stm3210e-eval/nsh/defconfig | 1 + nuttx/configs/stm3210e-eval/nsh2/defconfig | 1 + nuttx/configs/stm3210e-eval/nx/defconfig | 1 + .../configs/stm3210e-eval/nxconsole/defconfig | 1 + nuttx/configs/stm3210e-eval/nxlines/defconfig | 1 + nuttx/configs/stm3210e-eval/nxtext/defconfig | 1 + nuttx/configs/stm3210e-eval/ostest/defconfig | 1 + nuttx/configs/stm3210e-eval/pm/defconfig | 1 + .../configs/stm3210e-eval/usbserial/defconfig | 1 + .../stm3210e-eval/usbstorage/defconfig | 2 + nuttx/configs/stm3220g-eval/dhcpd/defconfig | 1 + nuttx/configs/stm3220g-eval/nettest/defconfig | 1 + nuttx/configs/stm3220g-eval/nsh/defconfig | 1 + nuttx/configs/stm3220g-eval/nsh2/defconfig | 1 + nuttx/configs/stm3220g-eval/nxwm/defconfig | 1 + nuttx/configs/stm3220g-eval/ostest/defconfig | 1 + nuttx/configs/stm3220g-eval/telnetd/defconfig | 1 + nuttx/configs/stm3240g-eval/dhcpd/defconfig | 1 + nuttx/configs/stm3240g-eval/nettest/defconfig | 1 + nuttx/configs/stm3240g-eval/nsh/defconfig | 1 + nuttx/configs/stm3240g-eval/nsh2/defconfig | 1 + .../configs/stm3240g-eval/nxconsole/defconfig | 1 + nuttx/configs/stm3240g-eval/nxwm/defconfig | 1 + nuttx/configs/stm3240g-eval/ostest/defconfig | 1 + nuttx/configs/stm3240g-eval/telnetd/defconfig | 1 + nuttx/configs/stm32f4discovery/nsh/defconfig | 1 + .../stm32f4discovery/nxlines/defconfig | 1 + .../configs/stm32f4discovery/ostest/defconfig | 1 + nuttx/configs/stm32f4discovery/pm/defconfig | 1 + nuttx/configs/sure-pic32mx/nsh/defconfig | 1 + nuttx/configs/sure-pic32mx/ostest/defconfig | 1 + nuttx/configs/sure-pic32mx/usbnsh/defconfig | 1 + nuttx/configs/teensy/hello/defconfig | 1 + nuttx/configs/teensy/nsh/defconfig | 1 + nuttx/configs/teensy/usbstorage/defconfig | 2 + nuttx/configs/twr-k60n512/nsh/defconfig | 1 + nuttx/configs/twr-k60n512/ostest/defconfig | 1 + nuttx/configs/ubw32/nsh/defconfig | 1 + nuttx/configs/ubw32/ostest/defconfig | 1 + nuttx/configs/us7032evb1/nsh/defconfig | 1 + nuttx/configs/us7032evb1/ostest/defconfig | 1 + nuttx/configs/vsn/nsh/defconfig | 1 + nuttx/configs/xtrs/nsh/defconfig | 1 + nuttx/configs/xtrs/ostest/defconfig | 1 + nuttx/configs/xtrs/pashello/defconfig | 1 + .../configs/z16f2800100zcog/ostest/defconfig | 1 + .../z16f2800100zcog/pashello/defconfig | 1 + nuttx/configs/z80sim/nsh/defconfig | 1 + nuttx/configs/z80sim/ostest/defconfig | 1 + nuttx/configs/z80sim/pashello/defconfig | 1 + nuttx/configs/z8encore000zco/ostest/defconfig | 1 + nuttx/configs/z8f64200100kit/ostest/defconfig | 1 + nuttx/include/assert.h | 4 + nuttx/include/nuttx/init.h | 2 +- nuttx/sched/Kconfig | 8 + nuttx/sched/os_bringup.c | 10 +- nuttx/tools/Config.mk | 9 +- nuttx/tools/cfgparser.c | 149 +++++++++++++++++- nuttx/tools/mkconfig.c | 8 +- 254 files changed, 777 insertions(+), 613 deletions(-) diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index e5c0b33a58..1178c203c2 100755 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -291,3 +291,7 @@ treads! * apps/nshlib/nsh.h: Both CONFIG_LIBC_STRERROR and CONFIG_NSH_STRERROR must be defined to use strerror() with NSH. + * apps/examples/*/*_main.c, system/i2c/i2c_main.c, and others: Added + configuration variable CONFIG_USER_ENTRYPOINT that may be used to change + the default entry from user_start to some other symbol. Contributed by + Kate. diff --git a/apps/README.txt b/apps/README.txt index 4266585726..f9c9ececd7 100644 --- a/apps/README.txt +++ b/apps/README.txt @@ -118,7 +118,7 @@ the NuttX configuration file: CONFIG_BUILTIN_APP_START= that application shall be invoked immediately after system starts -*instead* of the normal, default "user_start" entry point. +*instead* of the default "user_start" entry point. Note that must be provided as: "hello", will call: diff --git a/apps/examples/adc/adc_main.c b/apps/examples/adc/adc_main.c index b880326549..4797265db0 100644 --- a/apps/examples/adc/adc_main.c +++ b/apps/examples/adc/adc_main.c @@ -57,14 +57,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME adc_main -# define MAIN_STRING "adc_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -223,10 +215,10 @@ static void parse_args(FAR struct adc_state_s *adc, int argc, FAR char **argv) ****************************************************************************/ /**************************************************************************** - * Name: user_start/adc_main + * Name: adc_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int adc_main(int argc, char *argv[]) { struct adc_msg_s sample[CONFIG_EXAMPLES_ADC_GROUPSIZE]; size_t readsize; @@ -244,11 +236,11 @@ int MAIN_NAME(int argc, char *argv[]) * this test. */ - message(MAIN_STRING "Initializing external ADC device\n"); + message("adc_main: Initializing external ADC device\n"); ret = adc_devinit(); if (ret != OK) { - message(MAIN_STRING "adc_devinit failed: %d\n", ret); + message("adc_main: adc_devinit failed: %d\n", ret); errval = 1; goto errout; } @@ -276,18 +268,18 @@ int MAIN_NAME(int argc, char *argv[]) */ #if defined(CONFIG_NSH_BUILTIN_APPS) || defined(CONFIG_EXAMPLES_ADC_NSAMPLES) - message(MAIN_STRING "g_adcstate.count: %d\n", g_adcstate.count); + message("adc_main: g_adcstate.count: %d\n", g_adcstate.count); #endif /* Open the ADC device for reading */ - message(MAIN_STRING "Hardware initialized. Opening the ADC device: %s\n", + message("adc_main: Hardware initialized. Opening the ADC device: %s\n", g_adcstate.devpath); fd = open(g_adcstate.devpath, O_RDONLY); if (fd < 0) { - message(MAIN_STRING "open %s failed: %d\n", g_adcstate.devpath, errno); + message("adc_main: open %s failed: %d\n", g_adcstate.devpath, errno); errval = 2; goto errout_with_dev; } @@ -322,17 +314,17 @@ int MAIN_NAME(int argc, char *argv[]) errval = errno; if (errval != EINTR) { - message(MAIN_STRING "read %s failed: %d\n", + message("adc_main: read %s failed: %d\n", g_adcstate.devpath, errval); errval = 3; goto errout_with_dev; } - message(MAIN_STRING "Interrupted read...\n"); + message("adc_main: Interrupted read...\n"); } else if (nbytes == 0) { - message(MAIN_STRING "No data read, Ignoring\n"); + message("adc_main: No data read, Ignoring\n"); } /* Print the sample data on successful return */ @@ -342,7 +334,7 @@ int MAIN_NAME(int argc, char *argv[]) int nsamples = nbytes / sizeof(struct adc_msg_s); if (nsamples * sizeof(struct adc_msg_s) != nbytes) { - message(MAIN_STRING "read size=%d is not a multiple of sample size=%d, Ignoring\n", + message("adc_main: read size=%d is not a multiple of sample size=%d, Ignoring\n", nbytes, sizeof(struct adc_msg_s)); } else diff --git a/apps/examples/buttons/main.c b/apps/examples/buttons/main.c index fe447ca6b6..50124512cd 100644 --- a/apps/examples/buttons/main.c +++ b/apps/examples/buttons/main.c @@ -130,16 +130,6 @@ #define NUM_BUTTONS (MAX_BUTTON - MIN_BUTTON + 1) #define BUTTON_INDEX(b) ((b)-MIN_BUTTON) -/* Is this being built as an NSH built-in application? */ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME buttons_main -# define MAIN_STRING "buttons_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -399,10 +389,10 @@ static int button7_handler(int irq, FAR void *context) ****************************************************************************/ /**************************************************************************** - * user_start/buttons_main + * buttons_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int buttons_main(int argc, char *argv[]) { uint8_t newset; irqstate_t flags; diff --git a/apps/examples/can/can_main.c b/apps/examples/can/can_main.c index 0ea729e5e8..d3ca241192 100644 --- a/apps/examples/can/can_main.c +++ b/apps/examples/can/can_main.c @@ -76,14 +76,6 @@ # define MAX_ID (1 << 11) #endif -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME can_main -# define MAIN_STRING "can_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -109,10 +101,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start/can_main + * Name: can_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int can_main(int argc, char *argv[]) { #ifndef CONFIG_EXAMPLES_CAN_READONLY struct can_msg_s txmsg; @@ -150,31 +142,31 @@ int MAIN_NAME(int argc, char *argv[]) { nmsgs = strtol(argv[1], NULL, 10); } - message(MAIN_STRING "nmsgs: %d\n", nmsgs); + message("can_main: nmsgs: %d\n", nmsgs); #elif defined(CONFIG_EXAMPLES_CAN_NMSGS) - message(MAIN_STRING "nmsgs: %d\n", CONFIG_EXAMPLES_CAN_NMSGS); + message("can_main: nmsgs: %d\n", CONFIG_EXAMPLES_CAN_NMSGS); #endif /* Initialization of the CAN hardware is performed by logic external to * this test. */ - message(MAIN_STRING "Initializing external CAN device\n"); + message("can_main: Initializing external CAN device\n"); ret = can_devinit(); if (ret != OK) { - message(MAIN_STRING "can_devinit failed: %d\n", ret); + message("can_main: can_devinit failed: %d\n", ret); errval = 1; goto errout; } /* Open the CAN device for reading */ - message(MAIN_STRING "Hardware initialized. Opening the CAN device\n"); + message("can_main: Hardware initialized. Opening the CAN device\n"); fd = open(CONFIG_EXAMPLES_CAN_DEVPATH, CAN_OFLAGS); if (fd < 0) { - message(MAIN_STRING "open %s failed: %d\n", + message("can_main: open %s failed: %d\n", CONFIG_EXAMPLES_CAN_DEVPATH, errno); errval = 2; goto errout_with_dev; diff --git a/apps/examples/composite/composite.h b/apps/examples/composite/composite.h index fab498c9fa..73a4453be7 100644 --- a/apps/examples/composite/composite.h +++ b/apps/examples/composite/composite.h @@ -169,16 +169,6 @@ #define TRACE_BITSET (TRACE_INIT_BITS|TRACE_ERROR_BITS|TRACE_CLASS_BITS|\ TRACE_TRANSFER_BITS|TRACE_CONTROLLER_BITS|TRACE_INTERRUPT_BITS) -/* Entry point **************************************************************/ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME conn_main -# define MAIN_NAME_STRING "conn" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - /* Debug ********************************************************************/ #ifdef CONFIG_CPP_HAVE_VARARGS diff --git a/apps/examples/composite/composite_main.c b/apps/examples/composite/composite_main.c index 6c2a862872..b965eacb7c 100644 --- a/apps/examples/composite/composite_main.c +++ b/apps/examples/composite/composite_main.c @@ -662,7 +662,7 @@ void board_cdcuninitialize(FAR struct usbdevclass_driver_s *classdev) } /**************************************************************************** - * user_start/conn_main + * conn_main * * Description: * This is the main program that configures the USB mass storage device @@ -672,7 +672,7 @@ void board_cdcuninitialize(FAR struct usbdevclass_driver_s *classdev) * ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int conn_main(int argc, char *argv[]) { int ret; @@ -688,7 +688,7 @@ int MAIN_NAME(int argc, char *argv[]) if (g_composite.cmphandle) { - message(MAIN_NAME_STRING ": ERROR: Already connected\n"); + message("conn_main: ERROR: Already connected\n"); return 1; } #endif @@ -705,11 +705,11 @@ int MAIN_NAME(int argc, char *argv[]) /* Perform architecture-specific initialization */ - message(MAIN_NAME_STRING ": Performing architecture-specific intialization\n"); + message("conn_main: Performing architecture-specific intialization\n"); ret = composite_archinitialize(); if (ret < 0) { - message(MAIN_NAME_STRING ": composite_archinitialize failed: %d\n", -ret); + message("conn_main: composite_archinitialize failed: %d\n", -ret); return 1; } check_test_memory_usage("After composite_archinitialize()"); @@ -719,7 +719,7 @@ int MAIN_NAME(int argc, char *argv[]) g_composite.cmphandle = composite_initialize(); if (!g_composite.cmphandle) { - message(MAIN_NAME_STRING ": composite_initialize failed\n"); + message("conn_main: composite_initialize failed\n"); return 1; } check_test_memory_usage("After composite_initialize()"); @@ -774,7 +774,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Dump trace data */ # ifdef CONFIG_USBDEV_TRACE - message("\n" MAIN_NAME_STRING ": USB TRACE DATA:\n"); + message("\n" "conn_main: USB TRACE DATA:\n"); ret = dumptrace(); if (ret < 0) { @@ -782,18 +782,18 @@ int MAIN_NAME(int argc, char *argv[]) } check_test_memory_usage("After usbtrace_enumerate()"); # else - message(MAIN_NAME_STRING ": Still alive\n"); + message("conn_main: Still alive\n"); # endif } #else - message(MAIN_NAME_STRING ": Connected\n"); + message("conn_main: Connected\n"); check_test_memory_usage("After composite device connection"); #endif /* Dump debug memory usage */ - message(MAIN_NAME_STRING ": Exiting\n"); + message("conn_main: Exiting\n"); #if !defined(CONFIG_NSH_BUILTIN_APPS) && !defined(CONFIG_DISABLE_SIGNALS) close(g_composite.infd); close(g_composite.outfd); diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c index d43e86e94a..9c554e8cd7 100644 --- a/apps/examples/dhcpd/target.c +++ b/apps/examples/dhcpd/target.c @@ -81,27 +81,15 @@ # error "You must define CONFIG_NET_BROADCAST" #endif -/* If CONFIG_NSH_BUILTIN_APPS is defined, then it is assumed that you want - * to execute the DHCPD daemon as an NSH built-in task. - */ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME dhcpd_main -# define MAIN_NAME_STRING "dhcpd_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - /**************************************************************************** * Private Data ****************************************************************************/ /**************************************************************************** - * Name: user_start/dhcpd_main + * Name: dhcpd_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int dhcpd_main(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_DHCPD_NOMAC) diff --git a/apps/examples/ftpd/ftpd.h b/apps/examples/ftpd/ftpd.h index 98ee3b3b66..6a439e8184 100644 --- a/apps/examples/ftpd/ftpd.h +++ b/apps/examples/ftpd/ftpd.h @@ -107,16 +107,6 @@ # endif #endif -/* Is this being built as an NSH built-in application? */ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME ftpd_start -# define MAIN_STRING "ftpd_start: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /**************************************************************************** * Public Types ****************************************************************************/ diff --git a/apps/examples/ftpd/ftpd_main.c b/apps/examples/ftpd/ftpd_main.c index 6ae0a11e51..6d19f952c5 100644 --- a/apps/examples/ftpd/ftpd_main.c +++ b/apps/examples/ftpd/ftpd_main.c @@ -217,10 +217,10 @@ int ftpd_daemon(int s_argc, char **s_argv) * Public Functions ****************************************************************************/ /**************************************************************************** - * Name: user_start/ftpd_start + * Name: ftpd_main ****************************************************************************/ -int MAIN_NAME(int s_argc, char **s_argv) +int ftpd_main(int s_argc, char **s_argv) { /* Check if we have already initialized the network */ diff --git a/apps/examples/hello/main.c b/apps/examples/hello/main.c index 7934dc34ba..7e07cffd13 100644 --- a/apps/examples/hello/main.c +++ b/apps/examples/hello/main.c @@ -53,16 +53,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start/hello_main + * hello_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_HELLO_BUILTIN -# define MAIN_NAME hello_main -#else -# define MAIN_NAME user_start -#endif - -int MAIN_NAME(int argc, char *argv[]) +int hello_main(int argc, char *argv[]) { printf("Hello, World!!\n"); return 0; diff --git a/apps/examples/helloxx/main.cxx b/apps/examples/helloxx/main.cxx index 8514fead22..fcec7c761a 100644 --- a/apps/examples/helloxx/main.cxx +++ b/apps/examples/helloxx/main.cxx @@ -124,24 +124,11 @@ static CHelloWorld g_HelloWorld; // Public Functions //*************************************************************************** -//*************************************************************************** -// user_start -//*************************************************************************** - /**************************************************************************** - * Name: user_start/nxhello_main + * Name: helloxx_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_HELLOXX_BUILTIN -extern "C" int helloxx_main(int argc, char *argv[]); -# define MAIN_NAME helloxx_main -# define MAIN_STRING "helloxx_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - -int MAIN_NAME(int argc, char *argv[]) +int helloxx_main(int argc, char *argv[]) { // If C++ initialization for static constructors is supported, then do // that first @@ -153,7 +140,7 @@ int MAIN_NAME(int argc, char *argv[]) // Exercise an explictly instantiated C++ object CHelloWorld *pHelloWorld = new CHelloWorld; - printf(MAIN_STRING "Saying hello from the dynamically constructed instance\n"); + printf("helloxx_main: Saying hello from the dynamically constructed instance\n"); pHelloWorld->HelloWorld(); // Exercise an C++ object instantiated on the stack @@ -161,14 +148,14 @@ int MAIN_NAME(int argc, char *argv[]) #ifndef CONFIG_EXAMPLES_HELLOXX_NOSTACKCONST CHelloWorld HelloWorld; - printf(MAIN_STRING "Saying hello from the instance constructed on the stack\n"); + printf("helloxx_main: Saying hello from the instance constructed on the stack\n"); HelloWorld.HelloWorld(); #endif // Exercise an statically constructed C++ object #ifdef CONFIG_HAVE_CXXINITIALIZE - printf(MAIN_STRING "Saying hello from the statically constructed instance\n"); + printf("helloxx_main: Saying hello from the statically constructed instance\n"); g_HelloWorld.HelloWorld(); #endif diff --git a/apps/examples/hidkbd/hidkbd_main.c b/apps/examples/hidkbd/hidkbd_main.c index 96864b9f9b..51e927008b 100644 --- a/apps/examples/hidkbd/hidkbd_main.c +++ b/apps/examples/hidkbd/hidkbd_main.c @@ -141,10 +141,10 @@ static int hidkbd_waiter(int argc, char *argv[]) } /**************************************************************************** - * Name: user_start + * Name: hidkbd_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int hidkbd_main(int argc, char *argv[]) { char buffer[256]; pid_t pid; @@ -154,22 +154,22 @@ int user_start(int argc, char *argv[]) /* First, register all of the USB host HID keyboard class driver */ - printf("user_start: Register class drivers\n"); + printf("hidkbd_main: Register class drivers\n"); ret = usbhost_kbdinit(); if (ret != OK) { - printf("user_start: Failed to register the KBD class\n"); + printf("hidkbd_main: Failed to register the KBD class\n"); } /* Then get an instance of the USB host interface */ - printf("user_start: Initialize USB host keyboard driver\n"); + printf("hidkbd_main: Initialize USB host keyboard driver\n"); g_drvr = usbhost_initialize(0); if (g_drvr) { /* Start a thread to handle device connection. */ - printf("user_start: Start hidkbd_waiter\n"); + printf("hidkbd_main: Start hidkbd_waiter\n"); #ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_EXAMPLES_HIDKBD_DEFPRIO, diff --git a/apps/examples/igmp/igmp.c b/apps/examples/igmp/igmp.c index 4e3671a69b..73ca8a3e67 100644 --- a/apps/examples/igmp/igmp.c +++ b/apps/examples/igmp/igmp.c @@ -78,10 +78,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * igmp_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int igmp_main(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_IGMP_NOMAC) diff --git a/apps/examples/lcdrw/lcdrw_main.c b/apps/examples/lcdrw/lcdrw_main.c index c366743f47..f39e1849da 100644 --- a/apps/examples/lcdrw/lcdrw_main.c +++ b/apps/examples/lcdrw/lcdrw_main.c @@ -152,16 +152,10 @@ static inline int lcdrw_initialize(FAR struct lcdrw_instance_s *inst) ****************************************************************************/ /**************************************************************************** - * Name: lcdrw_main/user_start + * Name: lcdrw_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_LCDRW_BUILTIN -# define MAIN_NAME lcdrw_main -#else -# define MAIN_NAME user_start -#endif - -int MAIN_NAME(int argc, char *argv[]) +int lcdrw_main(int argc, char *argv[]) { struct lcdrw_instance_s inst; nxgl_coord_t row; diff --git a/apps/examples/mm/mm_main.c b/apps/examples/mm/mm_main.c index 036c390474..5d45efdc59 100644 --- a/apps/examples/mm/mm_main.c +++ b/apps/examples/mm/mm_main.c @@ -267,10 +267,10 @@ static void do_frees(void **mem, const int *size, const int *seq, int n) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: mm_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int mm_main(int argc, char *argv[]) { mm_showmallinfo(); diff --git a/apps/examples/modbus/modbus_main.c b/apps/examples/modbus/modbus_main.c index bb89c6cbb8..13967f6fd0 100644 --- a/apps/examples/modbus/modbus_main.c +++ b/apps/examples/modbus/modbus_main.c @@ -104,14 +104,6 @@ # define CONFIG_EXAMPLES_MODBUS_REG_HOLDING_NREGS 130 #endif -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME modbus_main -# define MAIN_NAME_STRING "modbus_main: " -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start: " -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -171,7 +163,7 @@ static inline int modbus_initialize(void) if (g_modbus.threadstate != STOPPED) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: Bad state: %d\n", g_modbus.threadstate); return EINVAL; } @@ -181,7 +173,7 @@ static inline int modbus_initialize(void) status = pthread_mutex_init(&g_modbus.lock, NULL); if (status != 0) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: pthread_mutex_init failed: %d\n", status); return status; } @@ -201,7 +193,7 @@ static inline int modbus_initialize(void) CONFIG_EXAMPLES_MODBUS_BAUD, CONFIG_EXAMPLES_MODBUS_PARITY); if (mberr != MB_ENOERR) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: eMBInit failed: %d\n", mberr); goto errout_with_mutex; } @@ -217,7 +209,7 @@ static inline int modbus_initialize(void) mberr = eMBSetSlaveID(0x34, true, g_slaveid, 3); if (mberr != MB_ENOERR) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: eMBSetSlaveID failed: %d\n", mberr); goto errout_with_modbus; } @@ -227,7 +219,7 @@ static inline int modbus_initialize(void) mberr = eMBEnable(); if (mberr == MB_ENOERR) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: eMBEnable failed: %d\n", mberr); goto errout_with_modbus; } @@ -270,7 +262,7 @@ static void *modbus_pollthread(void *pvarg) ret = modbus_initialize(); if (ret != OK) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: modbus_initialize failed: %d\n", ret); return NULL; } @@ -358,14 +350,14 @@ static void modbus_showusage(FAR const char *progname, int exitcode) ****************************************************************************/ /**************************************************************************** - * Name: user_start/modbus_main + * Name: modbus_main * * Description: * This is the main entry point to the demo program * ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int modbus_main(int argc, char *argv[]) { int option; int ret; @@ -389,7 +381,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = modbus_create_pollthread(); if (ret != OK) { - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: modbus_create_pollthread failed: %d\n", ret); exit(EXIT_FAILURE); } @@ -400,19 +392,19 @@ int MAIN_NAME(int argc, char *argv[]) switch (g_modbus.threadstate) { case RUNNING: - printf(MAIN_NAME_STRING "Protocol stack is running\n"); + printf("modbus_main: Protocol stack is running\n"); break; case STOPPED: - printf(MAIN_NAME_STRING "Protocol stack is stopped\n"); + printf("modbus_main: Protocol stack is stopped\n"); break; case SHUTDOWN: - printf(MAIN_NAME_STRING "Protocol stack is shutting down\n"); + printf("modbus_main: Protocol stack is shutting down\n"); break; default: - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: Invalid thread state: %d\n", g_modbus.threadstate); break; @@ -429,7 +421,7 @@ int MAIN_NAME(int argc, char *argv[]) break; default: - fprintf(stderr, MAIN_NAME_STRING + fprintf(stderr, "modbus_main: " "ERROR: Unrecognized option: '%c'\n", option); modbus_showusage(argv[0], EXIT_FAILURE); break; diff --git a/apps/examples/mount/mount_main.c b/apps/examples/mount/mount_main.c index 00070b94c0..5f881e40ca 100644 --- a/apps/examples/mount/mount_main.c +++ b/apps/examples/mount/mount_main.c @@ -567,10 +567,10 @@ static void succeed_stat(const char *path) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: mount_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int mount_main(int argc, char *argv[]) { int ret; @@ -580,18 +580,18 @@ int user_start(int argc, char *argv[]) ret = create_ramdisk(); if (ret < 0) { - printf("user_start: ERROR failed to create RAM disk\n"); + printf("mount_main: ERROR failed to create RAM disk\n"); return 1; } #endif /* Mount the test file system (see arch/sim/src/up_deviceimage.c */ - printf("user_start: mounting %s filesystem at target=%s with source=%s\n", + printf("mount_main: mounting %s filesystem at target=%s with source=%s\n", g_filesystemtype, g_target, g_source); ret = mount(g_source, g_target, g_filesystemtype, 0, NULL); - printf("user_start: mount() returned %d\n", ret); + printf("mount_main: mount() returned %d\n", ret); if (ret == 0) { @@ -737,16 +737,16 @@ int user_start(int argc, char *argv[]) /* Unmount the file system */ - printf("user_start: Try unmount(%s)\n", g_target); + printf("mount_main: Try unmount(%s)\n", g_target); ret = umount(g_target); if (ret != 0) { - printf("user_start: ERROR umount() failed, errno %d\n", errno); + printf("mount_main: ERROR umount() failed, errno %d\n", errno); g_nerrors++; } - printf("user_start: %d errors reported\n", g_nerrors); + printf("mount_main: %d errors reported\n", g_nerrors); } fflush(stdout); diff --git a/apps/examples/nettest/nettest.c b/apps/examples/nettest/nettest.c index d6d63eeef6..b95d9da623 100644 --- a/apps/examples/nettest/nettest.c +++ b/apps/examples/nettest/nettest.c @@ -53,18 +53,6 @@ * Definitions ****************************************************************************/ -/* If CONFIG_NSH_BUILTIN_APPS is defined, then it is assumed that you want - * to execute the DHCPD daemon as an NSH built-in task. - */ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME nettest_main -# define MAIN_NAME_STRING "nettest_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - /**************************************************************************** * Private Data ****************************************************************************/ @@ -74,10 +62,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * nettest_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int nettest_main(int argc, char *argv[]) { struct in_addr addr; #ifdef CONFIG_EXAMPLE_NETTEST_NOMAC diff --git a/apps/examples/nsh/nsh_main.c b/apps/examples/nsh/nsh_main.c index c5b671ab14..97792cb2a3 100644 --- a/apps/examples/nsh/nsh_main.c +++ b/apps/examples/nsh/nsh_main.c @@ -84,10 +84,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: nsh_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int nsh_main(int argc, char *argv[]) { int exitval = 0; int ret; diff --git a/apps/examples/null/null_main.c b/apps/examples/null/null_main.c index 10fc1bf1e4..63a14fcaca 100644 --- a/apps/examples/null/null_main.c +++ b/apps/examples/null/null_main.c @@ -58,10 +58,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: null_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int null_main(int argc, char *argv[]) { return 0; } diff --git a/apps/examples/nx/nx_main.c b/apps/examples/nx/nx_main.c index db17ea2f2c..bcc4a9bbff 100644 --- a/apps/examples/nx/nx_main.c +++ b/apps/examples/nx/nx_main.c @@ -614,18 +614,10 @@ static int nxeg_initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start/nx_main + * Name: nx_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_NX_BUILTIN -# define MAIN_NAME nx_main -# define MAIN_NAME_STRING "nx_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int nx_main(int argc, char *argv[]) { NXEGWINDOW hwnd1; NXEGWINDOW hwnd2; @@ -637,10 +629,10 @@ int MAIN_NAME(int argc, char *argv[]) /* Initialize */ ret = nxeg_initialize(); - message(MAIN_NAME_STRING ": NX handle=%p\n", g_hnx); + message("nx_main: NX handle=%p\n", g_hnx); if (!g_hnx || ret < 0) { - message(MAIN_NAME_STRING ": Failed to get NX handle: %d\n", errno); + message("nx_main: Failed to get NX handle: %d\n", errno); g_exitcode = NXEXIT_NXOPEN; goto errout; } @@ -650,29 +642,29 @@ int MAIN_NAME(int argc, char *argv[]) g_fonthandle = nxf_getfonthandle(CONFIG_EXAMPLES_NX_FONTID); if (!g_fonthandle) { - message(MAIN_NAME_STRING ": Failed to get font handle: %d\n", errno); + message("nx_main: Failed to get font handle: %d\n", errno); g_exitcode = NXEXIT_FONTOPEN; goto errout; } /* Set the background to the configured background color */ - message(MAIN_NAME_STRING ": Set background color=%d\n", CONFIG_EXAMPLES_NX_BGCOLOR); + message("nx_main: Set background color=%d\n", CONFIG_EXAMPLES_NX_BGCOLOR); color = CONFIG_EXAMPLES_NX_BGCOLOR; ret = nx_setbgcolor(g_hnx, &color); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nx_main: nx_setbgcolor failed: %d\n", errno); g_exitcode = NXEXIT_NXSETBGCOLOR; goto errout_with_nx; } /* Create window #1 */ - message(MAIN_NAME_STRING ": Create window #1\n"); + message("nx_main: Create window #1\n"); nxeg_initstate(&g_wstate[0], 1, CONFIG_EXAMPLES_NX_COLOR1); hwnd1 = nxeg_openwindow(&g_nxcb, &g_wstate[0]); - message(MAIN_NAME_STRING ": hwnd1=%p\n", hwnd1); + message("nx_main: hwnd1=%p\n", hwnd1); if (!hwnd1) { goto errout_with_nx; @@ -684,14 +676,14 @@ int MAIN_NAME(int argc, char *argv[]) { (void)sem_wait(&g_semevent); } - message(MAIN_NAME_STRING ": Screen resolution (%d,%d)\n", g_xres, g_yres); + message("nx_main: Screen resolution (%d,%d)\n", g_xres, g_yres); /* Set the size of the window 1 */ size.w = g_xres / 2; size.h = g_yres / 2; - message(MAIN_NAME_STRING ": Set window #1 size to (%d,%d)\n", size.w, size.h); + message("nx_main: Set window #1 size to (%d,%d)\n", size.w, size.h); ret = nxeg_setsize(hwnd1, &size); if (ret < 0) { @@ -703,7 +695,7 @@ int MAIN_NAME(int argc, char *argv[]) * actually do them! */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); /* Set the position of window #1 */ @@ -711,7 +703,7 @@ int MAIN_NAME(int argc, char *argv[]) pt.x = g_xres / 8; pt.y = g_yres / 8; - message(MAIN_NAME_STRING ": Set window #1 postion to (%d,%d)\n", pt.x, pt.y); + message("nx_main: Set window #1 postion to (%d,%d)\n", pt.x, pt.y); ret = nxeg_setposition(hwnd1, &pt); if (ret < 0) { @@ -720,13 +712,13 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); /* Open the toolbar */ #ifndef CONFIG_EXAMPLES_NX_RAWWINDOWS - message(MAIN_NAME_STRING ": Add toolbar to window #1\n"); + message("nx_main: Add toolbar to window #1\n"); ret = nxeq_opentoolbar(hwnd1, CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT, &g_tbcb, &g_wstate[0]); if (ret < 0) { @@ -735,16 +727,16 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #endif /* Create window #2 */ - message(MAIN_NAME_STRING ": Create window #2\n"); + message("nx_main: Create window #2\n"); nxeg_initstate(&g_wstate[1], 2, CONFIG_EXAMPLES_NX_COLOR2); hwnd2 = nxeg_openwindow(&g_nxcb, &g_wstate[1]); - message(MAIN_NAME_STRING ": hwnd2=%p\n", hwnd2); + message("nx_main: hwnd2=%p\n", hwnd2); if (!hwnd2) { goto errout_with_hwnd1; @@ -752,12 +744,12 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); /* Set the size of the window 2 == size of window 1*/ - message(MAIN_NAME_STRING ": Set hwnd2 size to (%d,%d)\n", size.w, size.h); + message("nx_main: Set hwnd2 size to (%d,%d)\n", size.w, size.h); ret = nxeg_setsize(hwnd2, &size); if (ret < 0) { @@ -766,7 +758,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); /* Set the position of window #2 */ @@ -774,7 +766,7 @@ int MAIN_NAME(int argc, char *argv[]) pt.x = g_xres - size.w - pt.x; pt.y = g_yres - size.h - pt.y; - message(MAIN_NAME_STRING ": Set hwnd2 postion to (%d,%d)\n", pt.x, pt.y); + message("nx_main: Set hwnd2 postion to (%d,%d)\n", pt.x, pt.y); ret = nxeg_setposition(hwnd2, &pt); if (ret < 0) { @@ -783,11 +775,11 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #ifndef CONFIG_EXAMPLES_NX_RAWWINDOWS - message(MAIN_NAME_STRING ": Add toolbar to window #2\n"); + message("nx_main: Add toolbar to window #2\n"); ret = nxeq_opentoolbar(hwnd2, CONFIG_EXAMPLES_NX_TOOLBAR_HEIGHT, &g_tbcb, &g_wstate[1]); if (ret < 0) { @@ -796,30 +788,30 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #endif /* Give keyboard input to the top window -- should be window #2 */ #ifdef CONFIG_NX_KBD - message(MAIN_NAME_STRING ": Send keyboard input: %s\n", g_kbdmsg1); + message("nx_main: Send keyboard input: %s\n", g_kbdmsg1); ret = nx_kbdin(g_hnx, strlen((FAR const char *)g_kbdmsg1), g_kbdmsg1); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_kbdin failed: %d\n", errno); + message("nx_main: nx_kbdin failed: %d\n", errno); goto errout_with_hwnd2; } /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #endif /* Lower window 2 */ - message(MAIN_NAME_STRING ": Lower window #2\n"); + message("nx_main: Lower window #2\n"); ret = nxeg_lower(hwnd2); if (ret < 0) { @@ -828,7 +820,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); /* Put mouse left-button clicks all over the screen and see who responds */ @@ -838,30 +830,30 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #endif /* Give keyboard input to the top window -- should be window #1 */ #ifdef CONFIG_NX_KBD - message(MAIN_NAME_STRING ": Send keyboard input: %s\n", g_kbdmsg2); + message("nx_main: Send keyboard input: %s\n", g_kbdmsg2); ret = nx_kbdin(g_hnx, strlen((FAR const char *)g_kbdmsg2), g_kbdmsg2); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_kbdin failed: %d\n", errno); + message("nx_main: nx_kbdin failed: %d\n", errno); goto errout_with_hwnd2; } /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(1); #endif /* Raise window 2 */ - message(MAIN_NAME_STRING ": Raise window #2\n"); + message("nx_main: Raise window #2\n"); ret = nxeg_raise(hwnd2); if (ret < 0) { @@ -876,31 +868,31 @@ int MAIN_NAME(int argc, char *argv[]) /* Sleep a bit */ - message(MAIN_NAME_STRING ": Sleeping\n\n"); + message("nx_main: Sleeping\n\n"); sleep(2); /* Close the window 2 */ errout_with_hwnd2: - message(MAIN_NAME_STRING ": Close window #2\n"); + message("nx_main: Close window #2\n"); (void)nxeg_closewindow(hwnd2, &g_wstate[1]); /* Close the window1 */ errout_with_hwnd1: - message(MAIN_NAME_STRING ": Close window #1\n"); + message("nx_main: Close window #1\n"); (void)nxeg_closewindow(hwnd1, &g_wstate[0]); errout_with_nx: #ifdef CONFIG_NX_MULTIUSER /* Disconnect from the server */ - message(MAIN_NAME_STRING ": Disconnect from the server\n"); + message("nx_main: Disconnect from the server\n"); nx_disconnect(g_hnx); #else /* Close the server */ - message(MAIN_NAME_STRING ": Close NX\n"); + message("nx_main: Close NX\n"); nx_close(g_hnx); #endif errout: diff --git a/apps/examples/nxconsole/nxcon_main.c b/apps/examples/nxconsole/nxcon_main.c index 5a9d20307b..41d8efd196 100644 --- a/apps/examples/nxconsole/nxcon_main.c +++ b/apps/examples/nxconsole/nxcon_main.c @@ -207,10 +207,10 @@ static int nxcon_task(int argc, char **argv) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: nxcon_main ****************************************************************************/ -int user_start(int argc, char **argv) +int nxcon_main(int argc, char **argv) { nxgl_mxpixel_t color; int fd; @@ -219,7 +219,7 @@ int user_start(int argc, char **argv) /* General Initialization *************************************************/ /* Reset all global data */ - message("user_start: Started\n"); + message("nxcon_main: Started\n"); memset(&g_nxcon_vars, 0, sizeof(struct nxcon_state_s)); /* Call all C++ static constructors */ @@ -231,7 +231,7 @@ int user_start(int argc, char **argv) /* NSH Initialization *****************************************************/ /* Initialize the NSH library */ - message("user_start: Initialize NSH\n"); + message("nxcon_main: Initialize NSH\n"); nsh_initialize(); /* If the Telnet console is selected as a front-end, then start the @@ -252,37 +252,37 @@ int user_start(int argc, char **argv) /* NX Initialization ******************************************************/ /* Initialize NX */ - message("user_start: Initialize NX\n"); + message("nxcon_main: Initialize NX\n"); ret = nxcon_initialize(); - message("user_start: NX handle=%p\n", g_nxcon_vars.hnx); + message("nxcon_main: NX handle=%p\n", g_nxcon_vars.hnx); if (!g_nxcon_vars.hnx || ret < 0) { - message("user_start: Failed to get NX handle: %d\n", errno); + message("nxcon_main: Failed to get NX handle: %d\n", errno); goto errout; } /* Set the background to the configured background color */ - message("user_start: Set background color=%d\n", CONFIG_EXAMPLES_NXCON_BGCOLOR); + message("nxcon_main: Set background color=%d\n", CONFIG_EXAMPLES_NXCON_BGCOLOR); color = CONFIG_EXAMPLES_NXCON_BGCOLOR; ret = nx_setbgcolor(g_nxcon_vars.hnx, &color); if (ret < 0) { - message("user_start: nx_setbgcolor failed: %d\n", errno); + message("nxcon_main: nx_setbgcolor failed: %d\n", errno); goto errout_with_nx; } /* Window Configuration ***************************************************/ /* Create a window */ - message("user_start: Create window\n"); + message("nxcon_main: Create window\n"); g_nxcon_vars.hwnd = nxtk_openwindow(g_nxcon_vars.hnx, &g_nxconcb, NULL); if (!g_nxcon_vars.hwnd) { - message("user_start: nxtk_openwindow failed: %d\n", errno); + message("nxcon_main: nxtk_openwindow failed: %d\n", errno); goto errout_with_nx; } - message("user_start: hwnd=%p\n", g_nxcon_vars.hwnd); + message("nxcon_main: hwnd=%p\n", g_nxcon_vars.hwnd); /* Wait until we have the screen resolution. We'll have this immediately * unless we are dealing with the NX server. @@ -292,7 +292,7 @@ int user_start(int argc, char **argv) { (void)sem_wait(&g_nxcon_vars.eventsem); } - message("user_start: Screen resolution (%d,%d)\n", g_nxcon_vars.xres, g_nxcon_vars.yres); + message("nxcon_main: Screen resolution (%d,%d)\n", g_nxcon_vars.xres, g_nxcon_vars.yres); /* Determine the size and position of the window */ @@ -304,35 +304,35 @@ int user_start(int argc, char **argv) /* Set the window position */ - message("user_start: Set window position to (%d,%d)\n", + message("nxcon_main: Set window position to (%d,%d)\n", g_nxcon_vars.wpos.x, g_nxcon_vars.wpos.y); ret = nxtk_setposition(g_nxcon_vars.hwnd, &g_nxcon_vars.wpos); if (ret < 0) { - message("user_start: nxtk_setposition failed: %d\n", errno); + message("nxcon_main: nxtk_setposition failed: %d\n", errno); goto errout_with_hwnd; } /* Set the window size */ - message("user_start: Set window size to (%d,%d)\n", + message("nxcon_main: Set window size to (%d,%d)\n", g_nxcon_vars.wndo.wsize.w, g_nxcon_vars.wndo.wsize.h); ret = nxtk_setsize(g_nxcon_vars.hwnd, &g_nxcon_vars.wndo.wsize); if (ret < 0) { - message("user_start: nxtk_setsize failed: %d\n", errno); + message("nxcon_main: nxtk_setsize failed: %d\n", errno); goto errout_with_hwnd; } /* Open the toolbar */ - message("user_start: Add toolbar to window\n"); + message("nxcon_main: Add toolbar to window\n"); ret = nxtk_opentoolbar(g_nxcon_vars.hwnd, CONFIG_EXAMPLES_NXCON_TOOLBAR_HEIGHT, &g_nxtoolcb, NULL); if (ret < 0) { - message("user_start: nxtk_opentoolbar failed: %d\n", errno); + message("nxcon_main: nxtk_opentoolbar failed: %d\n", errno); goto errout_with_hwnd; } @@ -350,7 +350,7 @@ int user_start(int argc, char **argv) g_nxcon_vars.hdrvr = nxtk_register(g_nxcon_vars.hwnd, &g_nxcon_vars.wndo, CONFIG_EXAMPLES_NXCON_MINOR); if (!g_nxcon_vars.hdrvr) { - message("user_start: nxtk_register failed: %d\n", errno); + message("nxcon_main: nxtk_register failed: %d\n", errno); goto errout_with_hwnd; } @@ -359,7 +359,7 @@ int user_start(int argc, char **argv) fd = open(CONFIG_EXAMPLES_NXCON_DEVNAME, O_WRONLY); if (fd < 0) { - message("user_start: open %s read-only failed: %d\n", + message("nxcon_main: open %s read-only failed: %d\n", CONFIG_EXAMPLES_NXCON_DEVNAME, errno); goto errout_with_driver; } @@ -369,7 +369,7 @@ int user_start(int argc, char **argv) * Note that stdin is retained (file descriptor 0, probably the the serial console). */ - message("user_start: Starting the console task\n"); + message("nxcon_main: Starting the console task\n"); msgflush(); (void)fflush(stdout); diff --git a/apps/examples/nxffs/nxffs_main.c b/apps/examples/nxffs/nxffs_main.c index bc28cfa737..5401fc932c 100644 --- a/apps/examples/nxffs/nxffs_main.c +++ b/apps/examples/nxffs/nxffs_main.c @@ -789,10 +789,10 @@ static int nxffs_directory(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: nxffs_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int nxffs_main(int argc, char *argv[]) { FAR struct mtd_dev_s *mtd; unsigned int i; diff --git a/apps/examples/nxflat/nxflat_main.c b/apps/examples/nxflat/nxflat_main.c index 12d88c3d5c..68c2979da6 100644 --- a/apps/examples/nxflat/nxflat_main.c +++ b/apps/examples/nxflat/nxflat_main.c @@ -145,10 +145,10 @@ static inline void testheader(FAR const char *progname) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: nxflat_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int nxflat_main(int argc, char *argv[]) { struct binary_s bin; int ret; diff --git a/apps/examples/nxhello/nxhello_main.c b/apps/examples/nxhello/nxhello_main.c index cf8373856b..02344a45e2 100644 --- a/apps/examples/nxhello/nxhello_main.c +++ b/apps/examples/nxhello/nxhello_main.c @@ -203,18 +203,10 @@ static inline int nxhello_initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start/nxhello_main + * Name: nxhello_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_NXHELLO_BUILTIN -# define MAIN_NAME nxhello_main -# define MAIN_NAME_STRING "nxhello_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int nxhello_main(int argc, char *argv[]) { nxgl_mxpixel_t color; int ret; @@ -222,10 +214,10 @@ int MAIN_NAME(int argc, char *argv[]) /* Initialize NX */ ret = nxhello_initialize(); - message(MAIN_NAME_STRING ": NX handle=%p\n", g_nxhello.hnx); + message("nxhello_main: NX handle=%p\n", g_nxhello.hnx); if (!g_nxhello.hnx || ret < 0) { - message(MAIN_NAME_STRING ": Failed to get NX handle: %d\n", errno); + message("nxhello_main: Failed to get NX handle: %d\n", errno); g_nxhello.code = NXEXIT_NXOPEN; goto errout; } @@ -235,21 +227,21 @@ int MAIN_NAME(int argc, char *argv[]) g_nxhello.hfont = nxf_getfonthandle(CONFIG_EXAMPLES_NXHELLO_FONTID); if (!g_nxhello.hfont) { - message(MAIN_NAME_STRING ": Failed to get font handle: %d\n", errno); + message("nxhello_main: Failed to get font handle: %d\n", errno); g_nxhello.code = NXEXIT_FONTOPEN; goto errout; } /* Set the background to the configured background color */ - message(MAIN_NAME_STRING ": Set background color=%d\n", + message("nxhello_main: Set background color=%d\n", CONFIG_EXAMPLES_NXHELLO_BGCOLOR); color = CONFIG_EXAMPLES_NXHELLO_BGCOLOR; ret = nx_setbgcolor(g_nxhello.hnx, &color); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxhello_main: nx_setbgcolor failed: %d\n", errno); g_nxhello.code = NXEXIT_NXSETBGCOLOR; goto errout_with_nx; } @@ -259,7 +251,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = nx_requestbkgd(g_nxhello.hnx, &g_nxhellocb, NULL); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxhello_main: nx_setbgcolor failed: %d\n", errno); g_nxhello.code = NXEXIT_NXREQUESTBKGD; goto errout_with_nx; } @@ -272,7 +264,7 @@ int MAIN_NAME(int argc, char *argv[]) { (void)sem_wait(&g_nxhello.sem); } - message(MAIN_NAME_STRING ": Screen resolution (%d,%d)\n", g_nxhello.xres, g_nxhello.yres); + message("nxhello_main: Screen resolution (%d,%d)\n", g_nxhello.xres, g_nxhello.yres); /* Now, say hello and exit, sleeping a little before each. */ @@ -287,7 +279,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Close NX */ errout_with_nx: - message(MAIN_NAME_STRING ": Close NX\n"); + message("nxhello_main: Close NX\n"); nx_close(g_nxhello.hnx); errout: return g_nxhello.code; diff --git a/apps/examples/nximage/nximage_main.c b/apps/examples/nximage/nximage_main.c index 861cf0e61e..5b0249605a 100644 --- a/apps/examples/nximage/nximage_main.c +++ b/apps/examples/nximage/nximage_main.c @@ -207,22 +207,14 @@ static inline int nximage_initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start/nximage_main + * Name: nximage_main * * Description: * Main entry pointer. Configures the basic display resources. * ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_NXIMAGE_BUILTIN -# define MAIN_NAME nximage_main -# define MAIN_NAME_STRING "nximage_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int nximage_main(int argc, char *argv[]) { nxgl_mxpixel_t color; int ret; @@ -230,10 +222,10 @@ int MAIN_NAME(int argc, char *argv[]) /* Initialize NX */ ret = nximage_initialize(); - message(MAIN_NAME_STRING ": NX handle=%p\n", g_nximage.hnx); + message("nximage_main: NX handle=%p\n", g_nximage.hnx); if (!g_nximage.hnx || ret < 0) { - message(MAIN_NAME_STRING ": Failed to get NX handle: %d\n", errno); + message("nximage_main: Failed to get NX handle: %d\n", errno); g_nximage.code = NXEXIT_NXOPEN; goto errout; } @@ -241,12 +233,12 @@ int MAIN_NAME(int argc, char *argv[]) /* Set the background to the configured background color */ color = nximage_bgcolor(); - message(MAIN_NAME_STRING ": Set background color=%d\n", color); + message("nximage_main: Set background color=%d\n", color); ret = nx_setbgcolor(g_nximage.hnx, &color); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nximage_main: nx_setbgcolor failed: %d\n", errno); g_nximage.code = NXEXIT_NXSETBGCOLOR; goto errout_with_nx; } @@ -256,7 +248,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = nx_requestbkgd(g_nximage.hnx, &g_nximagecb, NULL); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nximage_main: nx_setbgcolor failed: %d\n", errno); g_nximage.code = NXEXIT_NXREQUESTBKGD; goto errout_with_nx; } @@ -269,7 +261,7 @@ int MAIN_NAME(int argc, char *argv[]) { (void)sem_wait(&g_nximage.sem); } - message(MAIN_NAME_STRING ": Screen resolution (%d,%d)\n", g_nximage.xres, g_nximage.yres); + message("nximage_main: Screen resolution (%d,%d)\n", g_nximage.xres, g_nximage.yres); /* Now, put up the NuttX logo. */ @@ -282,7 +274,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Close NX */ errout_with_nx: - message(MAIN_NAME_STRING ": Close NX\n"); + message("nximage_main: Close NX\n"); nx_close(g_nximage.hnx); errout: return g_nximage.code; diff --git a/apps/examples/nxlines/nxlines_main.c b/apps/examples/nxlines/nxlines_main.c index df946b8685..331fab6317 100644 --- a/apps/examples/nxlines/nxlines_main.c +++ b/apps/examples/nxlines/nxlines_main.c @@ -199,18 +199,10 @@ static inline int nxlines_initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start/nxlines_main + * Name: nxlines_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_NXLINES_BUILTIN -# define MAIN_NAME nxlines_main -# define MAIN_NAME_STRING "nxlines_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int nxlines_main(int argc, char *argv[]) { nxgl_mxpixel_t color; int ret; @@ -218,24 +210,24 @@ int MAIN_NAME(int argc, char *argv[]) /* Initialize NX */ ret = nxlines_initialize(); - message(MAIN_NAME_STRING ": NX handle=%p\n", g_nxlines.hnx); + message("nxlines_main: NX handle=%p\n", g_nxlines.hnx); if (!g_nxlines.hnx || ret < 0) { - message(MAIN_NAME_STRING ": Failed to get NX handle: %d\n", errno); + message("nxlines_main: Failed to get NX handle: %d\n", errno); g_nxlines.code = NXEXIT_NXOPEN; goto errout; } /* Set the background to the configured background color */ - message(MAIN_NAME_STRING ": Set background color=%d\n", + message("nxlines_main: Set background color=%d\n", CONFIG_EXAMPLES_NXLINES_BGCOLOR); color = CONFIG_EXAMPLES_NXLINES_BGCOLOR; ret = nx_setbgcolor(g_nxlines.hnx, &color); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxlines_main: nx_setbgcolor failed: %d\n", errno); g_nxlines.code = NXEXIT_NXSETBGCOLOR; goto errout_with_nx; } @@ -245,7 +237,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = nx_requestbkgd(g_nxlines.hnx, &g_nxlinescb, NULL); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxlines_main: nx_setbgcolor failed: %d\n", errno); g_nxlines.code = NXEXIT_NXREQUESTBKGD; goto errout_with_nx; } @@ -258,7 +250,7 @@ int MAIN_NAME(int argc, char *argv[]) { (void)sem_wait(&g_nxlines.sem); } - message(MAIN_NAME_STRING ": Screen resolution (%d,%d)\n", g_nxlines.xres, g_nxlines.yres); + message("nxlines_main: Screen resolution (%d,%d)\n", g_nxlines.xres, g_nxlines.yres); /* Now, say perform the lines (these test does not return so the remaining * logic is cosmetic). @@ -273,7 +265,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Close NX */ errout_with_nx: - message(MAIN_NAME_STRING ": Close NX\n"); + message("nxlines_main: Close NX\n"); nx_close(g_nxlines.hnx); errout: return g_nxlines.code; diff --git a/apps/examples/nxtext/nxtext_main.c b/apps/examples/nxtext/nxtext_main.c index 437b03e5a2..9a4b8eea49 100644 --- a/apps/examples/nxtext/nxtext_main.c +++ b/apps/examples/nxtext/nxtext_main.c @@ -345,18 +345,10 @@ static int nxtext_initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: user_start/nxtext_main + * Name: nxtext_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_NXTEXT_BUILTIN -# define MAIN_NAME nxtext_main -# define MAIN_NAME_STRING "nxtext_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char **argv) +int nxtext_main(int argc, char **argv) { FAR struct nxtext_state_s *bgstate; NXWINDOW hwnd = NULL; @@ -368,10 +360,10 @@ int MAIN_NAME(int argc, char **argv) /* Initialize NX */ ret = nxtext_initialize(); - message(MAIN_NAME_STRING ": NX handle=%p\n", g_hnx); + message("nxtext_main: NX handle=%p\n", g_hnx); if (!g_hnx || ret < 0) { - message(MAIN_NAME_STRING ": Failed to get NX handle: %d\n", errno); + message("nxtext_main: Failed to get NX handle: %d\n", errno); g_exitcode = NXEXIT_NXOPEN; goto errout; } @@ -381,7 +373,7 @@ int MAIN_NAME(int argc, char **argv) g_bghfont = nxf_getfonthandle(CONFIG_EXAMPLES_NXTEXT_BGFONTID); if (!g_bghfont) { - message(MAIN_NAME_STRING ": Failed to get background font handle: %d\n", errno); + message("nxtext_main: Failed to get background font handle: %d\n", errno); g_exitcode = NXEXIT_FONTOPEN; goto errout; } @@ -389,19 +381,19 @@ int MAIN_NAME(int argc, char **argv) g_puhfont = nxf_getfonthandle(CONFIG_EXAMPLES_NXTEXT_PUFONTID); if (!g_puhfont) { - message(MAIN_NAME_STRING ": Failed to get pop-up font handle: %d\n", errno); + message("nxtext_main: Failed to get pop-up font handle: %d\n", errno); g_exitcode = NXEXIT_FONTOPEN; goto errout; } /* Set the background to the configured background color */ - message(MAIN_NAME_STRING ": Set background color=%d\n", CONFIG_EXAMPLES_NXTEXT_BGCOLOR); + message("nxtext_main: Set background color=%d\n", CONFIG_EXAMPLES_NXTEXT_BGCOLOR); color = CONFIG_EXAMPLES_NXTEXT_BGCOLOR; ret = nx_setbgcolor(g_hnx, &color); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxtext_main: nx_setbgcolor failed: %d\n", errno); g_exitcode = NXEXIT_NXSETBGCOLOR; goto errout_with_nx; } @@ -412,7 +404,7 @@ int MAIN_NAME(int argc, char **argv) ret = nx_requestbkgd(g_hnx, &g_nxtextcb, bgstate); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); + message("nxtext_main: nx_setbgcolor failed: %d\n", errno); g_exitcode = NXEXIT_NXREQUESTBKGD; goto errout_with_nx; } @@ -425,7 +417,7 @@ int MAIN_NAME(int argc, char **argv) { (void)sem_wait(&g_semevent); } - message(MAIN_NAME_STRING ": Screen resolution (%d,%d)\n", g_xres, g_yres); + message("nxtext_main: Screen resolution (%d,%d)\n", g_xres, g_yres); /* Now loop, adding text to the background and periodically presenting * a pop-up window. @@ -453,11 +445,11 @@ int MAIN_NAME(int argc, char **argv) /* Give keyboard input to the top window (which should be the pop-up) */ #ifdef CONFIG_NX_KBD - message(MAIN_NAME_STRING ": Send keyboard input: %s\n", g_pumsg); + message("nxtext_main: Send keyboard input: %s\n", g_pumsg); ret = nx_kbdin(g_hnx, strlen((FAR const char *)g_pumsg), g_pumsg); if (ret < 0) { - message(MAIN_NAME_STRING ": nx_kbdin failed: %d\n", errno); + message("nxtext_main: nx_kbdin failed: %d\n", errno); goto errout_with_hwnd; } #endif @@ -466,7 +458,7 @@ int MAIN_NAME(int argc, char **argv) { /* Destroy the pop-up window and restart the sequence */ - message(MAIN_NAME_STRING ": Close pop-up\n"); + message("nxtext_main: Close pop-up\n"); (void)nxpu_close(hwnd); popcnt = 0; } @@ -488,7 +480,7 @@ int MAIN_NAME(int argc, char **argv) errout_with_hwnd: if (popcnt >= 3) { - message(MAIN_NAME_STRING ": Close pop-up\n"); + message("nxtext_main: Close pop-up\n"); (void)nxpu_close(hwnd); } @@ -499,12 +491,12 @@ errout_with_nx: #ifdef CONFIG_NX_MULTIUSER /* Disconnect from the server */ - message(MAIN_NAME_STRING ": Disconnect from the server\n"); + message("nxtext_main: Disconnect from the server\n"); nx_disconnect(g_hnx); #else /* Close the server */ - message(MAIN_NAME_STRING ": Close NX\n"); + message("nxtext_main: Close NX\n"); nx_close(g_hnx); #endif errout: diff --git a/apps/examples/ostest/main.c b/apps/examples/ostest/main.c index 7d63c0ff48..61a2af19a6 100644 --- a/apps/examples/ostest/main.c +++ b/apps/examples/ostest/main.c @@ -409,7 +409,7 @@ static int user_main(int argc, char *argv[]) check_test_memory_usage(); #endif /* CONFIG_PRIORITY_INHERITANCE && !CONFIG_DISABLE_SIGNALS && !CONFIG_DISABLE_PTHREAD */ - /* Compare memory usage at time user_start started until + /* Compare memory usage at time ostest_main started until * user_main exits. These should not be identical, but should * be similar enough that we can detect any serious OS memory * leaks. @@ -458,18 +458,10 @@ static void stdio_test(void) ****************************************************************************/ /**************************************************************************** - * user_start/ostest_main + * ostest_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_OSTEST_BUILTIN -# define MAIN_NAME ostest_main -# define MAIN_STRING "ostest_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - -int MAIN_NAME(int argc, char *argv[]) +int ostest_main(int argc, char *argv[]) { int result; @@ -492,19 +484,19 @@ int MAIN_NAME(int argc, char *argv[]) /* Set up some environment variables */ #ifndef CONFIG_DISABLE_ENVIRON - printf(MAIN_STRING "putenv(%s)\n", g_putenv_value); + printf("ostest_main: putenv(%s)\n", g_putenv_value); putenv(g_putenv_value); /* Varaible1=BadValue3 */ - printf(MAIN_STRING "setenv(%s, %s, TRUE)\n", g_var1_name, g_var1_value); + printf("ostest_main: setenv(%s, %s, TRUE)\n", g_var1_name, g_var1_value); setenv(g_var1_name, g_var1_value, TRUE); /* Variable1=GoodValue1 */ - printf(MAIN_STRING "setenv(%s, %s, FALSE)\n", g_var2_name, g_bad_value1); + printf("ostest_main: setenv(%s, %s, FALSE)\n", g_var2_name, g_bad_value1); setenv(g_var2_name, g_bad_value1, FALSE); /* Variable2=BadValue1 */ - printf(MAIN_STRING "setenv(%s, %s, TRUE)\n", g_var2_name, g_var2_value); + printf("ostest_main: setenv(%s, %s, TRUE)\n", g_var2_name, g_var2_value); setenv(g_var2_name, g_var2_value, TRUE); /* Variable2=GoodValue2 */ - printf(MAIN_STRING "setenv(%s, %s, FALSE)\n", g_var3_name, g_var3_name); + printf("ostest_main: setenv(%s, %s, FALSE)\n", g_var3_name, g_var3_name); setenv(g_var3_name, g_var3_value, FALSE); /* Variable3=GoodValue3 */ - printf(MAIN_STRING "setenv(%s, %s, FALSE)\n", g_var3_name, g_var3_name); + printf("ostest_main: setenv(%s, %s, FALSE)\n", g_var3_name, g_var3_name); setenv(g_var3_name, g_bad_value2, FALSE); /* Variable3=GoodValue3 */ show_environment(true, true, true); #endif @@ -518,13 +510,13 @@ int MAIN_NAME(int argc, char *argv[]) #endif if (result == ERROR) { - printf(MAIN_STRING "ERROR Failed to start user_main\n"); + printf("ostest_main: ERROR Failed to start user_main\n"); } else { - printf(MAIN_STRING "Started user_main at PID=%d\n", result); + printf("ostest_main: Started user_main at PID=%d\n", result); } - printf(MAIN_STRING "Exitting\n"); + printf("ostest_main: Exitting\n"); return 0; } diff --git a/apps/examples/pashello/pashello.c b/apps/examples/pashello/pashello.c index ae19c94f55..5e2fe8bf33 100644 --- a/apps/examples/pashello/pashello.c +++ b/apps/examples/pashello/pashello.c @@ -99,10 +99,10 @@ static void prun(FAR struct pexec_s *st) ****************************************************************************/ /**************************************************************************** - * user_start + * pashello_main ****************************************************************************/ -int user_start(int argc, FAR char *argv[]) +int pashello_main(int argc, FAR char *argv[]) { FAR struct pexec_s *st; @@ -115,11 +115,11 @@ int user_start(int argc, FAR char *argv[]) st = pload("/dev/hello", CONFIG_PASHELLO_VARSTACKSIZE, CONFIG_PASHELLO_STRSTACKSIZE); if (!st) { - fprintf(stderr, "user_start: ERROR: Could not load /dev/hello\n"); + fprintf(stderr, "pashello_main: ERROR: Could not load /dev/hello\n"); exit(1); } - printf("user_start: /dev/hello Loaded\n"); - printf("user_start: Interpreter started:\n"); + printf("pashello_main: /dev/hello Loaded\n"); + printf("pashello_main: Interpreter started:\n"); /* And start program execution */ @@ -127,7 +127,7 @@ int user_start(int argc, FAR char *argv[]) /* Clean up resources used by the interpreter */ - printf("user_start: Interpreter terminated"); + printf("pashello_main: Interpreter terminated"); pexec_release(st); return 0; } diff --git a/apps/examples/pipe/pipe_main.c b/apps/examples/pipe/pipe_main.c index 1f0f73032a..406832a98a 100644 --- a/apps/examples/pipe/pipe_main.c +++ b/apps/examples/pipe/pipe_main.c @@ -69,21 +69,21 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: pipe_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int pipe_main(int argc, char *argv[]) { int filedes[2]; int ret; /* Test FIFO logic */ - printf("\nuser_start: Performing FIFO test\n"); + printf("\npipe_main: Performing FIFO test\n"); ret = mkfifo(FIFO_PATH1, 0666); if (ret < 0) { - fprintf(stderr, "user_start: mkfifo failed with errno=%d\n", errno); + fprintf(stderr, "pipe_main: mkfifo failed with errno=%d\n", errno); return 1; } @@ -96,7 +96,7 @@ int user_start(int argc, char *argv[]) filedes[1] = open(FIFO_PATH1, O_WRONLY); if (filedes[1] < 0) { - fprintf(stderr, "user_start: Failed to open FIFO %s for writing, errno=%d\n", + fprintf(stderr, "pipe_main: Failed to open FIFO %s for writing, errno=%d\n", FIFO_PATH1, errno); return 2; } @@ -104,11 +104,11 @@ int user_start(int argc, char *argv[]) filedes[0] = open(FIFO_PATH1, O_RDONLY); if (filedes[0] < 0) { - fprintf(stderr, "user_start: Failed to open FIFO %s for reading, errno=%d\n", + fprintf(stderr, "pipe_main: Failed to open FIFO %s for reading, errno=%d\n", FIFO_PATH1, errno); if (close(filedes[1]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } return 3; } @@ -118,28 +118,28 @@ int user_start(int argc, char *argv[]) ret = transfer_test(filedes[0], filedes[1]); if (close(filedes[0]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } if (close(filedes[1]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } /* unlink(FIFO_PATH1); fails */ if (ret != 0) { - fprintf(stderr, "user_start: FIFO test FAILED (%d)\n", ret); + fprintf(stderr, "pipe_main: FIFO test FAILED (%d)\n", ret); return 4; } - printf("user_start: FIFO test PASSED\n"); + printf("pipe_main: FIFO test PASSED\n"); /* Test PIPE logic */ - printf("\nuser_start: Performing pipe test\n"); + printf("\npipe_main: Performing pipe test\n"); ret = pipe(filedes); if (ret < 0) { - fprintf(stderr, "user_start: pipe failed with errno=%d\n", errno); + fprintf(stderr, "pipe_main: pipe failed with errno=%d\n", errno); return 5; } @@ -148,41 +148,41 @@ int user_start(int argc, char *argv[]) ret = transfer_test(filedes[0], filedes[1]); if (close(filedes[0]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } if (close(filedes[1]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } if (ret != 0) { - fprintf(stderr, "user_start: PIPE test FAILED (%d)\n", ret); + fprintf(stderr, "pipe_main: PIPE test FAILED (%d)\n", ret); return 6; } - printf("user_start: PIPE test PASSED\n"); + printf("pipe_main: PIPE test PASSED\n"); /* Perform the FIFO interlock test */ - printf("\nuser_start: Performing pipe interlock test\n"); + printf("\npipe_main: Performing pipe interlock test\n"); ret = interlock_test(); if (ret != 0) { - fprintf(stderr, "user_start: FIFO interlock test FAILED (%d)\n", ret); + fprintf(stderr, "pipe_main: FIFO interlock test FAILED (%d)\n", ret); return 7; } - printf("user_start: PIPE interlock test PASSED\n"); + printf("pipe_main: PIPE interlock test PASSED\n"); /* Perform the pipe redirection test */ - printf("\nuser_start: Performing redirection test\n"); + printf("\npipe_main: Performing redirection test\n"); ret = redirection_test(); if (ret != 0) { - fprintf(stderr, "user_start: FIFO redirection test FAILED (%d)\n", ret); + fprintf(stderr, "pipe_main: FIFO redirection test FAILED (%d)\n", ret); return 7; } - printf("user_start: PIPE redirection test PASSED\n"); + printf("pipe_main: PIPE redirection test PASSED\n"); fflush(stdout); return 0; diff --git a/apps/examples/pipe/redirect_test.c b/apps/examples/pipe/redirect_test.c index 45e86c3560..db7c0b99a3 100644 --- a/apps/examples/pipe/redirect_test.c +++ b/apps/examples/pipe/redirect_test.c @@ -301,16 +301,16 @@ int redirection_test(void) if (close(filedes[0]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } if (close(filedes[1]) != 0) { - fprintf(stderr, "user_start: close failed: %d\n", errno); + fprintf(stderr, "pipe_main: close failed: %d\n", errno); } if (ret != 0) { - fprintf(stderr, "user_start: PIPE test FAILED (%d)\n", ret); + fprintf(stderr, "pipe_main: PIPE test FAILED (%d)\n", ret); return 6; } diff --git a/apps/examples/poll/poll_main.c b/apps/examples/poll/poll_main.c index 3db0150e77..9c3a096cba 100644 --- a/apps/examples/poll/poll_main.c +++ b/apps/examples/poll/poll_main.c @@ -74,10 +74,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: poll_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int poll_main(int argc, char *argv[]) { char buffer[64]; ssize_t nbytes; @@ -94,20 +94,20 @@ int user_start(int argc, char *argv[]) /* Open FIFOs */ - message("\nuser_start: Creating FIFO %s\n", FIFO_PATH1); + message("\npoll_main: Creating FIFO %s\n", FIFO_PATH1); ret = mkfifo(FIFO_PATH1, 0666); if (ret < 0) { - message("user_start: mkfifo failed: %d\n", errno); + message("poll_main: mkfifo failed: %d\n", errno); exitcode = 1; goto errout; } - message("\nuser_start: Creating FIFO %s\n", FIFO_PATH2); + message("\npoll_main: Creating FIFO %s\n", FIFO_PATH2); ret = mkfifo(FIFO_PATH2, 0666); if (ret < 0) { - message("user_start: mkfifo failed: %d\n", errno); + message("poll_main: mkfifo failed: %d\n", errno); exitcode = 2; goto errout; } @@ -117,7 +117,7 @@ int user_start(int argc, char *argv[]) fd1 = open(FIFO_PATH1, O_WRONLY); if (fd1 < 0) { - message("user_start: Failed to open FIFO %s for writing, errno=%d\n", + message("poll_main: Failed to open FIFO %s for writing, errno=%d\n", FIFO_PATH1, errno); exitcode = 3; goto errout; @@ -126,7 +126,7 @@ int user_start(int argc, char *argv[]) fd2 = open(FIFO_PATH2, O_WRONLY); if (fd2 < 0) { - message("user_start: Failed to open FIFO %s for writing, errno=%d\n", + message("poll_main: Failed to open FIFO %s for writing, errno=%d\n", FIFO_PATH2, errno); exitcode = 4; goto errout; @@ -134,39 +134,39 @@ int user_start(int argc, char *argv[]) /* Start the listeners */ - message("user_start: Starting poll_listener thread\n"); + message("poll_main: Starting poll_listener thread\n"); ret = pthread_create(&tid1, NULL, poll_listener, NULL); if (ret != 0) { - message("user_start: Failed to create poll_listener thread: %d\n", ret); + message("poll_main: Failed to create poll_listener thread: %d\n", ret); exitcode = 5; goto errout; } - message("user_start: Starting select_listener thread\n"); + message("poll_main: Starting select_listener thread\n"); ret = pthread_create(&tid2, NULL, select_listener, NULL); if (ret != 0) { - message("user_start: Failed to create select_listener thread: %d\n", ret); + message("poll_main: Failed to create select_listener thread: %d\n", ret); exitcode = 6; goto errout; } #ifdef HAVE_NETPOLL #ifdef CONFIG_NET_TCPBACKLOG - message("user_start: Starting net_listener thread\n"); + message("poll_main: Starting net_listener thread\n"); ret = pthread_create(&tid3, NULL, net_listener, NULL); #else - message("user_start: Starting net_reader thread\n"); + message("poll_main: Starting net_reader thread\n"); ret = pthread_create(&tid3, NULL, net_reader, NULL); #endif if (ret != 0) { - message("user_start: Failed to create net_listener thread: %d\n", ret); + message("poll_main: Failed to create net_listener thread: %d\n", ret); } #endif @@ -182,7 +182,7 @@ int user_start(int argc, char *argv[]) nbytes = write(fd1, buffer, strlen(buffer)); if (nbytes < 0) { - message("user_start: Write to fd1 failed: %d\n", errno); + message("poll_main: Write to fd1 failed: %d\n", errno); exitcode = 7; goto errout; } @@ -190,12 +190,12 @@ int user_start(int argc, char *argv[]) nbytes = write(fd2, buffer, strlen(buffer)); if (nbytes < 0) { - message("user_start: Write fd2 failed: %d\n", errno); + message("poll_main: Write fd2 failed: %d\n", errno); exitcode = 8; goto errout; } - message("\nuser_start: Sent '%s' (%d bytes)\n", buffer, nbytes); + message("\npoll_main: Sent '%s' (%d bytes)\n", buffer, nbytes); msgflush(); /* Wait awhile. This delay should be long enough that the diff --git a/apps/examples/pwm/pwm_main.c b/apps/examples/pwm/pwm_main.c index 64c5dfb2c0..775bdba6b1 100644 --- a/apps/examples/pwm/pwm_main.c +++ b/apps/examples/pwm/pwm_main.c @@ -269,7 +269,7 @@ static void parse_args(FAR struct pwm_state_s *pwm, int argc, FAR char **argv) ****************************************************************************/ /**************************************************************************** - * Name: user_start/pwm_main + * Name: pwm_main ****************************************************************************/ int pwm_main(int argc, char *argv[]) diff --git a/apps/examples/qencoder/qe_main.c b/apps/examples/qencoder/qe_main.c index c58a2b0ada..8c185ea1b7 100644 --- a/apps/examples/qencoder/qe_main.c +++ b/apps/examples/qencoder/qe_main.c @@ -59,14 +59,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME qe_main -# define MAIN_STRING "qe_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -245,10 +237,10 @@ static void parse_args(int argc, FAR char **argv) ****************************************************************************/ /**************************************************************************** - * Name: user_start/qe_main + * Name: qe_main ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int qe_main(int argc, char *argv[]) { int32_t position; int fd; @@ -266,11 +258,11 @@ int MAIN_NAME(int argc, char *argv[]) * this test. */ - message(MAIN_STRING "Initializing external encoder(s)\n"); + message("qe_main: Initializing external encoder(s)\n"); ret = qe_devinit(); if (ret != OK) { - message(MAIN_STRING "qe_devinit failed: %d\n", ret); + message("qe_main: qe_devinit failed: %d\n", ret); exitval = EXIT_FAILURE; goto errout; } @@ -289,13 +281,13 @@ int MAIN_NAME(int argc, char *argv[]) /* Open the encoder device for reading */ - message(MAIN_STRING "Hardware initialized. Opening the encoder device: %s\n", + message("qe_main: Hardware initialized. Opening the encoder device: %s\n", g_qeexample.devpath); fd = open(g_qeexample.devpath, O_RDONLY); if (fd < 0) { - message(MAIN_STRING "open %s failed: %d\n", g_qeexample.devpath, errno); + message("qe_main: open %s failed: %d\n", g_qeexample.devpath, errno); exitval = EXIT_FAILURE; goto errout_with_dev; } @@ -304,11 +296,11 @@ int MAIN_NAME(int argc, char *argv[]) if (g_qeexample.reset) { - message(MAIN_STRING "Resetting the count...\n"); + message("qe_main: Resetting the count...\n"); ret = ioctl(fd, QEIOC_RESET, 0); if (ret < 0) { - message(MAIN_STRING "ioctl(QEIOC_RESET) failed: %d\n", errno); + message("qe_main: ioctl(QEIOC_RESET) failed: %d\n", errno); exitval = EXIT_FAILURE; goto errout_with_dev; } @@ -319,10 +311,10 @@ int MAIN_NAME(int argc, char *argv[]) */ #if defined(CONFIG_NSH_BUILTIN_APPS) - message(MAIN_STRING "Number of samples: %d\n", g_qeexample.nloops); + message("qe_main: Number of samples: %d\n", g_qeexample.nloops); for (nloops = 0; nloops < g_qeexample.nloops; nloops++) #elif defined(CONFIG_EXAMPLES_QENCODER_NSAMPLES) - message(MAIN_STRING "Number of samples: %d\n", CONFIG_EXAMPLES_QENCODER_NSAMPLES); + message("qe_main: Number of samples: %d\n", CONFIG_EXAMPLES_QENCODER_NSAMPLES); for (nloops = 0; nloops < CONFIG_EXAMPLES_QENCODER_NSAMPLES; nloops++) #else for (;;) @@ -339,7 +331,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = ioctl(fd, QEIOC_POSITION, (unsigned long)((uintptr_t)&position)); if (ret < 0) { - message(MAIN_STRING "ioctl(QEIOC_POSITION) failed: %d\n", errno); + message("qe_main: ioctl(QEIOC_POSITION) failed: %d\n", errno); exitval = EXIT_FAILURE; goto errout_with_dev; } @@ -348,7 +340,7 @@ int MAIN_NAME(int argc, char *argv[]) else { - message(MAIN_STRING "%3d. %d\n", nloops+1, position); + message("qe_main: %3d. %d\n", nloops+1, position); } /* Delay a little bit */ diff --git a/apps/examples/rgmp/main.c b/apps/examples/rgmp/main.c index ec6450c50f..a1fa6cdc39 100644 --- a/apps/examples/rgmp/main.c +++ b/apps/examples/rgmp/main.c @@ -54,10 +54,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * rgmp_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int rgmp_main(int argc, char *argv[]) { // TODO: add your code here diff --git a/apps/examples/romfs/romfs_main.c b/apps/examples/romfs/romfs_main.c index 32b3d2654b..4870ff4f81 100644 --- a/apps/examples/romfs/romfs_main.c +++ b/apps/examples/romfs/romfs_main.c @@ -452,10 +452,10 @@ static void checkdirectories(struct node_s *entry) ****************************************************************************/ /**************************************************************************** - * Name: user_start + * Name: romfs_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int romfs_main(int argc, char *argv[]) { int ret; diff --git a/apps/examples/sendmail/target.c b/apps/examples/sendmail/target.c index a614c40cbb..8440c78137 100644 --- a/apps/examples/sendmail/target.c +++ b/apps/examples/sendmail/target.c @@ -99,10 +99,10 @@ static const char g_msg_body[] = CONFIG_EXAMPLE_SENDMAIL_BODY "\r\n"; ****************************************************************************/ /**************************************************************************** - * user_start + * sendmail_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int sendmail_main(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_SENDMAIL_NOMAC) diff --git a/apps/examples/serloop/main.c b/apps/examples/serloop/main.c index 3c635fe886..f0e3ac2387 100644 --- a/apps/examples/serloop/main.c +++ b/apps/examples/serloop/main.c @@ -56,10 +56,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * serloop_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int serloop_main(int argc, char *argv[]) { #ifdef CONFIG_EXAMPLES_SERLOOP_BUFIO int ch; diff --git a/apps/examples/telnetd/shell.c b/apps/examples/telnetd/shell.c index 01c620e1eb..3033698c5f 100644 --- a/apps/examples/telnetd/shell.c +++ b/apps/examples/telnetd/shell.c @@ -222,14 +222,14 @@ static void shell_netinit(void) * Public Functions ****************************************************************************/ -int MAIN_NAME(int argc, char *argv[]) +int shell_main(int argc, char *argv[]) { struct telnetd_config_s config; int ret; /* Configure the network */ - printf(MAIN_STRING "Initializing the network\n"); + printf("shell_main: Initializing the network\n"); shell_netinit(); /* Configure the telnet daemon */ @@ -243,13 +243,13 @@ int MAIN_NAME(int argc, char *argv[]) /* Start the telnet daemon */ - printf(MAIN_STRING "Starting the Telnet daemon\n"); + printf("shell_main: Starting the Telnet daemon\n"); ret = telnetd_start(&config); if (ret < 0) { printf("Failed to tart the Telnet daemon\n"); } - printf(MAIN_STRING "Exiting\n"); + printf("shell_main: Exiting\n"); return 0; } diff --git a/apps/examples/telnetd/shell.h b/apps/examples/telnetd/shell.h index 23b30fda7f..a5cec32b38 100644 --- a/apps/examples/telnetd/shell.h +++ b/apps/examples/telnetd/shell.h @@ -81,16 +81,6 @@ # define CONFIG_EXAMPLE_TELNETD_NETMASK 0xffffff00 #endif -/* Is this being built as an NSH built-in application? */ - -#ifdef CONFIG_NSH_BUILTIN_APPS -# define MAIN_NAME shell_main -# define MAIN_STRING "shell_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - /* Other definitions ********************************************************/ #define SHELL_PROMPT "uIP 1.0> " diff --git a/apps/examples/thttpd/main.c b/apps/examples/thttpd/main.c index ab69c60b21..4f8315d959 100644 --- a/apps/examples/thttpd/main.c +++ b/apps/examples/thttpd/main.c @@ -166,10 +166,10 @@ int g_thttpdnsymbols; ****************************************************************************/ /**************************************************************************** - * user_start + * thttp_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int thttp_main(int argc, char *argv[]) { struct in_addr addr; #ifdef CONFIG_EXAMPLE_THTTPD_NOMAC diff --git a/apps/examples/tiff/tiff_main.c b/apps/examples/tiff/tiff_main.c index d59f42cb4c..1be2b09c5e 100644 --- a/apps/examples/tiff/tiff_main.c +++ b/apps/examples/tiff/tiff_main.c @@ -98,20 +98,14 @@ ****************************************************************************/ /**************************************************************************** - * Name: tiff_main/user_start + * Name: tiff_main * * Description: * TIFF unit test. * ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_TIFF_BUILTIN -# define MAIN_NAME tiff_main -#else -# define MAIN_NAME user_start -#endif - -int MAIN_NAME(int argc, char *argv[]) +int tiff_main(int argc, char *argv[]) { struct tiff_info_s info; uint8_t strip[3*256]; diff --git a/apps/examples/touchscreen/tc_main.c b/apps/examples/touchscreen/tc_main.c index 162025c790..76653bb8f7 100644 --- a/apps/examples/touchscreen/tc_main.c +++ b/apps/examples/touchscreen/tc_main.c @@ -81,18 +81,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: user_start/nxhello_main + * Name: tc_main ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN -# define MAIN_NAME tc_main -# define MAIN_STRING "tc_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - -int MAIN_NAME(int argc, char *argv[]) +int tc_main(int argc, char *argv[]) { struct touch_sample_s sample; ssize_t nbytes; @@ -113,31 +105,31 @@ int MAIN_NAME(int argc, char *argv[]) { nsamples = strtol(argv[1], NULL, 10); } - message(MAIN_STRING "nsamples: %d\n", nsamples); + message("tc_main: nsamples: %d\n", nsamples); #elif defined(CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES) - message(MAIN_STRING "nsamples: %d\n", CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES); + message("tc_main: nsamples: %d\n", CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES); #endif /* Initialization of the touchscreen hardware is performed by logic * external to this test. */ - message(MAIN_STRING "Initializing external touchscreen device\n"); + message("tc_main: Initializing external touchscreen device\n"); ret = arch_tcinitialize(CONFIG_EXAMPLES_TOUCHSCREEN_MINOR); if (ret != OK) { - message(MAIN_STRING "arch_tcinitialize failed: %d\n", ret); + message("tc_main: arch_tcinitialize failed: %d\n", ret); errval = 1; goto errout; } /* Open the touchscreen device for reading */ - message(MAIN_STRING "Opening %s\n", CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH); + message("tc_main: Opening %s\n", CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH); fd = open(CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH, O_RDONLY); if (fd < 0) { - message(MAIN_STRING "open %s failed: %d\n", + message("tc_main: open %s failed: %d\n", CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH, errno); errval = 2; goto errout_with_tc; @@ -174,17 +166,17 @@ int MAIN_NAME(int argc, char *argv[]) errval = errno; if (errval != EINTR) { - message(MAIN_STRING "read %s failed: %d\n", + message("tc_main: read %s failed: %d\n", CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH, errval); errval = 3; goto errout_with_dev; } - message(MAIN_STRING "Interrupted read...\n"); + message("tc_main: Interrupted read...\n"); } else if (nbytes != sizeof(struct touch_sample_s)) { - message(MAIN_STRING "Unexpected read size=%d, expected=%d, Ignoring\n", + message("tc_main: Unexpected read size=%d, expected=%d, Ignoring\n", nbytes, sizeof(struct touch_sample_s)); } diff --git a/apps/examples/udp/target.c b/apps/examples/udp/target.c index defbc7e057..ac3dc6ce85 100644 --- a/apps/examples/udp/target.c +++ b/apps/examples/udp/target.c @@ -59,10 +59,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * udp_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int udp_main(int argc, char *argv[]) { struct in_addr addr; diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c index 8712b9a28f..9593d4d25f 100644 --- a/apps/examples/uip/main.c +++ b/apps/examples/uip/main.c @@ -105,10 +105,10 @@ ****************************************************************************/ /**************************************************************************** - * user_start + * uip_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int uip_main(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_UIP_DHCPC) || defined(CONFIG_EXAMPLE_UIP_NOMAC) diff --git a/apps/examples/usbserial/main.c b/apps/examples/usbserial/main.c index 4e59c1ece4..c73881a44d 100644 --- a/apps/examples/usbserial/main.c +++ b/apps/examples/usbserial/main.c @@ -198,10 +198,10 @@ static void dumptrace(void) ****************************************************************************/ /**************************************************************************** - * user_start + * usbserial_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int usbserial_main(int argc, char *argv[]) { #ifndef CONFIG_EXAMPLES_USBSERIAL_INONLY int infd; @@ -220,7 +220,7 @@ int user_start(int argc, char *argv[]) /* Initialize the USB serial driver */ - message("user_start: Registering USB serial driver\n"); + message("usbserial_main: Registering USB serial driver\n"); #ifdef CONFIG_CDCACM ret = cdcacm_initialize(0, NULL); #else @@ -228,10 +228,10 @@ int user_start(int argc, char *argv[]) #endif if (ret < 0) { - message("user_start: ERROR: Failed to create the USB serial device: %d\n", -ret); + message("usbserial_main: ERROR: Failed to create the USB serial device: %d\n", -ret); return 1; } - message("user_start: Successfully registered the serial driver\n"); + message("usbserial_main: Successfully registered the serial driver\n"); #if CONFIG_USBDEV_TRACE && CONFIG_USBDEV_TRACE_INITIALIDSET != 0 /* If USB tracing is enabled and tracing of initial USB events is specified, @@ -251,25 +251,25 @@ int user_start(int argc, char *argv[]) #ifndef CONFIG_EXAMPLES_USBSERIAL_OUTONLY do { - message("user_start: Opening USB serial driver\n"); + message("usbserial_main: Opening USB serial driver\n"); outfd = open(USBSER_DEVNAME, O_WRONLY); if (outfd < 0) { int errcode = errno; - message("user_start: ERROR: Failed to open " USBSER_DEVNAME " for writing: %d\n", errcode); + message("usbserial_main: ERROR: Failed to open " USBSER_DEVNAME " for writing: %d\n", errcode); /* ENOTCONN means that the USB device is not yet connected */ if (errcode == ENOTCONN) { - message("user_start: Not connected. Wait and try again.\n"); + message("usbserial_main: Not connected. Wait and try again.\n"); sleep(5); } else { /* Give up on other errors */ - message("user_start: Aborting\n"); + message("usbserial_main: Aborting\n"); return 2; } } @@ -288,7 +288,7 @@ int user_start(int argc, char *argv[]) infd = open(USBSER_DEVNAME, O_RDONLY|O_NONBLOCK); if (infd < 0) { - message("user_start: ERROR: Failed to open " USBSER_DEVNAME " for reading: %d\n", errno); + message("usbserial_main: ERROR: Failed to open " USBSER_DEVNAME " for reading: %d\n", errno); close(outfd); return 3; } @@ -299,20 +299,20 @@ int user_start(int argc, char *argv[]) if (infd < 0) { int errcode = errno; - message("user_start: ERROR: Failed to open " USBSER_DEVNAME " for reading: %d\n", errno); + message("usbserial_main: ERROR: Failed to open " USBSER_DEVNAME " for reading: %d\n", errno); /* ENOTCONN means that the USB device is not yet connected */ if (errcode == ENOTCONN) { - message("user_start: Not connected. Wait and try again.\n"); + message("usbserial_main: Not connected. Wait and try again.\n"); sleep(5); } else { /* Give up on other errors */ - message("user_start: Aborting\n"); + message("usbserial_main: Aborting\n"); return 3; } } @@ -325,7 +325,7 @@ int user_start(int argc, char *argv[]) #endif #endif - message("user_start: Successfully opened the serial driver\n"); + message("usbserial_main: Successfully opened the serial driver\n"); /* Send messages and get responses -- forever */ @@ -337,21 +337,21 @@ int user_start(int argc, char *argv[]) #if !defined(CONFIG_EXAMPLES_USBSERIAL_ONLYBIG) && !defined(CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL) if (count < 8) { - message("user_start: Saying hello\n"); + message("usbserial_main: Saying hello\n"); nbytes = write(outfd, g_shortmsg, sizeof(g_shortmsg)); count++; } else { - message("user_start: Reciting QEI's speech of 1588\n"); + message("usbserial_main: Reciting QEI's speech of 1588\n"); nbytes = write(outfd, g_longmsg, sizeof(g_longmsg)); count = 0; } #elif !defined(CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL) - message("user_start: Reciting QEI's speech of 1588\n"); + message("usbserial_main: Reciting QEI's speech of 1588\n"); nbytes = write(outfd, g_longmsg, sizeof(g_longmsg)); #else /* !defined(CONFIG_EXAMPLES_USBSERIAL_ONLYBIG) */ - message("user_start: Saying hello\n"); + message("usbserial_main: Saying hello\n"); nbytes = write(outfd, g_shortmsg, sizeof(g_shortmsg)); #endif @@ -359,14 +359,14 @@ int user_start(int argc, char *argv[]) if (nbytes < 0) { - message("user_start: ERROR: write failed: %d\n", errno); + message("usbserial_main: ERROR: write failed: %d\n", errno); #ifndef CONFIG_EXAMPLES_USBSERIAL_INONLY close(infd); #endif close(outfd); return 4; } - message("user_start: %d bytes sent\n", nbytes); + message("usbserial_main: %d bytes sent\n", nbytes); #endif /* CONFIG_EXAMPLES_USBSERIAL_OUTONLY */ /* Test OUT (host-to-device) messages */ @@ -374,7 +374,7 @@ int user_start(int argc, char *argv[]) #ifndef CONFIG_EXAMPLES_USBSERIAL_INONLY /* Poll for incoming messages */ - message("user_start: Polling for OUT messages\n"); + message("usbserial_main: Polling for OUT messages\n"); for (i = 0; i < 5; i++) { memset(g_iobuffer, 'X', IOBUFFER_SIZE); @@ -384,7 +384,7 @@ int user_start(int argc, char *argv[]) int errorcode = errno; if (errorcode != EAGAIN) { - message("user_start: ERROR: read failed: %d\n", errno); + message("usbserial_main: ERROR: read failed: %d\n", errno); close(infd); #ifndef CONFIG_EXAMPLES_USBSERIAL_OUTONLY close(outfd); @@ -394,12 +394,12 @@ int user_start(int argc, char *argv[]) } else { - message("user_start: Received %d bytes:\n", nbytes); + message("usbserial_main: Received %d bytes:\n", nbytes); if (nbytes > 0) { for (j = 0; j < nbytes; j += 16) { - message("user_start: %03x: ", j); + message("usbserial_main: %03x: ", j); for (k = 0; k < 16; k++) { if (k == 8) @@ -445,7 +445,7 @@ int user_start(int argc, char *argv[]) sleep(1); } #else /* CONFIG_EXAMPLES_USBSERIAL_INONLY */ - message("user_start: Waiting\n"); + message("usbserial_main: Waiting\n"); sleep(5); #endif /* CONFIG_EXAMPLES_USBSERIAL_INONLY */ diff --git a/apps/examples/usbstorage/usbmsc_main.c b/apps/examples/usbstorage/usbmsc_main.c index 45feafc591..ac7b82d017 100644 --- a/apps/examples/usbstorage/usbmsc_main.c +++ b/apps/examples/usbstorage/usbmsc_main.c @@ -379,7 +379,7 @@ static int usbmsc_enumerate(struct usbtrace_s *trace, void *arg) ****************************************************************************/ /**************************************************************************** - * user_start/msconn_main + * msconn_main * * Description: * This is the main program that configures the USB mass storage device @@ -389,15 +389,7 @@ static int usbmsc_enumerate(struct usbtrace_s *trace, void *arg) * ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_USBMSC_BUILTIN -# define MAIN_NAME msconn_main -# define MAIN_NAME_STRING "msconn" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int msconn_main(int argc, char *argv[]) { FAR void *handle; int ret; @@ -414,7 +406,7 @@ int MAIN_NAME(int argc, char *argv[]) if (g_usbmsc.mshandle) { - message(MAIN_NAME_STRING ": ERROR: Already connected\n"); + message("msconn_main: ERROR: Already connected\n"); return 1; } #endif @@ -436,33 +428,33 @@ int MAIN_NAME(int argc, char *argv[]) /* Register block drivers (architecture-specific) */ - message(MAIN_NAME_STRING ": Creating block drivers\n"); + message("msconn_main: Creating block drivers\n"); ret = usbmsc_archinitialize(); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_archinitialize failed: %d\n", -ret); + message("msconn_main: usbmsc_archinitialize failed: %d\n", -ret); return 2; } check_test_memory_usage("After usbmsc_archinitialize()"); /* Then exports the LUN(s) */ - message(MAIN_NAME_STRING ": Configuring with NLUNS=%d\n", CONFIG_EXAMPLES_USBMSC_NLUNS); + message("msconn_main: Configuring with NLUNS=%d\n", CONFIG_EXAMPLES_USBMSC_NLUNS); ret = usbmsc_configure(CONFIG_EXAMPLES_USBMSC_NLUNS, &handle); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_configure failed: %d\n", -ret); + message("msconn_main: usbmsc_configure failed: %d\n", -ret); usbmsc_uninitialize(handle); return 3; } - message(MAIN_NAME_STRING ": handle=%p\n", handle); + message("msconn_main: handle=%p\n", handle); check_test_memory_usage("After usbmsc_configure()"); - message(MAIN_NAME_STRING ": Bind LUN=0 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH1); + message("msconn_main: Bind LUN=0 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH1); ret = usbmsc_bindlun(handle, CONFIG_EXAMPLES_USBMSC_DEVPATH1, 0, 0, 0, false); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_bindlun failed for LUN 1 using %s: %d\n", + message("msconn_main: usbmsc_bindlun failed for LUN 1 using %s: %d\n", CONFIG_EXAMPLES_USBMSC_DEVPATH1, -ret); usbmsc_uninitialize(handle); return 4; @@ -471,11 +463,11 @@ int MAIN_NAME(int argc, char *argv[]) #if CONFIG_EXAMPLES_USBMSC_NLUNS > 1 - message(MAIN_NAME_STRING ": Bind LUN=1 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH2); + message("msconn_main: Bind LUN=1 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH2); ret = usbmsc_bindlun(handle, CONFIG_EXAMPLES_USBMSC_DEVPATH2, 1, 0, 0, false); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_bindlun failed for LUN 2 using %s: %d\n", + message("msconn_main: usbmsc_bindlun failed for LUN 2 using %s: %d\n", CONFIG_EXAMPLES_USBMSC_DEVPATH2, -ret); usbmsc_uninitialize(handle); return 5; @@ -484,11 +476,11 @@ int MAIN_NAME(int argc, char *argv[]) #if CONFIG_EXAMPLES_USBMSC_NLUNS > 2 - message(MAIN_NAME_STRING ": Bind LUN=2 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH3); + message("msconn_main: Bind LUN=2 to %s\n", CONFIG_EXAMPLES_USBMSC_DEVPATH3); ret = usbmsc_bindlun(handle, CONFIG_EXAMPLES_USBMSC_DEVPATH3, 2, 0, 0, false); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_bindlun failed for LUN 3 using %s: %d\n", + message("msconn_main: usbmsc_bindlun failed for LUN 3 using %s: %d\n", CONFIG_EXAMPLES_USBMSC_DEVPATH3, -ret); usbmsc_uninitialize(handle); return 6; @@ -501,7 +493,7 @@ int MAIN_NAME(int argc, char *argv[]) ret = usbmsc_exportluns(handle); if (ret < 0) { - message(MAIN_NAME_STRING ": usbmsc_exportluns failed: %d\n", -ret); + message("msconn_main: usbmsc_exportluns failed: %d\n", -ret); usbmsc_uninitialize(handle); return 7; } @@ -522,17 +514,17 @@ int MAIN_NAME(int argc, char *argv[]) sleep(5); # ifdef CONFIG_USBDEV_TRACE - message("\nuser_start: USB TRACE DATA:\n"); + message("\nmsconn_main: USB TRACE DATA:\n"); ret = usbtrace_enumerate(usbmsc_enumerate, NULL); if (ret < 0) { - message(MAIN_NAME_STRING ": usbtrace_enumerate failed: %d\n", -ret); + message("msconn_main: usbtrace_enumerate failed: %d\n", -ret); usbmsc_uninitialize(handle); return 8; } check_test_memory_usage("After usbtrace_enumerate()"); # else - message(MAIN_NAME_STRING ": Still alive\n"); + message("msconn_main: Still alive\n"); # endif } #elif defined(CONFIG_EXAMPLES_USBMSC_BUILTIN) @@ -541,7 +533,7 @@ int MAIN_NAME(int argc, char *argv[]) * command. */ - message(MAIN_NAME_STRING ": Connected\n"); + message("msconn_main: Connected\n"); g_usbmsc.mshandle = handle; check_test_memory_usage("After MS connection"); @@ -549,7 +541,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Just exit */ - message(MAIN_NAME_STRING ": Exiting\n"); + message("msconn_main: Exiting\n"); /* Dump debug memory usage */ diff --git a/apps/examples/usbterm/usbterm_main.c b/apps/examples/usbterm/usbterm_main.c index 6e8e68412e..69301dfcd2 100644 --- a/apps/examples/usbterm/usbterm_main.c +++ b/apps/examples/usbterm/usbterm_main.c @@ -177,22 +177,14 @@ FAR void *usbterm_listener(FAR void *parameter) ****************************************************************************/ /**************************************************************************** - * Name: term_main/user_start + * Name: usbterm_main * * Description: * Main entry point for the USB serial terminal example. * ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_USBTERM_BUILTIN -# define MAIN_NAME usbterm_main -# define MAIN_STRING "usbterm_main: " -#else -# define MAIN_NAME user_start -# define MAIN_STRING "user_start: " -#endif - -int MAIN_NAME(int argc, char *argv[]) +int usbterm_main(int argc, char *argv[]) { pthread_attr_t attr; int ret; @@ -206,18 +198,18 @@ int MAIN_NAME(int argc, char *argv[]) */ #ifdef CONFIG_EXAMPLES_USBTERM_DEVINIT - message(MAIN_STRING "Performing external device initialization\n"); + message("usbterm_main: Performing external device initialization\n"); ret = usbterm_devinit(); if (ret != OK) { - message(MAIN_STRING "usbterm_devinit failed: %d\n", ret); + message("usbterm_main: usbterm_devinit failed: %d\n", ret); goto errout; } #endif /* Initialize the USB serial driver */ - message(MAIN_STRING "Registering USB serial driver\n"); + message("usbterm_main: Registering USB serial driver\n"); #ifdef CONFIG_CDCACM ret = cdcacm_initialize(0, NULL); #else @@ -225,10 +217,10 @@ int MAIN_NAME(int argc, char *argv[]) #endif if (ret < 0) { - message(MAIN_STRING "ERROR: Failed to create the USB serial device: %d\n", -ret); + message("usbterm_main: ERROR: Failed to create the USB serial device: %d\n", -ret); goto errout_with_devinit; } - message(MAIN_STRING "Successfully registered the serial driver\n"); + message("usbterm_main: Successfully registered the serial driver\n"); #if CONFIG_USBDEV_TRACE && CONFIG_USBDEV_TRACE_INITIALIDSET != 0 /* If USB tracing is enabled and tracing of initial USB events is specified, @@ -247,20 +239,20 @@ int MAIN_NAME(int argc, char *argv[]) do { - message(MAIN_STRING "Opening USB serial driver\n"); + message("usbterm_main: Opening USB serial driver\n"); g_usbterm.outstream = fopen(USBTERM_DEVNAME, "w"); if (g_usbterm.outstream == NULL) { int errcode = errno; - message(MAIN_STRING "ERROR: Failed to open " USBTERM_DEVNAME " for writing: %d\n", + message("usbterm_main: ERROR: Failed to open " USBTERM_DEVNAME " for writing: %d\n", errcode); /* ENOTCONN means that the USB device is not yet connected */ if (errcode == ENOTCONN) { - message(MAIN_STRING " Not connected. Wait and try again.\n"); + message("usbterm_main: Not connected. Wait and try again.\n"); sleep(5); } else @@ -284,20 +276,20 @@ int MAIN_NAME(int argc, char *argv[]) g_usbterm.instream = fopen(USBTERM_DEVNAME, "r"); if (g_usbterm.instream == NULL) { - message(MAIN_STRING "ERROR: Failed to open " USBTERM_DEVNAME " for reading: %d\n", errno); + message("usbterm_main: ERROR: Failed to open " USBTERM_DEVNAME " for reading: %d\n", errno); goto errout_with_outstream; } - message(MAIN_STRING "Successfully opened the serial driver\n"); + message("usbterm_main: Successfully opened the serial driver\n"); /* Start the USB term listener thread */ - message(MAIN_STRING "Starting the listener thread\n"); + message("usbterm_main: Starting the listener thread\n"); ret = pthread_attr_init(&attr); if (ret != OK) { - message(MAIN_STRING "pthread_attr_init failed: %d\n", ret); + message("usbterm_main: pthread_attr_init failed: %d\n", ret); goto errout_with_streams; } @@ -305,13 +297,13 @@ int MAIN_NAME(int argc, char *argv[]) usbterm_listener, (pthread_addr_t)0); if (ret != 0) { - message(MAIN_STRING "Error in thread creation: %d\n", ret); + message("usbterm_main: Error in thread creation: %d\n", ret); goto errout_with_streams; } /* Send messages and get responses -- forever */ - message(MAIN_STRING "Waiting for local input\n"); + message("usbterm_main: Waiting for local input\n"); for (;;) { /* Display the prompt string on stdout */ @@ -378,7 +370,7 @@ errout_with_devinit: usbterm_devuninit(); errout: #endif - message(MAIN_STRING " Aborting\n"); + message("usbterm_main: Aborting\n"); return 1; } diff --git a/apps/examples/watchdog/watchdog_main.c b/apps/examples/watchdog/watchdog_main.c index c1341e0fb9..53099d21a5 100644 --- a/apps/examples/watchdog/watchdog_main.c +++ b/apps/examples/watchdog/watchdog_main.c @@ -217,7 +217,7 @@ static void parse_args(FAR struct wdog_example_s *wdog, int argc, FAR char **arg ****************************************************************************/ /**************************************************************************** - * Name: user_start/wdog_main + * Name: wdog_main ****************************************************************************/ int wdog_main(int argc, char *argv[]) diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c index fa30e037ba..5c5c656653 100644 --- a/apps/examples/wget/target.c +++ b/apps/examples/wget/target.c @@ -106,10 +106,10 @@ static void callback(FAR char **buffer, int offset, int datend, ****************************************************************************/ /**************************************************************************** - * user_start + * wget_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int wget_main(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_WGET_NOMAC) diff --git a/apps/examples/wlan/wlan_main.c b/apps/examples/wlan/wlan_main.c index d1fb44e94b..dcb8c770ac 100644 --- a/apps/examples/wlan/wlan_main.c +++ b/apps/examples/wlan/wlan_main.c @@ -258,32 +258,32 @@ static int wlan_waiter(int argc, char *argv[]) } /**************************************************************************** - * Name: user_start + * Name: wlan_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int wlan_main(int argc, char *argv[]) { pid_t pid; int ret; /* First, register all of the USB host Wireless LAN drivers */ - printf("user_start: Register drivers\n"); + printf("wlan_main: Register drivers\n"); ret = usbhost_wlaninit(); if (ret != OK) { - printf("user_start: Failed to register the WLAN driver\n"); + printf("wlan_main: Failed to register the WLAN driver\n"); } /* Then get an instance of the USB host interface */ - printf("user_start: Initialize USB host WLAN driver\n"); + printf("wlan_main: Initialize USB host WLAN driver\n"); g_drvr = usbhost_initialize(0); if (g_drvr) { /* Start a thread to handle device connection. */ - printf("user_start: Start wlan_waiter\n"); + printf("wlan_main: Start wlan_waiter\n"); #ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_EXAMPLES_WLAN_DEFPRIO, diff --git a/apps/interpreters/README.txt b/apps/interpreters/README.txt index 8cf7ce321b..f33c75df1c 100644 --- a/apps/interpreters/README.txt +++ b/apps/interpreters/README.txt @@ -58,7 +58,7 @@ pcode Pascal P-Code at runtime. To use this example, place the following in your appconfig file" - # Path to example in apps/examples containing the user_start entry point + # Path to example in apps/examples containing the passhello_main entry point CONFIGURED_APPS += examples/pashello diff --git a/apps/system/i2c/i2c_main.c b/apps/system/i2c/i2c_main.c index 2a0e5d626d..fbaf677aa6 100644 --- a/apps/system/i2c/i2c_main.c +++ b/apps/system/i2c/i2c_main.c @@ -351,15 +351,7 @@ static void i2c_teardown(FAR struct i2ctool_s *i2ctool) * Name: i2c_main ****************************************************************************/ -#ifdef CONFIG_I2CTOOL_BUILTIN -# define MAIN_NAME i2c_main -# define MAIN_NAME_STRING "i2c_main" -#else -# define MAIN_NAME user_start -# define MAIN_NAME_STRING "user_start" -#endif - -int MAIN_NAME(int argc, char *argv[]) +int i2c_main(int argc, char *argv[]) { /* Verify settings */ diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index d628fffbb9..9cf8f14be2 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3221,3 +3221,7 @@ common configurations and in configs/*/README.txt for board and MCU_ specific configurations. * configs/stm3240g-eval: Add USB host support. + * sched/os_bring.c, configs/*/defconfig, tools/mkconfig.c, and others: Added + configuration variable CONFIG_USER_ENTRYPOINT that may be used to change + the default entry from user_start to some other symbol. Contributed by + Kate. diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index 2cb4bc9a42..bcf62a5a91 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -3066,7 +3066,7 @@ Builtin Apps:

    apps/examples/hello. The main routine for apps/examples/hello can be found in apps/examples/hello/main.c. - When CONFIG_EXAMPLES_HELLO_BUILTIN is defined, this main routine simplifies to: + The main routine is:

       int hello_main(int argc, char *argv[])
      @@ -3165,10 +3165,8 @@ STACKSIZE       = 2048
          

         .context:
        -ifeq ($(CONFIG_EXAMPLES_HELLO_BUILTIN),y)
           $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
           @touch $@
        -endif
         
      @@ -3189,7 +3187,7 @@ endif CONFIG_BUILTIN_APP_START=<application name>

    - that application will be invoked immediately after system starts instead of the normal, default user_start() entry point. + that application will be invoked immediately after system starts instead of the default CONFIG_USER_ENTRYPOINT() entry point. Note that <application name> must be provided just as it would have been on the NSH command line. For example, hello would result in hello_main() being started at power-up.

    @@ -3276,8 +3274,8 @@ CONFIGURED_APPS += examples/hello

    You replace the sample code at apps/examples/nsh/nsh_main.c with whatever start-up logic that you want. NSH is a library at apps/nshlib. - apps.examplex/nsh is just a tiny, example start-up function (user_start()) that that runs immediately and illustrates how to start NSH - If you want something else to run immediately then you can write your write your own custom user_start() function and then start other tasks from your custom user_start(). + apps.examplex/nsh is just a tiny, example start-up function (CONFIG_USER_ENTRYPOINT()) that that runs immediately and illustrates how to start NSH + If you want something else to run immediately then you can write your write your own custom CONFIG_USER_ENTRYPOINT() function and then start other tasks from your custom CONFIG_USER_ENTRYPOINT().

  • diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index bfde229edc..532da8c16c 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4085,6 +4085,14 @@ build CONFIG_SCHED_ONEXIT_MAX: By default if CONFIG_SCHED_ONEXIT is selected, only a single on_exit() function is supported. That number can be increased by defined this setting to the number that you require.

  • +
  • + CONFIG_USER_ENTRYPOINT: The name of the entry point for user + applications. + For the example applications this is of the form app_main + where app is the application name. + If not defined, CONFIG_USER_ENTRYPOINT defaults to + user_start. +
  • @@ -5792,13 +5800,14 @@ build

  • CONFIG_IDLETHREAD_STACKSIZE: The size of the initial stack. This is the thread that (1) performs the initial boot of the system up - to the point where user_start() is spawned, and (2) there after is the - IDLE thread that executes only when there is no other thread ready to - run. + to the point where CONFIG_USER_ENTRYPOINT() is spawned, + and (2) there after is the IDLE thread that executes only when there + is no other thread ready to run.
  • CONFIG_USERMAIN_STACKSIZE: The size of the stack to allocate - for the main user thread that begins at the user_start() entry point. + for the main user thread that begins at the CONFIG_USER_ENTRYPOINT() + entry point.
  • CONFIG_PTHREAD_STACK_MIN: Minimum pthread stack size diff --git a/nuttx/Documentation/UsbTrace.html b/nuttx/Documentation/UsbTrace.html index 6d170044f5..ec48e260dd 100644 --- a/nuttx/Documentation/UsbTrace.html +++ b/nuttx/Documentation/UsbTrace.html @@ -150,7 +150,7 @@   - user_start: Registering USB serial driver + usbserial_main: Registering USB serial driver   @@ -158,7 +158,7 @@   - user_start: Successfully registered the serial driver + usbserial_main: Successfully registered the serial driver 1 @@ -170,11 +170,11 @@   - user_start: ERROR: Failed to open /dev/ttyUSB0 for reading: 107 + usbserial_main: ERROR: Failed to open /dev/ttyUSB0 for reading: 107   - user_start: Not connected. Wait and try again. + usbserial_main: Not connected. Wait and try again. 3 diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 065759ce67..4b68d28bdd 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -268,6 +268,7 @@ defconfig -- This is a configuration file similar to the Linux by default) CONFIG_DEBUG_GRAPHICS - enable NX graphics debug output (disabled by default) + CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot time console output CONFIG_MM_REGIONS - If the architecture includes multiple @@ -375,6 +376,10 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_SCHED_ONEXIT_MAX - By default if CONFIG_SCHED_ONEXIT is selected, only a single on_exit() function is supported. That number can be increased by defined this setting to the number that you require. + CONFIG_USER_ENTRYPOINT - The name of the entry point for user + applications. For the example applications this is of the form 'app_main' + where 'app' is the application name. If not defined, CONFIG_USER_ENTRYPOINT + defaults to user_start. System Logging: CONFIG_SYSLOG enables general system logging support. diff --git a/nuttx/configs/amber/hello/defconfig b/nuttx/configs/amber/hello/defconfig index 44aebfe8ba..a6b5728252 100644 --- a/nuttx/configs/amber/hello/defconfig +++ b/nuttx/configs/amber/hello/defconfig @@ -115,6 +115,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="hello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/avr32dev1/nsh/defconfig b/nuttx/configs/avr32dev1/nsh/defconfig index a5194dbe92..dbb562eaef 100755 --- a/nuttx/configs/avr32dev1/nsh/defconfig +++ b/nuttx/configs/avr32dev1/nsh/defconfig @@ -141,6 +141,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig index 5a0657c6fd..6d5aa4d08c 100755 --- a/nuttx/configs/avr32dev1/ostest/defconfig +++ b/nuttx/configs/avr32dev1/ostest/defconfig @@ -141,6 +141,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/c5471evm/httpd/defconfig b/nuttx/configs/c5471evm/httpd/defconfig index 37fa5ca7bf..6c48506e60 100644 --- a/nuttx/configs/c5471evm/httpd/defconfig +++ b/nuttx/configs/c5471evm/httpd/defconfig @@ -91,6 +91,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="uip_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/c5471evm/nettest/defconfig b/nuttx/configs/c5471evm/nettest/defconfig index fee66d62d0..ac1677b8fc 100644 --- a/nuttx/configs/c5471evm/nettest/defconfig +++ b/nuttx/configs/c5471evm/nettest/defconfig @@ -91,6 +91,7 @@ CONFIG_NET_C5471_BASET10=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/c5471evm/nsh/defconfig b/nuttx/configs/c5471evm/nsh/defconfig index 1eaca45d6e..88db3508e8 100644 --- a/nuttx/configs/c5471evm/nsh/defconfig +++ b/nuttx/configs/c5471evm/nsh/defconfig @@ -91,6 +91,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/c5471evm/ostest/defconfig b/nuttx/configs/c5471evm/ostest/defconfig index b1c8c92cd6..26ea842647 100644 --- a/nuttx/configs/c5471evm/ostest/defconfig +++ b/nuttx/configs/c5471evm/ostest/defconfig @@ -91,6 +91,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/compal_e88/nsh_highram/defconfig b/nuttx/configs/compal_e88/nsh_highram/defconfig index 6f2aa4c11e..f1882aff68 100644 --- a/nuttx/configs/compal_e88/nsh_highram/defconfig +++ b/nuttx/configs/compal_e88/nsh_highram/defconfig @@ -93,6 +93,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/compal_e99/nsh_compalram/defconfig b/nuttx/configs/compal_e99/nsh_compalram/defconfig index edd607d566..d06f685ee8 100644 --- a/nuttx/configs/compal_e99/nsh_compalram/defconfig +++ b/nuttx/configs/compal_e99/nsh_compalram/defconfig @@ -96,6 +96,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/compal_e99/nsh_highram/defconfig b/nuttx/configs/compal_e99/nsh_highram/defconfig index 0bc0301de6..c221b4e55d 100644 --- a/nuttx/configs/compal_e99/nsh_highram/defconfig +++ b/nuttx/configs/compal_e99/nsh_highram/defconfig @@ -96,6 +96,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_GRAPHICS=n CONFIG_DEBUG_VERBOSE=n diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig index 70b6d70b27..fb2b85d0eb 100755 --- a/nuttx/configs/demo9s12ne64/ostest/defconfig +++ b/nuttx/configs/demo9s12ne64/ostest/defconfig @@ -115,6 +115,7 @@ CONFIG_PASS1_OBJECT= # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ea3131/nsh/defconfig b/nuttx/configs/ea3131/nsh/defconfig index 3d164f3393..0f26f02b09 100644 --- a/nuttx/configs/ea3131/nsh/defconfig +++ b/nuttx/configs/ea3131/nsh/defconfig @@ -113,6 +113,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ea3131/ostest/defconfig b/nuttx/configs/ea3131/ostest/defconfig index 8cbc94f575..7bf95899f2 100644 --- a/nuttx/configs/ea3131/ostest/defconfig +++ b/nuttx/configs/ea3131/ostest/defconfig @@ -113,6 +113,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig index 3e6a31f5e1..8bb50a4a40 100644 --- a/nuttx/configs/ea3131/pgnsh/defconfig +++ b/nuttx/configs/ea3131/pgnsh/defconfig @@ -126,6 +126,7 @@ CONFIG_PASS1_OBJECT=locked.r # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig index a3043a2628..13adb17ef7 100644 --- a/nuttx/configs/ea3131/usbserial/defconfig +++ b/nuttx/configs/ea3131/usbserial/defconfig @@ -113,6 +113,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n diff --git a/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig index c618bf4a83..a350502d24 100644 --- a/nuttx/configs/ea3131/usbstorage/defconfig +++ b/nuttx/configs/ea3131/usbstorage/defconfig @@ -113,6 +113,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n diff --git a/nuttx/configs/ea3152/ostest/defconfig b/nuttx/configs/ea3152/ostest/defconfig index 431e215e75..b239db331e 100644 --- a/nuttx/configs/ea3152/ostest/defconfig +++ b/nuttx/configs/ea3152/ostest/defconfig @@ -113,6 +113,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/httpd/defconfig b/nuttx/configs/eagle100/httpd/defconfig index 225bafa9f0..8c0c4516ea 100644 --- a/nuttx/configs/eagle100/httpd/defconfig +++ b/nuttx/configs/eagle100/httpd/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="uip_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig index 898d405b6d..e0aa45e2f3 100644 --- a/nuttx/configs/eagle100/nettest/defconfig +++ b/nuttx/configs/eagle100/nettest/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/nsh/defconfig b/nuttx/configs/eagle100/nsh/defconfig index 47ddc168c1..9eedda0a9a 100644 --- a/nuttx/configs/eagle100/nsh/defconfig +++ b/nuttx/configs/eagle100/nsh/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/nxflat/defconfig b/nuttx/configs/eagle100/nxflat/defconfig index 8d291cb81c..fc5e6a2305 100644 --- a/nuttx/configs/eagle100/nxflat/defconfig +++ b/nuttx/configs/eagle100/nxflat/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxflat_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/ostest/defconfig b/nuttx/configs/eagle100/ostest/defconfig index 74a5afd4d7..008b23a455 100644 --- a/nuttx/configs/eagle100/ostest/defconfig +++ b/nuttx/configs/eagle100/ostest/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/eagle100/thttpd/defconfig b/nuttx/configs/eagle100/thttpd/defconfig index b2865a2eda..5201bca781 100644 --- a/nuttx/configs/eagle100/thttpd/defconfig +++ b/nuttx/configs/eagle100/thttpd/defconfig @@ -120,6 +120,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="thttp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig index 4f556d406d..6d24f5ac9e 100644 --- a/nuttx/configs/ekk-lm3s9b96/nsh/defconfig +++ b/nuttx/configs/ekk-lm3s9b96/nsh/defconfig @@ -137,6 +137,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig index 21c4466974..7de2f33ead 100644 --- a/nuttx/configs/ekk-lm3s9b96/ostest/defconfig +++ b/nuttx/configs/ekk-lm3s9b96/ostest/defconfig @@ -137,6 +137,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200kitg/ostest/defconfig b/nuttx/configs/ez80f910200kitg/ostest/defconfig index 056ab3a1e5..5947962bc1 100644 --- a/nuttx/configs/ez80f910200kitg/ostest/defconfig +++ b/nuttx/configs/ez80f910200kitg/ostest/defconfig @@ -99,6 +99,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/dhcpd/defconfig b/nuttx/configs/ez80f910200zco/dhcpd/defconfig index dad606ed98..64591ad509 100644 --- a/nuttx/configs/ez80f910200zco/dhcpd/defconfig +++ b/nuttx/configs/ez80f910200zco/dhcpd/defconfig @@ -102,6 +102,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="dhcpd_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/httpd/defconfig b/nuttx/configs/ez80f910200zco/httpd/defconfig index 0902d80b2a..bc8c3bb65f 100644 --- a/nuttx/configs/ez80f910200zco/httpd/defconfig +++ b/nuttx/configs/ez80f910200zco/httpd/defconfig @@ -102,6 +102,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="uip_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/nettest/defconfig b/nuttx/configs/ez80f910200zco/nettest/defconfig index bd5f02e8b4..0a87a96e24 100644 --- a/nuttx/configs/ez80f910200zco/nettest/defconfig +++ b/nuttx/configs/ez80f910200zco/nettest/defconfig @@ -102,6 +102,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/nsh/defconfig b/nuttx/configs/ez80f910200zco/nsh/defconfig index efa02583c3..4066d0ea7d 100644 --- a/nuttx/configs/ez80f910200zco/nsh/defconfig +++ b/nuttx/configs/ez80f910200zco/nsh/defconfig @@ -102,6 +102,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig index c5ffe7b122..11bba8dcff 100644 --- a/nuttx/configs/ez80f910200zco/ostest/defconfig +++ b/nuttx/configs/ez80f910200zco/ostest/defconfig @@ -101,6 +101,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ez80f910200zco/poll/defconfig b/nuttx/configs/ez80f910200zco/poll/defconfig index 1467ed6bbd..8ac0dde327 100644 --- a/nuttx/configs/ez80f910200zco/poll/defconfig +++ b/nuttx/configs/ez80f910200zco/poll/defconfig @@ -102,6 +102,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="poll_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/hymini-stm32v/buttons/defconfig b/nuttx/configs/hymini-stm32v/buttons/defconfig index d50ba3697e..fe9629ee46 100644 --- a/nuttx/configs/hymini-stm32v/buttons/defconfig +++ b/nuttx/configs/hymini-stm32v/buttons/defconfig @@ -175,6 +175,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="buttons_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/hymini-stm32v/nsh/defconfig b/nuttx/configs/hymini-stm32v/nsh/defconfig index be3ba9640d..881e582102 100755 --- a/nuttx/configs/hymini-stm32v/nsh/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh/defconfig @@ -173,6 +173,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/hymini-stm32v/nsh2/defconfig b/nuttx/configs/hymini-stm32v/nsh2/defconfig index b18fd622bc..d309248453 100644 --- a/nuttx/configs/hymini-stm32v/nsh2/defconfig +++ b/nuttx/configs/hymini-stm32v/nsh2/defconfig @@ -180,6 +180,7 @@ CONFIG_RTC=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_GRAPHICS=y diff --git a/nuttx/configs/hymini-stm32v/nx/defconfig b/nuttx/configs/hymini-stm32v/nx/defconfig index 56960f2b42..16940a2a85 100644 --- a/nuttx/configs/hymini-stm32v/nx/defconfig +++ b/nuttx/configs/hymini-stm32v/nx/defconfig @@ -173,6 +173,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/hymini-stm32v/nxlines/defconfig b/nuttx/configs/hymini-stm32v/nxlines/defconfig index 78e409955e..9ce18314a5 100644 --- a/nuttx/configs/hymini-stm32v/nxlines/defconfig +++ b/nuttx/configs/hymini-stm32v/nxlines/defconfig @@ -177,6 +177,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxlines_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/hymini-stm32v/usbserial/defconfig b/nuttx/configs/hymini-stm32v/usbserial/defconfig index 75b3b2dc90..285fefd9cd 100755 --- a/nuttx/configs/hymini-stm32v/usbserial/defconfig +++ b/nuttx/configs/hymini-stm32v/usbserial/defconfig @@ -175,6 +175,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_USB=n diff --git a/nuttx/configs/hymini-stm32v/usbstorage/defconfig b/nuttx/configs/hymini-stm32v/usbstorage/defconfig index 612b6ca012..129a045c4e 100755 --- a/nuttx/configs/hymini-stm32v/usbstorage/defconfig +++ b/nuttx/configs/hymini-stm32v/usbstorage/defconfig @@ -174,6 +174,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n diff --git a/nuttx/configs/kwikstik-k40/ostest/defconfig b/nuttx/configs/kwikstik-k40/ostest/defconfig index f91fbc13cc..3f26570ce8 100755 --- a/nuttx/configs/kwikstik-k40/ostest/defconfig +++ b/nuttx/configs/kwikstik-k40/ostest/defconfig @@ -185,6 +185,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lincoln60/nsh/defconfig b/nuttx/configs/lincoln60/nsh/defconfig index 3821f8a2a2..907a86291a 100644 --- a/nuttx/configs/lincoln60/nsh/defconfig +++ b/nuttx/configs/lincoln60/nsh/defconfig @@ -153,6 +153,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lincoln60/ostest/defconfig b/nuttx/configs/lincoln60/ostest/defconfig index 40fa5d97dd..6d2ad64b78 100644 --- a/nuttx/configs/lincoln60/ostest/defconfig +++ b/nuttx/configs/lincoln60/ostest/defconfig @@ -159,6 +159,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s6432-s2e/nsh/defconfig b/nuttx/configs/lm3s6432-s2e/nsh/defconfig index 4a929623d7..bc8f56ba69 100644 --- a/nuttx/configs/lm3s6432-s2e/nsh/defconfig +++ b/nuttx/configs/lm3s6432-s2e/nsh/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s6432-s2e/ostest/defconfig b/nuttx/configs/lm3s6432-s2e/ostest/defconfig index 92e77b457a..78934fbb2c 100644 --- a/nuttx/configs/lm3s6432-s2e/ostest/defconfig +++ b/nuttx/configs/lm3s6432-s2e/ostest/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s6965-ek/nsh/defconfig b/nuttx/configs/lm3s6965-ek/nsh/defconfig index 310eab1e83..46df76a3c5 100755 --- a/nuttx/configs/lm3s6965-ek/nsh/defconfig +++ b/nuttx/configs/lm3s6965-ek/nsh/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s6965-ek/nx/defconfig b/nuttx/configs/lm3s6965-ek/nx/defconfig index a579f4622e..bad0fe348d 100755 --- a/nuttx/configs/lm3s6965-ek/nx/defconfig +++ b/nuttx/configs/lm3s6965-ek/nx/defconfig @@ -141,6 +141,7 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s6965-ek/ostest/defconfig b/nuttx/configs/lm3s6965-ek/ostest/defconfig index 6384936a93..7346d33893 100755 --- a/nuttx/configs/lm3s6965-ek/ostest/defconfig +++ b/nuttx/configs/lm3s6965-ek/ostest/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s8962-ek/nsh/defconfig b/nuttx/configs/lm3s8962-ek/nsh/defconfig index 2e1d5056e9..bc094bcc6f 100755 --- a/nuttx/configs/lm3s8962-ek/nsh/defconfig +++ b/nuttx/configs/lm3s8962-ek/nsh/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s8962-ek/nx/defconfig b/nuttx/configs/lm3s8962-ek/nx/defconfig index a918f1c430..6086e264b7 100755 --- a/nuttx/configs/lm3s8962-ek/nx/defconfig +++ b/nuttx/configs/lm3s8962-ek/nx/defconfig @@ -141,6 +141,7 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lm3s8962-ek/ostest/defconfig b/nuttx/configs/lm3s8962-ek/ostest/defconfig index 757c0192a6..2ab5688788 100755 --- a/nuttx/configs/lm3s8962-ek/ostest/defconfig +++ b/nuttx/configs/lm3s8962-ek/ostest/defconfig @@ -136,6 +136,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig index bab387d5d0..db3474a4a6 100644 --- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig +++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig @@ -195,6 +195,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig index 8c48275d22..40af52c5a9 100644 --- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig +++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig @@ -193,6 +193,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig index bd7614b138..681744b6e0 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig @@ -158,6 +158,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="dhcpd_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig index e6248f5203..718e071314 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig @@ -161,6 +161,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig index 15cbe34436..839eb2c9af 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/nx/defconfig @@ -162,6 +162,7 @@ CONFIG_SPI_CMDDATA=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig index 69da0df725..da6da59483 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig @@ -157,6 +157,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig index 5e74d0c563..8150d89f68 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig @@ -158,6 +158,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="thttp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig index 3595fa59d9..8d0f34b44f 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig +++ b/nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig @@ -157,6 +157,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/m68332evb/defconfig b/nuttx/configs/m68332evb/defconfig index 326a46c705..79033bcd2f 100644 --- a/nuttx/configs/m68332evb/defconfig +++ b/nuttx/configs/m68332evb/defconfig @@ -72,6 +72,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mbed/hidkbd/defconfig b/nuttx/configs/mbed/hidkbd/defconfig index 3bb55142f2..4d0a0b0d59 100644 --- a/nuttx/configs/mbed/hidkbd/defconfig +++ b/nuttx/configs/mbed/hidkbd/defconfig @@ -157,6 +157,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="hidkbd_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mbed/nsh/defconfig b/nuttx/configs/mbed/nsh/defconfig index 806e090b99..0d40702939 100755 --- a/nuttx/configs/mbed/nsh/defconfig +++ b/nuttx/configs/mbed/nsh/defconfig @@ -153,6 +153,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mcu123-lpc214x/composite/defconfig b/nuttx/configs/mcu123-lpc214x/composite/defconfig index e032428d5b..eae7dc791f 100644 --- a/nuttx/configs/mcu123-lpc214x/composite/defconfig +++ b/nuttx/configs/mcu123-lpc214x/composite/defconfig @@ -95,6 +95,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="conn_main" +#CONFIG_USER_ENTRYPOINT="disconn_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mcu123-lpc214x/nsh/defconfig b/nuttx/configs/mcu123-lpc214x/nsh/defconfig index 9f860295ae..62b870f727 100644 --- a/nuttx/configs/mcu123-lpc214x/nsh/defconfig +++ b/nuttx/configs/mcu123-lpc214x/nsh/defconfig @@ -95,6 +95,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mcu123-lpc214x/ostest/defconfig b/nuttx/configs/mcu123-lpc214x/ostest/defconfig index d61ac67547..0a416b7f74 100644 --- a/nuttx/configs/mcu123-lpc214x/ostest/defconfig +++ b/nuttx/configs/mcu123-lpc214x/ostest/defconfig @@ -95,6 +95,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig index 3d1b02030b..0749c7834a 100644 --- a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig @@ -95,6 +95,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig index 4d88c2e78e..4b0ce174d7 100644 --- a/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbstorage/defconfig @@ -95,6 +95,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/micropendous3/hello/defconfig b/nuttx/configs/micropendous3/hello/defconfig index 7a04763fa6..a76093424f 100644 --- a/nuttx/configs/micropendous3/hello/defconfig +++ b/nuttx/configs/micropendous3/hello/defconfig @@ -110,6 +110,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="hello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mirtoo/nsh/defconfig b/nuttx/configs/mirtoo/nsh/defconfig index 5a8ebbadd6..0ee9cc34e1 100644 --- a/nuttx/configs/mirtoo/nsh/defconfig +++ b/nuttx/configs/mirtoo/nsh/defconfig @@ -168,6 +168,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mirtoo/nxffs/defconfig b/nuttx/configs/mirtoo/nxffs/defconfig index 6d27574b75..a9dce182b9 100644 --- a/nuttx/configs/mirtoo/nxffs/defconfig +++ b/nuttx/configs/mirtoo/nxffs/defconfig @@ -168,6 +168,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mirtoo/ostest/defconfig b/nuttx/configs/mirtoo/ostest/defconfig index 3e759bbaca..e830aefa06 100644 --- a/nuttx/configs/mirtoo/ostest/defconfig +++ b/nuttx/configs/mirtoo/ostest/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/mx1ads/ostest/defconfig b/nuttx/configs/mx1ads/ostest/defconfig index 18b577a14b..6680246936 100644 --- a/nuttx/configs/mx1ads/ostest/defconfig +++ b/nuttx/configs/mx1ads/ostest/defconfig @@ -101,6 +101,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ne64badge/ostest/defconfig b/nuttx/configs/ne64badge/ostest/defconfig index 2401f5ea6e..709467d830 100755 --- a/nuttx/configs/ne64badge/ostest/defconfig +++ b/nuttx/configs/ne64badge/ostest/defconfig @@ -121,6 +121,7 @@ CONFIG_PASS1_OBJECT= # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/nettest/defconfig b/nuttx/configs/ntosd-dm320/nettest/defconfig index 7ade4f05ad..ce80f13cb4 100644 --- a/nuttx/configs/ntosd-dm320/nettest/defconfig +++ b/nuttx/configs/ntosd-dm320/nettest/defconfig @@ -93,6 +93,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/nsh/defconfig b/nuttx/configs/ntosd-dm320/nsh/defconfig index 640fa449dd..b6116fb2cc 100644 --- a/nuttx/configs/ntosd-dm320/nsh/defconfig +++ b/nuttx/configs/ntosd-dm320/nsh/defconfig @@ -92,6 +92,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/ostest/defconfig b/nuttx/configs/ntosd-dm320/ostest/defconfig index d6598a42c7..3f59be6369 100644 --- a/nuttx/configs/ntosd-dm320/ostest/defconfig +++ b/nuttx/configs/ntosd-dm320/ostest/defconfig @@ -93,6 +93,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/poll/defconfig b/nuttx/configs/ntosd-dm320/poll/defconfig index 3fcdc7a73c..ba70d32445 100644 --- a/nuttx/configs/ntosd-dm320/poll/defconfig +++ b/nuttx/configs/ntosd-dm320/poll/defconfig @@ -93,6 +93,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="poll_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/thttpd/defconfig b/nuttx/configs/ntosd-dm320/thttpd/defconfig index d7849310a3..27b0097b92 100644 --- a/nuttx/configs/ntosd-dm320/thttpd/defconfig +++ b/nuttx/configs/ntosd-dm320/thttpd/defconfig @@ -94,6 +94,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="thttp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig index 3747853349..e1174a13c9 100644 --- a/nuttx/configs/ntosd-dm320/udp/defconfig +++ b/nuttx/configs/ntosd-dm320/udp/defconfig @@ -93,6 +93,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="udp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ntosd-dm320/uip/defconfig b/nuttx/configs/ntosd-dm320/uip/defconfig index a3b3eae095..63e21a93e8 100644 --- a/nuttx/configs/ntosd-dm320/uip/defconfig +++ b/nuttx/configs/ntosd-dm320/uip/defconfig @@ -115,6 +115,7 @@ CONFIG_FDCLONE_DISABLE=n CONFIG_FDCLONE_STDIO=n CONFIG_SDCLONE_DISABLE=y CONFIG_NXFLAT=n +CONFIG_USER_ENTRYPOINT="uip_main" # # The following can be used to disable categories of diff --git a/nuttx/configs/nucleus2g/nsh/defconfig b/nuttx/configs/nucleus2g/nsh/defconfig index cd8b148b56..d846e9a0d7 100755 --- a/nuttx/configs/nucleus2g/nsh/defconfig +++ b/nuttx/configs/nucleus2g/nsh/defconfig @@ -153,6 +153,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/nucleus2g/ostest/defconfig b/nuttx/configs/nucleus2g/ostest/defconfig index 89d4245baa..194c5d817b 100755 --- a/nuttx/configs/nucleus2g/ostest/defconfig +++ b/nuttx/configs/nucleus2g/ostest/defconfig @@ -153,6 +153,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/nucleus2g/usbserial/defconfig b/nuttx/configs/nucleus2g/usbserial/defconfig index d75e01f4dc..d3c8bc7dc7 100755 --- a/nuttx/configs/nucleus2g/usbserial/defconfig +++ b/nuttx/configs/nucleus2g/usbserial/defconfig @@ -153,6 +153,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/nucleus2g/usbstorage/defconfig b/nuttx/configs/nucleus2g/usbstorage/defconfig index c902909af6..2f1f6a3698 100755 --- a/nuttx/configs/nucleus2g/usbstorage/defconfig +++ b/nuttx/configs/nucleus2g/usbstorage/defconfig @@ -153,6 +153,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig index a7f4fb6d51..c11d40999e 100755 --- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig @@ -163,6 +163,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ftpc_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig index 85333830d0..ce40fc25dc 100755 --- a/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig @@ -163,6 +163,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="hidkbd_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig index d46de05f45..7c0046b857 100755 --- a/nuttx/configs/olimex-lpc1766stk/nettest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nettest/defconfig @@ -163,6 +163,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig index fac5a70393..9bc96d1bec 100755 --- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig @@ -163,6 +163,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/nx/defconfig b/nuttx/configs/olimex-lpc1766stk/nx/defconfig index be5d1657be..4096713778 100755 --- a/nuttx/configs/olimex-lpc1766stk/nx/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/nx/defconfig @@ -164,7 +164,7 @@ CONFIG_SPI_CMDDATA=n # # General OS setup # - +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig index bc28760fce..f7b701cc3c 100755 --- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig @@ -159,6 +159,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig index f72bfd9361..6eb34db144 100755 --- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig @@ -162,6 +162,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="thttp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig index 6a99e0da9b..9690f800f0 100755 --- a/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/thttpd/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="thttp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig index bd7bab899c..ed41b08d0f 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig @@ -159,6 +159,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig index 1a94fef661..b01e79a5d4 100755 --- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig @@ -159,6 +159,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig index 73a30a7f77..a0e5da662d 100755 --- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig @@ -154,6 +154,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="wlan_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-lpc2378/nsh/defconfig b/nuttx/configs/olimex-lpc2378/nsh/defconfig index c21ddc13ab..5424927158 100755 --- a/nuttx/configs/olimex-lpc2378/nsh/defconfig +++ b/nuttx/configs/olimex-lpc2378/nsh/defconfig @@ -115,6 +115,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n #CONFIG_DEBUG_MM=y diff --git a/nuttx/configs/olimex-lpc2378/ostest/defconfig b/nuttx/configs/olimex-lpc2378/ostest/defconfig index 4231d9e852..ef883dfaab 100755 --- a/nuttx/configs/olimex-lpc2378/ostest/defconfig +++ b/nuttx/configs/olimex-lpc2378/ostest/defconfig @@ -115,6 +115,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n #CONFIG_DEBUG_MM=y diff --git a/nuttx/configs/olimex-stm32-p107/nsh/defconfig b/nuttx/configs/olimex-stm32-p107/nsh/defconfig index 1bfea5ce21..b38fd35a8e 100644 --- a/nuttx/configs/olimex-stm32-p107/nsh/defconfig +++ b/nuttx/configs/olimex-stm32-p107/nsh/defconfig @@ -210,6 +210,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-stm32-p107/ostest/defconfig b/nuttx/configs/olimex-stm32-p107/ostest/defconfig index 7d37ffc39c..c51b52c149 100644 --- a/nuttx/configs/olimex-stm32-p107/ostest/defconfig +++ b/nuttx/configs/olimex-stm32-p107/ostest/defconfig @@ -223,6 +223,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-strp711/nettest/defconfig b/nuttx/configs/olimex-strp711/nettest/defconfig index 7f05cf2f38..d0df26adf9 100755 --- a/nuttx/configs/olimex-strp711/nettest/defconfig +++ b/nuttx/configs/olimex-strp711/nettest/defconfig @@ -133,6 +133,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-strp711/nsh/defconfig b/nuttx/configs/olimex-strp711/nsh/defconfig index 3573e8b2bb..84db85567d 100644 --- a/nuttx/configs/olimex-strp711/nsh/defconfig +++ b/nuttx/configs/olimex-strp711/nsh/defconfig @@ -133,6 +133,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/olimex-strp711/ostest/defconfig b/nuttx/configs/olimex-strp711/ostest/defconfig index 18f6c953f9..cada293a95 100644 --- a/nuttx/configs/olimex-strp711/ostest/defconfig +++ b/nuttx/configs/olimex-strp711/ostest/defconfig @@ -133,6 +133,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig index 6e30c5b27a..e79efc67a0 100644 --- a/nuttx/configs/pcblogic-pic32mx/nsh/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/nsh/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig index 82d68e5af4..0fe51f08e2 100644 --- a/nuttx/configs/pcblogic-pic32mx/ostest/defconfig +++ b/nuttx/configs/pcblogic-pic32mx/ostest/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pic32-starterkit/nsh/defconfig b/nuttx/configs/pic32-starterkit/nsh/defconfig index e0843ff876..fe18e1dbdf 100644 --- a/nuttx/configs/pic32-starterkit/nsh/defconfig +++ b/nuttx/configs/pic32-starterkit/nsh/defconfig @@ -220,6 +220,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n diff --git a/nuttx/configs/pic32-starterkit/nsh2/defconfig b/nuttx/configs/pic32-starterkit/nsh2/defconfig index 68e22e41d8..1879e80da6 100644 --- a/nuttx/configs/pic32-starterkit/nsh2/defconfig +++ b/nuttx/configs/pic32-starterkit/nsh2/defconfig @@ -220,7 +220,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # - +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig index 2b53d9a68b..bd1c372ed0 100644 --- a/nuttx/configs/pic32-starterkit/ostest/defconfig +++ b/nuttx/configs/pic32-starterkit/ostest/defconfig @@ -220,7 +220,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # - +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pic32mx7mmb/nsh/defconfig b/nuttx/configs/pic32mx7mmb/nsh/defconfig index 48591460c1..3a89bca7e6 100644 --- a/nuttx/configs/pic32mx7mmb/nsh/defconfig +++ b/nuttx/configs/pic32mx7mmb/nsh/defconfig @@ -220,6 +220,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n diff --git a/nuttx/configs/pic32mx7mmb/ostest/defconfig b/nuttx/configs/pic32mx7mmb/ostest/defconfig index fe6a6f13e5..bc307e44a3 100644 --- a/nuttx/configs/pic32mx7mmb/ostest/defconfig +++ b/nuttx/configs/pic32mx7mmb/ostest/defconfig @@ -220,7 +220,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # - +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/pjrc-8051/defconfig b/nuttx/configs/pjrc-8051/defconfig index d234bd82d2..109bc22a79 100644 --- a/nuttx/configs/pjrc-8051/defconfig +++ b/nuttx/configs/pjrc-8051/defconfig @@ -71,6 +71,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/qemu-i486/nsh/defconfig b/nuttx/configs/qemu-i486/nsh/defconfig index 46fd300588..34475e69a8 100644 --- a/nuttx/configs/qemu-i486/nsh/defconfig +++ b/nuttx/configs/qemu-i486/nsh/defconfig @@ -119,6 +119,7 @@ CONFIG_UART3_2STOP=0 # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/qemu-i486/ostest/defconfig b/nuttx/configs/qemu-i486/ostest/defconfig index 32f3fcaea6..7372d34801 100644 --- a/nuttx/configs/qemu-i486/ostest/defconfig +++ b/nuttx/configs/qemu-i486/ostest/defconfig @@ -55,6 +55,7 @@ CONFIG_ARCH_DMA=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/rgmp/arm/default/defconfig b/nuttx/configs/rgmp/arm/default/defconfig index b39fb54609..017e615002 100644 --- a/nuttx/configs/rgmp/arm/default/defconfig +++ b/nuttx/configs/rgmp/arm/default/defconfig @@ -45,6 +45,7 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="rgmp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/rgmp/arm/nsh/defconfig b/nuttx/configs/rgmp/arm/nsh/defconfig index 67ff5fe93b..302d6fd78f 100644 --- a/nuttx/configs/rgmp/arm/nsh/defconfig +++ b/nuttx/configs/rgmp/arm/nsh/defconfig @@ -45,6 +45,7 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y diff --git a/nuttx/configs/rgmp/x86/default/defconfig b/nuttx/configs/rgmp/x86/default/defconfig index ddbd1e51b9..27325c2a00 100644 --- a/nuttx/configs/rgmp/x86/default/defconfig +++ b/nuttx/configs/rgmp/x86/default/defconfig @@ -45,6 +45,7 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="rgmp_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/rgmp/x86/nsh/defconfig b/nuttx/configs/rgmp/x86/nsh/defconfig index da8219af37..308915c042 100644 --- a/nuttx/configs/rgmp/x86/nsh/defconfig +++ b/nuttx/configs/rgmp/x86/nsh/defconfig @@ -45,6 +45,7 @@ CONFIG_ARCH_BOARD_RGMP=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y diff --git a/nuttx/configs/sam3u-ek/knsh/defconfig b/nuttx/configs/sam3u-ek/knsh/defconfig index a4b5d6ed8c..07088cf311 100755 --- a/nuttx/configs/sam3u-ek/knsh/defconfig +++ b/nuttx/configs/sam3u-ek/knsh/defconfig @@ -157,6 +157,7 @@ CONFIG_PASS1_OBJECT= # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sam3u-ek/nsh/defconfig b/nuttx/configs/sam3u-ek/nsh/defconfig index 502fa9f5a5..51d7a4a3e8 100755 --- a/nuttx/configs/sam3u-ek/nsh/defconfig +++ b/nuttx/configs/sam3u-ek/nsh/defconfig @@ -144,6 +144,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig index 60eece3689..386225647f 100755 --- a/nuttx/configs/sam3u-ek/nx/defconfig +++ b/nuttx/configs/sam3u-ek/nx/defconfig @@ -144,6 +144,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sam3u-ek/ostest/defconfig b/nuttx/configs/sam3u-ek/ostest/defconfig index b223d6bd31..f8b8eb264b 100755 --- a/nuttx/configs/sam3u-ek/ostest/defconfig +++ b/nuttx/configs/sam3u-ek/ostest/defconfig @@ -145,6 +145,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig index cd6bf7bcc0..b1a33fd866 100755 --- a/nuttx/configs/sam3u-ek/touchscreen/defconfig +++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig @@ -151,6 +151,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/mount/defconfig b/nuttx/configs/sim/mount/defconfig index dfbad63f87..cbd5a9fefa 100644 --- a/nuttx/configs/sim/mount/defconfig +++ b/nuttx/configs/sim/mount/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="mount_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/nettest/defconfig b/nuttx/configs/sim/nettest/defconfig index 3244a7a561..26d4f4388d 100644 --- a/nuttx/configs/sim/nettest/defconfig +++ b/nuttx/configs/sim/nettest/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/nsh/defconfig b/nuttx/configs/sim/nsh/defconfig index 28c88bd5fa..bbab5615d5 100644 --- a/nuttx/configs/sim/nsh/defconfig +++ b/nuttx/configs/sim/nsh/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/nsh2/defconfig b/nuttx/configs/sim/nsh2/defconfig index eeb9665231..bf14be9e13 100644 --- a/nuttx/configs/sim/nsh2/defconfig +++ b/nuttx/configs/sim/nsh2/defconfig @@ -67,6 +67,7 @@ CONFIG_SIM_TOUCHSCREEN=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y diff --git a/nuttx/configs/sim/nx/defconfig b/nuttx/configs/sim/nx/defconfig index ae4fde6f0e..13159f00ed 100644 --- a/nuttx/configs/sim/nx/defconfig +++ b/nuttx/configs/sim/nx/defconfig @@ -51,6 +51,7 @@ CONFIG_SIM_FBBPP=8 # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/nx11/defconfig b/nuttx/configs/sim/nx11/defconfig index 0bc9dc1f35..58146ce18e 100644 --- a/nuttx/configs/sim/nx11/defconfig +++ b/nuttx/configs/sim/nx11/defconfig @@ -58,6 +58,7 @@ CONFIG_SIM_TOUCHSCREEN=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/nxffs/defconfig b/nuttx/configs/sim/nxffs/defconfig index 40c8e40fdd..514f4770b2 100644 --- a/nuttx/configs/sim/nxffs/defconfig +++ b/nuttx/configs/sim/nxffs/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxffs_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y diff --git a/nuttx/configs/sim/nxwm/defconfig b/nuttx/configs/sim/nxwm/defconfig index 0a4150ff45..4f7586e856 100644 --- a/nuttx/configs/sim/nxwm/defconfig +++ b/nuttx/configs/sim/nxwm/defconfig @@ -67,6 +67,7 @@ CONFIG_SIM_TOUCHSCREEN=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=y diff --git a/nuttx/configs/sim/ostest/defconfig b/nuttx/configs/sim/ostest/defconfig index 3f7a3b06e4..3a814ed780 100644 --- a/nuttx/configs/sim/ostest/defconfig +++ b/nuttx/configs/sim/ostest/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/pashello/defconfig b/nuttx/configs/sim/pashello/defconfig index c6c79be095..448b0a159c 100644 --- a/nuttx/configs/sim/pashello/defconfig +++ b/nuttx/configs/sim/pashello/defconfig @@ -43,6 +43,7 @@ CONFIG_ARCH_BOARD_SIM=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="pashello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sim/touchscreen/defconfig b/nuttx/configs/sim/touchscreen/defconfig index c0e4f4fc0a..3ef5553812 100644 --- a/nuttx/configs/sim/touchscreen/defconfig +++ b/nuttx/configs/sim/touchscreen/defconfig @@ -58,6 +58,7 @@ CONFIG_SIM_TOUCHSCREEN=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="tc_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig index 2c901e34d9..c0ab37c7cd 100644 --- a/nuttx/configs/skp16c26/ostest/defconfig +++ b/nuttx/configs/skp16c26/ostest/defconfig @@ -98,6 +98,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig index e23446ae66..db01c2da5a 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/defconfig +++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig @@ -178,6 +178,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +#CONFIG_USER_ENTRYPOINT= CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index a458e76534..8bc0e934e0 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -189,6 +189,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="buttons_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3210e-eval/composite/defconfig b/nuttx/configs/stm3210e-eval/composite/defconfig index 14732772a7..6839e15aad 100755 --- a/nuttx/configs/stm3210e-eval/composite/defconfig +++ b/nuttx/configs/stm3210e-eval/composite/defconfig @@ -187,6 +187,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="conn_main" +#CONFIG_USER_ENTRYPOINT="disconn_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig index aebd41dfc2..56d2af420b 100755 --- a/nuttx/configs/stm3210e-eval/nsh/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh/defconfig @@ -187,6 +187,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig index 4ebcba0131..93dbef8a3d 100644 --- a/nuttx/configs/stm3210e-eval/nsh2/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig @@ -230,6 +230,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig index 3de1ddb760..cee087a6c4 100644 --- a/nuttx/configs/stm3210e-eval/nx/defconfig +++ b/nuttx/configs/stm3210e-eval/nx/defconfig @@ -187,6 +187,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nx_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/nxconsole/defconfig b/nuttx/configs/stm3210e-eval/nxconsole/defconfig index 53339ffe6c..5af0985e6f 100644 --- a/nuttx/configs/stm3210e-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3210e-eval/nxconsole/defconfig @@ -187,6 +187,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig index 044187ea28..a1e3775598 100644 --- a/nuttx/configs/stm3210e-eval/nxlines/defconfig +++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig @@ -187,6 +187,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxlines_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig index 2739c1ca77..d5669cdd27 100644 --- a/nuttx/configs/stm3210e-eval/nxtext/defconfig +++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig @@ -187,6 +187,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxtext_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig index 14a36327fc..f9d777ebd4 100755 --- a/nuttx/configs/stm3210e-eval/ostest/defconfig +++ b/nuttx/configs/stm3210e-eval/ostest/defconfig @@ -199,6 +199,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3210e-eval/pm/defconfig b/nuttx/configs/stm3210e-eval/pm/defconfig index b6e1c06d4b..dc5b27cd58 100644 --- a/nuttx/configs/stm3210e-eval/pm/defconfig +++ b/nuttx/configs/stm3210e-eval/pm/defconfig @@ -240,6 +240,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_GRAPHICS=n diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig index 4aaf8f411b..fef61f6df4 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/defconfig +++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig @@ -188,6 +188,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="usbserial_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_USB=n diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig index ff6eed8bd7..2ab5ed7829 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig +++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig @@ -187,6 +187,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_FS=n diff --git a/nuttx/configs/stm3220g-eval/dhcpd/defconfig b/nuttx/configs/stm3220g-eval/dhcpd/defconfig index bd0fe82381..d7d3c8aa93 100644 --- a/nuttx/configs/stm3220g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3220g-eval/dhcpd/defconfig @@ -241,6 +241,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="dhcpd_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/nettest/defconfig b/nuttx/configs/stm3220g-eval/nettest/defconfig index 9a6d760675..44e9cf7cd8 100644 --- a/nuttx/configs/stm3220g-eval/nettest/defconfig +++ b/nuttx/configs/stm3220g-eval/nettest/defconfig @@ -241,6 +241,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/nsh/defconfig b/nuttx/configs/stm3220g-eval/nsh/defconfig index 226c65d26f..f40dffeebd 100644 --- a/nuttx/configs/stm3220g-eval/nsh/defconfig +++ b/nuttx/configs/stm3220g-eval/nsh/defconfig @@ -264,6 +264,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/nsh2/defconfig b/nuttx/configs/stm3220g-eval/nsh2/defconfig index 49f92aebe2..522840f228 100644 --- a/nuttx/configs/stm3220g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3220g-eval/nsh2/defconfig @@ -264,6 +264,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/nxwm/defconfig b/nuttx/configs/stm3220g-eval/nxwm/defconfig index bb5155fe5a..f3ef33377a 100644 --- a/nuttx/configs/stm3220g-eval/nxwm/defconfig +++ b/nuttx/configs/stm3220g-eval/nxwm/defconfig @@ -264,6 +264,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig index d141b9c409..35e52507c3 100644 --- a/nuttx/configs/stm3220g-eval/ostest/defconfig +++ b/nuttx/configs/stm3220g-eval/ostest/defconfig @@ -241,6 +241,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3220g-eval/telnetd/defconfig b/nuttx/configs/stm3220g-eval/telnetd/defconfig index 90ed21bec4..0b3f350777 100644 --- a/nuttx/configs/stm3220g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3220g-eval/telnetd/defconfig @@ -241,6 +241,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="shell_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig index 35a7140e48..e79f774df1 100644 --- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig @@ -247,6 +247,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="dhcpd_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/nettest/defconfig b/nuttx/configs/stm3240g-eval/nettest/defconfig index 54d5f3fa8b..d4ba400ced 100644 --- a/nuttx/configs/stm3240g-eval/nettest/defconfig +++ b/nuttx/configs/stm3240g-eval/nettest/defconfig @@ -247,6 +247,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nettest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index 3e27810aa8..eab1cef665 100644 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -270,6 +270,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/nsh2/defconfig b/nuttx/configs/stm3240g-eval/nsh2/defconfig index 8e8c0fb8cb..b06ae45b73 100644 --- a/nuttx/configs/stm3240g-eval/nsh2/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh2/defconfig @@ -271,6 +271,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/nxconsole/defconfig b/nuttx/configs/stm3240g-eval/nxconsole/defconfig index ec66b3f99e..36273579f6 100644 --- a/nuttx/configs/stm3240g-eval/nxconsole/defconfig +++ b/nuttx/configs/stm3240g-eval/nxconsole/defconfig @@ -270,6 +270,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/nxwm/defconfig b/nuttx/configs/stm3240g-eval/nxwm/defconfig index 9f93fbf273..2e8bceb10e 100644 --- a/nuttx/configs/stm3240g-eval/nxwm/defconfig +++ b/nuttx/configs/stm3240g-eval/nxwm/defconfig @@ -270,6 +270,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/ostest/defconfig b/nuttx/configs/stm3240g-eval/ostest/defconfig index b38005e4dd..e4bc6923b8 100644 --- a/nuttx/configs/stm3240g-eval/ostest/defconfig +++ b/nuttx/configs/stm3240g-eval/ostest/defconfig @@ -246,6 +246,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm3240g-eval/telnetd/defconfig b/nuttx/configs/stm3240g-eval/telnetd/defconfig index 26686968a3..5de905c043 100644 --- a/nuttx/configs/stm3240g-eval/telnetd/defconfig +++ b/nuttx/configs/stm3240g-eval/telnetd/defconfig @@ -247,6 +247,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="shell_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 16c9ea6491..47e4aeca65 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -244,6 +244,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index 4c34a26a7f..b57d72be1e 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -244,6 +244,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nxlines_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index 094a1c4855..0ff024904f 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -227,6 +227,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 8d469b4c7e..6999949479 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -245,6 +245,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig index 41263d4cf0..d52bf55090 100644 --- a/nuttx/configs/sure-pic32mx/nsh/defconfig +++ b/nuttx/configs/sure-pic32mx/nsh/defconfig @@ -167,6 +167,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n diff --git a/nuttx/configs/sure-pic32mx/ostest/defconfig b/nuttx/configs/sure-pic32mx/ostest/defconfig index b6d74f4bfe..ce09306f0c 100644 --- a/nuttx/configs/sure-pic32mx/ostest/defconfig +++ b/nuttx/configs/sure-pic32mx/ostest/defconfig @@ -161,6 +161,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/sure-pic32mx/usbnsh/defconfig b/nuttx/configs/sure-pic32mx/usbnsh/defconfig index a57c85636f..76704a121a 100644 --- a/nuttx/configs/sure-pic32mx/usbnsh/defconfig +++ b/nuttx/configs/sure-pic32mx/usbnsh/defconfig @@ -167,6 +167,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n diff --git a/nuttx/configs/teensy/hello/defconfig b/nuttx/configs/teensy/hello/defconfig index 9a4bfdc7d9..aa61354717 100644 --- a/nuttx/configs/teensy/hello/defconfig +++ b/nuttx/configs/teensy/hello/defconfig @@ -110,6 +110,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="hello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig index d27d89c526..7108d27fee 100755 --- a/nuttx/configs/teensy/nsh/defconfig +++ b/nuttx/configs/teensy/nsh/defconfig @@ -110,6 +110,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/teensy/usbstorage/defconfig b/nuttx/configs/teensy/usbstorage/defconfig index c736f98d0b..87931ee248 100755 --- a/nuttx/configs/teensy/usbstorage/defconfig +++ b/nuttx/configs/teensy/usbstorage/defconfig @@ -110,6 +110,8 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="msconn_main" +#CONFIG_USER_ENTRYPOINT="msdis_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/twr-k60n512/nsh/defconfig b/nuttx/configs/twr-k60n512/nsh/defconfig index 024390eb77..d5e491dc25 100644 --- a/nuttx/configs/twr-k60n512/nsh/defconfig +++ b/nuttx/configs/twr-k60n512/nsh/defconfig @@ -184,6 +184,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/twr-k60n512/ostest/defconfig b/nuttx/configs/twr-k60n512/ostest/defconfig index fcbb1d7900..af92b70b18 100644 --- a/nuttx/configs/twr-k60n512/ostest/defconfig +++ b/nuttx/configs/twr-k60n512/ostest/defconfig @@ -184,6 +184,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ubw32/nsh/defconfig b/nuttx/configs/ubw32/nsh/defconfig index f54a68de15..c198067df5 100644 --- a/nuttx/configs/ubw32/nsh/defconfig +++ b/nuttx/configs/ubw32/nsh/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/ubw32/ostest/defconfig b/nuttx/configs/ubw32/ostest/defconfig index e9af9b5de3..dcbdc88ba0 100644 --- a/nuttx/configs/ubw32/ostest/defconfig +++ b/nuttx/configs/ubw32/ostest/defconfig @@ -160,6 +160,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/us7032evb1/nsh/defconfig b/nuttx/configs/us7032evb1/nsh/defconfig index fabf35b1a6..f685371cb9 100644 --- a/nuttx/configs/us7032evb1/nsh/defconfig +++ b/nuttx/configs/us7032evb1/nsh/defconfig @@ -100,6 +100,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/us7032evb1/ostest/defconfig b/nuttx/configs/us7032evb1/ostest/defconfig index 924efb8a0e..8ecf50ea1b 100644 --- a/nuttx/configs/us7032evb1/ostest/defconfig +++ b/nuttx/configs/us7032evb1/ostest/defconfig @@ -100,6 +100,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig index f3f9881f45..5fbf2c7994 100755 --- a/nuttx/configs/vsn/nsh/defconfig +++ b/nuttx/configs/vsn/nsh/defconfig @@ -227,6 +227,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=y CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/xtrs/nsh/defconfig b/nuttx/configs/xtrs/nsh/defconfig index 53e99e1607..748e766e20 100644 --- a/nuttx/configs/xtrs/nsh/defconfig +++ b/nuttx/configs/xtrs/nsh/defconfig @@ -64,6 +64,7 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/xtrs/ostest/defconfig b/nuttx/configs/xtrs/ostest/defconfig index b5ac8b0352..97c0aaaedf 100644 --- a/nuttx/configs/xtrs/ostest/defconfig +++ b/nuttx/configs/xtrs/ostest/defconfig @@ -64,6 +64,7 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/xtrs/pashello/defconfig b/nuttx/configs/xtrs/pashello/defconfig index d3f4be1872..8ac23069f9 100644 --- a/nuttx/configs/xtrs/pashello/defconfig +++ b/nuttx/configs/xtrs/pashello/defconfig @@ -64,6 +64,7 @@ CONFIG_LINKER_ROM_AT_0000=y # # General OS setup # +CONFIG_USER_ENTRYPOINT="pashello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig index 751e1805e7..24e228a4b7 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/defconfig +++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig @@ -78,6 +78,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig index 1fc2275567..95cb6f09b3 100644 --- a/nuttx/configs/z16f2800100zcog/pashello/defconfig +++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig @@ -78,6 +78,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="pashello_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z80sim/nsh/defconfig b/nuttx/configs/z80sim/nsh/defconfig index f6f46b24aa..a91a7a5783 100644 --- a/nuttx/configs/z80sim/nsh/defconfig +++ b/nuttx/configs/z80sim/nsh/defconfig @@ -60,6 +60,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z80sim/ostest/defconfig b/nuttx/configs/z80sim/ostest/defconfig index cc070e8fc0..a179cacfd8 100644 --- a/nuttx/configs/z80sim/ostest/defconfig +++ b/nuttx/configs/z80sim/ostest/defconfig @@ -60,6 +60,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z80sim/pashello/defconfig b/nuttx/configs/z80sim/pashello/defconfig index 2080b26358..d3b961b4af 100644 --- a/nuttx/configs/z80sim/pashello/defconfig +++ b/nuttx/configs/z80sim/pashello/defconfig @@ -60,6 +60,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="pashello_main" CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig index c59b266b2c..c193790972 100644 --- a/nuttx/configs/z8encore000zco/ostest/defconfig +++ b/nuttx/configs/z8encore000zco/ostest/defconfig @@ -76,6 +76,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/configs/z8f64200100kit/ostest/defconfig b/nuttx/configs/z8f64200100kit/ostest/defconfig index 841d2e90ba..5108247230 100644 --- a/nuttx/configs/z8f64200100kit/ostest/defconfig +++ b/nuttx/configs/z8f64200100kit/ostest/defconfig @@ -76,6 +76,7 @@ CONFIG_HAVE_LIBM=n # # General OS setup # +CONFIG_USER_ENTRYPOINT="ostest_main" CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_SYMBOLS=n diff --git a/nuttx/include/assert.h b/nuttx/include/assert.h index 89606b6f6a..31c9edf48d 100644 --- a/nuttx/include/assert.h +++ b/nuttx/include/assert.h @@ -91,6 +91,10 @@ #endif +#ifndef assert +#define assert ASSERT +#endif + /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/nuttx/include/nuttx/init.h b/nuttx/include/nuttx/init.h index ecdad702f5..2d1b3c693c 100644 --- a/nuttx/include/nuttx/init.h +++ b/nuttx/include/nuttx/init.h @@ -68,7 +68,7 @@ extern "C" { /* This entry point must be supplied by the application */ -EXTERN int user_start(int argc, char *argv[]); +EXTERN int CONFIG_USER_ENTRYPOINT(int argc, char *argv[]); /* Functions contained in os_task.c *****************************************/ diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig index 9d7a38549d..37ce0ebd61 100644 --- a/nuttx/sched/Kconfig +++ b/nuttx/sched/Kconfig @@ -202,6 +202,14 @@ config SCHED_ONEXIT_MAX is supported. That number can be increased by defined this setting to the number that you require. +config USER_ENTRYPOINT + string "Appliation entry point" + default "user_start" + ---help--- + The name of the entry point for user applications. For the example + applications this is of the form 'app_main' where 'app' is the application + name. If not defined, USER_ENTRYPOINT defaults to "user_start." + config DISABLE_OS_API bool "Disable NuttX interfaces" default y diff --git a/nuttx/sched/os_bringup.c b/nuttx/sched/os_bringup.c index 646f491583..d6d9431377 100644 --- a/nuttx/sched/os_bringup.c +++ b/nuttx/sched/os_bringup.c @@ -71,12 +71,6 @@ * then the default entry point is user_start. */ -#if defined(CONFIG_NUTTX_KERNEL) && defined(CONFIG_USER_ENTRYPOINT) -# define USER_ENTRYPOINT (main_t)CONFIG_USER_ENTRYPOINT -#else -# define USER_ENTRYPOINT user_start -#endif - /**************************************************************************** * Private Types ****************************************************************************/ @@ -175,11 +169,11 @@ int os_bringup(void) init_taskid = exec_namedapp(CONFIG_BUILTIN_APP_START, argv); #else - /* Start the default application at USER_ENTRYPOINT() */ + /* Start the default application at CONFIG_USER_ENTRYPOINT() */ init_taskid = TASK_CREATE("init", SCHED_PRIORITY_DEFAULT, CONFIG_USERMAIN_STACKSIZE, - (main_t)USER_ENTRYPOINT, (const char **)NULL); + (main_t)CONFIG_USER_ENTRYPOINT, (const char **)NULL); #endif ASSERT(init_taskid != ERROR); return OK; diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk index 004a7e5bdd..07d88392ec 100644 --- a/nuttx/tools/Config.mk +++ b/nuttx/tools/Config.mk @@ -33,6 +33,9 @@ # ############################################################################ -CONFIG_ARCH := $(shell echo $(CONFIG_ARCH)) -CONFIG_ARCH_CHIP := $(shell echo $(CONFIG_ARCH_CHIP)) -CONFIG_ARCH_BOARD := $(shell echo $(CONFIG_ARCH_BOARD)) +# These are configuration variables that are quoted by configuration tool +# but which must be unquoated when used in the build system. + +CONFIG_ARCH := $(patsubst "%",%,$(strip $(CONFIG_ARCH))) +CONFIG_ARCH_CHIP := $(patsubst "%",%,$(strip $(CONFIG_ARCH_CHIP))) +CONFIG_ARCH_BOARD := $(patsubst "%",%,$(strip $(CONFIG_ARCH_BOARD))) diff --git a/nuttx/tools/cfgparser.c b/nuttx/tools/cfgparser.c index 655fac5739..e49b29d5e4 100644 --- a/nuttx/tools/cfgparser.c +++ b/nuttx/tools/cfgparser.c @@ -52,21 +52,41 @@ char line[LINESIZE+1]; /**************************************************************************** + * Private Data + ****************************************************************************/ + +/* These are configuration variable name that are quoted by configuration tool + * but which must be unquoated when used in C code. + */ + +static const char *dequote_list[] = +{ + "CONFIG_USER_ENTRYPOINT", + NULL +}; + + /**************************************************************************** * Private Functions ****************************************************************************/ + /* Skip over any spaces */ + static char *skip_space(char *ptr) { while (*ptr && isspace((int)*ptr)) ptr++; return ptr; } +/* Find the end of a variable string */ + static char *find_name_end(char *ptr) { while (*ptr && (isalnum((int)*ptr) || *ptr == '_')) ptr++; return ptr; } +/* Find the end of a value string */ + static char *find_value_end(char *ptr) { while (*ptr && !isspace((int)*ptr)) @@ -84,6 +104,8 @@ static char *find_value_end(char *ptr) return ptr; } +/* Read the next line from the configuration file */ + static char *read_line(FILE *stream) { char *ptr; @@ -106,31 +128,127 @@ static char *read_line(FILE *stream) } } +/* Parse the line from the configuration file into a variable name + * string and a value string. + */ + static void parse_line(char *ptr, char **varname, char **varval) { - *varname = ptr; + /* Skip over any leading spaces */ + + ptr = skip_space(ptr); + + /* The first no-space is the beginning of the variable name */ + + *varname = skip_space(ptr); *varval = NULL; - ptr = find_name_end(ptr); - if (*ptr && *ptr != '=') + /* Parse to the end of the variable name */ + + ptr = find_name_end(ptr); + + /* An equal sign is expected next, perhaps after some white space */ + + if (*ptr && *ptr != '=') { + /* Some else follows the variable name. Terminate the variable + * name and skip over any spaces. + */ + *ptr = '\0'; ptr = skip_space(ptr + 1); } + /* Verify that the equal sign is present */ + if (*ptr == '=') { + /* Make sure that the variable name is terminated (this was already + * done if the name was followed by white space. + */ + *ptr = '\0'; + + /* The variable value should follow =, perhaps separated by some + * white space. + */ + ptr = skip_space(ptr + 1); if (*ptr) { + /* Yes.. a variable follows. Save the pointer to the start + * of the variable string. + */ + *varval = ptr; + + /* Find the end of the variable string and make sure that it + * is terminated. + */ + ptr = find_value_end(ptr); *ptr = '\0'; } } } +static char *dequote_value(const char *varname, char *varval) +{ + const char **dqnam; + char *dqval = varval; + int len; + + if (dqval) + { + /* Check if the variable name is in the list of strings to be dequoated */ + + for (dqnam = dequote_list; *dqnam; dqnam++) + { + if (strcmp(*dqnam, varname) == 0) + { + break; + } + } + + /* Did we find the variable name in the list of configuration variables + * to be dequoated? + */ + + if (*dqnam) + { + /* Yes... Check if there is a traiing quote */ + + len = strlen(dqval); + if (dqval[len-1] == '"') + { + /* Yes... replace it with a terminator */ + + dqval[len-1] = '\0'; + len--; + } + + /* Is there a leading quote? */ + + if (dqval[0] == '"') + { + /* Yes.. skip over the leading quote */ + + dqval++; + len--; + } + + /* Handle the case where nothing is left after dequoting */ + + if (len < 0) + { + dqval = NULL; + } + } + } + + return dqval; +} + /**************************************************************************** * Public Functions ****************************************************************************/ @@ -141,22 +259,47 @@ void parse_file(FILE *stream) char *varval; char *ptr; + /* Loop until the entire file has been parsed. */ + do { + /* Read the next line from the file */ + ptr = read_line(stream); if (ptr) { + /* Parse the line into a variable and a value field */ + parse_line(ptr, &varname, &varval); + + /* Was a variable name found? */ + if (varname) { + /* Yes.. dequote the value if necessary */ + + varval = dequote_value(varname, varval); + + /* If no value was provided or if the special value 'n' was provided, + * then undefine the configuration variable. + */ + if (!varval || strcmp(varval, "n") == 0) { printf("#undef %s\n", varname); } + + /* Simply define the configuration variable if it has the special + * value "y" + */ + else if (strcmp(varval, "y") == 0) { printf("#define %s 1\n", varname); } + + /* Otherwise, use the value as provided */ + else { printf("#define %s %s\n", varname, varval); diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c index b3749266c1..2d2fff5c56 100644 --- a/nuttx/tools/mkconfig.c +++ b/nuttx/tools/mkconfig.c @@ -44,7 +44,7 @@ #include "cfgparser.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ #define DEFCONFIG ".config" @@ -265,6 +265,12 @@ int main(int argc, char **argv, char **envp) printf("# undef CONFIG_DEBUG_SPI\n"); printf("# undef CONFIG_DEBUG_STACK\n"); printf("#endif\n\n"); + printf("/* User entry point. This is provided as a fall-back to keep compatibility\n"); + printf(" * with existing code, for builds which do not define CONFIG_USER_ENTRYPOINT.\n"); + printf(" */\n\n"); + printf("#ifndef CONFIG_USER_ENTRYPOINT\n"); + printf("# define CONFIG_USER_ENTRYPOINT user_start\n"); + printf("#endif\n\n"); printf("#endif /* __INCLUDE_NUTTX_CONFIG_H */\n"); fclose(stream); return 0; From 035e89e554edf6d06736b1734b128e47164a4487 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 31 Aug 2012 16:03:17 +0000 Subject: [PATCH 11/19] Fix some places in library where semaphore is not released on error conditions git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5071 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/ChangeLog.txt | 3 ++ apps/netutils/webserver/httpd.c | 2 +- nuttx/ChangeLog | 12 ++++++- nuttx/lib/stdio/lib_fflush.c | 24 ++++++++++--- nuttx/lib/stdio/lib_fgetc.c | 2 +- nuttx/lib/stdio/lib_fgetpos.c | 2 +- nuttx/lib/stdio/lib_fileno.c | 2 +- nuttx/lib/stdio/lib_fread.c | 2 +- nuttx/lib/stdio/lib_fseek.c | 2 +- nuttx/lib/stdio/lib_fsetpos.c | 2 +- nuttx/lib/stdio/lib_ftell.c | 2 +- nuttx/lib/stdio/lib_fwrite.c | 2 +- nuttx/lib/stdio/lib_libfflush.c | 19 ++++++---- nuttx/lib/stdio/lib_libflushall.c | 24 ++++++------- nuttx/lib/stdio/lib_libfread.c | 51 +++++++++++++++++--------- nuttx/lib/stdio/lib_libsprintf.c | 2 +- nuttx/lib/stdio/lib_rdflush.c | 2 +- nuttx/lib/stdio/lib_snprintf.c | 2 +- nuttx/lib/stdio/lib_sprintf.c | 2 +- nuttx/lib/stdio/lib_sscanf.c | 2 +- nuttx/lib/stdio/lib_syslogstream.c | 2 +- nuttx/lib/stdio/lib_ungetc.c | 2 +- nuttx/lib/stdio/lib_vfprintf.c | 2 +- nuttx/lib/stdio/lib_vprintf.c | 2 +- nuttx/lib/stdio/lib_vsnprintf.c | 2 +- nuttx/lib/stdio/lib_vsprintf.c | 2 +- nuttx/lib/stdio/lib_wrflush.c | 58 ++++++++++++++++++++---------- nuttx/lib/stdio/lib_zeroinstream.c | 2 +- 28 files changed, 152 insertions(+), 81 deletions(-) diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index 1178c203c2..0fe6b7947c 100755 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -295,3 +295,6 @@ configuration variable CONFIG_USER_ENTRYPOINT that may be used to change the default entry from user_start to some other symbol. Contributed by Kate. + * apps/netutils/webserver/httpd/c: Fix a typo that as introduced in + version r4402: 'lese' instead of 'else' (Noted by Max Holtzberg). + diff --git a/apps/netutils/webserver/httpd.c b/apps/netutils/webserver/httpd.c index 0d8386bc50..434cfec5ad 100644 --- a/apps/netutils/webserver/httpd.c +++ b/apps/netutils/webserver/httpd.c @@ -380,7 +380,7 @@ static inline int httpd_cmd(struct httpd_state *pstate) ndbg("[%d] recv failed: %d\n", pstate->ht_sockfd, errno); return ERROR; } - lese if (recvlen == 0) + else if (recvlen == 0) { ndbg("[%d] connection lost\n", pstate->ht_sockfd); return ERROR; diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 9cf8f14be2..3e17ffe7cc 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3224,4 +3224,14 @@ * sched/os_bring.c, configs/*/defconfig, tools/mkconfig.c, and others: Added configuration variable CONFIG_USER_ENTRYPOINT that may be used to change the default entry from user_start to some other symbol. Contributed by - Kate. + Kate. NOTE: This change does introduce a minor backward incompatibility. + For example, if your application uses NSH as its start-up program, then your + code will not fail because it will be unable to find "user_start". The fix + for this link failure is to add the following to your configuration file: + CONFIG_USER_ENTRYPOINT="nsh_main". + * libs/stdio/lib_libfread.c and lib_*flush*.c: Correct a couple of + error cases where the lib semaphore was not be released on error + exits (thanks Ronen Vainish). Also, improved some error reporting: + the generic ERROR was being used instead of the specific errno + value; the errno variable was not always set correctly. + diff --git a/nuttx/lib/stdio/lib_fflush.c b/nuttx/lib/stdio/lib_fflush.c index e0278d0d25..d0b5e0185d 100644 --- a/nuttx/lib/stdio/lib_fflush.c +++ b/nuttx/lib/stdio/lib_fflush.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fflush.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -97,22 +97,36 @@ int fflush(FAR FILE *stream) { + int ret; + /* Is the stream argument NULL? */ if (!stream) { /* Yes... then this is a request to flush all streams */ - return lib_flushall(sched_getstreams()); + ret = lib_flushall(sched_getstreams()); } - else if (lib_fflush(stream, true) != 0) + else { - /* An error occurred during the flush AND/OR we were unable to flush all - * of the buffered write data. Return EOF on failure. + ret = lib_fflush(stream, true); + } + + /* Check the return value */ + + if (ret < 0) + { + /* An error occurred during the flush AND/OR we were unable to flush + * all of the buffered write data. Set the errno value. */ + set_errno(-ret); + + /* And return EOF on failure. */ + return EOF; } + return OK; } diff --git a/nuttx/lib/stdio/lib_fgetc.c b/nuttx/lib/stdio/lib_fgetc.c index 4e521e8403..4b3d0ec44f 100644 --- a/nuttx/lib/stdio/lib_fgetc.c +++ b/nuttx/lib/stdio/lib_fgetc.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fgetc.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fgetpos.c b/nuttx/lib/stdio/lib_fgetpos.c index af07f7387e..e9e9f4d102 100644 --- a/nuttx/lib/stdio/lib_fgetpos.c +++ b/nuttx/lib/stdio/lib_fgetpos.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fgetpos.c * * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fileno.c b/nuttx/lib/stdio/lib_fileno.c index ec25ce6d09..ff18cc33d7 100644 --- a/nuttx/lib/stdio/lib_fileno.c +++ b/nuttx/lib/stdio/lib_fileno.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fileno.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fread.c b/nuttx/lib/stdio/lib_fread.c index cc652fab72..4a4b29256d 100644 --- a/nuttx/lib/stdio/lib_fread.c +++ b/nuttx/lib/stdio/lib_fread.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fread.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fseek.c b/nuttx/lib/stdio/lib_fseek.c index a68de79fe2..7380f83b3b 100644 --- a/nuttx/lib/stdio/lib_fseek.c +++ b/nuttx/lib/stdio/lib_fseek.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fseek.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fsetpos.c b/nuttx/lib/stdio/lib_fsetpos.c index ad3e672300..13d556521b 100644 --- a/nuttx/lib/stdio/lib_fsetpos.c +++ b/nuttx/lib/stdio/lib_fsetpos.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fsetpos.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_ftell.c b/nuttx/lib/stdio/lib_ftell.c index cd0e483687..9476481529 100644 --- a/nuttx/lib/stdio/lib_ftell.c +++ b/nuttx/lib/stdio/lib_ftell.c @@ -2,7 +2,7 @@ * lib/stdio/lib_ftell.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fwrite.c b/nuttx/lib/stdio/lib_fwrite.c index 1b7be2ce5c..60e0017463 100644 --- a/nuttx/lib/stdio/lib_fwrite.c +++ b/nuttx/lib/stdio/lib_fwrite.c @@ -2,7 +2,7 @@ * lib/stdio/lib_fwrite.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_libfflush.c b/nuttx/lib/stdio/lib_libfflush.c index fb5a8768e9..c2b887b2e2 100644 --- a/nuttx/lib/stdio/lib_libfflush.c +++ b/nuttx/lib/stdio/lib_libfflush.c @@ -98,8 +98,8 @@ * bforce - flush must be complete. * * Return: - * ERROR on failure, otherwise the number of bytes remaining in the buffer. - * If bforce is set, then only the values ERROR and 0 will be returned. + * A negated errno value on failure, otherwise the number of bytes remaining + * in the buffer. * ****************************************************************************/ @@ -109,13 +109,13 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) FAR const unsigned char *src; ssize_t bytes_written; ssize_t nbuffer; + int ret; /* Return EBADF if the file is not opened for writing */ if (stream->fs_filedes < 0 || (stream->fs_oflags & O_WROK) == 0) { - set_errno(EBADF); - return ERROR; + return -EBADF; } /* Make sure that we have exclusive access to the stream */ @@ -132,8 +132,11 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) if (stream->fs_bufread != stream->fs_bufstart) { - /* The buffer holds read data... just return zero */ + /* The buffer holds read data... just return zero meaning "no bytes + * remaining in the buffer." + */ + lib_give_semaphore(stream); return 0; } @@ -151,8 +154,12 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) bytes_written = write(stream->fs_filedes, src, nbuffer); if (bytes_written < 0) { + /* Write failed. The cause of the failure is in 'errno'. + * returned the negated errno value. + */ + lib_give_semaphore(stream); - return ERROR; + return -get_errno(); } /* Handle partial writes. fflush() must either return with diff --git a/nuttx/lib/stdio/lib_libflushall.c b/nuttx/lib/stdio/lib_libflushall.c index 8de0c33096..9d0a89e9c1 100644 --- a/nuttx/lib/stdio/lib_libflushall.c +++ b/nuttx/lib/stdio/lib_libflushall.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/stdio/lib_libflushall.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -91,7 +91,7 @@ int lib_flushall(FAR struct streamlist *list) { int lasterrno = OK; - int ret = OK; + int ret; /* Make sure that there are streams associated with this thread */ @@ -115,25 +115,23 @@ int lib_flushall(FAR struct streamlist *list) { /* Flush the writable FILE */ - if (lib_fflush(stream, true) != 0) + ret = lib_fflush(stream, true); + if (ret < 0) { /* An error occurred during the flush AND/OR we were unable - * to flush all of the buffered write data. Return EOF on failure. + * to flush all of the buffered write data. Remember the + * last errcode. */ - lasterrno = get_errno(); - ret = ERROR; + lasterrno = ret; } } } + stream_semgive(list); } - /* If any flush failed, return that last failed flush */ + /* If any flush failed, return the errorcode of the last failed flush */ - if (ret != OK) - { - set_errno(lasterrno); - } - return ret; + return lasterrno; } diff --git a/nuttx/lib/stdio/lib_libfread.c b/nuttx/lib/stdio/lib_libfread.c index 4d402a42b4..03b47eda66 100644 --- a/nuttx/lib/stdio/lib_libfread.c +++ b/nuttx/lib/stdio/lib_libfread.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/stdio/lib_libfread.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -88,6 +88,7 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) { unsigned char *dest = (unsigned char*)ptr; ssize_t bytes_read; + int ret; /* Make sure that reading from this stream is allowed */ @@ -127,9 +128,11 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) * buffered read/write access. */ - if (lib_wrflush(stream) != 0) + ret = lib_wrflush(stream); + if (ret < 0) { - return ERROR; + lib_give_semaphore(stream); + return ret; } /* Now get any other needed chars from the buffer or the file. */ @@ -176,15 +179,17 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) bytes_read = read(stream->fs_filedes, dest, count); if (bytes_read < 0) { - /* An error occurred on the read */ + /* An error occurred on the read. The error code is + * in the 'errno' variable. + */ - goto err_out; + goto errout_with_errno; } else if (bytes_read == 0) { /* We are at the end of the file */ - goto short_read; + goto shortread; } else { @@ -198,7 +203,7 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) { /* No. We must be at the end of file. */ - goto short_read; + goto shortread; } else { @@ -219,15 +224,17 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) bytes_read = read(stream->fs_filedes, stream->fs_bufread, buffer_available); if (bytes_read < 0) { - /* An error occurred on the read */ + /* An error occurred on the read. The error code is + * in the 'errno' variable. + */ - goto err_out; + goto errout_with_errno; } else if (bytes_read == 0) { /* We are at the end of the file */ - goto short_read; + goto shortread; } else { @@ -246,7 +253,11 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) bytes_read = read(stream->fs_filedes, dest, count); if (bytes_read < 0) { - goto err_out; + /* An error occurred on the read. The error code is + * in the 'errno' variable. + */ + + goto errout_with_errno; } else if (bytes_read == 0) { @@ -259,13 +270,21 @@ ssize_t lib_fread(FAR void *ptr, size_t count, FAR FILE *stream) } } #endif + /* Here after a successful (but perhaps short) read */ + #if CONFIG_STDIO_BUFFER_SIZE > 0 - short_read: + shortread: #endif bytes_read = dest - (unsigned char*)ptr; - err_out: - lib_give_semaphore(stream); } - return bytes_read; + + lib_give_semaphore(stream); + return bytes_read; + +/* Error exits */ + +errout_with_errno: + lib_give_semaphore(stream); + return -get_errno(); } diff --git a/nuttx/lib/stdio/lib_libsprintf.c b/nuttx/lib/stdio/lib_libsprintf.c index 04d5477541..2474a6f01d 100644 --- a/nuttx/lib/stdio/lib_libsprintf.c +++ b/nuttx/lib/stdio/lib_libsprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_libsprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_rdflush.c b/nuttx/lib/stdio/lib_rdflush.c index 948dcce5da..35c5495c17 100644 --- a/nuttx/lib/stdio/lib_rdflush.c +++ b/nuttx/lib/stdio/lib_rdflush.c @@ -2,7 +2,7 @@ * lib/stdio/lib_rdflush.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_snprintf.c b/nuttx/lib/stdio/lib_snprintf.c index a4dcd399bd..e5ce7b0f02 100644 --- a/nuttx/lib/stdio/lib_snprintf.c +++ b/nuttx/lib/stdio/lib_snprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_snprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_sprintf.c b/nuttx/lib/stdio/lib_sprintf.c index 6de019cc5f..89fd610330 100644 --- a/nuttx/lib/stdio/lib_sprintf.c +++ b/nuttx/lib/stdio/lib_sprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_sprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_sscanf.c b/nuttx/lib/stdio/lib_sscanf.c index 3430aa0a02..c779077112 100644 --- a/nuttx/lib/stdio/lib_sscanf.c +++ b/nuttx/lib/stdio/lib_sscanf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_sscanf.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_syslogstream.c b/nuttx/lib/stdio/lib_syslogstream.c index 7e47d794a5..21151b43a1 100644 --- a/nuttx/lib/stdio/lib_syslogstream.c +++ b/nuttx/lib/stdio/lib_syslogstream.c @@ -2,7 +2,7 @@ * lib/stdio/lib_syslogstream.c * * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_ungetc.c b/nuttx/lib/stdio/lib_ungetc.c index 73e5917295..c10d4fba1a 100644 --- a/nuttx/lib/stdio/lib_ungetc.c +++ b/nuttx/lib/stdio/lib_ungetc.c @@ -2,7 +2,7 @@ * lib/stdio/lib_ungetc.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_vfprintf.c b/nuttx/lib/stdio/lib_vfprintf.c index 25c3954c08..1c3a2d7fc9 100644 --- a/nuttx/lib/stdio/lib_vfprintf.c +++ b/nuttx/lib/stdio/lib_vfprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_vfprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_vprintf.c b/nuttx/lib/stdio/lib_vprintf.c index a2e31fa052..d085d58869 100644 --- a/nuttx/lib/stdio/lib_vprintf.c +++ b/nuttx/lib/stdio/lib_vprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_vprintf.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_vsnprintf.c b/nuttx/lib/stdio/lib_vsnprintf.c index da885977c7..c6f52092d1 100644 --- a/nuttx/lib/stdio/lib_vsnprintf.c +++ b/nuttx/lib/stdio/lib_vsnprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_vsnprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_vsprintf.c b/nuttx/lib/stdio/lib_vsprintf.c index 72a829a794..5db46664e3 100644 --- a/nuttx/lib/stdio/lib_vsprintf.c +++ b/nuttx/lib/stdio/lib_vsprintf.c @@ -2,7 +2,7 @@ * lib/stdio/lib_vsprintf.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_wrflush.c b/nuttx/lib/stdio/lib_wrflush.c index c16109515b..5ef129d3fc 100644 --- a/nuttx/lib/stdio/lib_wrflush.c +++ b/nuttx/lib/stdio/lib_wrflush.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/stdio/lib_wrflush.c * - * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2008-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -88,29 +88,49 @@ int lib_wrflush(FAR FILE *stream) { +#if CONFIG_STDIO_BUFFER_SIZE > 0 + int ret; + /* Verify that we were passed a valid (i.e., non-NULL) stream */ -#if CONFIG_STDIO_BUFFER_SIZE > 0 - if (stream) +#ifdef CONFIG_DEBUG + if (!stream) { - /* Verify that the stream is opened for writing... lib_fflush will - * return an error if it is called for a stream that is not opened for - * writing. + return -EINVAL; + } +#endif + + /* Verify that the stream is opened for writing... lib_fflush will + * return an error if it is called for a stream that is not opened for + * writing. Check that first so that this function will not fail in + * that case. + */ + + if ((stream->fs_oflags & O_WROK) == 0) + { + /* Report that the success was successful if we attempt to flush a + * read-only stream. */ - if ((stream->fs_oflags & O_WROK) == 0 || - lib_fflush(stream, true) == 0) - { - /* Return success if there is no buffered write data -- i.e., that - * the stream is not opened for writing or, if it is, that all of - * the buffered write data was successfully flushed. - */ - - return OK; - } + return OK; } - return ERROR; + + /* Flush the stream. Return success if there is no buffered write data + * -- i.e., that the stream is opened for writing and that all of the + * buffered write data was successfully flushed by lib_fflush(). + */ + + return lib_fflush(stream, true); #else - return stream ? OK : ERROR; + /* Verify that we were passed a valid (i.e., non-NULL) stream */ + +#ifdef CONFIG_DEBUG + if (!stream) + { + return -EINVAL; + } +#endif + + return OK; #endif } diff --git a/nuttx/lib/stdio/lib_zeroinstream.c b/nuttx/lib/stdio/lib_zeroinstream.c index 27655b5475..39a6c22ef3 100644 --- a/nuttx/lib/stdio/lib_zeroinstream.c +++ b/nuttx/lib/stdio/lib_zeroinstream.c @@ -2,7 +2,7 @@ * lib/stdio/lib_zeroinstream.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions From ee6cba7a0102a6c26ee1143bc103fe8c99577520 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 31 Aug 2012 18:55:43 +0000 Subject: [PATCH 12/19] Add lib.csv that may be used to generate C library symbol tables git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5072 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/include/libgen.h | 4 +- nuttx/include/netinet/ether.h | 2 +- nuttx/lib/README.txt | 35 ++++ nuttx/lib/lib.csv | 170 ++++++++++++++++++ nuttx/lib/libgen/lib_basename.c | 6 +- nuttx/lib/libgen/lib_dirname.c | 6 +- nuttx/lib/math/lib_b16atan2.c | 2 +- nuttx/lib/math/lib_b16cos.c | 2 +- nuttx/lib/math/lib_b16sin.c | 2 +- nuttx/lib/math/lib_fixedmath.c | 4 +- nuttx/lib/math/lib_rint.c | 2 +- nuttx/lib/net/lib_etherntoa.c | 4 +- nuttx/lib/net/lib_htonl.c | 2 +- nuttx/lib/net/lib_htons.c | 2 +- nuttx/lib/pthread/pthread_attrdestroy.c | 2 +- .../lib/pthread/pthread_attrgetinheritsched.c | 2 +- nuttx/lib/pthread/pthread_attrgetschedparam.c | 2 +- .../lib/pthread/pthread_attrgetschedpolicy.c | 2 +- nuttx/lib/pthread/pthread_attrgetstacksize.c | 2 +- nuttx/lib/pthread/pthread_attrinit.c | 2 +- .../lib/pthread/pthread_attrsetinheritsched.c | 2 +- nuttx/lib/pthread/pthread_attrsetschedparam.c | 2 +- .../lib/pthread/pthread_attrsetschedpolicy.c | 2 +- nuttx/lib/pthread/pthread_attrsetstacksize.c | 2 +- .../lib/pthread/pthread_barrierattrdestroy.c | 2 +- .../pthread/pthread_barrierattrgetpshared.c | 2 +- nuttx/lib/pthread/pthread_barrierattrinit.c | 2 +- .../pthread/pthread_barrierattrsetpshared.c | 2 +- nuttx/lib/pthread/pthread_condattrdestroy.c | 2 +- nuttx/lib/pthread/pthread_condattrinit.c | 2 +- nuttx/lib/pthread/pthread_mutexattrdestroy.c | 2 +- .../lib/pthread/pthread_mutexattrgetpshared.c | 2 +- nuttx/lib/pthread/pthread_mutexattrgettype.c | 2 +- nuttx/lib/pthread/pthread_mutexattrinit.c | 2 +- .../lib/pthread/pthread_mutexattrsetpshared.c | 2 +- nuttx/lib/pthread/pthread_mutexattrsettype.c | 2 +- nuttx/lib/sched/sched_getprioritymax.c | 2 +- nuttx/lib/sched/sched_getprioritymin.c | 2 +- nuttx/lib/semaphore/sem_getvalue.c | 2 +- nuttx/lib/signal/sig_addset.c | 2 +- nuttx/lib/signal/sig_delset.c | 2 +- nuttx/lib/signal/sig_emptyset.c | 2 +- nuttx/lib/signal/sig_fillset.c | 2 +- nuttx/lib/signal/sig_ismember.c | 2 +- nuttx/lib/stdio/lib_fileno.c | 1 + nuttx/lib/stdlib/lib_abs.c | 2 +- nuttx/lib/stdlib/lib_imaxabs.c | 2 +- nuttx/lib/stdlib/lib_labs.c | 2 +- nuttx/lib/stdlib/lib_llabs.c | 2 +- nuttx/lib/stdlib/lib_qsort.c | 2 +- nuttx/lib/stdlib/lib_rand.c | 2 +- nuttx/lib/string/lib_strtokr.c | 2 +- nuttx/lib/time/lib_calendar2utc.c | 2 +- nuttx/lib/time/lib_daysbeforemonth.c | 2 +- nuttx/lib/time/lib_gmtime.c | 2 +- nuttx/lib/time/lib_gmtimer.c | 2 +- nuttx/lib/time/lib_isleapyear.c | 2 +- nuttx/lib/time/lib_mktime.c | 2 +- nuttx/lib/time/lib_strftime.c | 2 +- nuttx/lib/time/lib_time.c | 2 +- nuttx/lib/unistd/lib_chdir.c | 2 +- nuttx/lib/unistd/lib_getcwd.c | 2 +- nuttx/lib/unistd/lib_getopt.c | 2 +- nuttx/lib/unistd/lib_getoptargp.c | 2 +- nuttx/lib/unistd/lib_getoptindp.c | 2 +- nuttx/lib/unistd/lib_getoptoptp.c | 2 +- 66 files changed, 276 insertions(+), 70 deletions(-) create mode 100644 nuttx/lib/lib.csv diff --git a/nuttx/include/libgen.h b/nuttx/include/libgen.h index e659483768..0d42dc7782 100644 --- a/nuttx/include/libgen.h +++ b/nuttx/include/libgen.h @@ -55,8 +55,8 @@ extern "C" { #define EXTERN extern #endif -EXTERN char *basename(char *path); -EXTERN char *dirname(char *path); +EXTERN FAR char *basename(FAR char *path); +EXTERN FAR char *dirname(FAR char *path); #undef EXTERN #ifdef __cplusplus diff --git a/nuttx/include/netinet/ether.h b/nuttx/include/netinet/ether.h index f11fef6dbf..69b8fbba67 100644 --- a/nuttx/include/netinet/ether.h +++ b/nuttx/include/netinet/ether.h @@ -63,7 +63,7 @@ extern "C" { #define EXTERN extern #endif -EXTERN char *ether_ntoa(const struct ether_addr *addr); +EXTERN FAR char *ether_ntoa(FAR const struct ether_addr *addr); EXTERN struct ether_addr *ether_aton(const char *asc); EXTERN int ether_ntohost(char *hostname, const struct ether_addr *addr); EXTERN int ether_hostton(const char *hostname, struct ether_addr *addr); diff --git a/nuttx/lib/README.txt b/nuttx/lib/README.txt index 62e2fcce2e..7de8580485 100644 --- a/nuttx/lib/README.txt +++ b/nuttx/lib/README.txt @@ -45,3 +45,38 @@ directory: misc - Nonstandard "glue" logic, debug.h, crc32.h, dirent.h +Library Database +================ + +Information about functions available in the NuttX C library information is +maintained in a database. That "database" is implemented as a simple comma- +separated-value file, lib.csv. Most spreadsheets programs will accept this +format and can be used to maintain the library database. + +This library database will (eventually) be used to generate symbol library +symbol table information that can be exported to external applications. + +The format of the CSV file for each line is: + + Field 1: Function name + Field 2: The header file that contains the function prototype + Field 3: Condition for compilation + Field 4: The type of function return value. + Field 5 - N+5: The type of each of the N formal parameters of the function + +Each type field has a format as follows: + + type name: + For all simpler types + formal type | actual type: + For array types where the form of the formal (eg. int parm[2]) + differs from the type of actual passed parameter (eg. int*). This + is necessary because you cannot do simple casts to array types. + formal type | union member actual type | union member fieldname: + A similar situation exists for unions. For example, the formal + parameter type union sigval -- You cannot cast a uintptr_t to + a union sigval, but you can cast to the type of one of the union + member types when passing the actual paramter. Similarly, we + cannot cast a union sigval to a uinptr_t either. Rather, we need + to cast a specific union member fieldname to uintptr_t. + diff --git a/nuttx/lib/lib.csv b/nuttx/lib/lib.csv new file mode 100644 index 0000000000..a55d5dbfe4 --- /dev/null +++ b/nuttx/lib/lib.csv @@ -0,0 +1,170 @@ +"_inet_ntoa","#include ","#if !defined(CONFIG_NET_IPv6) && !defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","in_addr_t" +"abort","#include ","","void" +"abs","#include ","","int","int" +"asprintf","#include ","","int","FAR char **","const char *","..." +"avsprintf","#include ","","int","FAR char **","const char *","va_list" +"b16atan2","#include ","","b16_t","b16_t","b16_t" +"b16cos","#include ","","b16_t","b16_t" +"b16divb16","#include ","","b16_t","b16_t","b16_t" +"b16mulb16","#include ","","b16_t","b16_t","b16_t" +"b16sin","#include ","","b16_t","b16_t" +"b16sqr","#include ","","b16_t","b16_t" +"basename","#include ","","FAR char","FAR char *" +"cfgetspeed","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","speed_t","FAR const struct termios *" +"cfsetspeed","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","FAR struct termios *","speed_t" +"chdir","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *" +"crc32","#include ","","uint32_t","FAR const uint8_t *","size_t" +"crc32part","#include ","","uint32_t","FAR const uint8_t *","size_t","uint32_t" +"dbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG)","int","const char *","..." +"dbg_enable","#include ","#ifdef CONFIG_DEBUG_ENABLE","void","bool" +"dirname","#include ","","FAR char","FAR char *" +"dq_addafter","#include ","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" +"dq_addbefore","#include ","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" +"dq_addfirst","#include ","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_addlast","#include ","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_rem","#include ","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_remfirst","#include ","","FAR dq_entry_t","dq_queue_t *" +"dq_remlast","#include ","","FAR dq_entry_t","dq_queue_t *" +"ether_ntoa","#include ","","FAR char","FAR const struct ether_addr *" +"fclose","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fdopen","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","int","FAR const char *" +"fflush","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fgetc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fgetpos","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" +"fgets","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *","int","FAR FILE *" +"fileno","#include ","","int","FAR FILE *" +"fopen","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","FAR const char *","FAR const char *" +"fprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR const char *","..." +"fputc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int c","FAR FILE *" +"fputs","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","FAR FILE *" +"fread","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR void *","size_t","size_t","FAR FILE *" +"fseek","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","long int","int" +"fsetpos","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" +"ftell","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","long","FAR FILE *" +"fwrite","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR const void *","size_t","size_t","FAR FILE *" +"getcwd","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","FAR char","FAR char *","size_t" +"getopt","#include ","","int","int","FAR char *const[]","FAR const char *" +"getoptargp","#include ","","FAR char *" +"getoptindp","#include ","","int" +"getoptoptp","#include ","","int" +"gets","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *" +"gmtime","#include ","","struct tm","const time_t *" +"gmtime_r","#include ","","FAR struct tm","FAR const time_t *","FAR struct tm *" +"htonl","#include ","","uint32_t","uint32_t" +"htons","#include ","","uint16_t","uint16_t" +"imaxabs","#include ","","intmax_t","intmax_t" +"inet_addr","#include ","","in_addr_t","FAR const char " +"inet_ntoa","#include ","#if !defined(CONFIG_NET_IPv6) && defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","struct in_addr" +"inet_ntop","#include ","","FAR const char","int","FAR const void *","FAR char *","socklen_t" +"inet_pton","#include ","","int","int","FAR const char *","FAR void *" +"labs","#include ","","long int","long int" +"lib_dumpbuffer","#include ","","void","FAR const char *","FAR const uint8_t *","unsigned int" +"lib_lowprintf","#include ","","int","FAR const char *","..." +"lib_rawprintf","#include ","","int","FAR const char *","..." +"llabs","#include ","#ifdef CONFIG_HAVE_LONG_LONG","long long int","long long int" +"lldbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." +"llvdbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." +"match","","","int","const char *","const char *" +"memccpy","#include ","","FAR void","FAR void *","FAR const void *","int c","size_t" +"memchr","#include ","","FAR void","FAR const void *","int c","size_t" +"memcmp","#include ","","int","FAR const void *","FAR const void *","size_t" +"memcpy","#include ","","FAR void","FAR void *","FAR const void *","size_t" +"memmove","#include ","","FAR void","FAR void *","FAR const void *","size_t" +"memset","#include ","","FAR void","FAR void *","int c","size_t" +"mktime","#include ","","time_t","const struct tm *" +"mq_getattr","#include ","#ifndef CONFIG_DISABLE_MQUEUE","int","mqd_t","struct mq_attr *" +"mq_setattr","#include ","#ifndef CONFIG_DISABLE_MQUEUE","int","mqd_t","const struct mq_attr *","struct mq_attr *" +"ntohl","#include ","","uint32_t","uint32_t" +"ntohs","#include ","","uint16_t","uint16_t" +"perror","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","void","FAR const char *" +"printf","#include ","","int","const char *","..." +"pthread_attr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *" +"pthread_attr_getinheritsched","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR const pthread_attr_t *","FAR int *" +"pthread_attr_getschedparam","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR struct sched_param *" +"pthread_attr_getschedpolicy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int *" +"pthread_attr_getstacksize","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR long *" +"pthread_attr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *" +"pthread_attr_setinheritsched","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int" +"pthread_attr_setschedparam","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR const struct sched_param *" +"pthread_attr_setschedpolicy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int" +"pthread_attr_setstacksize","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","long" +"pthread_barrierattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *" +"pthread_barrierattr_getpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR const pthread_barrierattr_t *","FAR int *" +"pthread_barrierattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *" +"pthread_barrierattr_setpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *","int" +"pthread_condattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_condattr_t *" +"pthread_condattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_condattr_t *" +"pthread_mutexattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *" +"pthread_mutexattr_getpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *","FAR int *" +"pthread_mutexattr_gettype","#include ","#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","const pthread_mutexattr_t *","int *" +"pthread_mutexattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *" +"pthread_mutexattr_setpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *","int " +"pthread_mutexattr_settype","#include ","#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","pthread_mutexattr_t *","int" +"puts","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *" +"qsort","#include ","","void","void *","size_t","size_t","int(*)(const void *","const void *)" +"rand","#include ","","int" +"readdir_r","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0","int","FAR DIR *","FAR struct dirent *","FAR struct dirent **" +"rint","","","double_t","double_t" +"sched_get_priority_max","#include ","","int","int" +"sched_get_priority_min","#include ","","int","int" +"sem_getvalue","#include ","","int","FAR sem_t *","FAR int *" +"sem_init","#include ","","int","FAR sem_t *","int","unsigned int" +"sigaddset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *","int" +"sigdelset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *","int" +"sigemptyset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *" +"sigfillset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *" +"sigismember","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR const sigset_t *","int" +"snprintf","#include ","","int","FAR char *","size_t","const char *","..." +"sprintf","#include ","","int","FAR char *","const char *","..." +"sq_addafter","#include ","","void","FAR sq_entry_t *","FAR sq_entry_t *","FAR sq_queue_t *" +"sq_addfirst","#include ","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_addlast","#include ","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_rem","#include ","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_remafter","#include ","","FAR sq_entry_t","FAR sq_entry_t *","sq_queue_t *" +"sq_remfirst","#include ","","FAR sq_entry_t","sq_queue_t *" +"sq_remlast","#include ","","FAR sq_entry_t","sq_queue_t *" +"srand","#include ","","void","unsigned int" +"sscanf","#include ","","int","const char *","const char *","..." +"strcasecmp","#include ","","int","FAR const char *","FAR const char *" +"strcasestr","#include ","","FAR char","FAR const char *","FAR const char *" +"strcat","#include ","","FAR char","FAR char *","FAR const char *" +"strchr","#include ","","FAR char","FAR const char *","int" +"strcmp","#include ","","int","FAR const char *","FAR const char *" +"strcpy","#include ","","FAR char","char *","FAR const char *" +"strcspn","#include ","","size_t","FAR const char *","FAR const char *" +"strdup","#include ","","FAR char","FAR const char *" +"strerror","#include ","","FAR const char","int" +"strftime","#include ","","size_t","char *","size_t","const char *","const struct tm *" +"strlen","#include ","","size_t","FAR const char *" +"strncasecmp","#include ","","int","FAR const char *","FAR const char *","size_t" +"strncat","#include ","","FAR char","FAR char *","FAR const char *","size_t" +"strncmp","#include ","","int","FAR const char *","FAR const char *","size_t" +"strncpy","#include ","","FAR char","char *","FAR const char *","size_t" +"strndup","#include ","","FAR char","FAR const char *","size_t" +"strnlen","#include ","","size_t","FAR const char *","size_t" +"strpbrk","#include ","","FAR char","FAR const char *","FAR const char *" +"strrchr","#include ","","FAR char","FAR const char *","int" +"strspn","#include ","","size_t","FAR const char *","FAR const char *" +"strstr","#include ","","FAR char","FAR const char *","FAR const char *" +"strtod","#include ","","double_t","const char *str","char **endptr" +"strtok","#include ","","FAR char","FAR char *","FAR const char *" +"strtok_r","#include ","","FAR char","FAR char *","FAR const char *","FAR char **" +"strtol","#include ","","long","const char *","char **","int" +"strtoll","#include ","#ifdef CONFIG_HAVE_LONG_LONG","long long","const char *nptr","char **endptr","int base" +"strtoul","#include ","","unsigned long","const char *","char **","int" +"strtoull","#include ","#ifdef CONFIG_HAVE_LONG_LONG","unsigned long long","const char *","char **","int" +"tcflush","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int" +"tcgetattr","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","FAR struct termios *" +"tcsetattr","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int","FAR const struct termios *" +"telldir","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0","off_t","FAR DIR *" +"time","#include ","","time_t","time_t *" +"ub16divub16","#include ","","ub16_t","ub16_t","ub16_t" +"ub16mulub16","#include ","","ub16_t","ub16_t","ub16_t" +"ub16sqr","#include ","","ub16_t","ub16_t" +"ungetc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int","FAR FILE *" +"vdbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE)","int","const char *","..." +"vfprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","const char *","va_list" +"vprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","va_list" +"vsnprintf","#include ","","int","FAR char *","size_t","const char *","va_list" +"vsprintf","#include ","","int","FAR char *","const char *","va_list" +"vsscanf","#include ","","int","char *","const char *","va_list" diff --git a/nuttx/lib/libgen/lib_basename.c b/nuttx/lib/libgen/lib_basename.c index 5741d976a9..986c6b8520 100644 --- a/nuttx/lib/libgen/lib_basename.c +++ b/nuttx/lib/libgen/lib_basename.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/libgen/lib_basename.c * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -78,7 +78,7 @@ static char g_retchar[2]; * ****************************************************************************/ -char *basename(char *path) +FAR char *basename(FAR char *path) { char *p; int len; diff --git a/nuttx/lib/libgen/lib_dirname.c b/nuttx/lib/libgen/lib_dirname.c index c416d8aca3..248293a605 100644 --- a/nuttx/lib/libgen/lib_dirname.c +++ b/nuttx/lib/libgen/lib_dirname.c @@ -1,8 +1,8 @@ /**************************************************************************** * lib/libgen/lib_dirname.c * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -78,7 +78,7 @@ static char g_retchar[2]; * ****************************************************************************/ -char *dirname(char *path) +FAR char *dirname(FAR char *path) { char *p; int len; diff --git a/nuttx/lib/math/lib_b16atan2.c b/nuttx/lib/math/lib_b16atan2.c index a396524517..8792fa0879 100644 --- a/nuttx/lib/math/lib_b16atan2.c +++ b/nuttx/lib/math/lib_b16atan2.c @@ -2,7 +2,7 @@ * lib/math/lib_b16atan2.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/math/lib_b16cos.c b/nuttx/lib/math/lib_b16cos.c index 69cc610425..7547871f63 100644 --- a/nuttx/lib/math/lib_b16cos.c +++ b/nuttx/lib/math/lib_b16cos.c @@ -2,7 +2,7 @@ * lib/math/lib_b16cos.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/math/lib_b16sin.c b/nuttx/lib/math/lib_b16sin.c index fc4b5e5663..1eee179934 100644 --- a/nuttx/lib/math/lib_b16sin.c +++ b/nuttx/lib/math/lib_b16sin.c @@ -2,7 +2,7 @@ * lib/math/lib_b16sin.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/math/lib_fixedmath.c b/nuttx/lib/math/lib_fixedmath.c index b20158dc85..c1a710e739 100644 --- a/nuttx/lib/math/lib_fixedmath.c +++ b/nuttx/lib/math/lib_fixedmath.c @@ -2,7 +2,7 @@ * lib/math/lib_fixedmath.c * * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -165,7 +165,7 @@ ub16_t ub16mulub16(ub16_t m1, ub16_t m2) } /**************************************************************************** - * Name: b16divb16 + * Name: b16sqr **************************************************************************/ b16_t b16sqr(b16_t a) diff --git a/nuttx/lib/math/lib_rint.c b/nuttx/lib/math/lib_rint.c index b122870b81..bd861ecedc 100644 --- a/nuttx/lib/math/lib_rint.c +++ b/nuttx/lib/math/lib_rint.c @@ -2,7 +2,7 @@ * lib/math/lib_rint.c * * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/net/lib_etherntoa.c b/nuttx/lib/net/lib_etherntoa.c index 2535491833..f89f205a2e 100644 --- a/nuttx/lib/net/lib_etherntoa.c +++ b/nuttx/lib/net/lib_etherntoa.c @@ -2,7 +2,7 @@ * lib/net/lib_etherntoa.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -58,7 +58,7 @@ * ****************************************************************************/ -char *ether_ntoa(const struct ether_addr *addr) +FAR char *ether_ntoa(FAR const struct ether_addr *addr) { static char buffer[20]; sprintf(buffer, "%02x:%02x:%02x:%02x:%02x:%02x", diff --git a/nuttx/lib/net/lib_htonl.c b/nuttx/lib/net/lib_htonl.c index f43b525050..e4c3e53838 100644 --- a/nuttx/lib/net/lib_htonl.c +++ b/nuttx/lib/net/lib_htonl.c @@ -2,7 +2,7 @@ * lib/net/lib_ntohl.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/net/lib_htons.c b/nuttx/lib/net/lib_htons.c index 66d736a33f..b4117e1dc2 100644 --- a/nuttx/lib/net/lib_htons.c +++ b/nuttx/lib/net/lib_htons.c @@ -2,7 +2,7 @@ * lib/net/lib_htons.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrdestroy.c b/nuttx/lib/pthread/pthread_attrdestroy.c index fdadab7432..103528c7e1 100644 --- a/nuttx/lib/pthread/pthread_attrdestroy.c +++ b/nuttx/lib/pthread/pthread_attrdestroy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrdestroy.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrgetinheritsched.c b/nuttx/lib/pthread/pthread_attrgetinheritsched.c index c1b764faa3..02d6e0b7c0 100644 --- a/nuttx/lib/pthread/pthread_attrgetinheritsched.c +++ b/nuttx/lib/pthread/pthread_attrgetinheritsched.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrgetinheritsched.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrgetschedparam.c b/nuttx/lib/pthread/pthread_attrgetschedparam.c index fa456f61a4..c6bf55dea8 100644 --- a/nuttx/lib/pthread/pthread_attrgetschedparam.c +++ b/nuttx/lib/pthread/pthread_attrgetschedparam.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrgetschedparam.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrgetschedpolicy.c b/nuttx/lib/pthread/pthread_attrgetschedpolicy.c index b4f762b519..c42b828c96 100644 --- a/nuttx/lib/pthread/pthread_attrgetschedpolicy.c +++ b/nuttx/lib/pthread/pthread_attrgetschedpolicy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrgetschedpolicy.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrgetstacksize.c b/nuttx/lib/pthread/pthread_attrgetstacksize.c index 06e40b5fbe..2faa586ba8 100644 --- a/nuttx/lib/pthread/pthread_attrgetstacksize.c +++ b/nuttx/lib/pthread/pthread_attrgetstacksize.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrgetstacksize.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrinit.c b/nuttx/lib/pthread/pthread_attrinit.c index 7df73e54b4..d06a535d78 100644 --- a/nuttx/lib/pthread/pthread_attrinit.c +++ b/nuttx/lib/pthread/pthread_attrinit.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrinit.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrsetinheritsched.c b/nuttx/lib/pthread/pthread_attrsetinheritsched.c index ebdc9b3e45..df2c2fba33 100644 --- a/nuttx/lib/pthread/pthread_attrsetinheritsched.c +++ b/nuttx/lib/pthread/pthread_attrsetinheritsched.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrsetinheritsched.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrsetschedparam.c b/nuttx/lib/pthread/pthread_attrsetschedparam.c index 4f65bcd8cb..c2ab4d1c41 100644 --- a/nuttx/lib/pthread/pthread_attrsetschedparam.c +++ b/nuttx/lib/pthread/pthread_attrsetschedparam.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrsetschedparam.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrsetschedpolicy.c b/nuttx/lib/pthread/pthread_attrsetschedpolicy.c index b4b1fd0543..4e43e635de 100644 --- a/nuttx/lib/pthread/pthread_attrsetschedpolicy.c +++ b/nuttx/lib/pthread/pthread_attrsetschedpolicy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrsetschedpolicy.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_attrsetstacksize.c b/nuttx/lib/pthread/pthread_attrsetstacksize.c index a2de8ac78d..8a826dd3ac 100644 --- a/nuttx/lib/pthread/pthread_attrsetstacksize.c +++ b/nuttx/lib/pthread/pthread_attrsetstacksize.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_attrsetstacksize.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_barrierattrdestroy.c b/nuttx/lib/pthread/pthread_barrierattrdestroy.c index 7498bc4f23..6d16b9cff8 100644 --- a/nuttx/lib/pthread/pthread_barrierattrdestroy.c +++ b/nuttx/lib/pthread/pthread_barrierattrdestroy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_barrierattrdestroy.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_barrierattrgetpshared.c b/nuttx/lib/pthread/pthread_barrierattrgetpshared.c index f4b4f64c13..d29bc6dfc8 100644 --- a/nuttx/lib/pthread/pthread_barrierattrgetpshared.c +++ b/nuttx/lib/pthread/pthread_barrierattrgetpshared.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_barrierattrgetpshared.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_barrierattrinit.c b/nuttx/lib/pthread/pthread_barrierattrinit.c index 47bbb8eb42..b5f35ca917 100644 --- a/nuttx/lib/pthread/pthread_barrierattrinit.c +++ b/nuttx/lib/pthread/pthread_barrierattrinit.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_barrierattrinit.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_barrierattrsetpshared.c b/nuttx/lib/pthread/pthread_barrierattrsetpshared.c index a982eea393..d0eecbf5a4 100644 --- a/nuttx/lib/pthread/pthread_barrierattrsetpshared.c +++ b/nuttx/lib/pthread/pthread_barrierattrsetpshared.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_barrierattrsetpshared.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_condattrdestroy.c b/nuttx/lib/pthread/pthread_condattrdestroy.c index c55dcd4e3f..d6c3df5d1a 100644 --- a/nuttx/lib/pthread/pthread_condattrdestroy.c +++ b/nuttx/lib/pthread/pthread_condattrdestroy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_condattrdestroy.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_condattrinit.c b/nuttx/lib/pthread/pthread_condattrinit.c index 75f01a11b6..5721c61593 100644 --- a/nuttx/lib/pthread/pthread_condattrinit.c +++ b/nuttx/lib/pthread/pthread_condattrinit.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_condattrinit.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrdestroy.c b/nuttx/lib/pthread/pthread_mutexattrdestroy.c index 59e81528be..e9868df68b 100644 --- a/nuttx/lib/pthread/pthread_mutexattrdestroy.c +++ b/nuttx/lib/pthread/pthread_mutexattrdestroy.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrdestroy.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrgetpshared.c b/nuttx/lib/pthread/pthread_mutexattrgetpshared.c index e5e09bbbe1..bc6379db5f 100644 --- a/nuttx/lib/pthread/pthread_mutexattrgetpshared.c +++ b/nuttx/lib/pthread/pthread_mutexattrgetpshared.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrgetpshared.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrgettype.c b/nuttx/lib/pthread/pthread_mutexattrgettype.c index 93cbe36019..5fb10f3015 100644 --- a/nuttx/lib/pthread/pthread_mutexattrgettype.c +++ b/nuttx/lib/pthread/pthread_mutexattrgettype.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrgettype.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrinit.c b/nuttx/lib/pthread/pthread_mutexattrinit.c index 729b0b8e14..f815bf16c1 100644 --- a/nuttx/lib/pthread/pthread_mutexattrinit.c +++ b/nuttx/lib/pthread/pthread_mutexattrinit.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrinit.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrsetpshared.c b/nuttx/lib/pthread/pthread_mutexattrsetpshared.c index 752e9faa03..900476fdd2 100644 --- a/nuttx/lib/pthread/pthread_mutexattrsetpshared.c +++ b/nuttx/lib/pthread/pthread_mutexattrsetpshared.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrsetpshared.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/pthread/pthread_mutexattrsettype.c b/nuttx/lib/pthread/pthread_mutexattrsettype.c index e095dd70c3..81427c757e 100644 --- a/nuttx/lib/pthread/pthread_mutexattrsettype.c +++ b/nuttx/lib/pthread/pthread_mutexattrsettype.c @@ -2,7 +2,7 @@ * lib/pthread/pthread_mutexattrsettype.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/sched/sched_getprioritymax.c b/nuttx/lib/sched/sched_getprioritymax.c index 8be45d7100..14b368dfc0 100644 --- a/nuttx/lib/sched/sched_getprioritymax.c +++ b/nuttx/lib/sched/sched_getprioritymax.c @@ -2,7 +2,7 @@ * lib/sched/sched_getprioritymax.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/sched/sched_getprioritymin.c b/nuttx/lib/sched/sched_getprioritymin.c index a590f1fc2e..86410cb0f6 100644 --- a/nuttx/lib/sched/sched_getprioritymin.c +++ b/nuttx/lib/sched/sched_getprioritymin.c @@ -2,7 +2,7 @@ * lib/sched/sched_getprioritymin.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/semaphore/sem_getvalue.c b/nuttx/lib/semaphore/sem_getvalue.c index 137eb90010..31c6bb7e06 100644 --- a/nuttx/lib/semaphore/sem_getvalue.c +++ b/nuttx/lib/semaphore/sem_getvalue.c @@ -2,7 +2,7 @@ * lib/semaphore/sem_getvalue.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/signal/sig_addset.c b/nuttx/lib/signal/sig_addset.c index af9463aac8..19ba0cb6b6 100644 --- a/nuttx/lib/signal/sig_addset.c +++ b/nuttx/lib/signal/sig_addset.c @@ -2,7 +2,7 @@ * lib/signal/sig_addset.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/signal/sig_delset.c b/nuttx/lib/signal/sig_delset.c index 489c59afac..1c661d37f6 100644 --- a/nuttx/lib/signal/sig_delset.c +++ b/nuttx/lib/signal/sig_delset.c @@ -2,7 +2,7 @@ * lib/signal/sig_delset.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/signal/sig_emptyset.c b/nuttx/lib/signal/sig_emptyset.c index bfee588323..ac0c6b3e89 100644 --- a/nuttx/lib/signal/sig_emptyset.c +++ b/nuttx/lib/signal/sig_emptyset.c @@ -2,7 +2,7 @@ * lib/signal/sig_emptyset.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/signal/sig_fillset.c b/nuttx/lib/signal/sig_fillset.c index c660da0ad8..8697d7577f 100644 --- a/nuttx/lib/signal/sig_fillset.c +++ b/nuttx/lib/signal/sig_fillset.c @@ -2,7 +2,7 @@ * lib/signal/sig_fillset.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/signal/sig_ismember.c b/nuttx/lib/signal/sig_ismember.c index 88dc8d819b..c5bb091b7b 100644 --- a/nuttx/lib/signal/sig_ismember.c +++ b/nuttx/lib/signal/sig_ismember.c @@ -2,7 +2,7 @@ * lib/signal/sig_ismember.c * * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdio/lib_fileno.c b/nuttx/lib/stdio/lib_fileno.c index ff18cc33d7..fca08fc0d4 100644 --- a/nuttx/lib/stdio/lib_fileno.c +++ b/nuttx/lib/stdio/lib_fileno.c @@ -63,6 +63,7 @@ int fileno(FAR FILE *stream) set_errno(EBADF); return ERROR; } + return ret; } #endif /* CONFIG_NFILE_STREAMS */ diff --git a/nuttx/lib/stdlib/lib_abs.c b/nuttx/lib/stdlib/lib_abs.c index 5c805d8579..1a0c1671cc 100644 --- a/nuttx/lib/stdlib/lib_abs.c +++ b/nuttx/lib/stdlib/lib_abs.c @@ -2,7 +2,7 @@ * lib/stdlib/lib_abs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdlib/lib_imaxabs.c b/nuttx/lib/stdlib/lib_imaxabs.c index d16791b268..c6e227c7de 100644 --- a/nuttx/lib/stdlib/lib_imaxabs.c +++ b/nuttx/lib/stdlib/lib_imaxabs.c @@ -2,7 +2,7 @@ * lib/stdlib//lib_abs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdlib/lib_labs.c b/nuttx/lib/stdlib/lib_labs.c index c9d9c19351..f7218ee833 100644 --- a/nuttx/lib/stdlib/lib_labs.c +++ b/nuttx/lib/stdlib/lib_labs.c @@ -2,7 +2,7 @@ * lib/stdlib/lib_labs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdlib/lib_llabs.c b/nuttx/lib/stdlib/lib_llabs.c index 24e26e9e11..db7d3dbe07 100644 --- a/nuttx/lib/stdlib/lib_llabs.c +++ b/nuttx/lib/stdlib/lib_llabs.c @@ -2,7 +2,7 @@ * lib/stdlib/lib_llabs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/stdlib/lib_qsort.c b/nuttx/lib/stdlib/lib_qsort.c index 13bca7499a..9dd5c00409 100644 --- a/nuttx/lib/stdlib/lib_qsort.c +++ b/nuttx/lib/stdlib/lib_qsort.c @@ -2,7 +2,7 @@ * lib/stdlib/lib_qsort.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Leveraged from: * diff --git a/nuttx/lib/stdlib/lib_rand.c b/nuttx/lib/stdlib/lib_rand.c index 537bc1aaee..7227c52d0d 100644 --- a/nuttx/lib/stdlib/lib_rand.c +++ b/nuttx/lib/stdlib/lib_rand.c @@ -2,7 +2,7 @@ * lib/stdlib/lib_rand.c * * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/string/lib_strtokr.c b/nuttx/lib/string/lib_strtokr.c index 366a318198..0d12a23815 100644 --- a/nuttx/lib/string/lib_strtokr.c +++ b/nuttx/lib/string/lib_strtokr.c @@ -90,7 +90,7 @@ * ****************************************************************************/ -char *strtok_r(char *str, const char *delim, char **saveptr) +FAR char *strtok_r(FAR char *str, FAR const char *delim, FAR char **saveptr) { char *pbegin; char *pend = NULL; diff --git a/nuttx/lib/time/lib_calendar2utc.c b/nuttx/lib/time/lib_calendar2utc.c index 642e23568a..e80c292fc6 100644 --- a/nuttx/lib/time/lib_calendar2utc.c +++ b/nuttx/lib/time/lib_calendar2utc.c @@ -2,7 +2,7 @@ * lib/time/lib_calendar2utc.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_daysbeforemonth.c b/nuttx/lib/time/lib_daysbeforemonth.c index 4312adaba2..8000b0e7a9 100644 --- a/nuttx/lib/time/lib_daysbeforemonth.c +++ b/nuttx/lib/time/lib_daysbeforemonth.c @@ -2,7 +2,7 @@ * lib/time/lib_daysbeforemonth.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_gmtime.c b/nuttx/lib/time/lib_gmtime.c index 7bce8391ed..99afeded9e 100644 --- a/nuttx/lib/time/lib_gmtime.c +++ b/nuttx/lib/time/lib_gmtime.c @@ -2,7 +2,7 @@ * lib/time/lib_gmtime.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_gmtimer.c b/nuttx/lib/time/lib_gmtimer.c index 146939e7a4..ba1c9724f1 100644 --- a/nuttx/lib/time/lib_gmtimer.c +++ b/nuttx/lib/time/lib_gmtimer.c @@ -2,7 +2,7 @@ * lib/time/lib_gmtimer.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_isleapyear.c b/nuttx/lib/time/lib_isleapyear.c index 24d7d6153d..966c248e01 100644 --- a/nuttx/lib/time/lib_isleapyear.c +++ b/nuttx/lib/time/lib_isleapyear.c @@ -2,7 +2,7 @@ * lib/time/lib_isleapyear.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_mktime.c b/nuttx/lib/time/lib_mktime.c index 2e8cfc119e..8c17e7c0ab 100644 --- a/nuttx/lib/time/lib_mktime.c +++ b/nuttx/lib/time/lib_mktime.c @@ -2,7 +2,7 @@ * lib/time/lib_mktime.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_strftime.c b/nuttx/lib/time/lib_strftime.c index c1ac345ee0..cd0804f55d 100644 --- a/nuttx/lib/time/lib_strftime.c +++ b/nuttx/lib/time/lib_strftime.c @@ -2,7 +2,7 @@ * lib/time/lib_strftime.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/time/lib_time.c b/nuttx/lib/time/lib_time.c index 02853132b0..106a04c366 100644 --- a/nuttx/lib/time/lib_time.c +++ b/nuttx/lib/time/lib_time.c @@ -2,7 +2,7 @@ * lib/time/lib_time.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_chdir.c b/nuttx/lib/unistd/lib_chdir.c index f79b424ff0..3dd1333cec 100644 --- a/nuttx/lib/unistd/lib_chdir.c +++ b/nuttx/lib/unistd/lib_chdir.c @@ -2,7 +2,7 @@ * lib/unistd/lib_chdir.c * * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_getcwd.c b/nuttx/lib/unistd/lib_getcwd.c index 9bfa102fb6..b94823300b 100644 --- a/nuttx/lib/unistd/lib_getcwd.c +++ b/nuttx/lib/unistd/lib_getcwd.c @@ -2,7 +2,7 @@ * lib/unistd/lib_getcwd.c * * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_getopt.c b/nuttx/lib/unistd/lib_getopt.c index 26a2c7fae4..832d287213 100644 --- a/nuttx/lib/unistd/lib_getopt.c +++ b/nuttx/lib/unistd/lib_getopt.c @@ -2,7 +2,7 @@ * lib/unistd/lib_getopt.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_getoptargp.c b/nuttx/lib/unistd/lib_getoptargp.c index 4a483c051b..98a4850169 100644 --- a/nuttx/lib/unistd/lib_getoptargp.c +++ b/nuttx/lib/unistd/lib_getoptargp.c @@ -2,7 +2,7 @@ * lib/unistd/lib_getoptargp.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_getoptindp.c b/nuttx/lib/unistd/lib_getoptindp.c index 002201aa94..7714f8e708 100644 --- a/nuttx/lib/unistd/lib_getoptindp.c +++ b/nuttx/lib/unistd/lib_getoptindp.c @@ -2,7 +2,7 @@ * lib/unistd/lib_getoptindp.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/lib/unistd/lib_getoptoptp.c b/nuttx/lib/unistd/lib_getoptoptp.c index 2214f2d141..4805b7ac3b 100644 --- a/nuttx/lib/unistd/lib_getoptoptp.c +++ b/nuttx/lib/unistd/lib_getoptoptp.c @@ -2,7 +2,7 @@ * lib/unistd/lib_getoptoptp.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions From 0eb58dfb72f5536fbe8d675836a45d5c455bf0d2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 31 Aug 2012 23:05:51 +0000 Subject: [PATCH 13/19] The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg) git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5073 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/ChangeLog.txt | 9 +- apps/examples/uip/Makefile | 10 +- apps/examples/uip/cgi.c | 108 +++ apps/examples/uip/cgi.h | 43 + apps/examples/uip/httpd-fs/404.html | 8 + apps/examples/uip/httpd-fs/fade.png | Bin 0 -> 196 bytes apps/examples/uip/httpd-fs/files.shtml | 31 + apps/examples/uip/httpd-fs/footer.html | 3 + apps/examples/uip/httpd-fs/header.html | 16 + apps/examples/uip/httpd-fs/index.shtml | 10 + apps/examples/uip/httpd-fs/stats.shtml | 31 + apps/examples/uip/httpd-fs/style.css | 92 ++ apps/examples/uip/httpd-fs/tcp.shtml | 5 + apps/examples/uip/main.c | 5 +- apps/include/netutils/httpd.h | 128 ++- apps/netutils/webserver/Makefile | 2 +- apps/netutils/webserver/httpd.c | 57 +- apps/netutils/webserver/httpd.h | 58 +- apps/netutils/webserver/httpd_cgi.c | 108 +-- apps/netutils/webserver/httpd_cgi.h | 60 +- apps/netutils/webserver/httpd_fs.c | 46 +- apps/netutils/webserver/httpd_fsdata.c | 614 ------------- apps/netutils/webserver/httpd_fsdata.h | 79 -- apps/netutils/webserver/makefsdata | 75 -- nuttx/ChangeLog | 8 +- nuttx/configs/stm3240g-eval/README.txt | 2 +- nuttx/configs/stm3240g-eval/dhcpd/Make.defs | 4 +- nuttx/configs/stm3240g-eval/dhcpd/ld.script | 122 --- nuttx/configs/stm3240g-eval/nettest/Make.defs | 4 +- nuttx/configs/stm3240g-eval/nsh/Make.defs | 4 +- nuttx/configs/stm3240g-eval/nsh/ld.script | 122 --- nuttx/configs/stm3240g-eval/nsh2/Make.defs | 4 +- nuttx/configs/stm3240g-eval/nsh2/ld.script | 122 --- .../configs/stm3240g-eval/nxconsole/Make.defs | 4 +- .../configs/stm3240g-eval/nxconsole/ld.script | 122 --- nuttx/configs/stm3240g-eval/nxwm/Make.defs | 4 +- nuttx/configs/stm3240g-eval/nxwm/ld.script | 122 --- nuttx/configs/stm3240g-eval/ostest/Make.defs | 4 +- nuttx/configs/stm3240g-eval/ostest/ld.script | 122 --- .../{nettest => scripts}/ld.script | 4 +- nuttx/configs/stm3240g-eval/telnetd/Make.defs | 4 +- nuttx/configs/stm3240g-eval/telnetd/ld.script | 122 --- .../configs/stm3240g-eval/webserver/Make.defs | 197 ++++ .../configs/stm3240g-eval/webserver/appconfig | 38 + .../configs/stm3240g-eval/webserver/defconfig | 854 ++++++++++++++++++ .../configs/stm3240g-eval/webserver/setenv.sh | 75 ++ nuttx/lib/stdio/lib_libfflush.c | 1 - nuttx/lib/stdio/lib_wrflush.c | 2 - nuttx/tools/mkfsdata.pl | 115 +++ 49 files changed, 1896 insertions(+), 1884 deletions(-) create mode 100644 apps/examples/uip/cgi.c create mode 100644 apps/examples/uip/cgi.h create mode 100644 apps/examples/uip/httpd-fs/404.html create mode 100644 apps/examples/uip/httpd-fs/fade.png create mode 100644 apps/examples/uip/httpd-fs/files.shtml create mode 100644 apps/examples/uip/httpd-fs/footer.html create mode 100644 apps/examples/uip/httpd-fs/header.html create mode 100644 apps/examples/uip/httpd-fs/index.shtml create mode 100644 apps/examples/uip/httpd-fs/stats.shtml create mode 100644 apps/examples/uip/httpd-fs/style.css create mode 100644 apps/examples/uip/httpd-fs/tcp.shtml delete mode 100644 apps/netutils/webserver/httpd_fsdata.c delete mode 100644 apps/netutils/webserver/httpd_fsdata.h delete mode 100755 apps/netutils/webserver/makefsdata delete mode 100644 nuttx/configs/stm3240g-eval/dhcpd/ld.script delete mode 100644 nuttx/configs/stm3240g-eval/nsh/ld.script delete mode 100644 nuttx/configs/stm3240g-eval/nsh2/ld.script delete mode 100644 nuttx/configs/stm3240g-eval/nxconsole/ld.script delete mode 100644 nuttx/configs/stm3240g-eval/nxwm/ld.script delete mode 100644 nuttx/configs/stm3240g-eval/ostest/ld.script rename nuttx/configs/stm3240g-eval/{nettest => scripts}/ld.script (97%) delete mode 100644 nuttx/configs/stm3240g-eval/telnetd/ld.script create mode 100644 nuttx/configs/stm3240g-eval/webserver/Make.defs create mode 100644 nuttx/configs/stm3240g-eval/webserver/appconfig create mode 100644 nuttx/configs/stm3240g-eval/webserver/defconfig create mode 100644 nuttx/configs/stm3240g-eval/webserver/setenv.sh create mode 100755 nuttx/tools/mkfsdata.pl diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index 0fe6b7947c..5b75f40ed6 100755 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -297,4 +297,11 @@ Kate. * apps/netutils/webserver/httpd/c: Fix a typo that as introduced in version r4402: 'lese' instead of 'else' (Noted by Max Holtzberg). - + * tools/mkfsdata.pl: The uIP web server CGI image making perl script was + moved from apps/netutils/webserver/makefsdata to nuttx/tools/mkfsdata.pl + (Part of a larger change submitted by Max Holtzberg). + * apps/netutils/webserver, apps/examples/uip, and apps/include/netutils/httpd.h: + The "canned" version of the uIP web servers content that was at + netutils/webserver/httpd_fsdata.c has been replaced with a dynamically + built configuration located at apps/examples/uip (Contributed by + Max Holtzberg). diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile index bf1d399174..4407998fc7 100644 --- a/apps/examples/uip/Makefile +++ b/apps/examples/uip/Makefile @@ -1,8 +1,8 @@ ############################################################################ # apps/examples/uip/Makefile # -# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Copyright (C) 2007-2008, 2010-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs # uIP very tiny web server example ASRCS = -CSRCS = main.c +CSRCS = main.c cgi.c httpd_fsdata.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) @@ -75,6 +75,9 @@ $(COBJS): %$(OBJEXT): %.c done ; ) @touch .built +httpd_fsdata.c: httpd-fs/* + $(TOPDIR)/tools/mkfsdata.pl + context: .depend: Makefile $(SRCS) @@ -85,6 +88,7 @@ epend: .depend clean: @rm -f *.o *~ .*.swp .built + @rm -f httpd_fsdata.c $(call CLEAN) distclean: clean diff --git a/apps/examples/uip/cgi.c b/apps/examples/uip/cgi.c new file mode 100644 index 0000000000..8d081db926 --- /dev/null +++ b/apps/examples/uip/cgi.c @@ -0,0 +1,108 @@ +/**************************************************************************** + * apps/examples/uip/cgi.c + * Web server script interface + * Author: Adam Dunkels + * + * Copyright (c) 2001-2006, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include +#include +#include + +#include + +#include "cgi.h" + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/**************************************************************************** + * Private Function Prototypes + ****************************************************************************/ + +#ifdef CONFIG_NETUTILS_HTTPDFILESTATS +HTTPD_CGI_CALL(file, "file-stats", file_stats); +#endif + +#ifdef CONFIG_NETUTILS_HTTPDNETSTATS +HTTPD_CGI_CALL(net, "net-stats", net_stats); +#endif + +/**************************************************************************** + * Name: net_stats + ****************************************************************************/ + +#ifdef CONFIG_NETUTILS_HTTPDNETSTATS +static void net_stats(struct httpd_state *pstate, char *ptr) +{ + char buffer[16]; + int i; + + for (i = 0; i < sizeof(uip_stat) / sizeof(uip_stats_t); i++) + { + snprintf(buffer, 16, "%5u\n", ((uip_stats_t *)&uip_stat)[i]); + send(pstate->ht_sockfd, buffer, strlen(buffer), 0); + } +} +#endif + +/**************************************************************************** + * Name: file_stats + ****************************************************************************/ + +#ifdef CONFIG_NETUTILS_HTTPDFILESTATS +static void file_stats(struct httpd_state *pstate, char *ptr) +{ + char buffer[16]; + char *pcount = strchr(ptr, ' ') + 1; + snprintf(buffer, 16, "%5u", httpd_fs_count(pcount)); + send(pstate->ht_sockfd, buffer, strlen(buffer), 0); +} +#endif + +/**************************************************************************** + * Name: cgi_register + ****************************************************************************/ + +void cgi_register() +{ +#ifdef CONFIG_NETUTILS_HTTPDFILESTATS + httpd_cgi_register(&file); +#endif + +#ifdef CONFIG_NETUTILS_HTTPDNETSTATS + httpd_cgi_register(&net); +#endif +} diff --git a/apps/examples/uip/cgi.h b/apps/examples/uip/cgi.h new file mode 100644 index 0000000000..8ad0f93ce2 --- /dev/null +++ b/apps/examples/uip/cgi.h @@ -0,0 +1,43 @@ +/**************************************************************************** + * apps/examples/uip/cgi.c + * Web server script interface header file + * Author: Adam Dunkels + * + * Copyright (c) 2001, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ****************************************************************************/ + +#ifndef __HTTPD_CGI_H__ +#define __HTTPD_CGI_H__ + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +void cgi_register(void); + +#endif /* __HTTPD_CGI_H__ */ diff --git a/apps/examples/uip/httpd-fs/404.html b/apps/examples/uip/httpd-fs/404.html new file mode 100644 index 0000000000..a17711d02e --- /dev/null +++ b/apps/examples/uip/httpd-fs/404.html @@ -0,0 +1,8 @@ + + +
    +

    404 - file not found

    +

    Go here instead.

    +
    + + \ No newline at end of file diff --git a/apps/examples/uip/httpd-fs/fade.png b/apps/examples/uip/httpd-fs/fade.png new file mode 100644 index 0000000000000000000000000000000000000000..a9e69f75deda76937ede6e5d6d3bc94b8d43375e GIT binary patch literal 196 zcmeAS@N?(olHy`uVBq!ia0vp^EI`b~!2~2_W@bbJDb50q$YKTtZeb8+WSBKa0w~B{ z;_2(kevOSoMA~wF^nu4fA=whwh!W@g+}zZ>5(ej@)Wnk16ovB4k_?5Aj8p}8Pv3y| zDXMuug;t&}jv*Y^OM4837z6~4=$X%RNd5c2`3sj!Z^-PEXJ*+>C@xH&c%{T_Whmnh n&4?5GJ&rV%a4+Vsxy|yzf%X2v&wqfbP0l+XkKD_%S1 literal 0 HcmV?d00001 diff --git a/apps/examples/uip/httpd-fs/files.shtml b/apps/examples/uip/httpd-fs/files.shtml new file mode 100644 index 0000000000..8a90dbd6d3 --- /dev/null +++ b/apps/examples/uip/httpd-fs/files.shtml @@ -0,0 +1,31 @@ +%!: /header.html +

    File statistics

    +
    + + + + + + + + + + + + + +
    /index.shtml%! file-stats /index.shtml +
    /files.shtml%! file-stats /files.shtml +
    /stats.shtml%! file-stats /stats.shtml +
    /style.css%! file-stats /style.css +
    /404.html%! file-stats /404.html +
    /fade.png%! file-stats /fade.png +
    +
    +%!: /footer.html diff --git a/apps/examples/uip/httpd-fs/footer.html b/apps/examples/uip/httpd-fs/footer.html new file mode 100644 index 0000000000..5b6e2d6530 --- /dev/null +++ b/apps/examples/uip/httpd-fs/footer.html @@ -0,0 +1,3 @@ + + + diff --git a/apps/examples/uip/httpd-fs/header.html b/apps/examples/uip/httpd-fs/header.html new file mode 100644 index 0000000000..70df07fa60 --- /dev/null +++ b/apps/examples/uip/httpd-fs/header.html @@ -0,0 +1,16 @@ + + + + Welcome to the uIP web server! + + + + + + +
    diff --git a/apps/examples/uip/httpd-fs/index.shtml b/apps/examples/uip/httpd-fs/index.shtml new file mode 100644 index 0000000000..7f19358ce0 --- /dev/null +++ b/apps/examples/uip/httpd-fs/index.shtml @@ -0,0 +1,10 @@ +%!: /header.html +

    + These web pages are served by a small web server running on top of + the uIP embedded TCP/IP + stack. +

    +

    + Click on the links above for web server statistics. +

    +%!: /footer.html diff --git a/apps/examples/uip/httpd-fs/stats.shtml b/apps/examples/uip/httpd-fs/stats.shtml new file mode 100644 index 0000000000..c63ed4afd7 --- /dev/null +++ b/apps/examples/uip/httpd-fs/stats.shtml @@ -0,0 +1,31 @@ +%!: /header.html +

    Network statistics

    +
    + +
    +IP           Packets received
    +             Packets sent
    +	     Packets dropped
    +IP errors    IP version/header length
    +             IP length, high byte
    +             IP length, low byte
    +             IP fragments
    +             Header checksum
    +             Wrong protocol
    +ICMP	     Packets received
    +             Packets sent
    +             Packets dropped
    +             Type errors
    +TCP          Packets received
    +             Packets sent
    +             Packets dropped
    +             Checksum errors
    +             Data packets without ACKs
    +             Resets
    +             Retransmissions
    +	     No connection avaliable
    +	     Connection attempts to closed ports
    +
    %! net-stats
    +
    +
    +%!: /footer.html diff --git a/apps/examples/uip/httpd-fs/style.css b/apps/examples/uip/httpd-fs/style.css new file mode 100644 index 0000000000..ba6df7f157 --- /dev/null +++ b/apps/examples/uip/httpd-fs/style.css @@ -0,0 +1,92 @@ +h1 +{ + text-align: center; + font-size:14pt; + font-family:arial,helvetica; + font-weight:bold; + padding:10px; +} + +body +{ + + background-color: #fffeec; + color:black; + + font-size:8pt; + font-family:arial,helvetica; +} + +.menu +{ + margin: 4px; + width:60%; + + padding:2px; + + border: solid 1px; + background-color: #fffcd2; + text-align:left; + + font-size:9pt; + font-family:arial,helvetica; +} + +div.menubox +{ + width: 25%; + border: 0; + float: left; +text-align: center; +} + +.contentblock +{ + margin: 4px; + width:60%; + + padding:2px; + + border: 1px dotted; + background-color: white; + + font-size:8pt; + font-family:arial,helvetica; + +} + +p.intro +{ + margin-left:20px; + margin-right:20px; + + font-size:10pt; +/* font-weight:bold; */ + font-family:arial,helvetica; +} + +p.clink +{ + font-size:12pt; + font-family:courier,monospace; + text-align:center; +} + +p.clink9 +{ + font-size:9pt; + font-family:courier,monospace; + text-align:center; +} + + +p +{ + padding-left:10px; +} + +p.right +{ + text-align:right; +} + diff --git a/apps/examples/uip/httpd-fs/tcp.shtml b/apps/examples/uip/httpd-fs/tcp.shtml new file mode 100644 index 0000000000..4c4bffe97f --- /dev/null +++ b/apps/examples/uip/httpd-fs/tcp.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

    Current connections


    + +%! tcp-connections +%!: /footer.html \ No newline at end of file diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c index 9593d4d25f..dcad63eaa5 100644 --- a/apps/examples/uip/main.c +++ b/apps/examples/uip/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/uip/main.c * - * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: @@ -78,6 +78,8 @@ #include +#include "cgi.h" + /**************************************************************************** * Definitions ****************************************************************************/ @@ -192,6 +194,7 @@ int uip_main(int argc, char *argv[]) #ifdef CONFIG_NET_TCP printf("Starting webserver\n"); httpd_init(); + cgi_register(); httpd_listen(); #endif diff --git a/apps/include/netutils/httpd.h b/apps/include/netutils/httpd.h index 7cd002b66d..46a32bd621 100644 --- a/apps/include/netutils/httpd.h +++ b/apps/include/netutils/httpd.h @@ -1,7 +1,7 @@ /**************************************************************************** * apps/include/netutils/httpd.h * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: @@ -44,19 +44,131 @@ * Included Files ****************************************************************************/ +#include + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#ifdef __cplusplus +# define EXTERN extern "C" +extern "C" { +#else +# define EXTERN extern +#endif + +/* As threads are created to handle each request, a stack must be allocated + * for the thread. Use a default if the user provided no stacksize. + */ + +#ifndef CONFIG_NETUTILS_HTTPDSTACKSIZE +# define CONFIG_NETUTILS_HTTPDSTACKSIZE 4096 +#endif + +#ifndef CONFIG_NETUTILS_HTTPDFSSTATS +# define CONFIG_NETUTILS_HTTPDFSSTATS +#endif + +#ifndef CONFIG_NETUTILS_HTTPDFILESTATS +# define CONFIG_NETUTILS_HTTPDFILESTATS +#endif + +#ifndef CONFIG_NET_STATISTICS +# undef CONFIG_NETUTILS_HTTPDNETSTATS +#endif + +/* For efficiency reasons, the size of the IO buffer should be a multiple + * of the TCP MSS value. Also, the current design requires that the IO + * buffer be sufficiently large to contain the entire GET request. + */ + +#define HTTPD_IOBUFFER_SIZE (3*UIP_TCP_MSS) + +/* this is the maximum size of a file path */ + +#define HTTPD_MAX_FILENAME 20 + +/**************************************************************************** + * Public types + ****************************************************************************/ + +struct httpd_fs_file +{ + char *data; + int len; +}; + +struct httpd_state +{ + char ht_buffer[HTTPD_IOBUFFER_SIZE]; /* recv()/send() buffer */ + char ht_filename[HTTPD_MAX_FILENAME]; /* filename from GET command */ + struct httpd_fs_file ht_file; /* Fake file data to send */ + int ht_sockfd; /* The socket descriptor from accept() */ + char *ht_scriptptr; + uint16_t ht_scriptlen; + uint16_t ht_sndlen; +}; + +struct httpd_fsdata_file +{ + const struct httpd_fsdata_file *next; + FAR const uint8_t *name; + FAR const uint8_t *data; + int len; +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS + uint16_t count; +#endif +}; + +struct httpd_fsdata_file_noconst +{ + FAR struct httpd_fsdata_file *next; + FAR char *name; + FAR char *data; + int len; +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS + uint16_t count; +#endif +}; + +typedef void (*httpd_cgifunction)(struct httpd_state *, char *); + +struct httpd_cgi_call +{ + struct httpd_cgi_call *next; + const char *name; + httpd_cgifunction function; +}; + +/* HTTPD CGI function declaration + * + * Description: + * This macro is used for declaring a HTTPD CGI function. This function is + * then added to the list of HTTPD CGI functions with the httpd_cgi_register() + * function. + + * Input Paramters: + * + * name The C variable name of the function + * str The string name of the function, used in the script file + * function A pointer to the function that implements it + */ + +#define HTTPD_CGI_CALL(name, str, function) \ +static void function(struct httpd_state *, char *); \ +static struct httpd_cgi_call name = {NULL, str, function} + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ -#ifdef __cplusplus -#define EXTERN extern "C" -extern "C" { -#else -#define EXTERN extern -#endif - EXTERN void httpd_init(void); EXTERN int httpd_listen(void); +EXTERN void httpd_cgi_register(struct httpd_cgi_call *cgi_call); +EXTERN uint16_t httpd_fs_count(char *name); + +EXTERN const struct httpd_fsdata_file g_httpdfs_root[]; +EXTERN const int g_httpd_numfiles; #undef EXTERN #ifdef __cplusplus diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile index a1422a2498..174bcd0d75 100644 --- a/apps/netutils/webserver/Makefile +++ b/apps/netutils/webserver/Makefile @@ -2,7 +2,7 @@ # apps/netutils/webserver/Makefile # # Copyright (C) 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/apps/netutils/webserver/httpd.c b/apps/netutils/webserver/httpd.c index 434cfec5ad..c7c4a2291f 100644 --- a/apps/netutils/webserver/httpd.c +++ b/apps/netutils/webserver/httpd.c @@ -97,7 +97,7 @@ static const char g_httpextensiongif[] = ".gif"; static const char g_httpextensionjpg[] = ".jpg"; static const char g_http404path[] = "/404.html"; -static const char g_httpindexpath[] = "/index.html"; +static const char g_httpindexpath[] = "/index.shtml"; static const char g_httpcmdget[] = "GET "; @@ -273,11 +273,27 @@ static int httpd_addchunk(struct httpd_state *pstate, const char *buffer, int le return OK; } +static int httpd_flush(struct httpd_state *pstate) +{ + int ret = 0; + + if (pstate->ht_sndlen > 0) + { + httpd_dumpbuffer("Outgoing buffer", pstate->ht_buffer, pstate->ht_sndlen); + ret = send(pstate->ht_sockfd, pstate->ht_buffer, pstate->ht_sndlen, 0); + if (ret >= 0) + { + pstate->ht_sndlen = 0; + } + } + return ret; +} + static int send_headers(struct httpd_state *pstate, const char *statushdr, int len) { char *ptr; int ret; - + nvdbg("HEADER\n"); ret = httpd_addchunk(pstate, statushdr, len); if (ret < 0) { @@ -340,16 +356,23 @@ static int httpd_sendfile(struct httpd_state *pstate) { if (send_headers(pstate, g_httpheader200, strlen(g_httpheader200)) == OK) { - ptr = strchr(pstate->ht_filename, ISO_period); - if (ptr != NULL && - strncmp(ptr, g_httpextensionshtml, strlen(g_httpextensionshtml)) == 0) - { - ret = handle_script(pstate); - } - else - { - ret = httpd_addchunk(pstate, pstate->ht_file.data, pstate->ht_file.len); - } + if (httpd_flush(pstate) < 0) + { + ret = ERROR; + } + else + { + ptr = strchr(pstate->ht_filename, ISO_period); + if (ptr != NULL && + strncmp(ptr, g_httpextensionshtml, strlen(g_httpextensionshtml)) == 0) + { + ret = handle_script(pstate); + } + else + { + ret = httpd_addchunk(pstate, pstate->ht_file.data, pstate->ht_file.len); + } + } } } @@ -357,11 +380,10 @@ static int httpd_sendfile(struct httpd_state *pstate) if (ret == OK && pstate->ht_sndlen > 0) { - httpd_dumpbuffer("Outgoing buffer", pstate->ht_buffer, pstate->ht_sndlen); - if (send(pstate->ht_sockfd, pstate->ht_buffer, pstate->ht_sndlen, 0) < 0) - { - ret = ERROR; - } + if (httpd_flush(pstate) < 0) + { + ret = ERROR; + } } return ret; @@ -500,4 +522,5 @@ int httpd_listen(void) void httpd_init(void) { + httpd_fs_init(); } diff --git a/apps/netutils/webserver/httpd.h b/apps/netutils/webserver/httpd.h index 88e326f70e..346159fb29 100644 --- a/apps/netutils/webserver/httpd.h +++ b/apps/netutils/webserver/httpd.h @@ -1,8 +1,8 @@ /**************************************************************************** * netutils/webserver/httpd.h * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: * @@ -46,70 +46,16 @@ #include #include -#include #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/* As threads are created to handle each request, a stack must be allocated - * for the thread. Use a default if the user provided no stacksize. - */ - -#ifndef CONFIG_NETUTILS_HTTPDSTACKSIZE -# define CONFIG_NETUTILS_HTTPDSTACKSIZE 4096 -#endif - -#undef CONFIG_NETUTILS_HTTPDFSSTATS -#define CONFIG_NETUTILS_HTTPDFSSTATS 1 - -#ifndef CONFIG_NET_STATISTICS -# undef CONFIG_NETUTILS_HTTPDNETSTATS -#endif - -/* For efficiency reasons, the size of the IO buffer should be a multiple - * of the TCP MSS value. Also, the current design requires that the IO - * buffer be sufficiently large to contain the entire GET request. - */ - -#define HTTPD_IOBUFFER_SIZE (3*UIP_TCP_MSS) - -/* this is the maximum size of a file path */ - -#define HTTPD_MAX_FILENAME 20 - /**************************************************************************** * Public Types ****************************************************************************/ -struct httpd_fs_file -{ - char *data; - int len; -}; - -struct httpd_state -{ - char ht_buffer[HTTPD_IOBUFFER_SIZE]; /* recv()/send() buffer */ - char ht_filename[HTTPD_MAX_FILENAME]; /* filename from GET command */ - struct httpd_fs_file ht_file; /* Fake file data to send */ - int ht_sockfd; /* The socket descriptor from accept() */ - char *ht_scriptptr; - uint16_t ht_scriptlen; - uint16_t ht_sndlen; -}; - /**************************************************************************** * Public Function Prototypes ****************************************************************************/ -#ifdef CONFIG_NETUTILS_HTTPDFSSTATS -#if CONFIG_NETUTILS_HTTPDFSSTATS == 1 -extern uint16_t httpd_fs_count(char *name); -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ - /* file must be allocated by caller and will be filled in by the function. */ int httpd_fs_open(const char *name, struct httpd_fs_file *file); diff --git a/apps/netutils/webserver/httpd_cgi.c b/apps/netutils/webserver/httpd_cgi.c index 4a6f871f8c..62df72e4a2 100644 --- a/apps/netutils/webserver/httpd_cgi.c +++ b/apps/netutils/webserver/httpd_cgi.c @@ -36,17 +36,10 @@ * Included Files ****************************************************************************/ -#include #include -#include -#include - -#include #include -#include "httpd_cgi.h" - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -55,58 +48,14 @@ * Private Function Prototypes ****************************************************************************/ -static void nullfunction(struct httpd_state *pstate, char *ptr); -#ifdef CONFIG_NETUTILS_HTTPDNETSTATS -static void net_stats(struct httpd_state *pstate, char *ptr); -#endif - -#ifdef CONFIG_NETUTILS_HTTPDFILESTATS -static void file_stats(struct httpd_state *pstate, char *ptr); -#endif - /**************************************************************************** * Private Data ****************************************************************************/ -#ifdef CONFIG_NETUTILS_HTTPDFILESTATS -HTTPD_CGI_CALL(file, "file-stats", file_stats); -#endif -#ifdef CONFIG_NETUTILS_HTTPDNETSTATS -HTTPD_CGI_CALL(net, "net-stats", net_stats); -#endif - -static const struct httpd_cgi_call *calls[] = -{ -#ifdef CONFIG_NETUTILS_HTTPDFILESTATS - &file, -#endif -#ifdef CONFIG_NETUTILS_HTTPDNETSTATS - &net, -#endif - NULL -}; - -static const char closed[] = /* "CLOSED",*/ - {0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0}; -static const char syn_rcvd[] = /* "SYN-RCVD",*/ - {0x53, 0x59, 0x4e, 0x2d, 0x52, 0x43, 0x56, 0x44, 0}; -static const char syn_sent[] = /* "SYN-SENT",*/ - {0x53, 0x59, 0x4e, 0x2d, 0x53, 0x45, 0x4e, 0x54, 0}; -static const char established[] = /* "ESTABLISHED",*/ - {0x45, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0}; -static const char fin_wait_1[] = /* "FIN-WAIT-1",*/ - {0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, 0x54, 0x2d, 0x31, 0}; -static const char fin_wait_2[] = /* "FIN-WAIT-2",*/ - {0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, 0x54, 0x2d, 0x32, 0}; -static const char closing[] = /* "CLOSING",*/ - {0x43, 0x4c, 0x4f, 0x53, 0x49, 0x4e, 0x47, 0}; -static const char time_wait[] = /* "TIME-WAIT,"*/ - {0x54, 0x49, 0x4d, 0x45, 0x2d, 0x57, 0x41, 0x49, 0x54, 0}; -static const char last_ack[] = /* "LAST-ACK"*/ - {0x4c, 0x41, 0x53, 0x54, 0x2d, 0x41, 0x43, 0x4b, 0}; +struct httpd_cgi_call *cgi_calls = NULL; /**************************************************************************** - * Private Functions + * Public Functions ****************************************************************************/ /**************************************************************************** @@ -117,54 +66,31 @@ static void nullfunction(struct httpd_state *pstate, char *ptr) { } -/**************************************************************************** - * Name: net_stats - ****************************************************************************/ - -#ifdef CONFIG_NETUTILS_HTTPDNETSTATS -static void net_stats(struct httpd_state *pstate, char *ptr) +void httpd_cgi_register(struct httpd_cgi_call *cgi_call) { - char buffer[16]; - int i; - - for (i = 0; i < sizeof(uip_stat) / sizeof(uip_stats_t); i++) + if (cgi_calls == NULL) { - snprintf(buffer, 16, "%5u\n", ((uip_stats_t *)&uip_stat)[i]); - send(pstate->ht_sockfd, buffer, strlen(buffer), 0); + cgi_calls = cgi_call; + } + else + { + cgi_call->next = cgi_calls; + cgi_calls = cgi_call; } } -#endif - -/**************************************************************************** - * Name: file_stats - ****************************************************************************/ - -#ifdef CONFIG_NETUTILS_HTTPDFILESTATS -static void file_stats(struct httpd_state *pstate, char *ptr) -{ - char buffer[16]; - char *pcount = strchr(ptr, ' ') + 1; - snprintf(buffer, 16, "%5u", httpd_fs_count(pcount)); - (void)send(pstate->ht_sockfd, buffer, strlen(buffer), 0); -} -#endif - -/**************************************************************************** - * Public Functions - ****************************************************************************/ httpd_cgifunction httpd_cgi(char *name) { - const struct httpd_cgi_call **f; - - /* Find the matching name in the table, return the function. */ - - for(f = calls; *f != NULL; ++f) + struct httpd_cgi_call *cgi_call = cgi_calls; + while (cgi_call != NULL) { - if(strncmp((*f)->name, name, strlen((*f)->name)) == 0) + if (strncmp(cgi_call->name, name, strlen(cgi_call->name)) == 0) { - return (*f)->function; + return cgi_call->function; } + + cgi_call = cgi_call->next; } + return nullfunction; } diff --git a/apps/netutils/webserver/httpd_cgi.h b/apps/netutils/webserver/httpd_cgi.h index 9547bca331..546a909f07 100644 --- a/apps/netutils/webserver/httpd_cgi.h +++ b/apps/netutils/webserver/httpd_cgi.h @@ -1,13 +1,19 @@ -/* httpd_cgi.h - * Web server script interface header file - * Author: Adam Dunkels +/**************************************************************************** + * netutils/webserver/httpd_cgi.h * - * Copyright (c) 2001, Adam Dunkels. - * All rights reserved. + * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Based on uIP which also has a BSD style license: + * + * Author: Adam Dunkels + * Copyright (c) 2001-2005, Adam Dunkels. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: + * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright @@ -28,42 +34,22 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + * + ****************************************************************************/ -#ifndef __HTTPD_CGI_H__ -#define __HTTPD_CGI_H__ +#ifndef _NETUTILS_WEBSERVER_HTTPD_CGI_H +#define _NETUTILS_WEBSERVER_HTTPD_CGI_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ #include -#include "httpd.h" - -typedef void (*httpd_cgifunction)(struct httpd_state *, char *); +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ httpd_cgifunction httpd_cgi(char *name); -struct httpd_cgi_call -{ - const char *name; - httpd_cgifunction function; -}; - -/** - * \brief HTTPD CGI function declaration - * \param name The C variable name of the function - * \param str The string name of the function, used in the script file - * \param function A pointer to the function that implements it - * - * This macro is used for declaring a HTTPD CGI - * function. This function is then added to the list of - * HTTPD CGI functions with the httpd_cgi_add() function. - * - * \hideinitializer - */ -#define HTTPD_CGI_CALL(name, str, function) \ -static void function(struct httpd_state *, char *); \ -static const struct httpd_cgi_call name = {str, function} - -void httpd_cgi_init(void); -#endif /* __HTTPD_CGI_H__ */ - -/** @} */ +#endif /* _NETUTILS_WEBSERVER_HTTPD_CGI_H */ diff --git a/apps/netutils/webserver/httpd_fs.c b/apps/netutils/webserver/httpd_fs.c index 731f194988..b8eae30635 100644 --- a/apps/netutils/webserver/httpd_fs.c +++ b/apps/netutils/webserver/httpd_fs.c @@ -1,8 +1,8 @@ /**************************************************************************** * netutils/webserver/httpd_fs.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: * @@ -42,29 +42,23 @@ ****************************************************************************/ #include +#include #include #include "httpd.h" -#include "httpd_fsdata.h" /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ -#ifndef NULL -#define NULL 0 -#endif /* NULL */ - /**************************************************************************** * Private Data ****************************************************************************/ -#include "httpd_fsdata.c" - -#if CONFIG_NETUTILS_HTTPDFSSTATS -static uint16_t count[HTTPD_FS_NUMFILES]; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS +static uint16_t *count; +#endif /**************************************************************************** * Private Functions @@ -97,12 +91,12 @@ static uint8_t httpd_fs_strcmp(const char *str1, const char *str2) int httpd_fs_open(const char *name, struct httpd_fs_file *file) { -#if CONFIG_NETUTILS_HTTPDFSSTATS +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS uint16_t i = 0; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ +#endif struct httpd_fsdata_file_noconst *f; - for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT; + for(f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; f != NULL; f = (struct httpd_fsdata_file_noconst *)f->next) { @@ -110,37 +104,40 @@ int httpd_fs_open(const char *name, struct httpd_fs_file *file) { file->data = f->data; file->len = f->len; -#if CONFIG_NETUTILS_HTTPDFSSTATS +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS ++count[i]; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ +#endif return 1; } -#if CONFIG_NETUTILS_HTTPDFSSTATS +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS ++i; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ +#endif } return 0; } void httpd_fs_init(void) { -#if CONFIG_NETUTILS_HTTPDFSSTATS +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS uint16_t i; - for(i = 0; i < HTTPD_FS_NUMFILES; i++) + + count = (uint16_t*)malloc(g_httpd_numfiles * sizeof(uint16_t)); + + for(i = 0; i < g_httpd_numfiles; i++) { count[i] = 0; } -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ +#endif } -#if CONFIG_NETUTILS_HTTPDFSSTATS +#ifdef CONFIG_NETUTILS_HTTPDFSSTATS uint16_t httpd_fs_count(char *name) { struct httpd_fsdata_file_noconst *f; uint16_t i; i = 0; - for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT; + for(f = (struct httpd_fsdata_file_noconst *)g_httpdfs_root; f != NULL; f = (struct httpd_fsdata_file_noconst *)f->next) { @@ -150,6 +147,7 @@ uint16_t httpd_fs_count(char *name) } ++i; } + return 0; } #endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ diff --git a/apps/netutils/webserver/httpd_fsdata.c b/apps/netutils/webserver/httpd_fsdata.c deleted file mode 100644 index c9cd8a20cc..0000000000 --- a/apps/netutils/webserver/httpd_fsdata.c +++ /dev/null @@ -1,614 +0,0 @@ -static const unsigned char data_processes_shtml[] = -{ - /* /processes.shtml */ - - 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3c, 0x68, 0x31, - 0x3e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x20, 0x70, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3c, 0x2f, 0x68, - 0x31, 0x3e, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22, - 0x31, 0x30, 0x30, 0x25, 0x22, 0x3e, 0x0a, 0x3c, 0x74, 0x72, - 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x49, 0x44, 0x3c, 0x2f, 0x74, - 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x4e, 0x61, 0x6d, 0x65, - 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x50, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3c, 0x2f, 0x74, - 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x50, 0x6f, 0x6c, 0x6c, - 0x20, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x3c, 0x2f, - 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x20, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, - 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x50, - 0x72, 0x6f, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x3c, 0x2f, - 0x74, 0x68, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x25, - 0x21, 0x20, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, - 0x73, 0x0a, 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x66, 0x6f, 0x6f, - 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0 -}; - -static const unsigned char data_404_html[] = -{ - /* /404.html */ - - 0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x3c, - 0x62, 0x6f, 0x64, 0x79, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x3d, 0x22, 0x77, 0x68, 0x69, 0x74, 0x65, 0x22, - 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x63, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x3c, 0x68, 0x31, 0x3e, 0x34, 0x30, 0x34, 0x20, 0x2d, - 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x6e, 0x6f, 0x74, 0x20, - 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x3c, 0x2f, 0x68, 0x31, 0x3e, - 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x33, - 0x3e, 0x47, 0x6f, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, - 0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x68, 0x65, 0x72, 0x65, - 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x65, - 0x61, 0x64, 0x2e, 0x3c, 0x2f, 0x68, 0x33, 0x3e, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x63, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x62, 0x6f, 0x64, - 0x79, 0x3e, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, - 0 -}; - -static const unsigned char data_files_shtml[] = -{ - /* /files.shtml */ - - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3c, 0x68, 0x31, - 0x3e, 0x46, 0x69, 0x6c, 0x65, 0x20, 0x73, 0x74, 0x61, 0x74, - 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x68, 0x31, - 0x3e, 0x0a, 0x3c, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3e, - 0x0a, 0x3c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x3d, 0x22, 0x33, 0x30, 0x30, 0x22, 0x3e, - 0x0a, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, - 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x22, - 0x3e, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, - 0x6d, 0x6c, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x0a, 0x3c, 0x74, 0x64, 0x3e, 0x25, 0x21, 0x20, 0x66, - 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, - 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, - 0x6c, 0x0a, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, 0x64, - 0x3e, 0x3c, 0x69, 0x6d, 0x67, 0x20, 0x73, 0x72, 0x63, 0x3d, - 0x22, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, 0x70, 0x6e, 0x67, - 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3d, 0x31, - 0x30, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x25, 0x21, - 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x20, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, - 0x74, 0x6d, 0x6c, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, 0x74, 0x72, - 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, - 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x2f, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, - 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x0a, - 0x3c, 0x74, 0x64, 0x3e, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, - 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, - 0x0a, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, 0x64, 0x3e, - 0x3c, 0x69, 0x6d, 0x67, 0x20, 0x73, 0x72, 0x63, 0x3d, 0x22, - 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, 0x70, 0x6e, 0x67, 0x22, - 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3d, 0x31, 0x30, - 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x25, 0x21, 0x20, - 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x20, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, - 0x74, 0x6d, 0x6c, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, 0x74, 0x72, - 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, - 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x74, 0x63, 0x70, 0x2e, 0x73, - 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x2f, 0x74, 0x63, 0x70, - 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x3c, 0x2f, 0x61, 0x3e, - 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x0a, 0x3c, 0x74, 0x64, 0x3e, - 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x20, 0x2f, 0x74, 0x63, 0x70, 0x2e, 0x73, - 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3c, 0x2f, 0x74, 0x64, 0x3e, - 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x69, 0x6d, 0x67, 0x20, 0x73, - 0x72, 0x63, 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, - 0x70, 0x6e, 0x67, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x3d, 0x31, 0x30, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x3d, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, - 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x74, 0x63, 0x70, 0x2e, - 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, - 0x74, 0x64, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, - 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, - 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, - 0x6d, 0x6c, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x0a, 0x3c, 0x74, 0x64, 0x3e, 0x25, 0x21, 0x20, 0x66, - 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, - 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, - 0x6d, 0x6c, 0x0a, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, - 0x64, 0x3e, 0x3c, 0x69, 0x6d, 0x67, 0x20, 0x73, 0x72, 0x63, - 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, 0x70, 0x6e, - 0x67, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3d, - 0x31, 0x30, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x25, - 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, 0x61, - 0x74, 0x73, 0x20, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, - 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, - 0x74, 0x64, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, - 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x73, 0x74, 0x79, - 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x22, 0x3e, 0x2f, 0x73, - 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x3c, 0x2f, - 0x61, 0x3e, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x0a, 0x3c, 0x74, - 0x64, 0x3e, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, - 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x73, 0x74, 0x79, - 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x0a, 0x3c, 0x2f, 0x74, - 0x64, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x69, 0x6d, 0x67, - 0x20, 0x73, 0x72, 0x63, 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, - 0x65, 0x2e, 0x70, 0x6e, 0x67, 0x22, 0x20, 0x68, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x3d, 0x31, 0x30, 0x20, 0x77, 0x69, 0x64, - 0x74, 0x68, 0x3d, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, - 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x73, 0x74, - 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x0a, 0x3e, 0x20, - 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, - 0x0a, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, - 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x34, - 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x2f, - 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x3c, 0x2f, - 0x61, 0x3e, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x0a, 0x3c, 0x74, - 0x64, 0x3e, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, - 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x34, 0x30, 0x34, - 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x69, 0x6d, 0x67, 0x20, - 0x73, 0x72, 0x63, 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, 0x65, - 0x2e, 0x70, 0x6e, 0x67, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x3d, 0x31, 0x30, 0x20, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x3d, 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, - 0x73, 0x74, 0x61, 0x74, 0x73, 0x20, 0x2f, 0x34, 0x30, 0x34, - 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, - 0x74, 0x64, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, - 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, - 0x65, 0x2e, 0x70, 0x6e, 0x67, 0x22, 0x3e, 0x2f, 0x66, 0x61, - 0x64, 0x65, 0x2e, 0x70, 0x6e, 0x67, 0x3c, 0x2f, 0x61, 0x3e, - 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x0a, 0x3c, 0x74, 0x64, 0x3e, - 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x20, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, - 0x70, 0x6e, 0x67, 0x0a, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, - 0x74, 0x64, 0x3e, 0x3c, 0x69, 0x6d, 0x67, 0x20, 0x73, 0x72, - 0x63, 0x3d, 0x22, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, 0x70, - 0x6e, 0x67, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x3d, 0x31, 0x30, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, - 0x25, 0x21, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x20, 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, - 0x70, 0x6e, 0x67, 0x0a, 0x3e, 0x20, 0x3c, 0x2f, 0x74, 0x64, - 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0x0a, 0x3c, 0x2f, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x3e, 0x0a, 0x3c, 0x2f, 0x63, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x3e, 0x0a, 0x25, 0x21, 0x3a, 0x20, - 0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, - 0x6d, 0x6c, 0x0a, 0 -}; - -static const unsigned char data_footer_html[] = -{ - /* /footer.html */ - - 0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x20, 0x20, 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0x0a, - 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0 -}; - -static const unsigned char data_header_html[] = -{ - /* /header.html */ - - 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, - 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, - 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, - 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, - 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, - 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, - 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, - 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, - 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, - 0x22, 0x3e, 0x0a, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, - 0x57, 0x65, 0x6c, 0x63, 0x6f, 0x6d, 0x65, 0x20, 0x74, 0x6f, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x49, 0x50, 0x20, 0x77, - 0x65, 0x62, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x21, - 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x72, - 0x65, 0x6c, 0x3d, 0x22, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73, - 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, - 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, - 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x22, 0x3e, 0x20, - 0x20, 0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, - 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x62, 0x6f, 0x64, 0x79, 0x20, - 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3d, 0x22, 0x23, - 0x66, 0x66, 0x66, 0x65, 0x65, 0x63, 0x22, 0x20, 0x74, 0x65, - 0x78, 0x74, 0x3d, 0x22, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x22, - 0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, - 0x75, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, - 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, - 0x6e, 0x75, 0x62, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x46, - 0x72, 0x6f, 0x6e, 0x74, 0x20, 0x70, 0x61, 0x67, 0x65, 0x3c, - 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x62, 0x6f, - 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, - 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, - 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x46, 0x69, 0x6c, 0x65, 0x20, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, - 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, - 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x62, - 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, - 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, - 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x4e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, - 0x74, 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, - 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, - 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, - 0x65, 0x6e, 0x75, 0x62, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, - 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70, - 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x4e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x0a, 0x20, 0x20, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, - 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x3c, - 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x0a, 0x20, - 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x3d, 0x22, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x3e, 0x0a, 0 -}; - -static const unsigned char data_index_html[] = -{ - /* /index.html */ - - 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, - 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, - 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, - 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, - 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, - 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, - 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, - 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, - 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, - 0x22, 0x3e, 0x0a, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, - 0x57, 0x65, 0x6c, 0x63, 0x6f, 0x6d, 0x65, 0x20, 0x74, 0x6f, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x49, 0x50, 0x20, 0x77, - 0x65, 0x62, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x21, - 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x72, - 0x65, 0x6c, 0x3d, 0x22, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73, - 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x3d, 0x22, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, - 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, - 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0x22, 0x3e, 0x20, - 0x20, 0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, - 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x62, 0x6f, 0x64, 0x79, 0x20, - 0x62, 0x67, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3d, 0x22, 0x23, - 0x66, 0x66, 0x66, 0x65, 0x65, 0x63, 0x22, 0x20, 0x74, 0x65, - 0x78, 0x74, 0x3d, 0x22, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x22, - 0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, - 0x75, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, - 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, - 0x6e, 0x75, 0x62, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x46, - 0x72, 0x6f, 0x6e, 0x74, 0x20, 0x70, 0x61, 0x67, 0x65, 0x3c, - 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x62, 0x6f, - 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, - 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x73, 0x68, - 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x46, 0x69, 0x6c, 0x65, 0x20, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, - 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, - 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x62, - 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, - 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, - 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x4e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, - 0x74, 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, - 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x64, 0x69, - 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, - 0x65, 0x6e, 0x75, 0x62, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x61, - 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70, - 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x4e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x0a, 0x20, 0x20, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, - 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, - 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x3c, - 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x3c, - 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, - 0x22, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x70, - 0x3e, 0x0a, 0x20, 0x20, 0x54, 0x68, 0x65, 0x73, 0x65, 0x20, - 0x77, 0x65, 0x62, 0x20, 0x70, 0x61, 0x67, 0x65, 0x73, 0x20, - 0x61, 0x72, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, - 0x20, 0x62, 0x79, 0x20, 0x61, 0x20, 0x73, 0x6d, 0x61, 0x6c, - 0x6c, 0x20, 0x77, 0x65, 0x62, 0x20, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x20, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, - 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x70, 0x20, 0x6f, 0x66, - 0x0a, 0x20, 0x20, 0x74, 0x68, 0x65, 0x20, 0x3c, 0x61, 0x20, - 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x68, 0x74, 0x74, 0x70, - 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, - 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, - 0x2f, 0x75, 0x69, 0x70, 0x2f, 0x22, 0x3e, 0x75, 0x49, 0x50, - 0x20, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x20, - 0x54, 0x43, 0x50, 0x2f, 0x49, 0x50, 0x0a, 0x20, 0x20, 0x73, - 0x74, 0x61, 0x63, 0x6b, 0x3c, 0x2f, 0x61, 0x3e, 0x2e, 0x0a, - 0x20, 0x20, 0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20, 0x20, 0x3c, - 0x70, 0x3e, 0x0a, 0x20, 0x20, 0x43, 0x6c, 0x69, 0x63, 0x6b, - 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x69, - 0x6e, 0x6b, 0x73, 0x20, 0x61, 0x62, 0x6f, 0x76, 0x65, 0x20, - 0x66, 0x6f, 0x72, 0x20, 0x77, 0x65, 0x62, 0x20, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x73, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x0a, 0x20, 0x20, 0x3c, - 0x2f, 0x70, 0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x62, - 0x6f, 0x64, 0x79, 0x3e, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, - 0x6c, 0x3e, 0x0a, 0 -}; - -static const unsigned char data_style_css[] = -{ - /* /style.css */ - - 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73, 0x73, 0, - 0x68, 0x31, 0x20, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x74, 0x65, - 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, - 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, - 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, - 0x31, 0x34, 0x70, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, - 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, - 0x61, 0x72, 0x69, 0x61, 0x6c, 0x2c, 0x68, 0x65, 0x6c, 0x76, - 0x65, 0x74, 0x69, 0x63, 0x61, 0x3b, 0x0a, 0x20, 0x20, 0x66, - 0x6f, 0x6e, 0x74, 0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x3a, 0x62, 0x6f, 0x6c, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x70, - 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x31, 0x30, 0x70, - 0x78, 0x3b, 0x20, 0x0a, 0x7d, 0x0a, 0x0a, 0x62, 0x6f, 0x64, - 0x79, 0x0a, 0x7b, 0x0a, 0x0a, 0x20, 0x20, 0x62, 0x61, 0x63, - 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66, 0x66, 0x66, 0x65, - 0x65, 0x63, 0x3b, 0x0a, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, - 0x72, 0x3a, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x3b, 0x0a, 0x0a, - 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, - 0x65, 0x3a, 0x38, 0x70, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x66, - 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, - 0x3a, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x2c, 0x68, 0x65, 0x6c, - 0x76, 0x65, 0x74, 0x69, 0x63, 0x61, 0x3b, 0x0a, 0x7d, 0x0a, - 0x0a, 0x2e, 0x6d, 0x65, 0x6e, 0x75, 0x0a, 0x7b, 0x0a, 0x20, - 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x34, - 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x3a, 0x36, 0x30, 0x25, 0x3b, 0x0a, 0x0a, 0x20, 0x20, - 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x32, 0x70, - 0x78, 0x3b, 0x0a, 0x09, 0x0a, 0x20, 0x20, 0x62, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x3a, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, - 0x20, 0x31, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x61, - 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, - 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66, 0x66, 0x66, - 0x63, 0x64, 0x32, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x65, 0x78, - 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x6c, 0x65, - 0x66, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x0a, 0x20, 0x20, 0x66, - 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x39, - 0x70, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, - 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x61, 0x72, - 0x69, 0x61, 0x6c, 0x2c, 0x68, 0x65, 0x6c, 0x76, 0x65, 0x74, - 0x69, 0x63, 0x61, 0x3b, 0x20, 0x20, 0x0a, 0x7d, 0x0a, 0x0a, - 0x64, 0x69, 0x76, 0x2e, 0x6d, 0x65, 0x6e, 0x75, 0x62, 0x6f, - 0x78, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x3a, 0x20, 0x32, 0x35, 0x25, 0x3b, 0x0a, 0x20, 0x20, - 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x30, 0x3b, - 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x20, - 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a, 0x74, 0x65, 0x78, 0x74, - 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x63, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x0a, 0x7b, 0x20, 0x20, 0x0a, 0x20, 0x20, 0x6d, - 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x34, 0x70, 0x78, - 0x3b, 0x0a, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, - 0x36, 0x30, 0x25, 0x3b, 0x0a, 0x0a, 0x20, 0x20, 0x70, 0x61, - 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x32, 0x70, 0x78, 0x3b, - 0x0a, 0x0a, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x64, 0x6f, 0x74, 0x74, - 0x65, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, - 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x3a, 0x20, 0x77, 0x68, 0x69, 0x74, 0x65, 0x3b, - 0x0a, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, - 0x69, 0x7a, 0x65, 0x3a, 0x38, 0x70, 0x74, 0x3b, 0x0a, 0x20, - 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, - 0x6c, 0x79, 0x3a, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x2c, 0x68, - 0x65, 0x6c, 0x76, 0x65, 0x74, 0x69, 0x63, 0x61, 0x3b, 0x20, - 0x20, 0x0a, 0x0a, 0x7d, 0x0a, 0x0a, 0x70, 0x2e, 0x69, 0x6e, - 0x74, 0x72, 0x6f, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, - 0x72, 0x67, 0x69, 0x6e, 0x2d, 0x6c, 0x65, 0x66, 0x74, 0x3a, - 0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x6d, 0x61, - 0x72, 0x67, 0x69, 0x6e, 0x2d, 0x72, 0x69, 0x67, 0x68, 0x74, - 0x3a, 0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x0a, 0x20, 0x20, - 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, - 0x31, 0x30, 0x70, 0x74, 0x3b, 0x0a, 0x2f, 0x2a, 0x20, 0x20, - 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x3a, 0x62, 0x6f, 0x6c, 0x64, 0x3b, 0x20, 0x2a, 0x2f, - 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, - 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x61, 0x72, 0x69, 0x61, 0x6c, - 0x2c, 0x68, 0x65, 0x6c, 0x76, 0x65, 0x74, 0x69, 0x63, 0x61, - 0x3b, 0x20, 0x20, 0x0a, 0x7d, 0x0a, 0x0a, 0x70, 0x2e, 0x63, - 0x6c, 0x69, 0x6e, 0x6b, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x66, - 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, - 0x32, 0x70, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, - 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x63, - 0x6f, 0x75, 0x72, 0x69, 0x65, 0x72, 0x2c, 0x6d, 0x6f, 0x6e, - 0x6f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3b, 0x20, 0x20, 0x0a, - 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, - 0x67, 0x6e, 0x3a, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, - 0x0a, 0x7d, 0x0a, 0x0a, 0x70, 0x2e, 0x63, 0x6c, 0x69, 0x6e, - 0x6b, 0x39, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, - 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x39, 0x70, 0x74, - 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, - 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x63, 0x6f, 0x75, 0x72, - 0x69, 0x65, 0x72, 0x2c, 0x6d, 0x6f, 0x6e, 0x6f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x3b, 0x20, 0x20, 0x0a, 0x20, 0x20, 0x74, - 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, - 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x7d, 0x0a, - 0x0a, 0x0a, 0x70, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x70, 0x61, - 0x64, 0x64, 0x69, 0x6e, 0x67, 0x2d, 0x6c, 0x65, 0x66, 0x74, - 0x3a, 0x31, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, - 0x70, 0x2e, 0x72, 0x69, 0x67, 0x68, 0x74, 0x0a, 0x7b, 0x0a, - 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, - 0x67, 0x6e, 0x3a, 0x72, 0x69, 0x67, 0x68, 0x74, 0x3b, 0x20, - 0x0a, 0x7d, 0x0a, 0x0a, 0 -}; - -static const unsigned char data_fade_png[] = -{ - /* /fade.png */ - - 0x2f, 0x66, 0x61, 0x64, 0x65, 0x2e, 0x70, 0x6e, 0x67, 0x00, - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, - 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x04, - 0x00, 0x00, 0x00, 0x0a, 0x08, 0x02, 0x00, 0x00, 0x00, 0x1c, - 0x99, 0x68, 0x59, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, - 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00, 0x0b, 0x13, 0x01, - 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74, 0x49, - 0x4d, 0x45, 0x07, 0xd6, 0x06, 0x08, 0x14, 0x1b, 0x39, 0xaf, - 0x5b, 0xc0, 0xe3, 0x00, 0x00, 0x00, 0x1d, 0x74, 0x45, 0x58, - 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, - 0x68, 0x20, 0x54, 0x68, 0x65, 0x20, 0x47, 0x49, 0x4d, 0x50, - 0xef, 0x64, 0x25, 0x6e, 0x00, 0x00, 0x00, 0x3a, 0x49, 0x44, - 0x41, 0x54, 0x08, 0xd7, 0x75, 0x8c, 0x31, 0x12, 0x00, 0x10, - 0x10, 0xc4, 0x2e, 0x37, 0x9e, 0x40, 0x65, 0xfd, 0xff, 0x83, - 0xf4, 0x0a, 0x1c, 0x8d, 0x54, 0x9b, 0xc9, 0xcc, 0x9a, 0x3d, - 0x90, 0x73, 0x71, 0x67, 0x91, 0xd4, 0x74, 0x36, 0xa9, 0x55, - 0x01, 0xf8, 0x29, 0x58, 0xc8, 0xbf, 0x48, 0xc4, 0x81, 0x74, - 0x0b, 0xa3, 0x0f, 0x7c, 0xdb, 0x04, 0xe8, 0x40, 0x05, 0xdf, - 0xa1, 0xf3, 0xfc, 0x73, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, - 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, 0 -}; - -static const unsigned char data_stats_shtml[] = -{ - /* /stats.shtml */ - - 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, - 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x0a, 0x3c, 0x68, 0x31, - 0x3e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x73, - 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3c, - 0x2f, 0x68, 0x31, 0x3e, 0x0a, 0x3c, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x3e, 0x0a, 0x3c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22, 0x33, 0x30, - 0x30, 0x22, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3d, - 0x22, 0x30, 0x22, 0x3e, 0x0a, 0x3c, 0x74, 0x72, 0x3e, 0x3c, - 0x74, 0x64, 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0x0a, 0x49, - 0x50, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, - 0x73, 0x65, 0x6e, 0x74, 0x0a, 0x09, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, - 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x0a, 0x49, 0x50, 0x20, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x20, 0x20, 0x20, 0x20, - 0x49, 0x50, 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20, 0x6c, 0x65, - 0x6e, 0x67, 0x74, 0x68, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, - 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x2c, 0x20, 0x68, - 0x69, 0x67, 0x68, 0x20, 0x62, 0x79, 0x74, 0x65, 0x0a, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x49, 0x50, 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74, - 0x68, 0x2c, 0x20, 0x6c, 0x6f, 0x77, 0x20, 0x62, 0x79, 0x74, - 0x65, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, 0x20, 0x66, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x0a, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x0a, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x57, 0x72, 0x6f, 0x6e, 0x67, 0x20, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x0a, 0x49, 0x43, 0x4d, 0x50, 0x09, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, - 0x74, 0x73, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, - 0x74, 0x73, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x0a, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, - 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x0a, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x54, 0x79, 0x70, 0x65, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x73, 0x0a, 0x54, 0x43, 0x50, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, - 0x74, 0x73, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, - 0x74, 0x73, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x0a, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, - 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x0a, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x20, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x73, 0x0a, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x44, - 0x61, 0x74, 0x61, 0x20, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, - 0x73, 0x20, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, - 0x41, 0x43, 0x4b, 0x73, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, 0x65, - 0x73, 0x65, 0x74, 0x73, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, 0x65, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x0a, 0x09, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x4e, 0x6f, 0x20, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x76, 0x61, 0x6c, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x0a, 0x09, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x20, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x20, - 0x74, 0x6f, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x20, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x0a, 0x3c, 0x2f, 0x70, 0x72, - 0x65, 0x3e, 0x3c, 0x2f, 0x74, 0x64, 0x3e, 0x3c, 0x74, 0x64, - 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0x25, 0x21, 0x20, 0x6e, - 0x65, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x0a, 0x3c, - 0x2f, 0x70, 0x72, 0x65, 0x3e, 0x3c, 0x2f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x3e, 0x0a, 0x3c, 0x2f, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x3e, 0x0a, 0x25, 0x21, 0x3a, 0x20, 0x2f, 0x66, - 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x6d, 0x6c, - 0x0a, 0 -}; - -const struct httpd_fsdata_file file_processes_shtml[] = - {{NULL, data_processes_shtml, data_processes_shtml + 17, sizeof(data_processes_shtml) - 18}}; - -const struct httpd_fsdata_file file_404_html[] = - {{file_processes_shtml, data_404_html, data_404_html + 10, sizeof(data_404_html) - 11}}; - -const struct httpd_fsdata_file file_files_shtml[] = - {{file_404_html, data_files_shtml, data_files_shtml + 13, sizeof(data_files_shtml) - 14}}; - -const struct httpd_fsdata_file file_footer_html[] = - {{file_files_shtml, data_footer_html, data_footer_html + 13, sizeof(data_footer_html) - 14}}; - -const struct httpd_fsdata_file file_header_html[] = - {{file_footer_html, data_header_html, data_header_html + 13, sizeof(data_header_html) - 14}}; - -const struct httpd_fsdata_file file_index_html[] = - {{file_header_html, data_index_html, data_index_html + 12, sizeof(data_index_html) - 13}}; - -const struct httpd_fsdata_file file_style_css[] = - {{file_index_html, data_style_css, data_style_css + 11, sizeof(data_style_css) - 12}}; - -const struct httpd_fsdata_file file_fade_png[] = - {{file_style_css, data_fade_png, data_fade_png + 10, sizeof(data_fade_png) - 11}}; - -const struct httpd_fsdata_file file_stats_shtml[] = - {{file_fade_png, data_stats_shtml, data_stats_shtml + 13, sizeof(data_stats_shtml) - 14}}; - -#define HTTPD_FS_ROOT file_stats_shtml -#define HTTPD_FS_NUMFILES 10 diff --git a/apps/netutils/webserver/httpd_fsdata.h b/apps/netutils/webserver/httpd_fsdata.h deleted file mode 100644 index c25ea0c86b..0000000000 --- a/apps/netutils/webserver/httpd_fsdata.h +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** - * netutils/webserver/httpd_fsdata.h - * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001, Swedish Institute of Computer Science. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the Institute nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - ****************************************************************************/ - -#ifndef __HTTPD_FSDATA_H__ -#define __HTTPD_FSDATA_H__ - -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include -#include - -/**************************************************************************** - * Public Types - ****************************************************************************/ - -struct httpd_fsdata_file -{ - const struct httpd_fsdata_file *next; - FAR const uint8_t *name; - FAR const uint8_t *data; - int len; -#ifdef CONFIG_NETUTILS_HTTPDFSSTATS -#if CONFIG_NETUTILS_HTTPDFSSTATS == 1 - uint16_t count; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ -}; - -struct httpd_fsdata_file_noconst -{ - FAR struct httpd_fsdata_file *next; - FAR char *name; - FAR char *data; - int len; -#ifdef CONFIG_NETUTILS_HTTPDFSSTATS -#if CONFIG_NETUTILS_HTTPDFSSTATS == 1 - uint16_t count; -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ -#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */ -}; - -#endif /* __HTTPD_FSDATA_H__ */ diff --git a/apps/netutils/webserver/makefsdata b/apps/netutils/webserver/makefsdata deleted file mode 100755 index 71b6bd3441..0000000000 --- a/apps/netutils/webserver/makefsdata +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/perl - -open(OUTPUT, "> httpd-fsdata.c"); - -chdir("httpd-fs"); - -opendir(DIR, "."); -@files = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); -closedir(DIR); - -foreach $file (@files) { - - if(-d $file && $file !~ /^\./) { - print "Processing directory $file\n"; - opendir(DIR, $file); - @newfiles = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); - closedir(DIR); - printf "Adding files @newfiles\n"; - @files = (@files, map { $_ = "$file/$_" } @newfiles); - next; - } -} - -foreach $file (@files) { - if(-f $file) { - - print "Adding file $file\n"; - - open(FILE, $file) || die "Could not open file $file\n"; - - $file =~ s-^-/-; - $fvar = $file; - $fvar =~ s-/-_-g; - $fvar =~ s-\.-_-g; - # for AVR, add PROGMEM here - print(OUTPUT "static const unsigned char data".$fvar."[] =\n"); - print(OUTPUT "{\n /* $file */\n\n "); - for($j = 0; $j < length($file); $j++) { - printf(OUTPUT "%#02x, ", unpack("C", substr($file, $j, 1))); - } - printf(OUTPUT "0x00,\n "); - - $i = 0; - while(read(FILE, $data, 1)) { - printf(OUTPUT "%#02x, ", unpack("C", $data)); - $i++; - if($i == 10) { - print(OUTPUT "\n"); - $i = 0; - print(OUTPUT " "); - } - } - print(OUTPUT "0x00\n};\n\n"); - close(FILE); - push(@fvars, $fvar); - push(@pfiles, $file); - } -} - -for($i = 0; $i < @fvars; $i++) { - $file = $pfiles[$i]; - $fvar = $fvars[$i]; - - if($i == 0) { - $prevfile = "NULL"; - } else { - $prevfile = "file" . $fvars[$i - 1]; - } - print(OUTPUT "const struct httpd_fsdata_file file".$fvar."[] = {{$prevfile, data$fvar, "); - print(OUTPUT "data$fvar + ". (length($file) + 1) .", "); - print(OUTPUT "sizeof(data$fvar) - ". (length($file) + 1) ."}};\n\n"); -} - -print(OUTPUT "#define HTTPD_FS_ROOT file$fvars[$i - 1]\n\n"); -print(OUTPUT "#define HTTPD_FS_NUMFILES $i\n"); diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 3e17ffe7cc..e479b25fce 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3234,4 +3234,10 @@ exits (thanks Ronen Vainish). Also, improved some error reporting: the generic ERROR was being used instead of the specific errno value; the errno variable was not always set correctly. - + * tools/mkfsdata.pl: The uIP web server CGI image making perl script was + moved from apps/netutils/webserver/makefsdata to nuttx/tools/mkfsdata.pl + (Part of a larger change submitted by Max Holtzberg). + * configs/stm3240g-eval/script/ld.script: All of the identical ld.script + files for the STM3240G-EVAL were replaced by one version in this directory. + * configs/stm3240g-eval/webserver: Configuration submitted by Max Holtzberg + for testing the changes to the uIP web server (see apps/ChangeLog.txt). diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt index 907c8e199d..15e8b9f3d1 100755 --- a/nuttx/configs/stm3240g-eval/README.txt +++ b/nuttx/configs/stm3240g-eval/README.txt @@ -370,7 +370,7 @@ There are two version of the FPU support built into the STM32 port. CONFIG_ARCH_FPU=y CONFIG_ARMV7M_CMNVECTOR=y - You will probably also changes to the ld.script in if this option is selected. + You will probably also changes to the scripts/ld.script in if this option is selected. This should work: -ENTRY(_stext) diff --git a/nuttx/configs/stm3240g-eval/dhcpd/Make.defs b/nuttx/configs/stm3240g-eval/dhcpd/Make.defs index e1c06d5143..8ce21b7bca 100644 --- a/nuttx/configs/stm3240g-eval/dhcpd/Make.defs +++ b/nuttx/configs/stm3240g-eval/dhcpd/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/dhcpd/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/dhcpd/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/dhcpd/ld.script b/nuttx/configs/stm3240g-eval/dhcpd/ld.script deleted file mode 100644 index fb461a8046..0000000000 --- a/nuttx/configs/stm3240g-eval/dhcpd/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/dhcpd/ld.script - * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/nettest/Make.defs b/nuttx/configs/stm3240g-eval/nettest/Make.defs index 5063f511c2..032bcc48ca 100644 --- a/nuttx/configs/stm3240g-eval/nettest/Make.defs +++ b/nuttx/configs/stm3240g-eval/nettest/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nettest/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nettest/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/nsh/Make.defs b/nuttx/configs/stm3240g-eval/nsh/Make.defs index af9b9a8cb9..dd928ff35e 100644 --- a/nuttx/configs/stm3240g-eval/nsh/Make.defs +++ b/nuttx/configs/stm3240g-eval/nsh/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/nsh/ld.script b/nuttx/configs/stm3240g-eval/nsh/ld.script deleted file mode 100644 index 750030989f..0000000000 --- a/nuttx/configs/stm3240g-eval/nsh/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/nsh/ld.script - * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/nsh2/Make.defs b/nuttx/configs/stm3240g-eval/nsh2/Make.defs index ef5f2f5686..f2a9daf347 100644 --- a/nuttx/configs/stm3240g-eval/nsh2/Make.defs +++ b/nuttx/configs/stm3240g-eval/nsh2/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh2/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh2/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/nsh2/ld.script b/nuttx/configs/stm3240g-eval/nsh2/ld.script deleted file mode 100644 index b3b6b5601a..0000000000 --- a/nuttx/configs/stm3240g-eval/nsh2/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/nsh2/ld.script - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/nxconsole/Make.defs b/nuttx/configs/stm3240g-eval/nxconsole/Make.defs index 4f66b1c9fa..49a50f9dba 100644 --- a/nuttx/configs/stm3240g-eval/nxconsole/Make.defs +++ b/nuttx/configs/stm3240g-eval/nxconsole/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nxconsole/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nxconsole/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/nxconsole/ld.script b/nuttx/configs/stm3240g-eval/nxconsole/ld.script deleted file mode 100644 index e1b92d140d..0000000000 --- a/nuttx/configs/stm3240g-eval/nxconsole/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/nxconsole/ld.script - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/nxwm/Make.defs b/nuttx/configs/stm3240g-eval/nxwm/Make.defs index 9d110ef195..2fdbf70a1f 100644 --- a/nuttx/configs/stm3240g-eval/nxwm/Make.defs +++ b/nuttx/configs/stm3240g-eval/nxwm/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nxwm/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nxwm/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/nxwm/ld.script b/nuttx/configs/stm3240g-eval/nxwm/ld.script deleted file mode 100644 index e63cf55ca6..0000000000 --- a/nuttx/configs/stm3240g-eval/nxwm/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/nxwm/ld.script - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/ostest/Make.defs b/nuttx/configs/stm3240g-eval/ostest/Make.defs index b854fac0e9..46d35b8974 100644 --- a/nuttx/configs/stm3240g-eval/ostest/Make.defs +++ b/nuttx/configs/stm3240g-eval/ostest/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/ostest/ld.script b/nuttx/configs/stm3240g-eval/ostest/ld.script deleted file mode 100644 index 97b0240a55..0000000000 --- a/nuttx/configs/stm3240g-eval/ostest/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/ostest/ld.script - * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/nettest/ld.script b/nuttx/configs/stm3240g-eval/scripts/ld.script similarity index 97% rename from nuttx/configs/stm3240g-eval/nettest/ld.script rename to nuttx/configs/stm3240g-eval/scripts/ld.script index fea4d6b95a..078f2890f4 100644 --- a/nuttx/configs/stm3240g-eval/nettest/ld.script +++ b/nuttx/configs/stm3240g-eval/scripts/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** - * configs/stm3240g-eval/nettest/ld.script + * configs/stm3240g-eval/scripts/ld.script * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/nuttx/configs/stm3240g-eval/telnetd/Make.defs b/nuttx/configs/stm3240g-eval/telnetd/Make.defs index ccad685f0b..9ed3fcb830 100644 --- a/nuttx/configs/stm3240g-eval/telnetd/Make.defs +++ b/nuttx/configs/stm3240g-eval/telnetd/Make.defs @@ -105,14 +105,14 @@ ifeq ($(WINTOOL),y) MKDEP = $(TOPDIR)/tools/mknulldeps.sh ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" - ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/telnetd/$(LDSCRIPT)}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" MAXOPTIMIZATION = -O2 else # Linux/Cygwin-native toolchain MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx - ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/telnetd/$(LDSCRIPT) + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3240g-eval/telnetd/ld.script b/nuttx/configs/stm3240g-eval/telnetd/ld.script deleted file mode 100644 index ee14f4bfb5..0000000000 --- a/nuttx/configs/stm3240g-eval/telnetd/ld.script +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** - * configs/stm3240g-eval/telnetd/ld.script - * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - ****************************************************************************/ - -/* The STM32F103ZET6 has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 192Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address - * range. - */ - -MEMORY -{ - flash (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K -} - -OUTPUT_ARCH(arm) -ENTRY(_stext) -SECTIONS -{ - .text : { - _stext = ABSOLUTE(.); - *(.vectors) - *(.text .text.*) - *(.fixup) - *(.gnu.warning) - *(.rodata .rodata.*) - *(.gnu.linkonce.t.*) - *(.glue_7) - *(.glue_7t) - *(.got) - *(.gcc_except_table) - *(.gnu.linkonce.r.*) - _etext = ABSOLUTE(.); - } > flash - - .init_section : { - _sinit = ABSOLUTE(.); - *(.init_array .init_array.*) - _einit = ABSOLUTE(.); - } > flash - - __exidx_start = ABSOLUTE(.); - .ARM.exidx : { - *(.ARM.exidx*) - } > flash - __exidx_end = ABSOLUTE(.); - - _eronly = ABSOLUTE(.); - - .data : { - _sdata = ABSOLUTE(.); - *(.data .data.*) - *(.gnu.linkonce.d.*) - CONSTRUCTORS - _edata = ABSOLUTE(.); - } > sram AT > flash - - .ARM.extab : { - *(.ARM.extab*) - } >sram - - .bss : { - _sbss = ABSOLUTE(.); - *(.bss .bss.*) - *(.gnu.linkonce.b.*) - *(COMMON) - _ebss = ABSOLUTE(.); - } > sram - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_info 0 : { *(.debug_info) } - .debug_line 0 : { *(.debug_line) } - .debug_pubnames 0 : { *(.debug_pubnames) } - .debug_aranges 0 : { *(.debug_aranges) } -} diff --git a/nuttx/configs/stm3240g-eval/webserver/Make.defs b/nuttx/configs/stm3240g-eval/webserver/Make.defs new file mode 100644 index 0000000000..460a5e22a8 --- /dev/null +++ b/nuttx/configs/stm3240g-eval/webserver/Make.defs @@ -0,0 +1,197 @@ +############################################################################ +# configs/stm3240g-eval/webserver/Make.defs +# +# Copyright (C) 2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +############################################################################ + +include ${TOPDIR}/.config + +# Setup for the selected toolchain + +ifeq ($(CONFIG_STM32_CODESOURCERYW),y) + # CodeSourcery under Windows + CROSSDEV = arm-none-eabi- + ARCROSSDEV = arm-none-eabi- + WINTOOL = y + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +ifeq ($(CONFIG_STM32_CODESOURCERYL),y) + # CodeSourcery under Linux + CROSSDEV = arm-none-eabi- + ARCROSSDEV = arm-none-eabi- + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + MAXOPTIMIZATION = -O2 +endif +ifeq ($(CONFIG_STM32_ATOLLIC_LITE),y) + # Atollic toolchain under Windows + CROSSDEV = arm-atollic-eabi- + ARCROSSDEV = + WINTOOL = y +ifeq ($(CONFIG_ARCH_FPU),y) + ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard +else + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +endif +ifeq ($(CONFIG_STM32_ATOLLIC_PRO),y) + # Atollic toolchain under Windows + CROSSDEV = arm-atollic-eabi- + ARCROSSDEV = arm-atollic-eabi- + WINTOOL = y +ifeq ($(CONFIG_ARCH_FPU),y) + ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard +else + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +endif +ifeq ($(CONFIG_STM32_DEVKITARM),y) + # devkitARM under Windows + CROSSDEV = arm-eabi- + ARCROSSDEV = arm-eabi- + WINTOOL = y + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +ifeq ($(CONFIG_STM32_RAISONANCE),y) + # Raisonance RIDE7 under Windows + CROSSDEV = arm-none-eabi- + ARCROSSDEV = arm-none-eabi- + WINTOOL = y + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +ifeq ($(CONFIG_STM32_BUILDROOT),y) + # NuttX buildroot under Linux or Cygwin + CROSSDEV = arm-elf- + ARCROSSDEV = arm-elf- + ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + MAXOPTIMIZATION = -Os +endif + +LDSCRIPT = ld.script + +ifeq ($(WINTOOL),y) + # Windows-native toolchains + DIRLINK = $(TOPDIR)/tools/winlink.sh + DIRUNLINK = $(TOPDIR)/tools/unlink.sh + MKDEP = $(TOPDIR)/tools/mknulldeps.sh + ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" + ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}" + ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}" + MAXOPTIMIZATION = -O2 +else + # Linux/Cygwin-native toolchain + MKDEP = $(TOPDIR)/tools/mkdeps.sh + ARCHINCLUDES = -I. -isystem $(TOPDIR)/include + ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx + ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT) +endif + +CC = $(CROSSDEV)gcc +CXX = $(CROSSDEV)g++ +CPP = $(CROSSDEV)gcc -E +LD = $(CROSSDEV)ld +AR = $(ARCROSSDEV)ar rcs +NM = $(ARCROSSDEV)nm +OBJCOPY = $(CROSSDEV)objcopy +OBJDUMP = $(CROSSDEV)objdump + +ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'} +ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1} + +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") + ARCHOPTIMIZATION = -g +else + ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ARCHCFLAGS = -fno-builtin +ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti +ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow +ARCHWARNINGSXX = -Wall -Wshadow +ARCHDEFINES = +ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10 + +CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe +CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) +CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe +CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS) +CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) +AFLAGS = $(CFLAGS) -D__ASSEMBLY__ + +NXFLATLDFLAGS1 = -r -d -warn-common +NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat.ld -no-check-sections +LDNXFLATFLAGS = -e main -s 2048 + +OBJEXT = .o +LIBEXT = .a +EXEEXT = + +ifneq ($(CROSSDEV),arm-elf-) + LDFLAGS += -nostartfiles -nodefaultlibs +endif +ifeq ($(CONFIG_DEBUG_SYMBOLS),y) + LDFLAGS += -g +endif + +define PREPROCESS + @echo "CPP: $1->$2" + @$(CPP) $(CPPFLAGS) $1 -o $2 +endef + +define COMPILE + @echo "CC: $1" + @$(CC) -c $(CFLAGS) $1 -o $2 +endef + +define COMPILEXX + @echo "CXX: $1" + @$(CXX) -c $(CXXFLAGS) $1 -o $2 +endef + +define ASSEMBLE + @echo "AS: $1" + @$(CC) -c $(AFLAGS) $1 -o $2 +endef + +define ARCHIVE + echo "AR: $2"; \ + $(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; } +endef + +define CLEAN + @rm -f *.o *.a +endef + +HOSTCC = gcc +HOSTINCLUDES = -I. +HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe +HOSTLDFLAGS = + diff --git a/nuttx/configs/stm3240g-eval/webserver/appconfig b/nuttx/configs/stm3240g-eval/webserver/appconfig new file mode 100644 index 0000000000..cfd913b53e --- /dev/null +++ b/nuttx/configs/stm3240g-eval/webserver/appconfig @@ -0,0 +1,38 @@ +############################################################################ +# configs/stm3240g-eval/webserver/appconfig +# +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +############################################################################ + +CONFIGURED_APPS += examples/uip +CONFIGURED_APPS += netutils/uiplib +CONFIGURED_APPS += netutils/webserver diff --git a/nuttx/configs/stm3240g-eval/webserver/defconfig b/nuttx/configs/stm3240g-eval/webserver/defconfig new file mode 100644 index 0000000000..0a625f93f0 --- /dev/null +++ b/nuttx/configs/stm3240g-eval/webserver/defconfig @@ -0,0 +1,854 @@ +############################################################################ +# configs/stm3240g-eval/webserver/defconfig +# +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +############################################################################ +# +# Architecture Selection +# +CONFIG_ARCH="arm" +CONFIG_ARCH_ARM=y +CONFIG_ARCH_CORTEXM4=y +CONFIG_ARCH_CHIP="stm32" +CONFIG_ARCH_CHIP_STM32F407IG=y +CONFIG_ARCH_BOARD="stm3240g-eval" +CONFIG_ARCH_BOARD_STM3240G_EVAL=y +CONFIG_BOARD_LOOPSPERMSEC=16717 +CONFIG_DRAM_SIZE=0x00030000 +CONFIG_DRAM_START=0x20000000 +CONFIG_ARCH_IRQPRIO=y +CONFIG_ARCH_FPU=n +CONFIG_ARCH_INTERRUPTSTACK=n +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARCH_BOOTLOADER=n +CONFIG_ARCH_LEDS=y +CONFIG_ARCH_BUTTONS=n +CONFIG_ARCH_CALIBRATION=n +CONFIG_ARCH_DMA=n + +# +# Identify toolchain and linker options +# +CONFIG_STM32_CODESOURCERYW=n +CONFIG_STM32_CODESOURCERYL=y +CONFIG_STM32_ATOLLIC_LITE=n +CONFIG_STM32_ATOLLIC_PRO=n +CONFIG_STM32_DEVKITARM=n +CONFIG_STM32_RAISONANCE=n +CONFIG_STM32_BUILDROOT=n + +# +# JTAG Enable settings (by default JTAG-DP and SW-DP are disabled): +# +CONFIG_STM32_DFU=n +CONFIG_STM32_JTAG_FULL_ENABLE=y +CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n +CONFIG_STM32_JTAG_SW_ENABLE=n + +# +# On-chip CCM SRAM configuration +# + +# +# On-board FSMC SRAM configuration +# +CONFIG_STM32_FSMC_SRAM=y +CONFIG_HEAP2_BASE=0x64000000 +CONFIG_HEAP2_END=0x64200000 + +# +# Individual subsystems can be enabled: +# +# AHB1: +CONFIG_STM32_CRC=n +CONFIG_STM32_BKPSRAM=n +CONFIG_STM32_CCMDATARAM=n +CONFIG_STM32_DMA1=n +CONFIG_STM32_DMA2=n +CONFIG_STM32_ETHMAC=y +CONFIG_STM32_OTGHS=n +# AHB2: +CONFIG_STM32_DCMI=n +CONFIG_STM32_CRYP=n +CONFIG_STM32_HASH=n +CONFIG_STM32_RNG=n +CONFIG_STM32_OTGFS=n +# AHB3: +CONFIG_STM32_FSMC=n +# APB1: +CONFIG_STM32_TIM2=n +CONFIG_STM32_TIM3=n +CONFIG_STM32_TIM4=n +CONFIG_STM32_TIM5=n +CONFIG_STM32_TIM6=n +CONFIG_STM32_TIM7=n +CONFIG_STM32_TIM12=n +CONFIG_STM32_TIM13=n +CONFIG_STM32_TIM14=n +CONFIG_STM32_WWDG=n +CONFIG_STM32_IWDG=n +CONFIG_STM32_SPI2=n +CONFIG_STM32_SPI3=n +CONFIG_STM32_USART2=n +CONFIG_STM32_USART3=y +CONFIG_STM32_UART4=n +CONFIG_STM32_UART5=n +CONFIG_STM32_I2C1=y +CONFIG_STM32_I2C2=n +CONFIG_STM32_I2C3=n +CONFIG_STM32_CAN1=n +CONFIG_STM32_CAN2=n +CONFIG_STM32_DAC=n +CONFIG_STM32_PWR=y +# APB2: +CONFIG_STM32_TIM1=n +CONFIG_STM32_TIM8=n +CONFIG_STM32_USART1=n +CONFIG_STM32_USART6=n +CONFIG_STM32_ADC1=n +CONFIG_STM32_ADC2=n +CONFIG_STM32_ADC3=n +CONFIG_STM32_SDIO=n +CONFIG_STM32_SPI1=n +CONFIG_STM32_SYSCFG=y +CONFIG_STM32_TIM9=n +CONFIG_STM32_TIM10=n +CONFIG_STM32_TIM11=n + +# +# STM32F40xxx specific serial device driver settings +# +CONFIG_USART1_SERIAL_CONSOLE=n +CONFIG_USART2_SERIAL_CONSOLE=n +CONFIG_USART3_SERIAL_CONSOLE=y +CONFIG_USART4_SERIAL_CONSOLE=n +CONFIG_USART5_SERIAL_CONSOLE=n + +CONFIG_USART1_TXBUFSIZE=128 +CONFIG_USART2_TXBUFSIZE=128 +CONFIG_USART3_TXBUFSIZE=128 +CONFIG_USART4_TXBUFSIZE=128 +CONFIG_USART5_TXBUFSIZE=128 + +CONFIG_USART1_RXBUFSIZE=128 +CONFIG_USART2_RXBUFSIZE=128 +CONFIG_USART3_RXBUFSIZE=128 +CONFIG_USART4_RXBUFSIZE=128 +CONFIG_USART5_RXBUFSIZE=128 + +CONFIG_USART1_BAUD=115200 +CONFIG_USART2_BAUD=115200 +CONFIG_USART3_BAUD=115200 +CONFIG_USART4_BAUD=115200 +CONFIG_USART5_BAUD=115200 + +CONFIG_USART1_BITS=8 +CONFIG_USART2_BITS=8 +CONFIG_USART3_BITS=8 +CONFIG_USART4_BITS=8 +CONFIG_USART5_BITS=8 + +CONFIG_USART1_PARITY=0 +CONFIG_USART2_PARITY=0 +CONFIG_USART3_PARITY=0 +CONFIG_USART4_PARITY=0 +CONFIG_USART5_PARITY=0 + +CONFIG_USART1_2STOP=0 +CONFIG_USART2_2STOP=0 +CONFIG_USART3_2STOP=0 +CONFIG_USART4_2STOP=0 +CONFIG_USART5_2STOP=0 + +# +# STM32F40xxx specific SSI device driver settings +# +CONFIG_SSI0_DISABLE=n +CONFIG_SSI1_DISABLE=y +CONFIG_SSI_POLLWAIT=y +#CONFIG_SSI_TXLIMIT=4 + +# +# STM32F40xxx specific CAN device driver settings +# +CONFIG_CAN=n +CONFIG_CAN_EXTID=n +#CONFIG_CAN_FIFOSIZE +#CONFIG_CAN_NPENDINGRTR +CONFIG_CAN_LOOPBACK=n +CONFIG_CAN1_BAUD=700000 +CONFIG_CAN2_BAUD=700000 + +# +# STM32F40xxx Ethernet device driver settings +# +CONFIG_STM32_PHYADDR=0x01 +CONFIG_STM32_MII=y +CONFIG_STM32_MII_MCO1=y +CONFIG_STM32_MII_MCO2=n +CONFIG_STM32_RMII=n +CONFIG_STM32_AUTONEG=y +#CONFIG_STM32_ETHFD +#CONFIG_STM32_ETH100MB +CONFIG_STM32_PHYSR=16 +CONFIG_STM32_PHYSR_SPEED=0x0002 +CONFIG_STM32_PHYSR_100MBPS=0x0000 +CONFIG_STM32_PHYSR_MODE=0x0004 +CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004 +CONFIG_STM32_ETH_PTP=n +CONFIG_STM32_ETHMAC_REGDEBUG=n + +# +# I2C configuration +# +CONFIG_I2C=y +CONFIG_I2C_POLLED=y +CONFIG_I2C_TRANSFER=y +CONFIG_I2C_TRACE=n + +# +# ADC configuration +# +# Enable ADC driver support. The STM3240G-EVAL has a 10 Kohm potentiometer +# RV1 connected to PF9 of STM32F407IGH6 on the board: TIM14_CH1/ SMC_CD/ADC3_IN7 +# +CONFIG_ADC=n +#CONFIG_STM32_TIM1_ADC=y +CONFIG_STM32_TIM1_ADC3=y +CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 + +# +# PWM configuration +# +# The STM3240G-Eval has no real on-board PWM devices, but the board can be configured to output +# a pulse train using several options (see board.h). Here the default setup is for TIM8, CH4. +# Don't forget to enable CONFIG_PWM and CONFIG_STM32_TIM8. +# +CONFIG_PWM=n +CONFIG_PWM_PULSECOUNT=y +CONFIG_STM32_TIM8_PWM=y +CONFIG_STM32_TIM8_CHANNEL=4 + +# +# General build options +# +CONFIG_RRLOAD_BINARY=n +CONFIG_INTELHEX_BINARY=n +CONFIG_MOTOROLA_SREC=n +CONFIG_RAW_BINARY=y +CONFIG_HAVE_LIBM=n + +# +# General OS setup +# +CONFIG_USER_ENTRYPOINT="uip_main" +CONFIG_DEBUG=n +CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n +CONFIG_DEBUG_FS=n +CONFIG_DEBUG_GRAPHICS=n +CONFIG_DEBUG_LCD=n +CONFIG_DEBUG_USB=n +CONFIG_DEBUG_NET=n +CONFIG_DEBUG_RTC=n +CONFIG_DEBUG_ANALOG=n +CONFIG_DEBUG_PWM=n +CONFIG_DEBUG_CAN=n +CONFIG_DEBUG_I2C=n +CONFIG_DEBUG_INPUT=n + +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_MM_REGIONS=2 +CONFIG_ARCH_LOWPUTC=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_INSTRUMENTATION=n +CONFIG_TASK_NAME_SIZE=0 +CONFIG_START_YEAR=2011 +CONFIG_START_MONTH=12 +CONFIG_START_DAY=6 +CONFIG_GREGORIAN_TIME=n +CONFIG_JULIAN_TIME=n +CONFIG_DEV_CONSOLE=y +CONFIG_DEV_LOWCONSOLE=n +CONFIG_MUTEX_TYPES=n +CONFIG_PRIORITY_INHERITANCE=n +CONFIG_SEM_PREALLOCHOLDERS=0 +CONFIG_SEM_NNESTPRIO=0 +CONFIG_FDCLONE_DISABLE=n +CONFIG_FDCLONE_STDIO=n +CONFIG_SDCLONE_DISABLE=y +CONFIG_SCHED_WORKQUEUE=n +CONFIG_SCHED_WORKPRIORITY=192 +CONFIG_SCHED_WORKPERIOD=50000 +CONFIG_SCHED_WORKSTACKSIZE=2048 +CONFIG_SIG_SIGWORK=4 +CONFIG_SCHED_WAITPID=y +CONFIG_SCHED_ATEXIT=n + +# +# System Logging +# + +CONFIG_SYSLOG=n +CONFIG_RAMLOG=n +CONFIG_RAMLOG_CONSOLE=n +CONFIG_RAMLOG_SYSLOG=n +#CONFIG_RAMLOG_NPOLLWAITERS +#CONFIG_RAMLOG_CONSOLE_BUFSIZE + +# +# Settings for NXFLAT +# +CONFIG_NXFLAT=n +CONFIG_NXFLAT_DUMPBUFFER=n +CONFIG_SYMTAB_ORDEREDBYNAME=y + +# +# The following can be used to disable categories of +# APIs supported by the OS. If the compiler supports +# weak functions, then it should not be necessary to +# disable functions unless you want to restrict usage +# of those APIs. +# +# There are certain dependency relationships in these +# features. +# +# o mq_notify logic depends on signals to awaken tasks +# waiting for queues to become full or empty. +# o pthread_condtimedwait() depends on signals to wake +# up waiting tasks. +# +CONFIG_DISABLE_CLOCK=n +CONFIG_DISABLE_POSIX_TIMERS=n +CONFIG_DISABLE_PTHREAD=n +CONFIG_DISABLE_SIGNALS=n +CONFIG_DISABLE_MQUEUE=n +CONFIG_DISABLE_MOUNTPOINT=n +CONFIG_DISABLE_ENVIRON=n +CONFIG_DISABLE_POLL=y + +# +# Misc libc settings +# +CONFIG_NOPRINTF_FIELDWIDTH=n + +# +# Allow for architecture optimized implementations +# +# The architecture can provide optimized versions of the +# following to improve system performance +# +CONFIG_ARCH_MEMCPY=n +CONFIG_ARCH_MEMCMP=n +CONFIG_ARCH_MEMMOVE=n +CONFIG_ARCH_MEMSET=n +CONFIG_ARCH_STRCMP=n +CONFIG_ARCH_STRCPY=n +CONFIG_ARCH_STRNCPY=n +CONFIG_ARCH_STRLEN=n +CONFIG_ARCH_STRNLEN=n +CONFIG_ARCH_BZERO=n + +# +# Sizes of configurable things (0 disables) +# +CONFIG_MAX_TASKS=16 +CONFIG_MAX_TASK_ARGS=4 +CONFIG_NPTHREAD_KEYS=4 +CONFIG_NFILE_DESCRIPTORS=8 +CONFIG_NFILE_STREAMS=8 +CONFIG_NAME_MAX=32 +CONFIG_STDIO_BUFFER_SIZE=256 +CONFIG_STDIO_LINEBUFFER=y +CONFIG_NUNGET_CHARS=2 +CONFIG_PREALLOC_MQ_MSGS=4 +CONFIG_MQ_MAXMSGSIZE=32 +CONFIG_MAX_WDOGPARMS=2 +CONFIG_PREALLOC_WDOGS=8 +CONFIG_PREALLOC_TIMERS=4 + +# +# Framebuffer driver options +# +CONFIG_FB_CMAP=n +CONFIG_FB_HWCURSOR=n +CONFIG_FB_HWCURSORIMAGE=n +#CONFIG_FB_HWCURSORSIZE +#CONFIG_FB_TRANSPARENCY + +# +# Filesystem configuration +# +CONFIG_FS_FAT=y +CONFIG_FAT_LCNAMES=y +CONFIG_FAT_LFN=y +CONFIG_FAT_MAXFNAME=32 +CONFIG_FS_NXFFS=n +CONFIG_FS_ROMFS=n + +# +# SPI-based MMC/SD driver +# +CONFIG_MMCSD_NSLOTS=1 +CONFIG_MMCSD_READONLY=n +CONFIG_MMCSD_SPICLOCK=12500000 + +# +# Block driver buffering +# +CONFIG_FS_READAHEAD=n +CONFIG_FS_WRITEBUFFER=n + +# +# STM32 SDIO-based MMC/SD driver +# +CONFIG_SDIO_DMA=n +#CONFIG_SDIO_PRI=128 +#CONFIG_SDIO_DMAPRIO +#CONFIG_SDIO_WIDTH_D1_ONLY +CONFIG_MMCSD_MULTIBLOCK_DISABLE=y +CONFIG_MMCSD_MMCSUPPORT=n +CONFIG_MMCSD_HAVECARDDETECT=n + +# +# TCP/IP and UDP support via uIP +# +CONFIG_NET=y +CONFIG_NET_NOINTS=n +CONFIG_NET_MULTIBUFFER=y +CONFIG_NET_IPv6=n +CONFIG_NSOCKET_DESCRIPTORS=10 +CONFIG_NET_SOCKOPTS=y +CONFIG_NET_BUFSIZE=562 +CONFIG_NET_TCP=y +CONFIG_NET_TCP_CONNS=40 +#CONFIG_NET_TCP_READAHEAD_BUFSIZE +CONFIG_NET_NTCP_READAHEAD_BUFFERS=16 +CONFIG_NET_TCPBACKLOG=y +CONFIG_NET_MAX_LISTENPORTS=40 +CONFIG_NET_UDP=y +CONFIG_NET_UDP_CHECKSUMS=y +#CONFIG_NET_UDP_CONNS=10 +CONFIG_NET_ICMP=y +CONFIG_NET_ICMP_PING=y +#CONFIG_NET_PINGADDRCONF=0 +CONFIG_NET_STATISTICS=y +#CONFIG_NET_RECEIVE_WINDOW= +CONFIG_NET_BROADCAST=n +#CONFIG_NET_ARPTAB_SIZE=8 +CONFIG_NET_ARP_IPIN=n +CONFIG_NET_MULTICAST=n +#CONFIG_NET_FWCACHE_SIZE=2 + +# +# UIP Network Utilities +# +CONFIG_NET_DHCP_LIGHT=n +CONFIG_NET_RESOLV_ENTRIES=4 + +# +# FTP Server +# +CONFIG_FTPD_CMDBUFFERSIZE=2048 + +# +# RTC Configuration +# +CONFIG_RTC=y +CONFIG_RTC_DATETIME=y +CONFIG_RTC_HIRES=n +CONFIG_RTC_FREQUENCY=n +CONFIG_RTC_ALARM=n + +# +# Input device configuration +# +CONFIG_INPUT=n +CONFIG_INPUT_TSC2007=n + +# +# STMPE811 input device configuration +# +# Prerequisites: CONFIG_INPUT=y +# Other settings that effect the driver: CONFIG_DISABLE_POLL +# +CONFIG_INPUT_STMPE811=n +CONFIG_STMPE811_SPI=n +CONFIG_STMPE811_I2C=y +CONFIG_STMPE811_MULTIPLE=y +CONFIG_STMPE811_ACTIVELOW=y +CONFIG_STMPE811_EDGE=y +#CONFIG_STMPE811_NPOLLWAITERS +CONFIG_STMPE811_TSC_DISABLE=n +CONFIG_STMPE811_ADC_DISABLE=y +CONFIG_STMPE811_GPIO_DISABLE=y +CONFIG_STMPE811_GPIOINT_DISABLE=y +CONFIG_STMPE811_SWAPXY=y +CONFIG_STMPE811_TEMP_DISABLE=y +CONFIG_STMPE811_REGDEBUG=n +CONFIG_STMPE811_THRESHX=26 +CONFIG_STMPE811_THRESHY=34 + +# +# STM32 USB OTG FS Device Configuration +# +CONFIG_USBDEV=n +CONFIG_USBDEV_ISOCHRONOUS=n +CONFIG_USBDEV_DUALSPEED=n +CONFIG_USBDEV_SELFPOWERED=y +CONFIG_USBDEV_REMOTEWAKEUP=n +CONFIG_USBDEV_MAXPOWER=100 +CONFIG_USBDEV_TRACE=n +CONFIG_USBDEV_TRACE_NRECORDS=128 + +# +# STM32 USB OTG FS Host Configuration +# +CONFIG_USBHOST=n +#CONFIG_STM32_OTGFS_RXFIFO_SIZE +#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE +#CONFIG_STM32_OTGFS_PTXFIFO_SIZE +#CONFIG_STM32_OTGFS_DESCSIZE +CONFIG_STM32_OTGFS_SOFINTR=n +CONFIG_STM32_USBHOST_REGDEBUG=n +CONFIG_STM32_USBHOST_PKTDUMP=n + +# +# USB Serial Device Configuration +# +CONFIG_PL2303=n +CONFIG_PL2303_EPINTIN=1 +CONFIG_PL2303_EPBULKOUT=2 +CONFIG_PL2303_EPBULKIN=3 +CONFIG_PL2303_NWRREQS=4 +CONFIG_PL2303_NRDREQS=4 +CONFIG_PL2303_VENDORID=0x067b +CONFIG_PL2303_PRODUCTID=0x2303 +CONFIG_PL2303_VENDORSTR="Nuttx" +CONFIG_PL2303_PRODUCTSTR="USBdev Serial" +CONFIG_PL2303_RXBUFSIZE=512 +CONFIG_PL2303_TXBUFSIZE=512 + +# +# USB Storage Device Configuration +# +CONFIG_USBMSC=n +CONFIG_USBMSC_EP0MAXPACKET=64 +CONFIG_USBMSC_EPBULKOUT=2 +CONFIG_USBMSC_EPBULKIN=5 +CONFIG_USBMSC_NRDREQS=2 +CONFIG_USBMSC_NWRREQS=2 +CONFIG_USBMSC_BULKINREQLEN=256 +CONFIG_USBMSC_BULKOUTREQLEN=256 +CONFIG_USBMSC_VENDORID=0x584e +CONFIG_USBMSC_VENDORSTR="NuttX" +CONFIG_USBMSC_PRODUCTID=0x5342 +CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" +CONFIG_USBMSC_VERSIONNO=0x0399 +CONFIG_USBMSC_REMOVABLE=y + +# +# Graphics related configuration settings +# +CONFIG_NX=n +CONFIG_NX_MULTIUSER=n +CONFIG_NX_NPLANES=1 +CONFIG_NX_DISABLE_1BPP=y +CONFIG_NX_DISABLE_2BPP=y +CONFIG_NX_DISABLE_4BPP=y +CONFIG_NX_DISABLE_8BPP=y +CONFIG_NX_DISABLE_16BPP=n +CONFIG_NX_DISABLE_24BPP=y +CONFIG_NX_DISABLE_32BPP=y +CONFIG_NX_PACKEDMSFIRST=n +CONFIG_NX_LCDDRIVER=y +CONFIG_LCD_MAXPOWER=1 +CONFIG_LCD_MAXCONTRAST=1 +CONFIG_NX_MOUSE=y +CONFIG_NX_KBD=y +#CONFIG_NXTK_BORDERWIDTH=4 +CONFIG_NXTK_BORDERCOLOR1=0xd69a +CONFIG_NXTK_BORDERCOLOR2=0xad55 +CONFIG_NXTK_AUTORAISE=n +CONFIG_NXFONT_SANS17X22=y +CONFIG_NXFONT_SANS20X26=n +CONFIG_NXFONT_SANS22X29=n +CONFIG_NXFONT_SANS23X27=n +CONFIG_NXFONT_SANS28X37=n +CONFIG_NXFONT_SANS17X23B=n +CONFIG_NXFONT_SANS20X27B=y +CONFIG_NXFONT_SANS22X29B=y +CONFIG_NXFONT_SANS28X37B=n +CONFIG_NXFONT_SANS40X49B=n +CONFIG_NXFONT_SERIF22X29=n +CONFIG_NXFONT_SERIF29X37=n +CONFIG_NXFONT_SERIF38X48=n +CONFIG_NXFONT_SERIF22X28B=n +CONFIG_NXFONT_SERIF27X38B=n +CONFIG_NXFONT_SERIF38X49B=n +CONFIG_NXFONTS_CHARBITS=7 +CONFIG_NX_BLOCKING=y +CONFIG_NX_MXSERVERMSGS=32 +CONFIG_NX_MXCLIENTMSGS=16 + +# +# NxConsole Configuration Settings: +# +CONFIG_NXCONSOLE=n +CONFIG_NXCONSOLE_BPP=16 +CONFIG_NXCONSOLE_MXCHARS=256 +CONFIG_NXCONSOLE_CACHESIZE=32 +# + +# +# STM3240G-EVAL LCD Hardware Configuration +# +CONFIG_LCD_NOGETRUN=y +CONFIG_LCD_LANDSCAPE=n +CONFIG_LCD_RLANDSCAPE=n +CONFIG_LCD_PORTRAIT=n +CONFIG_LCD_RPORTRAIT=y + +# +# STM3240G-EVAL specific LCD settings +# +CONFIG_STM32_ILI9320_DISABLE=n +CONFIG_STM32_ILI9325_DISABLE=n + +# +# Settings for examples/uip +# +CONFIG_EXAMPLE_UIP_IPADDR=0xc0a80232 +CONFIG_EXAMPLE_UIP_DRIPADDR=0xc0a80201 +CONFIG_EXAMPLE_UIP_NETMASK=0xffffff00 +CONFIG_EXAMPLE_UIP_NOMAC=y +CONFIG_EXAMPLE_UIP_DHCPC=n + +# +# Settings for examples/nettest +CONFIG_EXAMPLE_NETTEST_SERVER=n +CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n +CONFIG_EXAMPLE_NETTEST_NOMAC=y +CONFIG_EXAMPLE_NETTEST_IPADDR=0x0a000002 +CONFIG_EXAMPLE_NETTEST_DRIPADDR=0x0a000001 +CONFIG_EXAMPLE_NETTEST_NETMASK=0xffffff00 +CONFIG_EXAMPLE_NETTEST_CLIENTIP=0x0a000001 + +# +# Settings for examples/ostest +# +CONFIG_EXAMPLES_OSTEST_LOOPS=1 +CONFIG_EXAMPLES_OSTEST_STACKSIZE=2048 +CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 + +# +# Settings for apps/nshlib +# +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_STRERROR=n +CONFIG_NSH_LINELEN=64 +CONFIG_NSH_NESTDEPTH=3 +CONFIG_NSH_DISABLESCRIPT=n +CONFIG_NSH_DISABLEBG=n +CONFIG_NSH_ROMFSETC=n +CONFIG_NSH_CONSOLE=y +CONFIG_NSH_TELNET=y +CONFIG_NSH_ARCHINIT=n +CONFIG_NSH_IOBUFFER_SIZE=512 +CONFIG_NSH_DHCPC=n +CONFIG_NSH_NOMAC=y +CONFIG_NSH_IPADDR=0x0a000002 +CONFIG_NSH_DRIPADDR=0x0a000001 +CONFIG_NSH_NETMASK=0xffffff00 +CONFIG_NSH_ROMFSMOUNTPT="/etc" +CONFIG_NSH_INITSCRIPT="init.d/rcS" +CONFIG_NSH_ROMFSDEVNO=0 +CONFIG_NSH_ROMFSSECTSIZE=64 +CONFIG_NSH_FATDEVNO=1 +CONFIG_NSH_FATSECTSIZE=512 +CONFIG_NSH_FATNSECTORS=1024 +CONFIG_NSH_FATMOUNTPT=/tmp + +# +# Architecture-specific NSH options +# +CONFIG_NSH_MMCSDSPIPORTNO=0 +CONFIG_NSH_MMCSDSLOTNO=0 +CONFIG_NSH_MMCSDMINOR=0 + +# +# I2C tool settings +# +CONFIG_I2CTOOL_BUILTIN=y +CONFIG_I2CTOOL_MINBUS=1 +CONFIG_I2CTOOL_MAXBUS=3 +#CONFIG_I2CTOOL_MINADDR +#CONFIG_I2CTOOL_MAXADDR +#CONFIG_I2CTOOL_MAXREGADDR +CONFIG_I2CTOOL_DEFFREQ=100000 + +# +# Settings for examples/usbserial +# +CONFIG_EXAMPLES_USBSERIAL_INONLY=n +CONFIG_EXAMPLES_USBSERIAL_OUTONLY=n +CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n +CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n + +CONFIG_EXAMPLES_USBSERIAL_TRACEINIT=n +CONFIG_EXAMPLES_USBSERIAL_TRACECLASS=n +CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS=n +CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n +CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n + +# +# Settings for examples/adc +# + +# +# Settings for examples/can +# + +# +# Settings for examples/nx +# +CONFIG_EXAMPLES_NX_BUILTIN=y +CONFIG_EXAMPLES_NX_VPLANE=0 +CONFIG_EXAMPLES_NX_DEVNO=0 +CONFIG_EXAMPLES_NX_BGCOLOR=0x0011 +CONFIG_EXAMPLES_NX_COLOR1=0xaedc +CONFIG_EXAMPLES_NX_COLOR2=0xe7ff +CONFIG_EXAMPLES_NX_TBCOLOR=0xd69a +CONFIG_EXAMPLES_NX_FONTID=0 +CONFIG_EXAMPLES_NX_FONTCOLOR=0x0000 +CONFIG_EXAMPLES_NX_BPP=16 +CONFIG_EXAMPLES_NX_RAWWINDOWS=n +CONFIG_EXAMPLES_NX_STACKSIZE=2048 +CONFIG_EXAMPLES_NX_CLIENTPRIO=80 +CONFIG_EXAMPLES_NX_SERVERPRIO=120 +CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4 +CONFIG_EXAMPLES_NX_EXTERNINIT=n + +# +# Settings for examples/nxhello +# +CONFIG_EXAMPLES_NXHELLO_BUILTIN=y +CONFIG_EXAMPLES_NXHELLO_VPLANE=0 +CONFIG_EXAMPLES_NXHELLO_DEVNO=0 +CONFIG_EXAMPLES_NXHELLO_BGCOLOR=0x0011 +CONFIG_EXAMPLES_NXHELLO_FONTID=6 +CONFIG_EXAMPLES_NXHELLO_FONTCOLOR=0xffdf +CONFIG_EXAMPLES_NXHELLO_BPP=16 +CONFIG_EXAMPLES_NXHELLO_EXTERNINIT=n + +# +# Settings for examples/nximage +# +CONFIG_EXAMPLES_NXIMAGE_BUILTIN=y +CONFIG_EXAMPLES_NXIMAGE_VPLANE=0 +CONFIG_EXAMPLES_NXIMAGE_DEVNO=0 +CONFIG_EXAMPLES_NXIMAGE_BPP=16 +CONFIG_EXAMPLES_NXIMAGE_XSCALEp5=n +CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5=y +CONFIG_EXAMPLES_NXIMAGE_XSCALE2p0=n +CONFIG_EXAMPLES_NXIMAGE_YSCALEp5=n +CONFIG_EXAMPLES_NXIMAGE_YSCALE1p5=y +CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0=n +CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n + +# +# Settings for examples/nxlines +# +CONFIG_EXAMPLES_NXLINES_BUILTIN=n +CONFIG_EXAMPLES_NXLINES_VPLANE=0 +CONFIG_EXAMPLES_NXLINES_DEVNO=0 +CONFIG_EXAMPLES_NXLINES_BGCOLOR=0x0320 +CONFIG_EXAMPLES_NXLINES_LINEWIDTH=16 +CONFIG_EXAMPLES_NXLINES_LINECOLOR=0xffe0 +CONFIG_EXAMPLES_NXLINES_BORDERWIDTH=4 +CONFIG_EXAMPLES_NXLINES_BORDERCOLOR=0xffe0 +CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR=0xf7bb +CONFIG_EXAMPLES_NXLINES_BPP=16 +CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n + +# +# Settings for examples/touchscreen +# +CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y +CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 +CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" +CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 + +# +# Settings for examples/usbstorage +# +CONFIG_EXAMPLES_USBMSC_BUILTIN=y +CONFIG_EXAMPLES_USBMSC_NLUNS=1 +CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0 +CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0" +CONFIG_EXAMPLES_USBMSC_DEBUGMM=n +CONFIG_EXAMPLES_USBMSC_TRACEINIT=n +CONFIG_EXAMPLES_USBMSC_TRACECLASS=n +CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n +CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n +CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n + +# +# Settings for examples/watchdog +# +# This test depends on these specific Watchdog/NSH configurations settings (your +# specific watchdog hardware settings might require additional settings). +# + +# +# Settings for examples/pwm +# + +# +# Settings for examples/ftpd +# + +# +# Stack and heap information +# +CONFIG_BOOT_RUNFROMFLASH=n +CONFIG_BOOT_COPYTORAM=n +CONFIG_CUSTOM_STACK=n +#CONFIG_STACK_POINTER +CONFIG_IDLETHREAD_STACKSIZE=1024 +CONFIG_USERMAIN_STACKSIZE=2048 +CONFIG_PTHREAD_STACK_MIN=256 +CONFIG_PTHREAD_STACK_DEFAULT=2048 +CONFIG_HEAP_BASE= +CONFIG_HEAP_SIZE= diff --git a/nuttx/configs/stm3240g-eval/webserver/setenv.sh b/nuttx/configs/stm3240g-eval/webserver/setenv.sh new file mode 100644 index 0000000000..2347f39d84 --- /dev/null +++ b/nuttx/configs/stm3240g-eval/webserver/setenv.sh @@ -0,0 +1,75 @@ +#!/bin/bash +# configs/stm3240g-eval/webserver/setenv.sh +# +# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +if [ "$_" = "$0" ] ; then + echo "You must source this script, not run it!" 1>&2 + exit 1 +fi + +WD=`pwd` +if [ ! -x "setenv.sh" ]; then + echo "This script must be executed from the top-level NuttX build directory" + exit 1 +fi + +if [ -z "${PATH_ORIG}" ]; then + export PATH_ORIG="${PATH}" +fi + +# This the Cygwin path to the location where I installed the RIDE +# toolchain under windows. You will also have to edit this if you install +# the RIDE toolchain in any other location +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Raisonance/Ride/arm-gcc/bin" + +# This the Cygwin path to the location where I installed the CodeSourcery +# toolchain under windows. You will also have to edit this if you install +# the CodeSourcery toolchain in any other location +export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" + +# These are the Cygwin paths to the locations where I installed the Atollic +# toolchain under windows. You will also have to edit this if you install +# the Atollic toolchain in any other location. /usr/bin is added before +# the Atollic bin path because there is are binaries named gcc.exe and g++.exe +# at those locations as well. +#export TOOLCHAIN_BIN="/usr/bin:/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for ARM Pro 2.3.0/ARMTools/bin" +#export TOOLCHAIN_BIN="/usr/bin:/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin" + +# This the Cygwin path to the location where I build the buildroot +# toolchain. +#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" + +# Add the path to the toolchain to the PATH varialble +export PATH="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}" + +echo "PATH : ${PATH}" diff --git a/nuttx/lib/stdio/lib_libfflush.c b/nuttx/lib/stdio/lib_libfflush.c index c2b887b2e2..2a4fe29326 100644 --- a/nuttx/lib/stdio/lib_libfflush.c +++ b/nuttx/lib/stdio/lib_libfflush.c @@ -109,7 +109,6 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) FAR const unsigned char *src; ssize_t bytes_written; ssize_t nbuffer; - int ret; /* Return EBADF if the file is not opened for writing */ diff --git a/nuttx/lib/stdio/lib_wrflush.c b/nuttx/lib/stdio/lib_wrflush.c index 5ef129d3fc..39680da6ae 100644 --- a/nuttx/lib/stdio/lib_wrflush.c +++ b/nuttx/lib/stdio/lib_wrflush.c @@ -89,8 +89,6 @@ int lib_wrflush(FAR FILE *stream) { #if CONFIG_STDIO_BUFFER_SIZE > 0 - int ret; - /* Verify that we were passed a valid (i.e., non-NULL) stream */ #ifdef CONFIG_DEBUG diff --git a/nuttx/tools/mkfsdata.pl b/nuttx/tools/mkfsdata.pl new file mode 100755 index 0000000000..589ad5f085 --- /dev/null +++ b/nuttx/tools/mkfsdata.pl @@ -0,0 +1,115 @@ +#!/usr/bin/perl +# tools/mkfsdata.pl +# +# Extracted from uIP which has a license that is compatible with NuttX. +# There is no authorship, copyright, or licensing information in the +# original file. Possibly written by Adam Dunkels. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +open(OUTPUT, "> httpd_fsdata.c"); + +chdir("httpd-fs"); + +opendir(DIR, "."); +@files = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); +closedir(DIR); + +print(OUTPUT "#include \n\n"); +print(OUTPUT "#ifndef NULL\n#define NULL 0\n#endif\n\n"); + +foreach $file (@files) { + + if(-d $file && $file !~ /^\./) { + print "Processing directory $file\n"; + opendir(DIR, $file); + @newfiles = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); + closedir(DIR); + printf "Adding files @newfiles\n"; + @files = (@files, map { $_ = "$file/$_" } @newfiles); + next; + } +} + +foreach $file (@files) { + if(-f $file) { + + print "Adding file $file\n"; + + open(FILE, $file) || die "Could not open file $file\n"; + + $file =~ s-^-/-; + $fvar = $file; + $fvar =~ s-/-_-g; + $fvar =~ s-\.-_-g; + # for AVR, add PROGMEM here + print(OUTPUT "static const unsigned char data".$fvar."[] =\n"); + print(OUTPUT "{\n /* $file */\n\n "); + for($j = 0; $j < length($file); $j++) { + printf(OUTPUT "%#02x, ", unpack("C", substr($file, $j, 1))); + } + printf(OUTPUT "0x00,\n "); + + $i = 0; + while(read(FILE, $data, 1)) { + printf(OUTPUT "%#02x, ", unpack("C", $data)); + $i++; + if($i == 10) { + print(OUTPUT "\n"); + $i = 0; + print(OUTPUT " "); + } + } + print(OUTPUT "0x00\n};\n\n"); + close(FILE); + push(@fvars, $fvar); + push(@pfiles, $file); + } +} + +for($i = 0; $i < @fvars; $i++) { + $file = $pfiles[$i]; + $fvar = $fvars[$i]; + + if($i == 0) { + $prevfile = "NULL"; + } else { + $prevfile = "file" . $fvars[$i - 1]; + } + if($i == @fvars-1) { + print(OUTPUT "const struct httpd_fsdata_file g_httpdfs_root[] =\n {{$prevfile, data$fvar, "); + } else { + print(OUTPUT "const struct httpd_fsdata_file file".$fvar."[] =\n {{$prevfile, data$fvar, "); + } + print(OUTPUT "data$fvar + ". (length($file) + 1) .", "); + print(OUTPUT "sizeof(data$fvar) - ". (length($file) + 1) ."}};\n\n"); +} + +# print(OUTPUT "#define HTTPD_FS_ROOT file$fvars[$i - 1]\n\n"); +print(OUTPUT "const int g_httpd_numfiles = $i;\n"); From d1764ac57e1a70cb1447a667dc5f1840c9228d02 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 00:26:37 +0000 Subject: [PATCH 14/19] Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking? git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5074 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/examples/README.txt | 12 +++++--- nuttx/ChangeLog | 2 ++ nuttx/Documentation/NuttxPortingGuide.html | 5 ---- nuttx/configs/README.txt | 3 -- nuttx/lib/stdio/lib_perror.c | 35 ++-------------------- nuttx/tools/README.txt | 10 +++++++ 6 files changed, 22 insertions(+), 45 deletions(-) diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 7d068f9794..52d7279dac 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -1345,10 +1345,14 @@ examples/uip file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS += uiplib - CONFIGURED_APPS += dhcpc - CONFIGURED_APPS += resolv - CONFIGURED_APPS += webserver + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += dhcpc + CONFIGURED_APPS += resolv + CONFIGURED_APPS += webserver + + NOTE: This example does depend on the perl script at + nuttx/tools/mkfsdata.pl. You must have perl installed on your + development system at /usr/bin/perl. examples/usbserial ^^^^^^^^^^^^^^^^^^ diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index e479b25fce..2e17f8eb1e 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3241,3 +3241,5 @@ files for the STM3240G-EVAL were replaced by one version in this directory. * configs/stm3240g-eval/webserver: Configuration submitted by Max Holtzberg for testing the changes to the uIP web server (see apps/ChangeLog.txt). + * lib/stdio/lib_perror.c: Remove CONFIG_LIBC_PERROR_DEVNAME. What was I + thinking? Arbitrary streams cannot be shared by different tasks. diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 532da8c16c..9deff7a064 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4378,11 +4378,6 @@ build POSIX requires that perror() provide its output on stderr. This option may be defined, however, to provide perror() output that is serialized with other stdout messages. -
  • - CONFIG_LIBC_PERROR_DEVNAME: - Another non-standard option is to provide perror() output to a logging device or file. - CONFIG_LIBC_PERROR_DEVNAME may be defined to be any write-able, character device (or file). -
  • Allow for architecture optimized implementations

    diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 4b68d28bdd..dc9d8d88e8 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -573,9 +573,6 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_LIBC_PERROR_STDOUT - POSIX requires that perror() provide its output on stderr. This option may be defined, however, to provide perror() output that is serialized with other stdout messages. - CONFIG_LIBC_PERROR_DEVNAME - Another non-standard option is to provide - perror() output to a logging device or file. CONFIG_LIBC_PERROR_DEVNAME - may be defined to be any write-able, character device (or file). Allow for architecture optimized implementations diff --git a/nuttx/lib/stdio/lib_perror.c b/nuttx/lib/stdio/lib_perror.c index 3be2dd9db9..867e113f98 100644 --- a/nuttx/lib/stdio/lib_perror.c +++ b/nuttx/lib/stdio/lib_perror.c @@ -53,18 +53,8 @@ #ifdef CONFIG_LIBC_PERROR_STDOUT # define PERROR_STREAM stdout -# undef CONFIG_LIBC_PERROR_DEVNAME -#endif - -/* Another non-standard option is to provide perror output to a logging - * device or file. CONFIG_LIBC_PERROR_DEVNAME may be defined to be any write- - * able, character device (or file). - */ - -#ifndef CONFIG_LIBC_PERROR_DEVNAME -# define PERROR_STREAM stderr #else -# define PERROR_STREAM perror_stream; +# define PERROR_STREAM stderr #endif /**************************************************************************** @@ -83,10 +73,6 @@ * Private Data ****************************************************************************/ -#ifdef CONFIG_LIBC_PERROR_DEVNAME -static FILE *perror_stream; -#endif - /**************************************************************************** * Private Functions ****************************************************************************/ @@ -101,24 +87,6 @@ static FILE *perror_stream; void perror(FAR const char *s) { - /* If we are using a custom output device (something other than - * /dev/console), then make sure that the device has been opened. - */ - -#ifdef CONFIG_LIBC_PERROR_DEVNAME - if (!perror_stream) - { - /* Not yet.. open it now */ - - perror_stream = fopen(CONFIG_LIBC_PERROR_DEVNAME, "w"); - if (!perror_stream) - { - /* Oops... we couldn't open the device */ - - return; - } - } -#endif /* If strerror() is not enabled, then just print the error number */ @@ -128,3 +96,4 @@ void perror(FAR const char *s) (void)fprintf(PERROR_STREAM, "%s: Error %d\n", s, errno); #endif } + diff --git a/nuttx/tools/README.txt b/nuttx/tools/README.txt index 39128fa1b0..2a3416adb7 100755 --- a/nuttx/tools/README.txt +++ b/nuttx/tools/README.txt @@ -44,6 +44,16 @@ mkexport.sh and Makefile.export Makefile.export is used only by the mkexport.sh script to parse out options from the top-level Make.defs file. +mkfsdata.pl + + This perl script is used to build the "fake" file system and CGI support + as needed for the apps/netutils/webserver. It is currently used only + by the Makefile at apps/examples/uip. That example serves as an example + of how to configure the uIP webserver "fake" file system. + + NOTE: This perl script comes from uIP and was (probably) written + by Adam Dunkels. uIP has a license that is compatible with NuttX. + mkversion.c, cfgparser.c, and cfgparser.h This is C file that is used to build mkversion program. The mkversion From b2db45bee3c6915346fb7be8dba064708955549e Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 15:33:33 +0000 Subject: [PATCH 15/19] Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5075 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 4 + nuttx/Documentation/NuttXDemandPaging.html | 1 - nuttx/Documentation/NuttXNxFlat.html | 61 +++- nuttx/configs/README.txt | 24 ++ nuttx/lib/README.txt | 2 + nuttx/lib/lib.csv | 336 ++++++++++----------- nuttx/syscall/README.txt | 4 + nuttx/tools/Makefile.export | 2 +- nuttx/tools/Makefile.host | 9 +- nuttx/tools/README.txt | 22 +- nuttx/tools/cfgparser.h | 2 +- nuttx/tools/configure.sh | 2 +- nuttx/tools/csvparser.c | 205 +++++++++++++ nuttx/tools/csvparser.h | 76 +++++ nuttx/tools/define.sh | 2 +- nuttx/tools/indent.sh | 2 +- nuttx/tools/link.sh | 2 +- nuttx/tools/mkdeps.sh | 2 +- nuttx/tools/mknulldeps.sh | 2 +- nuttx/tools/mkromfsimg.sh | 2 +- nuttx/tools/mksymtab.c | 277 +++++++++++++++++ nuttx/tools/mksyscall.c | 157 +--------- nuttx/tools/mkversion.c | 2 +- 23 files changed, 852 insertions(+), 346 deletions(-) create mode 100644 nuttx/tools/csvparser.c create mode 100644 nuttx/tools/csvparser.h create mode 100644 nuttx/tools/mksymtab.c diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 2e17f8eb1e..3ba81d4a7e 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3243,3 +3243,7 @@ for testing the changes to the uIP web server (see apps/ChangeLog.txt). * lib/stdio/lib_perror.c: Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking? Arbitrary streams cannot be shared by different tasks. + * tools/mksyscall.c, csvparser.c, and csvparser.h: Separate CSV parsing + logic from mksyscall.c into files where it can be shared. + * tools/mksymtab.c: Add a tool that can be used to convert a CSV file + into a NuttX-style symbol table. diff --git a/nuttx/Documentation/NuttXDemandPaging.html b/nuttx/Documentation/NuttXDemandPaging.html index c238161a82..082edd21b7 100644 --- a/nuttx/Documentation/NuttXDemandPaging.html +++ b/nuttx/Documentation/NuttXDemandPaging.html @@ -8,7 +8,6 @@
    diff --git a/nuttx/Documentation/NuttXNxFlat.html b/nuttx/Documentation/NuttXNxFlat.html index e6923a8bcb..8fab8fed16 100644 --- a/nuttx/Documentation/NuttXNxFlat.html +++ b/nuttx/Documentation/NuttXNxFlat.html @@ -9,8 +9,7 @@
    LocalRemoteStateRetransmissionsTimerFlags

    On-Demand Paging

    -

    >>> Under Construction <<<

    Last Updated: August 12, 2010

    NXFLAT

    -

    >>> Under Construction <<<

    -

    Last Updated: June 29, 2012

    +

    Last Updated: September 1, 2012

    @@ -90,7 +89,13 @@
    - 1.4 Making an NXFLAT module + 1.4 mksymtab + + + +
    + + 1.5 Making an NXFLAT module @@ -122,7 +127,7 @@

    1.0 Overview

    -f +

    1.1 Functionality

    @@ -386,7 +391,41 @@ any following arguments. debug output is enabled [Default: no verbose output]. -

    1.4 Making an NXFLAT module

    +

    1.4 mksymtab

    + +

    + There is a small helper program available in nuttx/tools call mksymtab. + mksymtab can be sued to generate symbol tables for the NuttX base code that would be usable by the typical NXFLAT application. + mksymtab builds symbol tables from common-separated value (CSV) files. + In particular, the CSV files: +

    +
      +
    1. + nuttx/syscall/syscall.csv that describes the NuttX RTOS interface, and +
    2. +
    3. + nuttx/lib/lib/csv that describes the NuttX C library interface. +
    4. +
    +
      +USAGE: ./mksymtab <cvs-file> <symtab-file>
      +
      +Where:
      +
      +  <cvs-file>   : The path to the input CSV file
      +  <symtab-file>: The path to the output symbol table file
      +  -d           : Enable debug output
      +
    +

    + For example, +

    +
      +cd nuttx/tools
      +cat ../syscall/syscall.csv ../lib/lib.csv | sort >tmp.csv
      +./mksymtab.exe tmp.csv tmp.c
      +
    + +

    1.5 Making an NXFLAT module

    Below is a snippet from an NXFLAT make file (simplified from NuttX @@ -639,8 +678,7 @@ any following arguments.

               ldr     r1, .L0         <-- Fetch the offset to 'x'
      -        ldr     r0, [r10, r1]   <-- Load the value of 'x' with PIC
      -                                offset
      +        ldr     r0, [r10, r1]   <-- Load the value of 'x' with PIC offset`
               ...
       .L0:    .word   x               <-- Offset to 'x'
       
    @@ -652,8 +690,7 @@ any following arguments.
               ldr     r1, .L0         <-- Fetch the offset to the GOT entry
      -        ldr     r1, [r10,r1]    <-- Fetch the (relocated) address
      -                                of 'x' from the GOT
      +        ldr     r1, [r10,r1]    <-- Fetch the (relocated) address of 'x' from the GOT
               ldr     r0, [r1, #0]    <-- Fetch the value of 'x'
               ...
       .L1     .word   x(GOT)          <-- Offset to entry in the GOT
      @@ -667,9 +704,9 @@ any following arguments.
         execution time.
       

      - NXFLAT (like XFLAT) can work even better with + NXFLAT (like XFLAT) can work even better without the GOT. - Patches again older version of GCC exist to eliminate the GOT indirections. + Patches against older version of GCC exist to eliminate the GOT indirections. Several are available here if you are inspired to port them to a new GCC version.

      @@ -735,7 +772,7 @@ any following arguments. XFLAT discussion.

      - Patches again older version of GCC exist to correct this GCC behavior. + Patches against older version of GCC exist to correct this GCC behavior. Several are available here if you are inspired to port them to a new GCC version.

      diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index dc9d8d88e8..1b405b3e45 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -7,6 +7,7 @@ Table of Contents o Summary of Files o Supported Architectures o Configuring NuttX + o Building Symbol Tables Board-Specific Configurations ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1805,3 +1806,26 @@ command line like: cd tools ./configure.sh -a / + +Building Symbol Tables +^^^^^^^^^^^^^^^^^^^^^^ + +Symbol tables are needed at several of the binfmt interfaces in order to bind +a module to the base code. These symbol tables can be tricky to create and +will probably have to be tailored for any specific application, balancing +the number of symbols and the size of the symbol table against the symbols +required by the applications. + +The top-level System.map file is one good source of symbol information +(which, or course, was just generated from the top-level nuttx file +using the GNU 'nm' tool). + +There are also common-separated value (CSV) values in the source try that +provide information about symbols. In particular: + + nuttx/syscall/syscall.csv - Describes the NuttX RTOS interface, and + nuttx/lib/lib.csv - Describes the NuttX C library interface. + +There is a tool at nuttx/tools/mksymtab that will use these CSV files as +input to generate a generic symbol table. See nuttx/tools/README.txt for +more information about using the mksymtab tool. diff --git a/nuttx/lib/README.txt b/nuttx/lib/README.txt index 7de8580485..63d1c343c0 100644 --- a/nuttx/lib/README.txt +++ b/nuttx/lib/README.txt @@ -80,3 +80,5 @@ Each type field has a format as follows: cannot cast a union sigval to a uinptr_t either. Rather, we need to cast a specific union member fieldname to uintptr_t. +NOTE: The tool mksymtab can be used to generate a symbol table from this CSV +file. See nuttx/tools/README.txt for further details about the use of mksymtab. diff --git a/nuttx/lib/lib.csv b/nuttx/lib/lib.csv index a55d5dbfe4..aa63653f5c 100644 --- a/nuttx/lib/lib.csv +++ b/nuttx/lib/lib.csv @@ -1,170 +1,170 @@ -"_inet_ntoa","#include ","#if !defined(CONFIG_NET_IPv6) && !defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","in_addr_t" -"abort","#include ","","void" -"abs","#include ","","int","int" -"asprintf","#include ","","int","FAR char **","const char *","..." -"avsprintf","#include ","","int","FAR char **","const char *","va_list" -"b16atan2","#include ","","b16_t","b16_t","b16_t" -"b16cos","#include ","","b16_t","b16_t" -"b16divb16","#include ","","b16_t","b16_t","b16_t" -"b16mulb16","#include ","","b16_t","b16_t","b16_t" -"b16sin","#include ","","b16_t","b16_t" -"b16sqr","#include ","","b16_t","b16_t" -"basename","#include ","","FAR char","FAR char *" -"cfgetspeed","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","speed_t","FAR const struct termios *" -"cfsetspeed","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","FAR struct termios *","speed_t" -"chdir","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *" -"crc32","#include ","","uint32_t","FAR const uint8_t *","size_t" -"crc32part","#include ","","uint32_t","FAR const uint8_t *","size_t","uint32_t" -"dbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG)","int","const char *","..." -"dbg_enable","#include ","#ifdef CONFIG_DEBUG_ENABLE","void","bool" -"dirname","#include ","","FAR char","FAR char *" -"dq_addafter","#include ","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" -"dq_addbefore","#include ","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" -"dq_addfirst","#include ","","void","FAR dq_entry_t *","dq_queue_t *" -"dq_addlast","#include ","","void","FAR dq_entry_t *","dq_queue_t *" -"dq_rem","#include ","","void","FAR dq_entry_t *","dq_queue_t *" -"dq_remfirst","#include ","","FAR dq_entry_t","dq_queue_t *" -"dq_remlast","#include ","","FAR dq_entry_t","dq_queue_t *" -"ether_ntoa","#include ","","FAR char","FAR const struct ether_addr *" -"fclose","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" -"fdopen","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","int","FAR const char *" -"fflush","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" -"fgetc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" -"fgetpos","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" -"fgets","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *","int","FAR FILE *" -"fileno","#include ","","int","FAR FILE *" -"fopen","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","FAR const char *","FAR const char *" -"fprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR const char *","..." -"fputc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int c","FAR FILE *" -"fputs","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","FAR FILE *" -"fread","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR void *","size_t","size_t","FAR FILE *" -"fseek","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","long int","int" -"fsetpos","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" -"ftell","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","long","FAR FILE *" -"fwrite","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR const void *","size_t","size_t","FAR FILE *" -"getcwd","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","FAR char","FAR char *","size_t" -"getopt","#include ","","int","int","FAR char *const[]","FAR const char *" -"getoptargp","#include ","","FAR char *" -"getoptindp","#include ","","int" -"getoptoptp","#include ","","int" -"gets","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *" -"gmtime","#include ","","struct tm","const time_t *" -"gmtime_r","#include ","","FAR struct tm","FAR const time_t *","FAR struct tm *" -"htonl","#include ","","uint32_t","uint32_t" -"htons","#include ","","uint16_t","uint16_t" -"imaxabs","#include ","","intmax_t","intmax_t" -"inet_addr","#include ","","in_addr_t","FAR const char " -"inet_ntoa","#include ","#if !defined(CONFIG_NET_IPv6) && defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","struct in_addr" -"inet_ntop","#include ","","FAR const char","int","FAR const void *","FAR char *","socklen_t" -"inet_pton","#include ","","int","int","FAR const char *","FAR void *" -"labs","#include ","","long int","long int" -"lib_dumpbuffer","#include ","","void","FAR const char *","FAR const uint8_t *","unsigned int" -"lib_lowprintf","#include ","","int","FAR const char *","..." -"lib_rawprintf","#include ","","int","FAR const char *","..." -"llabs","#include ","#ifdef CONFIG_HAVE_LONG_LONG","long long int","long long int" -"lldbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." -"llvdbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." +"_inet_ntoa","arpa/inet.h","!defined(CONFIG_NET_IPv6) && !defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","in_addr_t" +"abort","stdlib.h","","void" +"abs","stdlib.h","","int","int" +"asprintf","stdio.h","","int","FAR char **","const char *","..." +"avsprintf","stdio.h","","int","FAR char **","const char *","va_list" +"b16atan2","fixedmath.h","","b16_t","b16_t","b16_t" +"b16cos","fixedmath.h","","b16_t","b16_t" +"b16divb16","fixedmath.h","","b16_t","b16_t","b16_t" +"b16mulb16","fixedmath.h","","b16_t","b16_t","b16_t" +"b16sin","fixedmath.h","","b16_t","b16_t" +"b16sqr","fixedmath.h","","b16_t","b16_t" +"basename","libgen.h","","FAR char","FAR char *" +"cfgetspeed","termios.h","CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","speed_t","FAR const struct termios *" +"cfsetspeed","termios.h","CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","FAR struct termios *","speed_t" +"chdir","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *" +"crc32","crc32.h","","uint32_t","FAR const uint8_t *","size_t" +"crc32part","crc32.h","","uint32_t","FAR const uint8_t *","size_t","uint32_t" +"dbg","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG)","int","const char *","..." +"dbg_enable","debug.h","defined(CONFIG_DEBUG_ENABLE)","void","bool" +"dirname","libgen.h","","FAR char","FAR char *" +"dq_addafter","queue.h","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" +"dq_addbefore","queue.h","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *" +"dq_addfirst","queue.h","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_addlast","queue.h","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_rem","queue.h","","void","FAR dq_entry_t *","dq_queue_t *" +"dq_remfirst","queue.h","","FAR dq_entry_t","dq_queue_t *" +"dq_remlast","queue.h","","FAR dq_entry_t","dq_queue_t *" +"ether_ntoa","netinet/ether.h","","FAR char","FAR const struct ether_addr *" +"fclose","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fdopen","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","int","FAR const char *" +"fflush","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fgetc","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *" +"fgetpos","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" +"fgets","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *","int","FAR FILE *" +"fileno","stdio.h","","int","FAR FILE *" +"fopen","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR FILE","FAR const char *","FAR const char *" +"fprintf","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR const char *","..." +"fputc","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int c","FAR FILE *" +"fputs","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","FAR FILE *" +"fread","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR void *","size_t","size_t","FAR FILE *" +"fseek","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","long int","int" +"fsetpos","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *" +"ftell","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","long","FAR FILE *" +"fwrite","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","size_t","FAR const void *","size_t","size_t","FAR FILE *" +"getcwd","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_ENVIRON)","FAR char","FAR char *","size_t" +"getopt","unistd.h","","int","int","FAR char *const[]","FAR const char *" +"getoptargp","unistd.h","","FAR char *" +"getoptindp","unistd.h","","int" +"getoptoptp","unistd.h","","int" +"gets","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *" +"gmtime","time.h","","struct tm","const time_t *" +"gmtime_r","time.h","","FAR struct tm","FAR const time_t *","FAR struct tm *" +"htonl","arpa/inet.h","","uint32_t","uint32_t" +"htons","arpa/inet.h","","uint16_t","uint16_t" +"imaxabs","stdlib.h","","intmax_t","intmax_t" +"inet_addr","arpa/inet.h","","in_addr_t","FAR const char " +"inet_ntoa","arpa/inet.h","!defined(CONFIG_NET_IPv6) && defined(CONFIG_CAN_PASS_STRUCTS)","FAR char","struct in_addr" +"inet_ntop","arpa/inet.h","","FAR const char","int","FAR const void *","FAR char *","socklen_t" +"inet_pton","arpa/inet.h","","int","int","FAR const char *","FAR void *" +"labs","stdlib.h","","long int","long int" +"lib_dumpbuffer","debug.h","","void","FAR const char *","FAR const uint8_t *","unsigned int" +"lib_lowprintf","debug.h","","int","FAR const char *","..." +"lib_rawprintf","debug.h","","int","FAR const char *","..." +"llabs","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long int","long long int" +"lldbg","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." +"llvdbg","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_ARCH_LOWPUTC)","int","const char *","..." "match","","","int","const char *","const char *" -"memccpy","#include ","","FAR void","FAR void *","FAR const void *","int c","size_t" -"memchr","#include ","","FAR void","FAR const void *","int c","size_t" -"memcmp","#include ","","int","FAR const void *","FAR const void *","size_t" -"memcpy","#include ","","FAR void","FAR void *","FAR const void *","size_t" -"memmove","#include ","","FAR void","FAR void *","FAR const void *","size_t" -"memset","#include ","","FAR void","FAR void *","int c","size_t" -"mktime","#include ","","time_t","const struct tm *" -"mq_getattr","#include ","#ifndef CONFIG_DISABLE_MQUEUE","int","mqd_t","struct mq_attr *" -"mq_setattr","#include ","#ifndef CONFIG_DISABLE_MQUEUE","int","mqd_t","const struct mq_attr *","struct mq_attr *" -"ntohl","#include ","","uint32_t","uint32_t" -"ntohs","#include ","","uint16_t","uint16_t" -"perror","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","void","FAR const char *" -"printf","#include ","","int","const char *","..." -"pthread_attr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *" -"pthread_attr_getinheritsched","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR const pthread_attr_t *","FAR int *" -"pthread_attr_getschedparam","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR struct sched_param *" -"pthread_attr_getschedpolicy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int *" -"pthread_attr_getstacksize","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR long *" -"pthread_attr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *" -"pthread_attr_setinheritsched","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int" -"pthread_attr_setschedparam","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","FAR const struct sched_param *" -"pthread_attr_setschedpolicy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","int" -"pthread_attr_setstacksize","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_attr_t *","long" -"pthread_barrierattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *" -"pthread_barrierattr_getpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR const pthread_barrierattr_t *","FAR int *" -"pthread_barrierattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *" -"pthread_barrierattr_setpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_barrierattr_t *","int" -"pthread_condattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_condattr_t *" -"pthread_condattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_condattr_t *" -"pthread_mutexattr_destroy","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *" -"pthread_mutexattr_getpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *","FAR int *" -"pthread_mutexattr_gettype","#include ","#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","const pthread_mutexattr_t *","int *" -"pthread_mutexattr_init","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *" -"pthread_mutexattr_setpshared","#include ","#ifndef CONFIG_DISABLE_PTHREAD","int","FAR pthread_mutexattr_t *","int " -"pthread_mutexattr_settype","#include ","#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","pthread_mutexattr_t *","int" -"puts","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *" -"qsort","#include ","","void","void *","size_t","size_t","int(*)(const void *","const void *)" -"rand","#include ","","int" -"readdir_r","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0","int","FAR DIR *","FAR struct dirent *","FAR struct dirent **" +"memccpy","string.h","","FAR void","FAR void *","FAR const void *","int c","size_t" +"memchr","string.h","","FAR void","FAR const void *","int c","size_t" +"memcmp","string.h","","int","FAR const void *","FAR const void *","size_t" +"memcpy","string.h","","FAR void","FAR void *","FAR const void *","size_t" +"memmove","string.h","","FAR void","FAR void *","FAR const void *","size_t" +"memset","string.h","","FAR void","FAR void *","int c","size_t" +"mktime","time.h","","time_t","const struct tm *" +"mq_getattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","struct mq_attr *" +"mq_setattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const struct mq_attr *","struct mq_attr *" +"ntohl","arpa/inet.h","","uint32_t","uint32_t" +"ntohs","arpa/inet.h","","uint16_t","uint16_t" +"perror","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","void","FAR const char *" +"printf","stdio.h","","int","const char *","..." +"pthread_attr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *" +"pthread_attr_getinheritsched","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR int *" +"pthread_attr_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR struct sched_param *" +"pthread_attr_getschedpolicy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int *" +"pthread_attr_getstacksize","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR long *" +"pthread_attr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *" +"pthread_attr_setinheritsched","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int" +"pthread_attr_setschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR const struct sched_param *" +"pthread_attr_setschedpolicy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int" +"pthread_attr_setstacksize","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","long" +"pthread_barrierattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *" +"pthread_barrierattr_getpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_barrierattr_t *","FAR int *" +"pthread_barrierattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *" +"pthread_barrierattr_setpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *","int" +"pthread_condattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *" +"pthread_condattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *" +"pthread_mutexattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *" +"pthread_mutexattr_getpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *","FAR int *" +"pthread_mutexattr_gettype","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","const pthread_mutexattr_t *","int *" +"pthread_mutexattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *" +"pthread_mutexattr_setpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *","int " +"pthread_mutexattr_settype","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES)","int","pthread_mutexattr_t *","int" +"puts","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *" +"qsort","stdlib.h","","void","void *","size_t","size_t","int(*)(const void *","const void *)" +"rand","stdlib.h","","int" +"readdir_r","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","int","FAR DIR *","FAR struct dirent *","FAR struct dirent **" "rint","","","double_t","double_t" -"sched_get_priority_max","#include ","","int","int" -"sched_get_priority_min","#include ","","int","int" -"sem_getvalue","#include ","","int","FAR sem_t *","FAR int *" -"sem_init","#include ","","int","FAR sem_t *","int","unsigned int" -"sigaddset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *","int" -"sigdelset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *","int" -"sigemptyset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *" -"sigfillset","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR sigset_t *" -"sigismember","#include ","#ifndef CONFIG_DISABLE_SIGNALS","int","FAR const sigset_t *","int" -"snprintf","#include ","","int","FAR char *","size_t","const char *","..." -"sprintf","#include ","","int","FAR char *","const char *","..." -"sq_addafter","#include ","","void","FAR sq_entry_t *","FAR sq_entry_t *","FAR sq_queue_t *" -"sq_addfirst","#include ","","void","FAR sq_entry_t *","sq_queue_t *" -"sq_addlast","#include ","","void","FAR sq_entry_t *","sq_queue_t *" -"sq_rem","#include ","","void","FAR sq_entry_t *","sq_queue_t *" -"sq_remafter","#include ","","FAR sq_entry_t","FAR sq_entry_t *","sq_queue_t *" -"sq_remfirst","#include ","","FAR sq_entry_t","sq_queue_t *" -"sq_remlast","#include ","","FAR sq_entry_t","sq_queue_t *" -"srand","#include ","","void","unsigned int" -"sscanf","#include ","","int","const char *","const char *","..." -"strcasecmp","#include ","","int","FAR const char *","FAR const char *" -"strcasestr","#include ","","FAR char","FAR const char *","FAR const char *" -"strcat","#include ","","FAR char","FAR char *","FAR const char *" -"strchr","#include ","","FAR char","FAR const char *","int" -"strcmp","#include ","","int","FAR const char *","FAR const char *" -"strcpy","#include ","","FAR char","char *","FAR const char *" -"strcspn","#include ","","size_t","FAR const char *","FAR const char *" -"strdup","#include ","","FAR char","FAR const char *" -"strerror","#include ","","FAR const char","int" -"strftime","#include ","","size_t","char *","size_t","const char *","const struct tm *" -"strlen","#include ","","size_t","FAR const char *" -"strncasecmp","#include ","","int","FAR const char *","FAR const char *","size_t" -"strncat","#include ","","FAR char","FAR char *","FAR const char *","size_t" -"strncmp","#include ","","int","FAR const char *","FAR const char *","size_t" -"strncpy","#include ","","FAR char","char *","FAR const char *","size_t" -"strndup","#include ","","FAR char","FAR const char *","size_t" -"strnlen","#include ","","size_t","FAR const char *","size_t" -"strpbrk","#include ","","FAR char","FAR const char *","FAR const char *" -"strrchr","#include ","","FAR char","FAR const char *","int" -"strspn","#include ","","size_t","FAR const char *","FAR const char *" -"strstr","#include ","","FAR char","FAR const char *","FAR const char *" -"strtod","#include ","","double_t","const char *str","char **endptr" -"strtok","#include ","","FAR char","FAR char *","FAR const char *" -"strtok_r","#include ","","FAR char","FAR char *","FAR const char *","FAR char **" -"strtol","#include ","","long","const char *","char **","int" -"strtoll","#include ","#ifdef CONFIG_HAVE_LONG_LONG","long long","const char *nptr","char **endptr","int base" -"strtoul","#include ","","unsigned long","const char *","char **","int" -"strtoull","#include ","#ifdef CONFIG_HAVE_LONG_LONG","unsigned long long","const char *","char **","int" -"tcflush","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int" -"tcgetattr","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","FAR struct termios *" -"tcsetattr","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int","FAR const struct termios *" -"telldir","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0","off_t","FAR DIR *" -"time","#include ","","time_t","time_t *" -"ub16divub16","#include ","","ub16_t","ub16_t","ub16_t" -"ub16mulub16","#include ","","ub16_t","ub16_t","ub16_t" -"ub16sqr","#include ","","ub16_t","ub16_t" -"ungetc","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int","FAR FILE *" -"vdbg","#include ","#if !defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE)","int","const char *","..." -"vfprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","const char *","va_list" -"vprintf","#include ","#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","va_list" -"vsnprintf","#include ","","int","FAR char *","size_t","const char *","va_list" -"vsprintf","#include ","","int","FAR char *","const char *","va_list" -"vsscanf","#include ","","int","char *","const char *","va_list" +"sched_get_priority_max","sched.h","","int","int" +"sched_get_priority_min","sched.h","","int","int" +"sem_getvalue","semaphore.h","","int","FAR sem_t *","FAR int *" +"sem_init","semaphore.h","","int","FAR sem_t *","int","unsigned int" +"sigaddset","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR sigset_t *","int" +"sigdelset","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR sigset_t *","int" +"sigemptyset","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR sigset_t *" +"sigfillset","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR sigset_t *" +"sigismember","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR const sigset_t *","int" +"snprintf","stdio.h","","int","FAR char *","size_t","const char *","..." +"sprintf","stdio.h","","int","FAR char *","const char *","..." +"sq_addafter","queue.h","","void","FAR sq_entry_t *","FAR sq_entry_t *","FAR sq_queue_t *" +"sq_addfirst","queue.h","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_addlast","queue.h","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_rem","queue.h","","void","FAR sq_entry_t *","sq_queue_t *" +"sq_remafter","queue.h","","FAR sq_entry_t","FAR sq_entry_t *","sq_queue_t *" +"sq_remfirst","queue.h","","FAR sq_entry_t","sq_queue_t *" +"sq_remlast","queue.h","","FAR sq_entry_t","sq_queue_t *" +"srand","stdlib.h","","void","unsigned int" +"sscanf","stdio.h","","int","const char *","const char *","..." +"strcasecmp","string.h","","int","FAR const char *","FAR const char *" +"strcasestr","string.h","","FAR char","FAR const char *","FAR const char *" +"strcat","string.h","","FAR char","FAR char *","FAR const char *" +"strchr","string.h","","FAR char","FAR const char *","int" +"strcmp","string.h","","int","FAR const char *","FAR const char *" +"strcpy","string.h","","FAR char","char *","FAR const char *" +"strcspn","string.h","","size_t","FAR const char *","FAR const char *" +"strdup","string.h","","FAR char","FAR const char *" +"strerror","string.h","","FAR const char","int" +"strftime","time.h","","size_t","char *","size_t","const char *","const struct tm *" +"strlen","string.h","","size_t","FAR const char *" +"strncasecmp","string.h","","int","FAR const char *","FAR const char *","size_t" +"strncat","string.h","","FAR char","FAR char *","FAR const char *","size_t" +"strncmp","string.h","","int","FAR const char *","FAR const char *","size_t" +"strncpy","string.h","","FAR char","char *","FAR const char *","size_t" +"strndup","string.h","","FAR char","FAR const char *","size_t" +"strnlen","string.h","","size_t","FAR const char *","size_t" +"strpbrk","string.h","","FAR char","FAR const char *","FAR const char *" +"strrchr","string.h","","FAR char","FAR const char *","int" +"strspn","string.h","","size_t","FAR const char *","FAR const char *" +"strstr","string.h","","FAR char","FAR const char *","FAR const char *" +"strtod","stdlib.h","","double_t","const char *str","char **endptr" +"strtok","string.h","","FAR char","FAR char *","FAR const char *" +"strtok_r","string.h","","FAR char","FAR char *","FAR const char *","FAR char **" +"strtol","string.h","","long","const char *","char **","int" +"strtoll","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long","const char *nptr","char **endptr","int base" +"strtoul","stdlib.h","","unsigned long","const char *","char **","int" +"strtoull","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","unsigned long long","const char *","char **","int" +"tcflush","termios.h","CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int" +"tcgetattr","termios.h","CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","FAR struct termios *" +"tcsetattr","termios.h","CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_SERIAL_TERMIOS)","int","int","int","FAR const struct termios *" +"telldir","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","off_t","FAR DIR *" +"time","time.h","","time_t","time_t *" +"ub16divub16","fixedmath.h","","ub16_t","ub16_t","ub16_t" +"ub16mulub16","fixedmath.h","","ub16_t","ub16_t","ub16_t" +"ub16sqr","fixedmath.h","","ub16_t","ub16_t" +"ungetc","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","int","FAR FILE *" +"vdbg","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE)","int","const char *","..." +"vfprintf","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","const char *","va_list" +"vprintf","stdio.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","int","FAR const char *","va_list" +"vsnprintf","stdio.h","","int","FAR char *","size_t","const char *","va_list" +"vsprintf","stdio.h","","int","FAR char *","const char *","va_list" +"vsscanf","stdio.h","","int","char *","const char *","va_list" diff --git a/nuttx/syscall/README.txt b/nuttx/syscall/README.txt index 0b77f50bfc..ed5e6081d7 100644 --- a/nuttx/syscall/README.txt +++ b/nuttx/syscall/README.txt @@ -108,6 +108,10 @@ Each type field has a format as follows: cannot cast a union sigval to a uinptr_t either. Rather, we need to cast a specific union member fieldname to uintptr_t. +NOTE: This CSV file is used both to support the generate of trap information, +but also for the generation of symbol tables. See nuttx/tools/README.txt +and nuttx/lib/README.txt for further information. + Auto-Generated Files ==================== diff --git a/nuttx/tools/Makefile.export b/nuttx/tools/Makefile.export index fa2909972a..ce4842187a 100644 --- a/nuttx/tools/Makefile.export +++ b/nuttx/tools/Makefile.export @@ -2,7 +2,7 @@ # Makefile.export # # Copyright (C) 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/Makefile.host b/nuttx/tools/Makefile.host index cf421aa3bf..33b7aaab2b 100644 --- a/nuttx/tools/Makefile.host +++ b/nuttx/tools/Makefile.host @@ -58,8 +58,13 @@ mkversion: mkconfig.c cfgparser.c # mksyscall - Convert a CSV file into syscall stubs and proxies -mksyscall: mksyscall.c - @gcc $(CFLAGS) -o mksyscall mksyscall.c +mksyscall: mksyscall.c csvparser.c + @gcc $(CFLAGS) -o mksyscall mksyscall.c csvparser.c + +# mksymtab - Convert a CSV file into a symbol table + +mksymtab: mksymtab.c csvparser.c + @gcc $(CFLAGS) -o mksymtab mksymtab.c csvparser.c # bdf-converter - Converts a BDF font to the NuttX font format diff --git a/nuttx/tools/README.txt b/nuttx/tools/README.txt index 2a3416adb7..ae19be2738 100755 --- a/nuttx/tools/README.txt +++ b/nuttx/tools/README.txt @@ -67,7 +67,7 @@ mkversion.c, cfgparser.c, and cfgparser.h .version file in the top level directory into include/nuttx/version.h. version.h provides version information that can be included by C files. -mksyscall.c +mksyscall.c, cvsparser.c, and cvsparser.h This is a C file that is used to build mksyscall program. The mksyscall program is used during the initial NuttX build by the logic in the top- @@ -89,6 +89,26 @@ mksyscall.c accept this CVS file as input and generate all of the required proxy or stub files as output. See syscall/README.txt for additonal information. +mksymtab.c, cvsparser.c, and cvsparser.h + + This is a C file that is used to build symbol tables from common-separated + value (CSV) files. This tool is not used during the NuttX build, but + can be used as needed to generate files. + + USAGE: ./mksymtab + + Where: + + : The path to the input CSV file + : The path to the output symbol table file + -d : Enable debug output + + Example: + + cd nuttx/tools + cat ../syscall/syscall.csv ../lib/lib.csv | sort >tmp.csv + ./mksymtab.exe tmp.csv tmp.c + pic32mx This directory contains build tools used only for PIC32MX platforms diff --git a/nuttx/tools/cfgparser.h b/nuttx/tools/cfgparser.h index 02de42928b..b1c4bae762 100644 --- a/nuttx/tools/cfgparser.h +++ b/nuttx/tools/cfgparser.h @@ -2,7 +2,7 @@ * tools/cfgpaser.h * * Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/tools/configure.sh b/nuttx/tools/configure.sh index 3aaed06817..8b4a3e4860 100755 --- a/nuttx/tools/configure.sh +++ b/nuttx/tools/configure.sh @@ -2,7 +2,7 @@ # configure.sh # # Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/csvparser.c b/nuttx/tools/csvparser.c new file mode 100644 index 0000000000..739e5e1f8b --- /dev/null +++ b/nuttx/tools/csvparser.c @@ -0,0 +1,205 @@ +/**************************************************************************** + * tools/csvparser.c + * + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include +#include +#include +#include +#include +#include + +#include "csvparser.h" + +/**************************************************************************** + * Definitions + ****************************************************************************/ + +/**************************************************************************** + * Private Data + ****************************************************************************/ + +/**************************************************************************** + * Public Data + ****************************************************************************/ + +bool g_debug; +char g_line[LINESIZE+1]; +char g_parm[MAX_FIELDS][MAX_PARMSIZE]; +int g_lineno; + +/**************************************************************************** + * Private Functions + ****************************************************************************/ + +static char *skip_space(char *ptr) +{ + while (*ptr && isspace((int)*ptr)) ptr++; + return ptr; +} + +static char *copy_parm(char *src, char *dest) +{ + char *start = src; + int i; + + for (i = 0; i < MAX_PARMSIZE; i++) + { + if (*src == '"') + { + *dest = '\0'; + return src; + } + else if (*src == '\n' || *src == '\0') + { + fprintf(stderr, "%d: Unexpected end of line: \"%s\"\n", g_lineno, start); + exit(4); + } + else + { + *dest++ = *src++; + } + } + + fprintf(stderr, "%d: Parameter too long: \"%s\"\n", g_lineno, start); + exit(3); +} + +static char *find_parm(char *ptr) +{ + char *start = ptr; + + if (*ptr != '"') + { + fprintf(stderr, "%d: I'm confused: \"%s\"\n", g_lineno, start); + exit(5); + } + ptr++; + + ptr = skip_space(ptr); + if (*ptr == '\n' || *ptr == '\0') + { + return NULL; + } + else if (*ptr != ',') + { + fprintf(stderr, "%d: Expected ',': \"%s\"\n", g_lineno, start); + exit(6); + } + ptr++; + + ptr = skip_space(ptr); + if (*ptr != '"') + { + fprintf(stderr, "%d: Expected \": \"%s\"\n", g_lineno, start); + exit(7); + } + ptr++; + + return ptr; +} + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +char *read_line(FILE *stream) +{ + char *ptr; + + for (;;) + { + g_line[LINESIZE] = '\0'; + if (!fgets(g_line, LINESIZE, stream)) + { + return NULL; + } + else + { + g_lineno++; + if (g_debug) + { + printf("Line: %s\n", g_line); + } + + ptr = skip_space(g_line); + if (*ptr && *ptr != '#' && *ptr != '\n') + { + return ptr; + } + } + } +} + +int parse_csvline(char *ptr) +{ + int nparms; + int i; + + /* Format "arg1","arg2","arg3",... Spaces will be tolerated outside of the + * quotes. Any initial spaces have already been skipped so the first thing + * should be '"'. + */ + + if (*ptr != '"') + { + fprintf(stderr, "%d: Bad line: \"%s\"\n", g_lineno, g_line); + exit(2); + } + + ptr++; + nparms = 0; + + do + { + ptr = copy_parm(ptr, &g_parm[nparms][0]); + nparms++; + ptr = find_parm(ptr); + } + while (ptr); + + if (g_debug) + { + printf("Parameters: %d\n", nparms); + for (i = 0; i < nparms; i++) + { + printf(" Parm%d: \"%s\"\n", i+1, g_parm[i]); + } + } + return nparms; +} diff --git a/nuttx/tools/csvparser.h b/nuttx/tools/csvparser.h new file mode 100644 index 0000000000..872dc3c020 --- /dev/null +++ b/nuttx/tools/csvparser.h @@ -0,0 +1,76 @@ +/**************************************************************************** + * tools/csvparser.h + * + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +#ifndef __TOOLS_CSVPARSER_H +#define __TOOLS_CSVPARSER_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include +#include + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#define LINESIZE (PATH_MAX > 256 ? PATH_MAX : 256) + +#define MAX_FIELDS 16 +#define MAX_PARMSIZE 128 +#define NAME_INDEX 0 +#define HEADER_INDEX 1 +#define COND_INDEX 2 +#define RETTYPE_INDEX 3 +#define PARM1_INDEX 4 + +/**************************************************************************** + * Public Data + ****************************************************************************/ + +extern bool g_debug; +extern char g_line[LINESIZE+1]; +extern char g_parm[MAX_FIELDS][MAX_PARMSIZE]; +extern int g_lineno; + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +char *read_line(FILE *stream); +int parse_csvline(char *ptr); + +#endif /* __TOOLS_CSVPARSER_H */ diff --git a/nuttx/tools/define.sh b/nuttx/tools/define.sh index 8b2b0e364c..c53cb92a83 100755 --- a/nuttx/tools/define.sh +++ b/nuttx/tools/define.sh @@ -2,7 +2,7 @@ # tools/define.sh # # Copyright (C) 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/indent.sh b/nuttx/tools/indent.sh index 938502e0f9..739b791bdc 100755 --- a/nuttx/tools/indent.sh +++ b/nuttx/tools/indent.sh @@ -3,7 +3,7 @@ # tools/indent.sh # # Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/link.sh b/nuttx/tools/link.sh index 7927d65c83..da1e6e7ae5 100755 --- a/nuttx/tools/link.sh +++ b/nuttx/tools/link.sh @@ -3,7 +3,7 @@ # tools/link.sh # # Copyright (C) 2008 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/mkdeps.sh b/nuttx/tools/mkdeps.sh index 6d83f2ca01..acb6001509 100755 --- a/nuttx/tools/mkdeps.sh +++ b/nuttx/tools/mkdeps.sh @@ -3,7 +3,7 @@ # tools/mkdeps.sh # # Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/mknulldeps.sh b/nuttx/tools/mknulldeps.sh index 6dc3e9635b..033205e6fb 100755 --- a/nuttx/tools/mknulldeps.sh +++ b/nuttx/tools/mknulldeps.sh @@ -2,7 +2,7 @@ # tools/mknulldeps.sh # # Copyright (C) 2008 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/mkromfsimg.sh b/nuttx/tools/mkromfsimg.sh index b628d24196..b774119800 100755 --- a/nuttx/tools/mkromfsimg.sh +++ b/nuttx/tools/mkromfsimg.sh @@ -3,7 +3,7 @@ # tools/mkromfsimg.sh # # Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/nuttx/tools/mksymtab.c b/nuttx/tools/mksymtab.c new file mode 100644 index 0000000000..14101f3d9d --- /dev/null +++ b/nuttx/tools/mksymtab.c @@ -0,0 +1,277 @@ +/**************************************************************************** + * tools/mksymtab.c + * + * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include +#include +#include +#include +#include +#include + +#include "csvparser.h" + +/**************************************************************************** + * Definitions + ****************************************************************************/ + +#define MAX_HEADER_FILES 500 + +/**************************************************************************** + * Private Types + ****************************************************************************/ + +/**************************************************************************** + * Private Data + ****************************************************************************/ + +static const char *g_hdrfiles[MAX_HEADER_FILES]; +static int nhdrfiles; + +/**************************************************************************** + * Private Functions + ****************************************************************************/ + +static void show_usage(const char *progname) +{ + fprintf(stderr, "USAGE: %s \n\n", progname); + fprintf(stderr, "Where:\n\n"); + fprintf(stderr, " : The path to the input CSV file\n"); + fprintf(stderr, " : The path to the output symbol table file\n"); + fprintf(stderr, " -d : Enable debug output\n"); + exit(EXIT_FAILURE); +} + +static bool check_hdrfile(const char *hdrfile) +{ + int i; + + for (i = 0; i < nhdrfiles; i++) + { + if (strcmp(g_hdrfiles[i], hdrfile) == 0) + { + return true; + } + } + + return false; +} + +static void add_hdrfile(const char *hdrfile) +{ + if (!check_hdrfile(hdrfile)) + { + if (nhdrfiles > MAX_HEADER_FILES) + { + fprintf(stderr, "ERROR: Too man header files. Increase MAX_HEADER_FILES\n"); + exit(EXIT_FAILURE); + } + + g_hdrfiles[nhdrfiles] = strdup(hdrfile); + nhdrfiles++; + } +} + +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +int main(int argc, char **argv, char **envp) +{ + char *csvpath; + char *symtab; + char *terminator; + char *ptr; + bool cond; + FILE *instream; + FILE *outstream; + int ch; + int i; + + /* Parse command line options */ + + g_debug = false; + + while ((ch = getopt(argc, argv, ":d")) > 0) + { + switch (ch) + { + case 'd' : + g_debug = true; + break; + + case '?' : + fprintf(stderr, "Unrecognized option: %c\n", optopt); + show_usage(argv[0]); + + case ':' : + fprintf(stderr, "Missing option argument, option: %c\n", optopt); + show_usage(argv[0]); + + break; + fprintf(stderr, "Unexpected option: %c\n", ch); + show_usage(argv[0]); + } + } + + if (optind >= argc) + { + fprintf(stderr, "Missing and \n"); + show_usage(argv[0]); + } + + csvpath = argv[optind]; + optind++; + + if (optind >= argc) + { + fprintf(stderr, "Missing \n"); + show_usage(argv[0]); + } + + symtab = argv[optind]; + optind++; + + if (optind < argc) + { + fprintf(stderr, "Unexpected garbage at the end of the line\n"); + show_usage(argv[0]); + } + + /* Open the CSV file for reading */ + + instream = fopen(csvpath, "r"); + if (!instream) + { + fprintf(stderr, "open %s failed: %s\n", csvpath, strerror(errno)); + exit(EXIT_FAILURE); + } + + /* Open the Symbol table file for writing */ + + outstream = fopen(symtab, "w"); + if (!outstream) + { + fprintf(stderr, "open %s failed: %s\n", csvpath, strerror(errno)); + exit(EXIT_FAILURE); + } + + /* Get all of the header files that we need to include */ + + while ((ptr = read_line(instream)) != NULL) + { + /* Parse the line from the CVS file */ + + int nargs = parse_csvline(ptr); + if (nargs < PARM1_INDEX) + { + fprintf(stderr, "Only %d arguments found: %s\n", nargs, g_line); + exit(EXIT_FAILURE); + } + + /* Add the header file to the list of header files we need to include */ + + add_hdrfile(g_parm[HEADER_INDEX]); + } + + /* Back to the beginning */ + + rewind(instream); + + /* Output up-front file boilerplate */ + + fprintf(outstream, "/* %s: Auto-generated symbol table. Do not edit */\n\n", symtab); + fprintf(outstream, "#include \n"); + fprintf(outstream, "#include \n\n"); + + /* Output all of the require header files */ + + for (i = 0; i < nhdrfiles; i++) + { + fprintf(outstream, "#include <%s>\n", g_hdrfiles[i]); + } + + /* Now the symbol table itself */ + + fprintf(outstream, "\nstruct symtab_s g_symtab[] =\n"); + fprintf(outstream, "{\n"); + + /* Parse each line in the CVS file */ + + terminator = ""; + while ((ptr = read_line(instream)) != NULL) + { + /* Parse the line from the CVS file */ + + int nargs = parse_csvline(ptr); + if (nargs < PARM1_INDEX) + { + fprintf(stderr, "Only %d arguments found: %s\n", nargs, g_line); + exit(EXIT_FAILURE); + } + + /* Output any conditional compilation */ + + cond = (g_parm[COND_INDEX] && strlen(g_parm[COND_INDEX]) > 0); + if (cond) + { + fprintf(outstream, "%s#if %s\n", terminator, g_parm[COND_INDEX]); + terminator = ""; + } + + /* Output the symbol table entry */ + + fprintf(outstream, "%s { \"%s\", (FAR const void *)%s }", + terminator, g_parm[NAME_INDEX], g_parm[NAME_INDEX]); + terminator = ",\n"; + + if (cond) + { + fprintf(outstream, "%s#endif", terminator); + terminator = "\n"; + } + } + + fprintf(outstream, "\n};\n"); + + /* Close the CSV and symbol table files and exit */ + + fclose(instream); + fclose(outstream); + return EXIT_SUCCESS; +} diff --git a/nuttx/tools/mksyscall.c b/nuttx/tools/mksyscall.c index a8f2cf99b7..a75e82d280 100644 --- a/nuttx/tools/mksyscall.c +++ b/nuttx/tools/mksyscall.c @@ -1,8 +1,8 @@ /**************************************************************************** * tools/mksyscall.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -41,174 +41,26 @@ #include #include #include -#include -#include #include -#include #include +#include "csvparser.h" + /**************************************************************************** * Definitions ****************************************************************************/ -#define LINESIZE (PATH_MAX > 256 ? PATH_MAX : 256) - -#define MAX_FIELDS 16 -#define MAX_PARMSIZE 128 -#define NAME_INDEX 0 -#define HEADER_INDEX 1 -#define COND_INDEX 2 -#define RETTYPE_INDEX 3 -#define PARM1_INDEX 4 - /**************************************************************************** * Private Data ****************************************************************************/ -static bool g_debug; static bool g_inline; -static char g_line[LINESIZE+1]; -static char g_parm[MAX_FIELDS][MAX_PARMSIZE]; static FILE *g_stubstream; -static int g_lineno; /**************************************************************************** * Private Functions ****************************************************************************/ -static char *skip_space(char *ptr) -{ - while (*ptr && isspace(*ptr)) ptr++; - return ptr; -} - -static char *read_line(FILE *stream) -{ - char *ptr; - - for (;;) - { - g_line[LINESIZE] = '\0'; - if (!fgets(g_line, LINESIZE, stream)) - { - return NULL; - } - else - { - g_lineno++; - if (g_debug) - { - printf("Line: %s\n", g_line); - } - - ptr = skip_space(g_line); - if (*ptr && *ptr != '#' && *ptr != '\n') - { - return ptr; - } - } - } -} - -static char *copy_parm(char *src, char *dest) -{ - char *start = src; - int i; - - for (i = 0; i < MAX_PARMSIZE; i++) - { - if (*src == '"') - { - *dest = '\0'; - return src; - } - else if (*src == '\n' || *src == '\0') - { - fprintf(stderr, "%d: Unexpected end of line: \"%s\"\n", g_lineno, start); - exit(4); - } - else - { - *dest++ = *src++; - } - } - - fprintf(stderr, "%d: Parameter too long: \"%s\"\n", g_lineno, start); - exit(3); -} - -static char *find_parm(char *ptr) -{ - char *start = ptr; - - if (*ptr != '"') - { - fprintf(stderr, "%d: I'm confused: \"%s\"\n", g_lineno, start); - exit(5); - } - ptr++; - - ptr = skip_space(ptr); - if (*ptr == '\n' || *ptr == '\0') - { - return NULL; - } - else if (*ptr != ',') - { - fprintf(stderr, "%d: Expected ',': \"%s\"\n", g_lineno, start); - exit(6); - } - ptr++; - - ptr = skip_space(ptr); - if (*ptr != '"') - { - fprintf(stderr, "%d: Expected \": \"%s\"\n", g_lineno, start); - exit(7); - } - ptr++; - - return ptr; -} - -static int parse_csvline(char *ptr) -{ - int nparms; - int i; - - /* Format "arg1","arg2","arg3",... Spaces will be tolerated outside of the - * quotes. Any initial spaces have already been skipped so the first thing - * should be '"'. - */ - - if (*ptr != '"') - { - fprintf(stderr, "%d: Bad line: \"%s\"\n", g_lineno, g_line); - exit(2); - } - - ptr++; - nparms = 0; - - do - { - ptr = copy_parm(ptr, &g_parm[nparms][0]); - nparms++; - ptr = find_parm(ptr); - } - while (ptr); - - if (g_debug) - { - printf("Parameters: %d\n", nparms); - for (i = 0; i < nparms; i++) - { - printf(" Parm%d: \"%s\"\n", i+1, g_parm[i]); - } - } - return nparms; -} - static bool is_vararg(const char *type, int index, int nparms) { if (strcmp(type,"...") == 0) @@ -719,6 +571,7 @@ static void show_usage(const char *progname) fprintf(stderr, "\t-p : Generate proxies\n"); fprintf(stderr, "\t-s : Generate stubs\n"); fprintf(stderr, "\t-i : Generate proxies as static inline functions\n"); + fprintf(stderr, "\t-d : Enable debug output\n"); exit(1); } diff --git a/nuttx/tools/mkversion.c b/nuttx/tools/mkversion.c index f2086d13a5..32068df38b 100644 --- a/nuttx/tools/mkversion.c +++ b/nuttx/tools/mkversion.c @@ -2,7 +2,7 @@ * tools/mkversion.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions From f3bd549392fcada90fe38835b81d534e5b28a897 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 15:46:49 +0000 Subject: [PATCH 16/19] Ooops.. mksymtab needs to check for zero-length header file names git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5076 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/tools/mksymtab.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/nuttx/tools/mksymtab.c b/nuttx/tools/mksymtab.c index 14101f3d9d..01404bc97a 100644 --- a/nuttx/tools/mksymtab.c +++ b/nuttx/tools/mksymtab.c @@ -94,16 +94,19 @@ static bool check_hdrfile(const char *hdrfile) static void add_hdrfile(const char *hdrfile) { - if (!check_hdrfile(hdrfile)) + if (hdrfile && strlen(hdrfile) > 0) { - if (nhdrfiles > MAX_HEADER_FILES) + if (!check_hdrfile(hdrfile)) { - fprintf(stderr, "ERROR: Too man header files. Increase MAX_HEADER_FILES\n"); - exit(EXIT_FAILURE); - } + if (nhdrfiles > MAX_HEADER_FILES) + { + fprintf(stderr, "ERROR: Too man header files. Increase MAX_HEADER_FILES\n"); + exit(EXIT_FAILURE); + } - g_hdrfiles[nhdrfiles] = strdup(hdrfile); - nhdrfiles++; + g_hdrfiles[nhdrfiles] = strdup(hdrfile); + nhdrfiles++; + } } } From 137329bfb037aad553221f229e8c5607193ce019 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 16:47:40 +0000 Subject: [PATCH 17/19] mksymtab: Fix handling of final comma. Some C compilers can't handle them; Also add macro to provide the size of the symbol table git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5077 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/tools/mksymtab.c | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/nuttx/tools/mksymtab.c b/nuttx/tools/mksymtab.c index 01404bc97a..c5a46a92be 100644 --- a/nuttx/tools/mksymtab.c +++ b/nuttx/tools/mksymtab.c @@ -51,6 +51,7 @@ ****************************************************************************/ #define MAX_HEADER_FILES 500 +#define SYMTAB_NAME "g_symtab" /**************************************************************************** * Private Types @@ -118,7 +119,8 @@ int main(int argc, char **argv, char **envp) { char *csvpath; char *symtab; - char *terminator; + char *nextterm; + char *finalterm; char *ptr; bool cond; FILE *instream; @@ -231,12 +233,14 @@ int main(int argc, char **argv, char **envp) /* Now the symbol table itself */ - fprintf(outstream, "\nstruct symtab_s g_symtab[] =\n"); + fprintf(outstream, "\nstruct symtab_s %s[] =\n", SYMTAB_NAME); fprintf(outstream, "{\n"); /* Parse each line in the CVS file */ - terminator = ""; + nextterm = ""; + finalterm = ""; + while ((ptr = read_line(instream)) != NULL) { /* Parse the line from the CVS file */ @@ -253,24 +257,29 @@ int main(int argc, char **argv, char **envp) cond = (g_parm[COND_INDEX] && strlen(g_parm[COND_INDEX]) > 0); if (cond) { - fprintf(outstream, "%s#if %s\n", terminator, g_parm[COND_INDEX]); - terminator = ""; + fprintf(outstream, "%s#if %s\n", nextterm, g_parm[COND_INDEX]); + nextterm = ""; } /* Output the symbol table entry */ fprintf(outstream, "%s { \"%s\", (FAR const void *)%s }", - terminator, g_parm[NAME_INDEX], g_parm[NAME_INDEX]); - terminator = ",\n"; + nextterm, g_parm[NAME_INDEX], g_parm[NAME_INDEX]); if (cond) { - fprintf(outstream, "%s#endif", terminator); - terminator = "\n"; + nextterm = ",\n#endif\n"; + finalterm = "\n#endif\n"; + } + else + { + nextterm = ",\n"; + finalterm = "\n"; } } - fprintf(outstream, "\n};\n"); + fprintf(outstream, "%s};\n\n", finalterm); + fprintf(outstream, "#define NSYMBOLS (sizeof(%s) / sizeof (struct symtab_s))\n", SYMTAB_NAME); /* Close the CSV and symbol table files and exit */ From 7b149edcfcb1c3183804ac7c385f9876b121fe4f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 Sep 2012 18:37:38 +0000 Subject: [PATCH 18/19] Documentation: nuttx.org no longer re-directs to nuttx.sourceforge.net git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5078 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/Documentation/NuttX.html | 24 +++++++++++----------- nuttx/Documentation/NuttXLinks.html | 2 +- nuttx/Documentation/NuttxPortingGuide.html | 2 +- nuttx/Documentation/index.html | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 446ccd26f0..8fd164b88a 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -1700,7 +1700,7 @@ This port uses Serial-to-Ethernet Reference Design Kit (RDK-S2E) and has similar support as for the other Stellaris family members. Configurations are available for the OS test and for the NuttShell (NSH) - (see the NSH User Guide). + (see the NSH User Guide). The NSH configuration including networking support with a Telnet NSH console. This port was contributed by Mike Smith.

      @@ -1848,7 +1848,7 @@ A configuration to support the NuttShell is also included. NuttX version 5.4 adds support for the HX8347 LCD on the SAM3U-EK board. This LCD support includes an example using the - NX graphics system. + NX graphics system. NuttX version 6.10 adds SPI support.

      @@ -1924,7 +1924,7 @@ That initial, 5.6, basic release included timer interrupts and a serial console and was verified using the NuttX OS test (apps/examples/ostest). Configurations available include include a verified NuttShell (NSH) configuration - (see the NSH User Guide). + (see the NSH User Guide). The NSH configuration supports the Nucleus2G's microSD slot and additional configurations are available to exercise the the USB serial and USB mass storage devices. However, due to some technical reasons, neither the SPI nor the USB device drivers are fully verified. @@ -1965,7 +1965,7 @@

      Verified configurations are now available for the NuttX OS test, - for the NuttShell with networking and microSD support(NSH, see the NSH User Guide), + for the NuttShell with networking and microSD support(NSH, see the NSH User Guide), for the NuttX network test, for the THTTPD webserver, for USB serial deive and USB storage devices examples, and for the USB host HID keyboard driver. Support for the USB host mass storage device can optionally be configured for the NSH example. @@ -2048,7 +2048,7 @@ STATUS: As of this writing, the basic port is complete and passes the NuttX OS test. An additional, validated configuration exists for the NuttShell (NSH, see the - NSH User Guide). + NSH User Guide). This basic TWR-K60N512 first appeared in NuttX-6.8. Ethernet and SD card (SDHC) drivers also exist: The SDHC driver is partially integrated in to the NSH configuration but has some outstanding issues; @@ -2077,7 +2077,7 @@

    • NuttX-6.12 The basic port is complete and first appeared in NuttX-6.12. The initial port passes the NuttX OS test and includes a validated configuration for the NuttShell (NSH, see the - NSH User Guide) as well as several other configurations. + NSH User Guide) as well as several other configurations.
    • NuttX-6.13-6.16 Additional drivers and configurations were added in NuttX 6.13-6.16. @@ -2260,7 +2260,7 @@ a "Hello, World!!" example that demonstrates initialization of the OS, creation of a simple task, and serial console output as well as a somewhat simplified NuttShell (NSH) configuration (see the - NSH User Guide). + NSH User Guide).

      An SPI driver and a USB device driver exist for the AT90USB as well @@ -2343,7 +2343,7 @@ The port successfully passes the NuttX OS test (apps/examples/ostest).

    • - A NuttShell (NSH) configuration is in place (see the NSH User Guide). + A NuttShell (NSH) configuration is in place (see the NSH User Guide). Testing of that configuration has been postponed (because it got bumped by the Olimex LPC1766-STK port). Current Status: I think I have a hardware problem with my serial port setup. There is a good chance that the NSH port is complete and functional, but I am not yet able to demonstrate that. @@ -2496,7 +2496,7 @@ The NSH configuration includes support for a serial console and for the SST25 serial FLASH and the PGA117 amplifier/multiplexer on board the module. The NSH configuration is set up to use the NuttX wear-leveling FLASH file system (NXFFS). The PGA117, however, is not yet fully integrated to support ADC sampling. - See the NSH User Guide for further information about NSH. + See the NSH User Guide for further information about NSH. The first verified port to the Mirtoo module was available with the NuttX 6.20 release.

    @@ -2518,7 +2518,7 @@

    STATUS: The basic port is code complete and fully verified in NuttX 6.13. - Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide). + Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide).

  • UBW32 Board from Sparkfun This is the port to the Sparkfun UBW32 board. @@ -2529,7 +2529,7 @@

    STATUS: The basic port is code complete and fully verified in NuttX 6.18. - Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide). + Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide). USB has not yet been fully tested but on first pass appears to be functional.

    @@ -2556,7 +2556,7 @@ This NuttX port is code complete and has considerable test testing. The port for this board was completed in NuttX 6.11, but still required a few bug fixes before it will be ready for prime time. The fully verified port first appeared in NuttX 6.13. - Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide). + Available configurations include the OS test and the NuttShell (NSH - see the NSH User Guide). An untested USB device-side driver is available in the source tree. A more complete port would include support of the USB OTG port and of the LCD display on this board. Those drivers are not yet available as of this writing. diff --git a/nuttx/Documentation/NuttXLinks.html b/nuttx/Documentation/NuttXLinks.html index a5e281cda8..128ee5d2d3 100644 --- a/nuttx/Documentation/NuttXLinks.html +++ b/nuttx/Documentation/NuttXLinks.html @@ -18,7 +18,7 @@   -
  • Home
  • +
  • Home
  • SourceForge
  • FreshMeat
  • Forum
  • diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 9deff7a064..9df1f9378f 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4170,7 +4170,7 @@ build
  • CONFIG_PAGING: If set =y in your configation file, this setting will enable the on-demand paging feature as described in - http://www.nuttx.org/NuttXDemandPaging.html. + NuttXDemandPaging.html.
  • diff --git a/nuttx/Documentation/index.html b/nuttx/Documentation/index.html index b0256f3017..da4c107f09 100644 --- a/nuttx/Documentation/index.html +++ b/nuttx/Documentation/index.html @@ -12,7 +12,7 @@

    This page uses frames, but your browser doesn't support them. - Try this link. + Try this link.

    From 1349b00b418de388310c6658fd799a9049ddd38b Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Sep 2012 13:37:28 +0000 Subject: [PATCH 19/19] Fix workqueue assertion; STM32 power management git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5079 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 3 +++ nuttx/configs/stm3210e-eval/src/up_idle.c | 5 ++--- nuttx/sched/work_cancel.c | 12 +++++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 3ba81d4a7e..b67c066bcb 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3247,3 +3247,6 @@ logic from mksyscall.c into files where it can be shared. * tools/mksymtab.c: Add a tool that can be used to convert a CSV file into a NuttX-style symbol table. + * sched/work_cancel.c: Fix a bad assertion (reported by Mike Smith) + * configs/stm3210e-eval/src/up_idle.c: Correct some power management + compilation errors (reported by Diego Sanchez). diff --git a/nuttx/configs/stm3210e-eval/src/up_idle.c b/nuttx/configs/stm3210e-eval/src/up_idle.c index 910d0a9d6c..7b682e2bb1 100644 --- a/nuttx/configs/stm3210e-eval/src/up_idle.c +++ b/nuttx/configs/stm3210e-eval/src/up_idle.c @@ -277,11 +277,10 @@ static void up_idlepm(void) { /* Resume normal operation */ - newstate = PM_NORMAL: + newstate = PM_NORMAL; } } else -#endif { /* Let the PM system decide, which power saving level can be obtained */ @@ -413,7 +412,7 @@ errout: } #else # define up_idlepm() -#endif +#endif /* CONFIG_PM */ /**************************************************************************** * Public Functions diff --git a/nuttx/sched/work_cancel.c b/nuttx/sched/work_cancel.c index c277f024d2..30b650826b 100644 --- a/nuttx/sched/work_cancel.c +++ b/nuttx/sched/work_cancel.c @@ -104,10 +104,16 @@ int work_cancel(struct work_s *work) flags = irqsave(); if (work->worker != NULL) { - DEBUGASSERT(work->dq.flink || (FAR dq_entry_t *)work == g_work.head); - DEBUGASSERT(work->dq.blink || (FAR dq_entry_t *)work == g_work.tail); - dq_rem((FAR dq_entry_t *)work, &g_work); + /* A little test of the integrity of the work queue */ + DEBUGASSERT(work->dq.flink ||(FAR dq_entry_t *)work == g_work.tail); + DEBUGASSERT(work->dq.blink ||(FAR dq_entry_t *)work == g_work.head); + + /* Remove the entry from the work queue and make sure that it is + * mark as availalbe (i.e., the worker field is nullified). + */ + + dq_rem((FAR dq_entry_t *)work, &g_work); work->worker = NULL; }