diff --git a/nuttx/configs/sim/README.txt b/nuttx/configs/sim/README.txt index 39ace5495e..c8bcb2cd7a 100644 --- a/nuttx/configs/sim/README.txt +++ b/nuttx/configs/sim/README.txt @@ -215,9 +215,11 @@ cxxtest b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 3. At present (2012/11/02), this example builds only with exceptions - disabled (CONFIG_UCLIBCXX_EXCEPTIONS=n). And even then, it will - not run. + 3. At present (2012/11/02), exceptions are disabled in this example + CONFIG_UCLIBCXX_EXCEPTIONS=n). It is probably not necessary to + disable exceptions. + + 4. Unfortunately, this example will not run now. The reason that the example will not run on the simulator has to do with when static constructors are enabled: In the simulator diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt index 02fdbb07a0..db423d65b4 100644 --- a/nuttx/configs/stm32f4discovery/README.txt +++ b/nuttx/configs/stm32f4discovery/README.txt @@ -1035,8 +1035,7 @@ Where is one of the following: arm-none-eabi-ar.exe rcs libsupc++.a vterminate.o - 4. At present (2012/11/02), this example builds only with exceptions - disabled (CONFIG_UCLIBCXX_EXCEPTIONS=n). + 4. Exceptions are enabled and workking (CONFIG_UCLIBCXX_EXCEPTIONS=y) elf: --- diff --git a/nuttx/configs/stm32f4discovery/cxxtest/defconfig b/nuttx/configs/stm32f4discovery/cxxtest/defconfig index 85b04c0ff9..6648d3b132 100644 --- a/nuttx/configs/stm32f4discovery/cxxtest/defconfig +++ b/nuttx/configs/stm32f4discovery/cxxtest/defconfig @@ -73,6 +73,8 @@ CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CORTEXM4=y CONFIG_ARCH_FAMILY="armv7-m" CONFIG_ARCH_CHIP="stm32" +CONFIG_ARCH_HAVE_CMNVECTOR=y +# CONFIG_ARMV7M_CMNVECTOR is not set # CONFIG_ARCH_FPU is not set CONFIG_ARCH_HAVE_MPU=y # CONFIG_ARMV7M_MPU is not set @@ -414,7 +416,7 @@ CONFIG_HAVE_CXXINITIALIZE=y # uClibc++ Standard C++ Library # CONFIG_UCLIBCXX=y -# CONFIG_UCLIBCXX_EXCEPTION is not set +CONFIG_UCLIBCXX_EXCEPTION=y CONFIG_UCLIBCXX_IOSTREAM_BUFSIZE=32 CONFIG_UCLIBCXX_HAVE_LIBSUPCXX=y