318 B
318 B
添加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