Skip to content

Commit c2f5387

Browse files
authored
Remove checksum custom target from CMakeLists
Removed custom target for checksum generation from CMake.
1 parent e5a774d commit c2f5387

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

examples/checksum/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ target_link_options(checksum PRIVATE
2222

2323
# TODO 1: Add a post build command for placing a checksum
2424
# at the end of the application
25-
add_custom_target(checksummed ALL
26-
DEPENDS checksum
27-
COMMAND ${CMAKE_IAR_ELFTOOL}
28-
--silent
29-
--fill="0xFF\;0x0000'0000-0x0007'FFFF"
30-
--checksum="__checksum:4,crc32:Li,0xFFFFFFFF\;0x0000'0000-__checksum"
31-
$<TARGET_FILE:checksum>
32-
$<TARGET_FILE:checksum>
33-
)
3425

3526
# Enable CTest
3627
enable_testing()

0 commit comments

Comments
 (0)