admin管理员组文章数量:1122832
I can't find the correct syntax to force the CY MCU ELF Tool to create a CRC-signed hex file that places the CRC at __cy_app_signature address that I specify in the linker script. I have added the following post-build instruction to my makefile:
POSTBUILD+=\
$(CY_TOOL_cymcuelftool_EXE_ABS) -S $(MTB_TOOLS__OUTPUT_CONFIG_DIR)/$(APPNAME).elf CRC --output $(MTB_TOOLS__OUTPUT_CONFIG_DIR)/$(APPNAME)_crc.elf --hex $(MTB_TOOLS__OUTPUT_CONFIG_DIR)/$(APPNAME)_crc.hex && \
$(CY_TOOL_cymcuelftool_EXE_ABS) -P $(MTB_TOOLS__OUTPUT_CONFIG_DIR)/$(APPNAME)_crc.elf --output $(MTB_TOOLS__OUTPUT_CONFIG_DIR)/$(APPNAME)_crc.cyacd2
This instruction creates a hex file called "MyApplication_crc.hex", but there is no CRC at the specified address visible when I view the hex file. Anyone see what I'm missing?
本文标签: makefileSyntax To Force CRC Placement in Hex FileStack Overflow
版权声明:本文标题:makefile - Syntax To Force CRC Placement in Hex File - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309577a1934068.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论