boards: sabre-6quad: Fix cxxtest issue

Summary:
- Fixes a linker issue in https://github.com/apache/nuttx/pull/8244 by disabling compiler optimization.
- Adjusts CONFIG_DEFAULT_TASK_STACKSIZE to 4096 to ensure proper functioning of cxxtest.

Impact:
- The changes may slightly affect performance due to disabled optimizations
  but are necessary for cxxtest stability.

Testing:
- Successfully tested on QEMU-8.1.2 with arm gcc 12.3.Rel1,
  confirming resolution of the linker issue and stable operation of cxxtest.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2023-11-15 17:53:09 +09:00 committed by Xiang Xiao
parent bb14e45ec9
commit 991c5029a0

View file

@ -24,8 +24,8 @@ CONFIG_ARMV7A_WAYSIZE_64KB=y
CONFIG_BOARD_LOOPSPERMSEC=99369
CONFIG_BOOT_RUNFROMSDRAM=y
CONFIG_BUILTIN=y
CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEFAULT_TASK_STACKSIZE=4096
CONFIG_DEV_ZERO=y
CONFIG_EXAMPLES_HELLO=y
CONFIG_EXAMPLES_HELLOXX=y