diff --git a/configs/stm3240g-eval/README.txt b/configs/stm3240g-eval/README.txt index 9780e791be..1f9c153057 100644 --- a/configs/stm3240g-eval/README.txt +++ b/configs/stm3240g-eval/README.txt @@ -987,10 +987,20 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX EABI buildroot toolchain + CONFIG_CXX_NEWLONG=y : size_t is long (maybe?) This is easily changed by modifying the configuration. + NOTE: When I used a recent CodeSourcery toolchain, then toolchain + generated an illegal blx to an even address when calling into one + of the EABI math libraries. I don't know why this happened or if + the probably is repeatable with other CodeSourcery versions. You + can try for yourself setting: + + CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_CXX_NEWLONG=n : size_t is unsigned int (maybe?) + 3. In addition to the the kernel mode build, this NxWM configuration differences from the nxwm configuration in that: diff --git a/configs/stm3240g-eval/kernel/up_userspace.c b/configs/stm3240g-eval/kernel/up_userspace.c index 4fe12a9074..a0e50d71db 100644 --- a/configs/stm3240g-eval/kernel/up_userspace.c +++ b/configs/stm3240g-eval/kernel/up_userspace.c @@ -56,8 +56,8 @@ # error "CONFIG_NUTTX_USERSPACE not defined" #endif -#if CONFIG_NUTTX_USERSPACE != 0x08020000 -# error "CONFIG_NUTTX_USERSPACE must be 0x08020000 to match memory.ld" +#if CONFIG_NUTTX_USERSPACE != 0x08040000 +# error "CONFIG_NUTTX_USERSPACE must be 0x08040000 to match memory.ld" #endif /**************************************************************************** diff --git a/configs/stm3240g-eval/knxwm/defconfig b/configs/stm3240g-eval/knxwm/defconfig index de35234269..16d54d27a0 100644 --- a/configs/stm3240g-eval/knxwm/defconfig +++ b/configs/stm3240g-eval/knxwm/defconfig @@ -113,13 +113,14 @@ CONFIG_ARMV7M_MPU_NREGIONS=8 # ARMV7M Configuration Options # # CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC is not set -# CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT is not set +CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y # CONFIG_ARMV7M_TOOLCHAIN_CODEREDW is not set -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y +# CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW is not set # CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM is not set # CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL is not set # CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW is not set # CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE is not set +# CONFIG_ARMV7M_OABI_TOOLCHAIN is not set # CONFIG_SERIAL_TERMIOS is not set # @@ -761,7 +762,7 @@ CONFIG_SCHED_USRWORK=y # CONFIG_C99_BOOL8 is not set CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y -# CONFIG_CXX_NEWLONG is not set +CONFIG_CXX_NEWLONG=y # # uClibc++ Standard C++ Library