add group或files
设置
options
→general options
→target,选择device型号
→Library Configuration,右下角CMSIS,勾选USE CMSIS
→C/C++ Compiler
→Preprocessor,选择include路径,在Defined symbols文本框中输入:
USE_STDPERIPH_DRIVER
STM32F10X_HD
HD根据你选择的机种更换为LD或MD
报错
IAR中的 identifier "FILE" is undefined 问题
explicit type is missing ("int" assumed)解决方法
unable to allocate space for scetion/blocks with a total estimated minimum size of..........
→Flash或RAM空间不够,可以重新link一个.icf文件
→option→Linker→Config→Override default