obsidian-notes/MCU/WCH-南京沁恒/MounRiver配置.md

7 lines
318 B
Markdown
Raw Normal View History

2024-04-15 03:19:57 +00:00
# 添加bin输出功能
2024-04-25 22:39:44 +00:00
~~`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