zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    python_58_装饰器1
    python_57_高阶函数
    python_56_递归
    python_55_局部和全局变量
    python_54_函数调用函数
    python_53_函数补充
    python_52_函数返回值2
    mysql 使用 GROUP BY 时报错 ERROR 1055 (42000)
    sql之left join、right join、inner join的区别
    C++ 函数的重载和参数默认值
  • 原文地址:https://www.cnblogs.com/10cm/p/10097737.html
Copyright © 2011-2022 走看看