summaryrefslogtreecommitdiff
path: root/nuttx/configs/xtrs/ostest
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/xtrs/ostest')
-rw-r--r--nuttx/configs/xtrs/ostest/Make.defs2
-rw-r--r--nuttx/configs/xtrs/ostest/defconfig3
2 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/configs/xtrs/ostest/Make.defs b/nuttx/configs/xtrs/ostest/Make.defs
index 3b77c2951..f9b6b12d3 100644
--- a/nuttx/configs/xtrs/ostest/Make.defs
+++ b/nuttx/configs/xtrs/ostest/Make.defs
@@ -35,7 +35,7 @@
include ${TOPDIR}/.config
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
ARCHOPTIMIZATION = --debug
else
ARCHOPTIMIZATION =
diff --git a/nuttx/configs/xtrs/ostest/defconfig b/nuttx/configs/xtrs/ostest/defconfig
index a2c9be3f4..b3f3373c1 100644
--- a/nuttx/configs/xtrs/ostest/defconfig
+++ b/nuttx/configs/xtrs/ostest/defconfig
@@ -99,6 +99,8 @@ CONFIG_LINKER_ROM_AT_0000=y
# 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
@@ -161,6 +163,7 @@ CONFIG_LINKER_ROM_AT_0000=y
CONFIG_EXAMPLE=ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=0