CSSC-PC更新了1个文件

This commit is contained in:
murmur 2024-11-04 09:05:37 +08:00
parent 9d845b658b
commit 5cb6f9b41f

View File

@ -6,5 +6,5 @@
`C/C++ Build -> Settings -> Tool Settings ->GNU RISC-V Cross Create Flash Image -> General` `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 `Output file format (-O)`选项选择`Intel HEX (.hex) & Raw binary (.bin)`即可同时输出.bin和.Hex
# 显示MCU资源占用 # 显示MCU资源占用
``C/C++ Build -> Settings -> Tool Settings ->GNU RISC-V Cross C Linker ->Miscellaneous -> Linker flags`中新建,填入`--print-memory-usage`,重新编译即可。 `C/C++ Build -> Settings -> Tool Settings ->GNU RISC-V Cross C Linker ->Miscellaneous -> Linker flags`中新建,填入`--print-memory-usage`,重新编译即可。
![[Pasted image 20241104090409.png]] ![[Pasted image 20241104090409.png]]