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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章