diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-06 10:27:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-06 10:27:52 -0600 |
commit | 97d0749f8f2265f449302b4d4f131a9a7cca86dd (patch) | |
tree | 0f58390a545b8a8365d7818a79f928675b0e1c82 /nuttx | |
parent | 8030e88b24fbeeb4fef733fda193c83823b250f6 (diff) | |
download | nuttx-97d0749f8f2265f449302b4d4f131a9a7cca86dd.tar.gz nuttx-97d0749f8f2265f449302b4d4f131a9a7cca86dd.tar.bz2 nuttx-97d0749f8f2265f449302b4d4f131a9a7cca86dd.zip |
configs/pjrc-8051: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/ChangeLog | 2 | ||||
-rw-r--r-- | nuttx/arch/8051/Kconfig | 44 | ||||
-rw-r--r-- | nuttx/arch/8051/include/arch.h | 5 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_debug.c | 14 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_head.S | 10 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_idle.c | 8 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_initialize.c | 6 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_internal.h | 51 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_irq.c | 6 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_irqtest.c | 9 | ||||
-rw-r--r-- | nuttx/arch/8051/src/up_timerisr.c | 6 | ||||
-rw-r--r-- | nuttx/arch/Kconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/pjrc-8051/README.txt | 1 | ||||
-rw-r--r-- | nuttx/configs/pjrc-8051/appconfig | 39 | ||||
-rw-r--r-- | nuttx/configs/pjrc-8051/defconfig | 685 |
15 files changed, 629 insertions, 259 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 485c68192..da3b54c1f 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -6908,3 +6908,5 @@ kconfig-frontends tools (2014-3-6) * configs/mx1ads/ostest: Configuration converted to use the kconfig-frontends tools (2014-3-6) + * configs/pjrc-8051: Configuration converted to use the kconfig-frontends + tools (2014-3-6) diff --git a/nuttx/arch/8051/Kconfig b/nuttx/arch/8051/Kconfig index ae2bf3130..9c389b959 100644 --- a/nuttx/arch/8051/Kconfig +++ b/nuttx/arch/8051/Kconfig @@ -2,3 +2,47 @@ # For a description of the syntax of this configuration file, # see misc/tools/kconfig-language.txt. # + +if ARCH_8051 +comment "ARM Options" + +choice + prompt "8051 Chip Selection" + default ARCH_CHIP_8052 + +config ARCH_CHIP_8051 + bool "8051" + +config ARCH_CHIP_8052 + bool "8052" + +endchoice # 8051 Chip Selection + +comment "Bring-up Debug Options" + +config ARCH_8051_BRINGUP + bool "Bring-up debug" + default n + ---help--- + Enable bring-up debug instrumentation + +config ARCH_8051_NOSYSTIMER + bool "No system timer" + ---help--- + By default, Timer0 will be used as the system timer. Use of the + system timer can be suppressed with the setting. This is useful + during bring-up. + +config ARCH_8051_BRINGUP + bool "Bring-up debug" + default n + ---help--- + Enable bring-up debug instrumentation + +config ARCH_8051_SUPRESS_INTERRUPTS + bool "Suppress interrupts" + default n + ---help--- + It is useful during low-level bring-up to suppress all interrupts. + +endif # ARCH_8051 diff --git a/nuttx/arch/8051/include/arch.h b/nuttx/arch/8051/include/arch.h index 4626662e4..48ab2b331 100644 --- a/nuttx/arch/8051/include/arch.h +++ b/nuttx/arch/8051/include/arch.h @@ -64,7 +64,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif @@ -74,7 +75,7 @@ extern "C" { * code to dump the stack pointer at critical locations. */ -EXTERN void up_showsp(uint8_t ch) __naked; +void up_showsp(uint8_t ch) __naked; #undef EXTERN #ifdef __cplusplus diff --git a/nuttx/arch/8051/src/up_debug.c b/nuttx/arch/8051/src/up_debug.c index 27049f7f5..35a5d1d50 100644 --- a/nuttx/arch/8051/src/up_debug.c +++ b/nuttx/arch/8051/src/up_debug.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_assert.c + * arch/8051/src/up_debug.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -62,7 +62,7 @@ * Private Functions ************************************************************************/ -#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_8051_BRINGUP) static void up_putspace(void) __naked { _asm @@ -103,7 +103,7 @@ static void _up_dump8(__code char *ptr, uint8_t b) * Name: up_puthex, up_puthex16, up_putnl, up_puts ************************************************************************/ -#if defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_ARCH_8051_BRINGUP) void up_puthex(uint8_t hex) __naked { hex; /* To avoid unreferenced argument warning */ @@ -141,7 +141,7 @@ void up_puts(__code char *ptr) * Name: up_dumpstack ************************************************************************/ -#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_8051_BRINGUP) void up_dumpstack(void) { NEAR uint8_t *start = (NEAR uint8_t *)(STACK_BASE & 0xf0); @@ -177,7 +177,7 @@ void up_dumpstack(void) * Name: up_dumpframe ************************************************************************/ -#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_8051_BRINGUP) void up_dumpframe(FAR struct xcptcontext *context) { #ifdef CONFIG_FRAME_DUMP_SHORT @@ -238,7 +238,7 @@ void up_dumpframe(FAR struct xcptcontext *context) * code to dump the stack pointer at critical locations. */ -#ifdef CONFIG_ARCH_PJRC +#ifdef CONFIG_ARCH_8051_BRINGUP void up_showsp(uint8_t ch) __naked { ch; diff --git a/nuttx/arch/8051/src/up_head.S b/nuttx/arch/8051/src/up_head.S index 81653d603..ee39cd54d 100644 --- a/nuttx/arch/8051/src/up_head.S +++ b/nuttx/arch/8051/src/up_head.S @@ -1,7 +1,7 @@ /************************************************************ - * up_head.S + * arch/8051/src/up_head.S * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -51,7 +51,7 @@ .area REG_BANK_0 (REL,OVR,DATA) .ds 8 -#ifndef CONFIG_8052_TIMER2 +#ifndef CONFIG_ARCH_8051_NOSYSTIMER .area XSEG _g_timer0tick: .ds 1 @@ -99,7 +99,7 @@ _g_timer0tick: .org PM2_VECTOR_TIMER0 push acc -#ifdef CONFIG_8052_TIMER2 +#ifdef CONFIG_ARCH_8051_NOSYSTIMER mov a, #TIMER0_IRQ ljmp _up_interrupt #else @@ -162,7 +162,7 @@ start: * ************************************************************/ -#ifndef CONFIG_8052_TIMER2 +#ifndef CONFIG_ARCH_8051_NOSYSTIMER _up_timer0: ar2 = 0x02 ar3 = 0x03 diff --git a/nuttx/arch/8051/src/up_idle.c b/nuttx/arch/8051/src/up_idle.c index 02125e4e2..a5d39bcfb 100644 --- a/nuttx/arch/8051/src/up_idle.c +++ b/nuttx/arch/8051/src/up_idle.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_idle.c + * arch/8051/src/up_idle.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ * Private Data ************************************************************************/ -#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_8051_BRINGUP) static uint8_t g_ledtoggle = 0; #endif @@ -81,7 +81,7 @@ static uint8_t g_ledtoggle = 0; void up_idle(void) { -#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_BRINGUP) +#if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_8051_BRINGUP) g_ledtoggle++; if (g_ledtoggle == 0x80) { diff --git a/nuttx/arch/8051/src/up_initialize.c b/nuttx/arch/8051/src/up_initialize.c index 3dd9b1bdf..d812552a6 100644 --- a/nuttx/arch/8051/src/up_initialize.c +++ b/nuttx/arch/8051/src/up_initialize.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_initialize.c + * arch/8051/src/up_initialize.c * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -135,7 +135,7 @@ void up_initialize(void) /* Initialize the system timer interrupt */ -#ifndef CONFIG_SUPPRESS_INTERRUPTS +#ifndef CONFIG_ARCH_8051_SUPRESS_INTERRUPTS up_timerinit(); #endif diff --git a/nuttx/arch/8051/src/up_internal.h b/nuttx/arch/8051/src/up_internal.h index 4260be05a..43742b109 100644 --- a/nuttx/arch/8051/src/up_internal.h +++ b/nuttx/arch/8051/src/up_internal.h @@ -1,7 +1,7 @@ /************************************************************************** - * up_internal.h + * arch/8051/src/up_internal.h * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -33,8 +33,8 @@ * **************************************************************************/ -#ifndef __ARCH_UP_INTERNAL_H -#define __ARCH_UP_INTERNAL_H +#ifndef __ARCH_8051_SRC_UP_INTERNAL_H +#define __ARCH_8051_SRC_UP_INTERNAL_H /************************************************************************** * Included Files @@ -108,29 +108,30 @@ extern const uint8_t g_ntobit[8]; #ifndef __ASSEMBLY__ #if CONFIG_MM_REGIONS > 1 -extern void up_addregion(void); +void up_addregion(void); #endif -extern void up_delay(uint8_t milliseconds) __naked; -extern void up_irqinitialize(void); -extern void up_restorecontext(FAR struct xcptcontext *context) _naked; -extern void up_restoreregisters(FAR uint8_t *regs) _naked; -extern uint8_t up_savecontext(FAR struct xcptcontext *context) __naked; -extern void up_saveregisters(FAR uint8_t *regs) _naked; -extern void up_saveirqcontext(FAR struct xcptcontext *context); -extern void up_timerinit(void); +void up_delay(uint8_t milliseconds) __naked; +void up_irqinitialize(void); +void up_restorecontext(FAR struct xcptcontext *context) _naked; +void up_restoreregisters(FAR uint8_t *regs) _naked; +uint8_t up_savecontext(FAR struct xcptcontext *context) __naked; +void up_saveregisters(FAR uint8_t *regs) _naked; +void up_saveirqcontext(FAR struct xcptcontext *context); +void up_timerinit(void); /* Defined in up_debug.c */ -#if defined(CONFIG_ARCH_BRINGUP) -extern void up_puthex(uint8_t hex) __naked; -extern void up_puthex16(int hex) __naked; -extern void up_putnl(void) __naked; -extern void up_puts(__code char *ptr); +#if defined(CONFIG_ARCH_8051_BRINGUP) +void up_puthex(uint8_t hex) __naked; +void up_puthex16(int hex) __naked; +void up_putnl(void) __naked; +void up_puts(__code char *ptr); +void up_showsp(uint8_t ch) __naked; #endif -#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_BRINGUP) -extern void up_dumpstack(void); -extern void up_dumpframe(FAR struct xcptcontext *context); +#if defined(CONFIG_FRAME_DUMP) && defined(CONFIG_ARCH_8051_BRINGUP) +void up_dumpstack(void); +void up_dumpframe(FAR struct xcptcontext *context); #else # define up_dumpstack() # define up_dumpframe(x) @@ -139,9 +140,9 @@ extern void up_dumpframe(FAR struct xcptcontext *context); /* Defined in board/up_leds.c */ #ifdef CONFIG_ARCH_LEDS -extern void board_led_initialize(void); -extern void board_led_on(uint8_t led); -extern void board_led_off(uint8_t led); +void board_led_initialize(void); +void board_led_on(uint8_t led); +void board_led_off(uint8_t led); #else # define board_led_initialize() # define board_led_on(led) @@ -149,4 +150,4 @@ extern void board_led_off(uint8_t led); #endif #endif /* __ASSEMBLY */ -#endif /* __ARCH_UP_INTERNAL_H */ +#endif /* __ARCH_8051_SRC_UP_INTERNAL_H */ diff --git a/nuttx/arch/8051/src/up_irq.c b/nuttx/arch/8051/src/up_irq.c index dee3120c8..85b30aeaf 100644 --- a/nuttx/arch/8051/src/up_irq.c +++ b/nuttx/arch/8051/src/up_irq.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_irq.c + * arch/8051/src/up_irq.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -78,7 +78,7 @@ void up_irqinitialize(void) IP = 0; -#ifdef CONFIG_SUPPRESS_INTERRUPTS +#ifdef CONFIG_ARCH_8051_SUPRESS_INTERRUPTS /* Disable all interrupts */ IE = 0; diff --git a/nuttx/arch/8051/src/up_irqtest.c b/nuttx/arch/8051/src/up_irqtest.c index a5a37492c..ec3ee487d 100644 --- a/nuttx/arch/8051/src/up_irqtest.c +++ b/nuttx/arch/8051/src/up_irqtest.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_irqtest.c + * arch/8051/src/up_irqtest.c * - * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -160,13 +160,12 @@ void os_start(void) IE = 0; - /* Then verify all of the interrupt */ + /* Then verify all of the interrupts */ g_irqtest = false; up_extint0(); - up_timer0(); -#ifndef CONFIG_8052_TIMER2 +#ifdef CONFIG_ARCH_8051_NOSYSTIMER up_timer0(); #endif up_extint1(); diff --git a/nuttx/arch/8051/src/up_timerisr.c b/nuttx/arch/8051/src/up_timerisr.c index e31c5e13f..60cde0bb6 100644 --- a/nuttx/arch/8051/src/up_timerisr.c +++ b/nuttx/arch/8051/src/up_timerisr.c @@ -1,7 +1,7 @@ /************************************************************************ - * up_timerisr.c + * arch/8051/src/up_timerisr.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -92,7 +92,7 @@ int up_timerisr(int irq, FAR uint8_t *frame) void up_timerinit(void) { -#ifdef CONFIG_8052_TIMER2 +#ifdef CONFIG_ARCH_8051_NOSYSTIMER up_disable_irq(TIMER2_IRQ); /* Set up timer 2 -- See pjrc.h for details */ diff --git a/nuttx/arch/Kconfig b/nuttx/arch/Kconfig index 54acc2aa7..f84817f94 100644 --- a/nuttx/arch/Kconfig +++ b/nuttx/arch/Kconfig @@ -11,7 +11,7 @@ config ARCH_8051 bool "8051" select CUSTOM_STACK ---help--- - Intel 8051 architectures and derivaties + Intel 8051 architectures and derivatives config ARCH_ARM bool "ARM" diff --git a/nuttx/configs/pjrc-8051/README.txt b/nuttx/configs/pjrc-8051/README.txt index c9c44327e..1343ec9db 100644 --- a/nuttx/configs/pjrc-8051/README.txt +++ b/nuttx/configs/pjrc-8051/README.txt @@ -52,4 +52,3 @@ This configuration was last successfully built and tested with a ca. 2.6.0 SDCC release. Support for that older toolchain was removed in NuttX revision -r5423. If you wanted to used those older toolchains, you would need to revert to a pre-r5423 revision. - diff --git a/nuttx/configs/pjrc-8051/appconfig b/nuttx/configs/pjrc-8051/appconfig deleted file mode 100644 index 7beb0d691..000000000 --- a/nuttx/configs/pjrc-8051/appconfig +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################ -# configs/pjrc-8051/appconfig -# -# Copyright (C) 2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt <gnutt@nuttx.org> -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# 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. -# -############################################################################ - -# Path to example in apps/examples containing the user_start entry point - -CONFIGURED_APPS += examples/ostest - diff --git a/nuttx/configs/pjrc-8051/defconfig b/nuttx/configs/pjrc-8051/defconfig index ec9f65bb9..bc3cfc5ee 100644 --- a/nuttx/configs/pjrc-8051/defconfig +++ b/nuttx/configs/pjrc-8051/defconfig @@ -1,144 +1,177 @@ -############################################################################ -# configs/pjrc-8051/defconfig -# -# Copyright (C) 2007-2011, 2012 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt <gnutt@nuttx.org> -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# 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="8051" +# Automatically generated file; DO NOT EDIT. +# Nuttx/ Configuration +# +CONFIG_NUTTX_NEWCONFIG=y + +# +# Build Setup +# +# CONFIG_EXPERIMENTAL is not set +CONFIG_DEFAULT_SMALL=y +CONFIG_HOST_LINUX=y +# CONFIG_HOST_OSX is not set +# CONFIG_HOST_WINDOWS is not set +# CONFIG_HOST_OTHER is not set + +# +# Build Configuration +# +# CONFIG_APPS_DIR="../apps" +# CONFIG_BUILD_2PASS is not set + +# +# Binary Output Formats +# +# CONFIG_RRLOAD_BINARY is not set +# CONFIG_INTELHEX_BINARY is not set +# CONFIG_MOTOROLA_SREC is not set +# CONFIG_RAW_BINARY is not set + +# +# Customize Header Files +# +# CONFIG_ARCH_STDBOOL_H is not set +# CONFIG_ARCH_MATH_H is not set +# CONFIG_ARCH_FLOAT_H is not set +# CONFIG_ARCH_STDARG_H is not set + +# +# Debug Options +# +# CONFIG_DEBUG is not set +# CONFIG_ARCH_HAVE_STACKCHECK is not set +# CONFIG_ARCH_HAVE_HEAPCHECK is not set +# CONFIG_DEBUG_SYMBOLS is not set +# CONFIG_ARCH_HAVE_CUSTOMOPT is not set +# CONFIG_DEBUG_NOOPT is not set +CONFIG_DEBUG_FULLOPT=y + +# +# System Type +# CONFIG_ARCH_8051=y -CONFIG_ARCH_CHIP_8051=n +# CONFIG_ARCH_ARM is not set +# CONFIG_ARCH_AVR is not set +# CONFIG_ARCH_HC is not set +# CONFIG_ARCH_MIPS is not set +# CONFIG_ARCH_RGMP is not set +# CONFIG_ARCH_SH is not set +# CONFIG_ARCH_SIM is not set +# CONFIG_ARCH_X86 is not set +# CONFIG_ARCH_Z16 is not set +# CONFIG_ARCH_Z80 is not set +CONFIG_ARCH="8051" + +# +# ARM Options +# +# CONFIG_ARCH_CHIP_8051 is not set CONFIG_ARCH_CHIP_8052=y -CONFIG_ARCH_BOARD="pjrc-8051" -CONFIG_ARCH_BOARD_PJRC_87C52=y -CONFIG_DEFAULT_SMALL=y # -# Architecture-specific settings. These may mean nothing to -# other architectures. +# Bring-up Debug Options +# +CONFIG_ARCH_8051_BRINGUP=y +CONFIG_ARCH_8051_NOSYSTIMER=y +CONFIG_ARCH_8051_SUPRESS_INTERRUPTS=y + # -# CONFIG-ARCH_PJRC - Set if using the PJRC 87C52 board +# Architecture Options # -CONFIG_ARCH_PJRC=y -CONFIG_ARCH_LEDS=y -CONFIG_8052_TIMER2=y +# CONFIG_ARCH_NOINTC is not set +# CONFIG_ARCH_VECNOTIRQ is not set +# CONFIG_ARCH_DMA is not set +# CONFIG_ARCH_HAVE_IRQPRIO is not set +CONFIG_CUSTOM_STACK=y +# CONFIG_ADDRENV is not set +# CONFIG_ARCH_HAVE_VFORK is not set +# CONFIG_ARCH_HAVE_MMU is not set +# CONFIG_ARCH_NAND_HWECC is not set +# CONFIG_ARCH_STACKDUMP is not set +# CONFIG_ENDIAN_BIG is not set +# CONFIG_ARCH_IDLE_CUSTOM is not set +# CONFIG_ARCH_HAVE_RAMFUNCS is not set +# CONFIG_ARCH_HAVE_RAMVECTORS is not set -CONFIG_ARCH_BRINGUP=y -CONFIG_FRAME_DUMP=n -CONFIG_FRAME_DUMP_SHORT=n -CONFIG_SUPPRESS_INTERRUPTS=y -CONFIG_SWITCH_FRAME_DUMP=n -CONFIG_INTERRUPT_FRAME_DUMP=n -CONFIG_LED_DEBUG=n +# +# Board Settings +# +CONFIG_BOARD_LOOPSPERMSEC=5000 +# CONFIG_ARCH_CALIBRATION is not set # -# General build options +# Interrupt options # -CONFIG_RRLOAD_BINARY=n -CONFIG_INTELHEX_BINARY=n -CONFIG_RAW_BINARY=n +# CONFIG_ARCH_HAVE_INTERRUPTSTACK is not set +# CONFIG_ARCH_HAVE_HIPRI_INTERRUPT is not set # -# General OS setup +# Boot options # -CONFIG_USER_ENTRYPOINT="ostest_main" -CONFIG_DEBUG=n -CONFIG_DEBUG_VERBOSE=n -CONFIG_DEBUG_SYMBOLS=n -CONFIG_MM_REGIONS=2 -CONFIG_ARCH_LOWPUTC=y -CONFIG_RR_INTERVAL=0 -CONFIG_SCHED_INSTRUMENTATION=n -CONFIG_TASK_NAME_SIZE=0 -CONFIG_START_YEAR=2007 -CONFIG_START_MONTH=2 -CONFIG_START_DAY=21 -CONFIG_JULIAN_TIME=n -CONFIG_DEV_CONSOLE=n -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_BOOT_RUNFROMEXTSRAM is not set +CONFIG_BOOT_RUNFROMFLASH=y +# CONFIG_BOOT_RUNFROMISRAM is not set +# CONFIG_BOOT_RUNFROMSDRAM is not set +# CONFIG_BOOT_COPYTORAM is not set # -# 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. +# Boot Memory Configuration # -# There are certain dependency relationships in these -# features. +CONFIG_RAM_START=0x0 +CONFIG_RAM_SIZE=0 +# CONFIG_ARCH_HAVE_SDRAM is not set + # -# 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. +# Board Selection # -CONFIG_DISABLE_CLOCK=y -CONFIG_DISABLE_POSIX_TIMERS=y -CONFIG_DISABLE_PTHREAD=y -CONFIG_DISABLE_SIGNALS=y -CONFIG_DISABLE_MQUEUE=y -CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_ENVIRON=y -CONFIG_DISABLE_POLL=y +CONFIG_ARCH_BOARD_PJRC_87C52=y +# CONFIG_ARCH_BOARD_CUSTOM is not set +CONFIG_ARCH_BOARD="pjrc-8051" # -# Misc libc settings +# Common Board Options # -CONFIG_NOPRINTF_FIELDWIDTH=y +CONFIG_ARCH_HAVE_LEDS=y +CONFIG_ARCH_LEDS=y # -# Allow for architecture optimized implementations +# Board-Specific Options +# + # -# The architecture can provide optimized versions of the -# following to improve sysem performance +# RTOS Features # -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 +# CONFIG_BOARD_INITIALIZE is not set +CONFIG_MSEC_PER_TICK=10 +# CONFIG_SYSTEM_TIME64 is not set +CONFIG_RR_INTERVAL=0 +# CONFIG_SCHED_CPULOAD is not set +# CONFIG_SCHED_INSTRUMENTATION is not set +CONFIG_TASK_NAME_SIZE=0 +# CONFIG_SCHED_HAVE_PARENT is not set +# CONFIG_JULIAN_TIME is not set +CONFIG_START_YEAR=2007 +CONFIG_START_MONTH=2 +CONFIG_START_DAY=21 +# CONFIG_DEV_CONSOLE is not set +# CONFIG_MUTEX_TYPES is not set +# CONFIG_PRIORITY_INHERITANCE is not set +# CONFIG_FDCLONE_DISABLE is not set +# CONFIG_FDCLONE_STDIO is not set +CONFIG_SDCLONE_DISABLE=y +# CONFIG_SCHED_WAITPID is not set +# CONFIG_SCHED_STARTHOOK is not set +# CONFIG_SCHED_ATEXIT is not set +# CONFIG_SCHED_ONEXIT is not set +CONFIG_USER_ENTRYPOINT="ostest_main" +CONFIG_DISABLE_OS_API=y +CONFIG_DISABLE_CLOCK=y +CONFIG_DISABLE_POSIX_TIMERS=y +CONFIG_DISABLE_PTHREAD=y +CONFIG_DISABLE_SIGNALS=y +CONFIG_DISABLE_MQUEUE=y +CONFIG_DISABLE_ENVIRON=y # # Sizes of configurable things (0 disables) @@ -149,8 +182,6 @@ CONFIG_NPTHREAD_KEYS=0 CONFIG_NFILE_DESCRIPTORS=0 CONFIG_NFILE_STREAMS=0 CONFIG_NAME_MAX=32 -CONFIG_STDIO_BUFFER_SIZE=0 -CONFIG_NUNGET_CHARS=0 CONFIG_PREALLOC_MQ_MSGS=0 CONFIG_MQ_MAXMSGSIZE=0 CONFIG_MAX_WDOGPARMS=2 @@ -158,60 +189,392 @@ CONFIG_PREALLOC_WDOGS=4 CONFIG_PREALLOC_TIMERS=0 # -# TCP/IP and UDP support via uIP +# Stack and heap information # -CONFIG_NET=n -CONFIG_NET_IPv6=n -CONFIG_NSOCKET_DESCRIPTORS=0 -CONFIG_NET_SOCKOPTS=y -CONFIG_NET_BUFSIZE=420 -CONFIG_NET_TCP=n -CONFIG_NET_TCP_CONNS=40 -CONFIG_NET_MAX_LISTENPORTS=40 -CONFIG_NET_UDP=n -CONFIG_NET_UDP_CHECKSUMS=y -#CONFIG_NET_UDP_CONNS=10 -CONFIG_NET_ICMP=n -CONFIG_NET_ICMP_PING=n -#CONFIG_NET_PINGADDRCONF=0 -CONFIG_NET_STATISTICS=y -#CONFIG_NET_RECEIVE_WINDOW= -#CONFIG_NET_ARPTAB_SIZE=8 -CONFIG_NET_BROADCAST=n +CONFIG_IDLETHREAD_STACKSIZE=256 +CONFIG_USERMAIN_STACKSIZE=256 +CONFIG_PTHREAD_STACK_MIN=256 +CONFIG_PTHREAD_STACK_DEFAULT=256 # -# UIP Network Utilities +# Device Drivers # -CONFIG_NET_DHCP_LIGHT=n -CONFIG_NET_RESOLV_ENTRIES=4 +CONFIG_DISABLE_POLL=y +CONFIG_DEV_NULL=y +# CONFIG_DEV_ZERO is not set +# CONFIG_LOOP is not set +# CONFIG_RAMDISK is not set +# CONFIG_CAN is not set +# CONFIG_ARCH_HAVE_PWM_PULSECOUNT is not set +# CONFIG_PWM is not set +# CONFIG_ARCH_HAVE_I2CRESET is not set +# CONFIG_I2C is not set +# CONFIG_SPI is not set +# CONFIG_I2S is not set +# CONFIG_RTC is not set +# CONFIG_WATCHDOG is not set +# CONFIG_ANALOG is not set +# CONFIG_AUDIO_DEVICES is not set +# CONFIG_VIDEO_DEVICES is not set +# CONFIG_BCH is not set +# CONFIG_INPUT is not set +# CONFIG_LCD is not set +# CONFIG_MMCSD is not set +# CONFIG_MTD is not set +# CONFIG_PIPES is not set +# CONFIG_PM is not set +# CONFIG_POWER is not set +# CONFIG_SENSORS is not set +# CONFIG_SERCOMM_CONSOLE is not set +CONFIG_SERIAL=y +# CONFIG_DEV_LOWCONSOLE is not set +# CONFIG_16550_UART is not set +# CONFIG_ARCH_HAVE_UART is not set +# CONFIG_ARCH_HAVE_UART0 is not set +# CONFIG_ARCH_HAVE_UART1 is not set +# CONFIG_ARCH_HAVE_UART2 is not set +# CONFIG_ARCH_HAVE_UART3 is not set +# CONFIG_ARCH_HAVE_UART4 is not set +# CONFIG_ARCH_HAVE_UART5 is not set +# CONFIG_ARCH_HAVE_UART6 is not set +# CONFIG_ARCH_HAVE_UART7 is not set +# CONFIG_ARCH_HAVE_UART8 is not set +# CONFIG_ARCH_HAVE_SCI0 is not set +# CONFIG_ARCH_HAVE_SCI1 is not set +# CONFIG_ARCH_HAVE_USART0 is not set +# CONFIG_ARCH_HAVE_USART1 is not set +# CONFIG_ARCH_HAVE_USART2 is not set +# CONFIG_ARCH_HAVE_USART3 is not set +# CONFIG_ARCH_HAVE_USART4 is not set +# CONFIG_ARCH_HAVE_USART5 is not set +# CONFIG_ARCH_HAVE_USART6 is not set +# CONFIG_ARCH_HAVE_USART7 is not set +# CONFIG_ARCH_HAVE_USART8 is not set # -# Settings for examples/nsh -CONFIG_NSH_CONSOLE=y -CONFIG_NSH_TELNET=n -CONFIG_NSH_IOBUFFER_SIZE=512 -CONFIG_NSH_CMD_SIZE=40 -CONFIG_NSH_DHCPC=n -CONFIG_NSH_NOMAC=n -CONFIG_NSH_IPADDR=0x0a000002 -CONFIG_NSH_DRIPADDR=0x0a000001 -CONFIG_NSH_NETMASK=0xffffff00 +# USART Configuration +# +# CONFIG_MCU_SERIAL is not set +# CONFIG_STANDARD_SERIAL is not set +# CONFIG_SERIAL_IFLOWCONTROL is not set +# CONFIG_SERIAL_OFLOWCONTROL is not set +# CONFIG_USBDEV is not set +# CONFIG_USBHOST is not set +# CONFIG_WIRELESS is not set # -# Stack and heap information +# System Logging Device Options # -CONFIG_BOOT_RUNFROMFLASH=n -CONFIG_BOOT_COPYTORAM=n -CONFIG_CUSTOM_STACK=y -CONFIG_IDLETHREAD_STACKSIZE= -CONFIG_USERMAIN_STACKSIZE= -CONFIG_PTHREAD_STACK_MIN= -CONFIG_PTHREAD_STACK_DEFAULT= # -# Maintain legacy build behavior (revisit) +# System Logging +# +# CONFIG_RAMLOG is not set + +# +# Networking Support +# +# CONFIG_ARCH_HAVE_NET is not set +# CONFIG_ARCH_HAVE_PHY is not set +# CONFIG_NET is not set + +# +# File Systems +# + +# +# File system configuration +# +CONFIG_DISABLE_MOUNTPOINT=y +CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y +# CONFIG_FS_READABLE is not set +# CONFIG_FS_WRITABLE is not set +# CONFIG_FS_RAMMAP is not set +# CONFIG_FS_PROCFS is not set + +# +# System Logging +# +# CONFIG_SYSLOG_ENABLE is not set +# CONFIG_SYSLOG is not set + +# +# Graphics Support +# +# CONFIG_NX is not set + +# +# Memory Management +# +# CONFIG_MM_MULTIHEAP is not set +# CONFIG_MM_SMALL is not set +CONFIG_MM_REGIONS=2 +# CONFIG_ARCH_HAVE_HEAP2 is not set +# CONFIG_GRAN is not set + +# +# Audio Support +# +# CONFIG_AUDIO is not set + +# +# Binary Formats +# +# CONFIG_BINFMT_DISABLE is not set +# CONFIG_NXFLAT is not set +# CONFIG_ELF is not set +# CONFIG_BUILTIN is not set +# CONFIG_PIC is not set +# CONFIG_SYMTAB_ORDEREDBYNAME is not set + +# +# Library Routines # -CONFIG_MMCSD=y -CONFIG_MMCSD_SPI=y -CONFIG_MTD=y +# +# Standard C Library Options +# +CONFIG_STDIO_BUFFER_SIZE=0 +CONFIG_STDIO_LINEBUFFER=y +CONFIG_NUNGET_CHARS=0 +# CONFIG_LIBM is not set +CONFIG_NOPRINTF_FIELDWIDTH=y +# CONFIG_LIBC_FLOATINGPOINT is not set +CONFIG_LIB_RAND_ORDER=1 +# CONFIG_EOL_IS_CR is not set +# CONFIG_EOL_IS_LF is not set +# CONFIG_EOL_IS_BOTH_CRLF is not set +CONFIG_EOL_IS_EITHER_CRLF=y +# CONFIG_LIBC_EXECFUNCS is not set +CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=256 +CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=256 +# CONFIG_LIBC_STRERROR is not set +# CONFIG_LIBC_PERROR_STDOUT is not set +CONFIG_ARCH_LOWPUTC=y +CONFIG_LIB_SENDFILE_BUFSIZE=512 +# CONFIG_ARCH_ROMGETC is not set +# CONFIG_ARCH_OPTIMIZED_FUNCTIONS is not set + +# +# Non-standard Library Support +# +# CONFIG_LIB_KBDCODEC is not set +# CONFIG_LIB_SLCDCODEC is not set + +# +# Basic CXX Support +# +# CONFIG_C99_BOOL8 is not set +# CONFIG_HAVE_CXX is not set + +# +# Application Configuration +# + +# +# Built-In Applications +# + +# +# Examples +# +# CONFIG_EXAMPLES_BUTTONS is not set +# CONFIG_EXAMPLES_CAN is not set +# CONFIG_EXAMPLES_CONFIGDATA is not set +# CONFIG_EXAMPLES_DHCPD is not set +# CONFIG_EXAMPLES_ELF is not set +# CONFIG_EXAMPLES_FTPC is not set +# CONFIG_EXAMPLES_FTPD is not set +# CONFIG_EXAMPLES_HELLO is not set +# CONFIG_EXAMPLES_HELLOXX is not set +# CONFIG_EXAMPLES_JSON is not set +# CONFIG_EXAMPLES_HIDKBD is not set +# CONFIG_EXAMPLES_KEYPADTEST is not set +# CONFIG_EXAMPLES_IGMP is not set +# CONFIG_EXAMPLES_LCDRW is not set +# CONFIG_EXAMPLES_MM is not set +# CONFIG_EXAMPLES_MODBUS is not set +# CONFIG_EXAMPLES_MOUNT is not set +# CONFIG_EXAMPLES_NRF24L01TERM is not set +# CONFIG_EXAMPLES_NSH is not set +# CONFIG_EXAMPLES_NULL is not set +# CONFIG_EXAMPLES_NX is not set +# CONFIG_EXAMPLES_NXCONSOLE is not set +# CONFIG_EXAMPLES_NXFFS is not set +# CONFIG_EXAMPLES_NXFLAT is not set +# CONFIG_EXAMPLES_NXHELLO is not set +# CONFIG_EXAMPLES_NXIMAGE is not set +# CONFIG_EXAMPLES_NXLINES is not set +# CONFIG_EXAMPLES_NXTEXT is not set +CONFIG_EXAMPLES_OSTEST=y +CONFIG_EXAMPLES_OSTEST_LOOPS=1 +CONFIG_EXAMPLES_OSTEST_STACKSIZE=256 +CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=8 +CONFIG_EXAMPLES_OSTEST_RR_RANGE=10000 +CONFIG_EXAMPLES_OSTEST_RR_RUNS=10 +# CONFIG_EXAMPLES_PASHELLO is not set +# CONFIG_EXAMPLES_PIPE is not set +# CONFIG_EXAMPLES_POLL is not set +# CONFIG_EXAMPLES_POSIXSPAWN is not set +# CONFIG_EXAMPLES_QENCODER is not set +# CONFIG_EXAMPLES_RGMP is not set +# CONFIG_EXAMPLES_ROMFS is not set +# CONFIG_EXAMPLES_SENDMAIL is not set +# CONFIG_EXAMPLES_SERLOOP is not set +# CONFIG_EXAMPLES_SLCD is not set +# CONFIG_EXAMPLES_SMART is not set +# CONFIG_EXAMPLES_TCPECHO is not set +# CONFIG_EXAMPLES_TELNETD is not set +# CONFIG_EXAMPLES_THTTPD is not set +# CONFIG_EXAMPLES_TIFF is not set +# CONFIG_EXAMPLES_TOUCHSCREEN is not set +# CONFIG_EXAMPLES_UDP is not set +# CONFIG_EXAMPLES_UIP is not set +# CONFIG_EXAMPLES_USBSERIAL is not set +# CONFIG_EXAMPLES_USBTERM is not set +# CONFIG_EXAMPLES_WATCHDOG is not set + +# +# Graphics Support +# +# CONFIG_TIFF is not set + +# +# Interpreters +# +# CONFIG_INTERPRETERS_FICL is not set +# CONFIG_INTERPRETERS_PCODE is not set + +# +# Network Utilities +# + +# +# Networking Utilities +# +# CONFIG_NETUTILS_CODECS is not set +# CONFIG_NETUTILS_DHCPD is not set +# CONFIG_NETUTILS_FTPC is not set +# CONFIG_NETUTILS_FTPD is not set +# CONFIG_NETUTILS_JSON is not set +# CONFIG_NETUTILS_SMTP is not set +# CONFIG_NETUTILS_TFTPC is not set +# CONFIG_NETUTILS_THTTPD is not set +# CONFIG_NETUTILS_UIPLIB is not set +# CONFIG_NETUTILS_WEBCLIENT is not set + +# +# FreeModBus +# +# CONFIG_MODBUS is not set + +# +# NSH Library +# +# CONFIG_NSH_LIBRARY is not set + +# +# NxWidgets/NxWM +# + +# +# Platform-specific Support +# +# CONFIG_PLATFORM_CONFIGDATA is not set + +# +# System Libraries and NSH Add-Ons +# + +# +# USB CDC/ACM Device Commands +# + +# +# USB Composite Device Commands +# + +# +# Custom Free Memory Command +# +# CONFIG_SYSTEM_FREE is not set + +# +# I2C tool +# + +# +# INI File Parser +# +# CONFIG_SYSTEM_INIFILE is not set + +# +# FLASH Program Installation +# +# CONFIG_SYSTEM_INSTALL is not set + +# +# FLASH Erase-all Command +# + +# +# NxPlayer media player library / command Line +# +# CONFIG_SYSTEM_NXPLAYER is not set + +# +# RAM test +# +# CONFIG_SYSTEM_RAMTEST is not set + +# +# readline() +# +# CONFIG_SYSTEM_READLINE is not set + +# +# Power Off +# +# CONFIG_SYSTEM_POWEROFF is not set + +# +# RAMTRON +# +# CONFIG_SYSTEM_RAMTRON is not set + +# +# SD Card +# +# CONFIG_SYSTEM_SDCARD is not set + +# +# Sysinfo +# +# CONFIG_SYSTEM_SYSINFO is not set + +# +# USB Monitor +# + +# +# EMACS-like Command Line Editor +# +# CONFIG_SYSTEM_CLE is not set + +# +# VI Work-Alike Editor +# +# CONFIG_SYSTEM_VI is not set + +# +# Stack Monitor +# + +# +# USB Mass Storage Device Commands +# + +# +# Zmodem Commands +# +# CONFIG_SYSTEM_ZMODEM is not set |