Skip to content

Commit a50b5bc

Browse files
committed
disabled rwx segments warning as everything is in ram
1 parent a644b1f commit a50b5bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ target_link_options(flash_loader PUBLIC "-Wl,--gc-sections")
8585
target_link_options(flash_loader PUBLIC "-Wl,-fatal-warnings")
8686
target_link_options(flash_loader PUBLIC "-Wl,-cref,-Map=flash_loader.map")
8787
target_link_options(flash_loader PUBLIC "-Wl,--print-memory-usage")
88+
target_link_options(flash_loader PUBLIC "-Wl,--no-warn-rwx-segments")
8889

8990
# link to the linkerscript of the target cpu
9091
target_link_options(flash_loader PUBLIC "-T${CMAKE_SOURCE_DIR}/linkerscript.ld")

0 commit comments

Comments
 (0)