Skip to content

Commit

Permalink
a1
Browse files Browse the repository at this point in the history
Signed-off-by: wangmingrong1 <[email protected]>
  • Loading branch information
W-M-R committed Oct 15, 2024
1 parent 0dc77c5 commit 267d228
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/arm/mps/mps3-an547/configs/nsh/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions boards/arm/mps/mps3-an547/scripts/flash.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.*)
Expand Down

0 comments on commit 267d228

Please sign in to comment.