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
  • 相关阅读:
    搜集整理一些Cron表达式例子
    正确处理下载文件时HTTP头的编码问题(Content-Disposition)
    SpringMVC之RequestContextHolder分析
    协变、逆变与不变:数组、泛型、与返回类型
    用java实现一个简单的单用户登陆功能的思路
    为什么要进行URL编码
    spring mvc&mybatis搭配使用心得
    css(二)
    css(一)
    html
  • 原文地址:https://www.cnblogs.com/10cm/p/10097737.html
Copyright © 2011-2022 走看看