keil5到iar8的使用配置迁移

 
1、关于头文件的包含。
keil: ALT+F7——>C/C++
IAR:ALT+F7——>C/C++ Compiler——>Preprocessor,(高版本汇编需要包含的头文件需要另外配置)ALT+F7——>Assembler——>Preprocessor
2.加载Flash 下载算法
keil:ALT+F7——>Utilities——>Settings
IAR:ALT+F7——>Debugger——>Download
3.目标芯片选择
keil:ALT+F7——>Device
IAR:ALT+F7——>General Options——>Target——>Processor variant
4.目标文件生成
keil:ALT+F7——>Target;目前了解到的,只生成hex文件及调试信息,lib文件
IAR:ALT+F7——>Output Converter;可以单选hex或bin
ALT+F7——>General Options——>Output ;执行文件或lib
5.工程编译生成文件指定目录
keil:ALT+F7——>Output;.o文件,执行文件
ALT+F7——>Listing;链接文件
IAR:ALT+F7——>General Options——>Output;执行文件,.o文件,链接文件
6.工程宏定义
keil:ALT+F7——>C/C++——>Define
ALT+F7——>C/C++——>Define
IAR:ALT+F7——>C/C++ Compiler——>Preprocessor——>Defined symbols
ALT+F7——>Assembler——>Preprocessor——>Defined symbols
7.优化配置
keil:ALT+F7——>C/C++——>Language/Code Generation——>Optimization
IAR:ALT+F7——>C/C++ Compiler——>Optimizations
8.源代码编码选择
keil:Edit——>Configuration——>General Editor Settings
IAR:ALT+F7——>C/C++ Compiler——>Encodeings
9.分段加载
keil:ALT+F7——>Linker——>Scatter File
IAR:ALT+F7——>Linker——>Linker configuration file