diff --git a/boards/arm/mps/mps3-an547/configs/nsh/defconfig b/boards/arm/mps/mps3-an547/configs/nsh/defconfig index 54f5e21f2231e..a345181371a88 100644 --- a/boards/arm/mps/mps3-an547/configs/nsh/defconfig +++ b/boards/arm/mps/mps3-an547/configs/nsh/defconfig @@ -16,6 +16,7 @@ CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y CONFIG_ARMV8M_SYSTICK=y CONFIG_ARMV8M_USEBASEPRI=y +CONFIG_ARM_TOOLCHAIN_CLANG=y CONFIG_BUILTIN=y CONFIG_CMSDK_UART0=y CONFIG_CMSDK_UART0_BASE=0x49303000 @@ -46,6 +47,7 @@ CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_MEMFD_ERROR=y +CONFIG_LIBM=y CONFIG_MM_REGIONS=2 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm/mps/mps3-an547/scripts/flash.ld b/boards/arm/mps/mps3-an547/scripts/flash.ld index e746a08677c3f..77f8a701b0c32 100644 --- a/boards/arm/mps/mps3-an547/scripts/flash.ld +++ b/boards/arm/mps/mps3-an547/scripts/flash.ld @@ -54,6 +54,12 @@ SECTIONS _einit = ABSOLUTE(.); } > flash + __llvm_prf_names : { + __start__llvm_prf_names = .; + KEEP (*(__llvm_prf_names)) + __end__llvm_prf_names = .; + } > flash + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash @@ -84,6 +90,24 @@ SECTIONS *(.ram_vectors) } > sram1 + __llvm_prf_data : { + __start__llvm_prf_data = .; + KEEP (*(__llvm_prf_data)) + __end__llvm_prf_data = .; + } > sram1 + + __llvm_prf_vnds : { + __start__llvm_prf_vnds = .; + KEEP (*(__llvm_prf_vnds)) + __end__llvm_prf_vnds = .; + } > sram1 + + __llvm_prf_cnts : { + __start__llvm_prf_cnts = .; + KEEP (*(__llvm_prf_cnts)) + __end__llvm_prf_cnts = .; + } > sram1 + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*)