Skip to content

Commit

Permalink
Revert "Create MB_MEM2 shared section for devices with shared RAM up …
Browse files Browse the repository at this point in the history
…to date startup initialize it"

This reverts commit d92c104.
  • Loading branch information
xanthio committed May 20, 2024
1 parent 8396cda commit 86deaa1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmake/stm32/linker_ld.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ else()
set(RAM_SHARE_SECTION "
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED\n\
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED\n\
_siMB_MEM2 = LOADADDR(.MB_MEM2);\n\
.MB_MEM2 :\n\
{\n\
_sMB_MEM2 = . ;\n\
*(MB_MEM2) ;\n\
_eMB_MEM2 = . ;\n\
} >RAM_SHARED AT> FLASH\n\
MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED\n\
")
endif()

Expand Down

0 comments on commit 86deaa1

Please sign in to comment.