summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/sim/nx
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sim/nx')
-rw-r--r--nuttx/configs/sim/nx/Make.defs4
-rw-r--r--nuttx/configs/sim/nx/defconfig3
-rw-r--r--nuttx/configs/sim/nx/defconfig-x113
3 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/configs/sim/nx/Make.defs b/nuttx/configs/sim/nx/Make.defs
index 936e161a2f..2c5ae3ced1 100644
--- a/nuttx/configs/sim/nx/Make.defs
+++ b/nuttx/configs/sim/nx/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
-ifeq ($(CONFIG_DEBUG),y)
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = -O2
@@ -73,7 +73,7 @@ else
EXEEXT =
endif
-ifeq ("${CONFIG_DEBUG}","y")
+ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
LDFLAGS += -g
endif
diff --git a/nuttx/configs/sim/nx/defconfig b/nuttx/configs/sim/nx/defconfig
index 4138f2304e..1b33eb4820 100644
--- a/nuttx/configs/sim/nx/defconfig
+++ b/nuttx/configs/sim/nx/defconfig
@@ -63,6 +63,8 @@ CONFIG_SIM_FBBPP=8
# 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
@@ -122,6 +124,7 @@ CONFIG_SIM_FBBPP=8
CONFIG_EXAMPLE=nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_GRAPHICS=y
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y
diff --git a/nuttx/configs/sim/nx/defconfig-x11 b/nuttx/configs/sim/nx/defconfig-x11
index 95bc03eaf1..8b7c83f241 100644
--- a/nuttx/configs/sim/nx/defconfig-x11
+++ b/nuttx/configs/sim/nx/defconfig-x11
@@ -63,6 +63,8 @@ CONFIG_SIM_FBBPP=32
# 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
@@ -122,6 +124,7 @@ CONFIG_SIM_FBBPP=32
CONFIG_EXAMPLE=nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
+CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_GRAPHICS=y
CONFIG_MM_REGIONS=1
CONFIG_ARCH_LOWPUTC=y