diff --git a/MCU/WCH-南京沁恒/MounRiver配置.md b/MCU/WCH-南京沁恒/MounRiver配置.md index 1fb6509..c5a8c2e 100644 --- a/MCU/WCH-南京沁恒/MounRiver配置.md +++ b/MCU/WCH-南京沁恒/MounRiver配置.md @@ -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 \ No newline at end of file