更新了1个文件

This commit is contained in:
murmur-CSSC 2024-04-26 06:39:44 +08:00
parent a8222730a6
commit a75ab8ce52

View File

@ -1,3 +1,7 @@
# 添加bin输出功能
`riscv-none-embed-objcopy -O binary "${ProjName}.elf" "${ProjName}.bin"`
~~`riscv-none-embed-objcopy -O binary "${ProjName}.elf" "${ProjName}.bin"`~~
菜单位置:
`C/C++ Build -> Settings -> Tool Settings ->GNU RISC-V Cross Create Flash Image -> General`
`Output file format (-O)`选项选择`Intel HEX (.hex) & Raw binary (.bin)`即可同时输出.bin和.Hex