diff options
Diffstat (limited to 'nuttx/configs/z8encore000zco/ostest')
-rw-r--r-- | nuttx/configs/z8encore000zco/ostest/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/z8encore000zco/ostest/defconfig | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/z8encore000zco/ostest/Make.defs b/nuttx/configs/z8encore000zco/ostest/Make.defs index 880c79e86..cd76f5da3 100644 --- a/nuttx/configs/z8encore000zco/ostest/Make.defs +++ b/nuttx/configs/z8encore000zco/ostest/Make.defs @@ -88,7 +88,7 @@ ARCHCPUDEF = _Z8F6403 endif endif -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHASMOPTIMIZATION = -debug -sdiopt else ARCHASMOPTIMIZATION = -nodebug -sdiopt @@ -105,7 +105,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \ # Compiler definitions -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHOPTIMIZATION = -debug -NOregvar -reduceopt else ARCHOPTIMIZATION = -nodebug -regvar diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig index 7352a5466..24b076723 100644 --- a/nuttx/configs/z8encore000zco/ostest/defconfig +++ b/nuttx/configs/z8encore000zco/ostest/defconfig @@ -121,6 +121,8 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # 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 @@ -185,6 +187,7 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=ostest CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=0 |