diff options
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/defconfig | 3 | ||||
-rwxr-xr-x | nuttx/configs/z16f2800100zcog/pashello/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/z16f2800100zcog/pashello/defconfig | 3 |
4 files changed, 10 insertions, 4 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs index 273811bf7..be82296e5 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs +++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs @@ -62,7 +62,7 @@ EZDSZILOGINCDIR := ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"} # Assembler definitions -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHASMOPTIMIZATION = -debug else ARCHASMOPTIMIZATION = -nodebug @@ -78,7 +78,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/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig index c3ef39ae6..b453d0235 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/defconfig +++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig @@ -129,6 +129,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 @@ -190,6 +192,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=200 diff --git a/nuttx/configs/z16f2800100zcog/pashello/Make.defs b/nuttx/configs/z16f2800100zcog/pashello/Make.defs index dd5979276..19fa125e5 100755 --- a/nuttx/configs/z16f2800100zcog/pashello/Make.defs +++ b/nuttx/configs/z16f2800100zcog/pashello/Make.defs @@ -62,7 +62,7 @@ EZDSZILOGINCDIR := ${shell echo "$(WZDSZILOGINCDIR)" | sed -e "s/ /%20/g"} # Assembler definitions -ifeq ("${CONFIG_DEBUG}","y") +ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") ARCHASMOPTIMIZATION = -debug else ARCHASMOPTIMIZATION = -nodebug @@ -78,7 +78,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/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig index c896d8d0f..257bc7380 100644 --- a/nuttx/configs/z16f2800100zcog/pashello/defconfig +++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig @@ -129,6 +129,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 @@ -190,6 +192,7 @@ CONFIG_HAVE_LIBM=n CONFIG_EXAMPLE=pashello CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=200 |