1# SPDX-License-Identifier: Apache-2.0 2 3set_property(GLOBAL APPEND PROPERTY extra_post_build_commands 4 # Insert checksum (verified by the bootloader) into the zephyr.bin 5 # and zephyr.hex images. 6 COMMAND lpc_checksum -f hex ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_HEX_NAME} 7 COMMAND lpc_checksum -f bin ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_BIN_NAME} 8 ) 9