diff options
Diffstat (limited to 'nuttx/configs/sim/pashello')
-rw-r--r-- | nuttx/configs/sim/pashello/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/sim/pashello/defconfig | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/sim/pashello/Make.defs b/nuttx/configs/sim/pashello/Make.defs index 66ed73599..7060ae542 100644 --- a/nuttx/configs/sim/pashello/Make.defs +++ b/nuttx/configs/sim/pashello/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 EXTRA_LIBS = -lm diff --git a/nuttx/configs/sim/pashello/defconfig b/nuttx/configs/sim/pashello/defconfig index f2e21dc66..33694968e 100644 --- a/nuttx/configs/sim/pashello/defconfig +++ b/nuttx/configs/sim/pashello/defconfig @@ -56,6 +56,8 @@ CONFIG_ARCH_BOARD_SIM=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 @@ -115,6 +117,7 @@ CONFIG_ARCH_BOARD_SIM=y CONFIG_EXAMPLE=pashello CONFIG_DEBUG=n CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_SYMBOLS=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=0 |