hexfilepatcher:固件修补,更改Intel HEX文件中的变量值

时间:2021-05-20 20:59:18
【文件属性】:
文件名称:hexfilepatcher:固件修补,更改Intel HEX文件中的变量值
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-20 20:59:18
Python 英特尔HEX文件修补程序 修补Intel HEX文件,即覆盖已编译固件中的变量内容。 如何设置存储位置 要使用gcc将变量/结构放在某个内存位置,请执行以下操作: volatile mystruct_t __attribute((section (".fwConfigSection"))) mystruct = { 0 }; 并使用链接器注册该部分: LDFLAGS += -Wl,--section-start -Wl,.fwConfigSection=[address] 如何使用脚本 主要脚本是patchHexFile.py 。 用法: ./patchHexFile.py [firmware] [config] firmware filename of the firmware (Intel hex format) config (optional) f
【文件预览】:
hexfilepatcher-master
----fwConfig.xml(235B)
----patchHexFile.py(2KB)
----hexFileParser.py(6KB)
----LICENSE(1KB)
----generateXmlConfig.py(5KB)
----README.md(2KB)

网友评论