--- title: file_name date: 2020-05-31 10:27:10 categories: tags: - stm32 - keil - config ---

背景

为了发布生产的固件,需要用到bin文件。

生成hex

在Keil中:Option - Output

  • `Create HEX file`

生成bin

在Keil中:Option - User - After Build/Rebuild

这个命令的意思是使用fromelf.exe 脚本 去转换 #L(通配符)文件 并指定-o生成的文件为 %L@L.bin(通配符) 文件。

此后再次重新编译工程,即可通过工程 的.axf文件生成 .bin文件。

相关文章:

  • 2021-06-20
  • 2021-08-29
  • 2021-09-21
  • 2021-10-28
  • 2021-11-13
  • 2021-05-03
  • 2021-04-17
  • 2021-07-31
猜你喜欢
  • 2021-08-06
  • 2021-04-02
  • 2021-11-26
  • 2022-12-23
  • 2021-05-11
  • 2021-12-12
相关资源
相似解决方案