使用“ 项目 ”窗口的上下文菜单打开此对话框 ;菜单选项项目。该对话框包括带有三态替代项的复选框:

-已选中且呈灰色 -属性是从父对象继承的。
- 选中和白色 -为对象单独设置的属性。
- 未选中 -禁用的属性。

路径,大小,最后更改
显示有关所选对象的信息。
文件类型
将文件与文件类型关联。
包含在目标版本中
禁用此选项可从该项目目标中排除组或源文件。该文件未翻译,也未链接到应用程序目标文件中。例如,此选项对于在不同硬件系统上运行的应用程序很有用。每个系统可能需要其自己的配置文件。该选项允许排除特定目标不需要的那些配置文件。
始终建造
启用此选项可在每个构建过程中强制转换源模块。例如,设置此选项对于包含宏的文件很有用,这些宏计算有关应用程序版本__DATE__或 __TIME__的信息。
生成汇编器SRC文件
指示C编译器从此C模块生成汇编器源文件。通常,当C源文件包含#pragma asm / endasm 节时,使用此选项。
组装SRC文件
将此选项与选项“ 生成汇编器SRC文件”一起使用,可将由编译器生成的汇编器源代码转换为可以链接到应用程序的目标文件。
图像文件压缩
对于“ 图像文件 ”类型的文件是活动的。建议转换器工具FCARM压缩图像文件。请参阅在µVision中使用FCARM
停止退出代码
指定退出代码以根据翻译器消息停止构建过程。默认情况下,µVision会转换生成过​​程中的所有文件,而不考虑错误或警告消息。
自定义参数
对于需要自定义转换器的文件很有用。
内存分配
将文件或组分配给特定的内存区域。请选择:

  • 代码/常量(RO)
  • 零初始化数据(ZI)
  • 其他数据

注意:在“ 目标选项 ”对话框中输入可用的存储区域 。另外,在链接器对话框中 启用“ 从目标对话框使用内存布局”。

将文件或组分配给特定的项目层
选择模块
可用于库类型的文件。允许始终包含库中的特定模块。默认情况下,仅将所需的模块加载到目标文件中。

Open this dialog with the context menu of the window Project; menu item Options for item. The dialog includes check boxes with tri-state alternatives:

- Checked and gray - property is inherited from the parent object.
- Checked and white - property set individually for the object.
- Not checked - disabled property.

Path, Size, Last Change
Display information about the selected object.
File Type
Associates a file with a file type.
Include in Target Build
Disable this option to exclude the group or source file from this project target. The file is not translated and not linked into the application object file. This option is useful, for example, for an application that runs on different hardware systems. Each system might need its own configuration file. The option allows to exclude those configuration files not needed for a particular target.
Always Build
Enable this option to enforce translating a source module with every build process. For example, setting this option is useful for files containing macros that compute information about the application version, __DATE__, or __TIME__.
Generate Assembler SRC File
Instructs the C compiler to generate an assembler source file from this C module. Typically this option is used when the C source file contains #pragma asm / endasm sections.
Assemble SRC File
Use this option together with the option Generate Assembler SRC File to translate the assembler source code generated by Compiler into an object file that can be linked to the application.
Image File Compression
Is active for files of the type Image file. Advises the converter tool FCARM to compress image files. Refer to Using FCARM with µVision.
Stop on Exit Code
Specify an exit code to stop the build process upon translator messages. By default, µVision translates all files in a build process, regardless of error or warning messages.
Custom Arguments
Useful for files that require a Custom Translator.
Memory Assignment
Assign a file or group to a specific memory region. Select between:

  • Code/Const (RO)
  • Zero Initialized Data (ZI)
  • Other Data

Note: enter the available memory regions in the dialog Options for Target. Also, enable Use Memory Layout from Target Dialog in the dialog Linker.

Layer
Assign a file or group to a specific project layer.
Select Modules
Available for files of the type Library. Allows to always include specific modules from a Library. By default, only the needed modules are loaded into the object file.

来源

【KEIL 】Options for File的更多相关文章

  1. 【Keil】浅学一下keil中的.sct文件

    [Keil]浅学一下keil中的.sct文件 最近重新捣鼓了acfly的源码,有了新的有趣发现,当然,过程并不有趣. 起因 clone下来我去年提交的代码,编译 ...... 报错辣! linking ...

  2. 【Keil】Keil5的安装和破...

    档案的话网上很多的,另外要看你开发的是哪种内核的芯片 如果是STC的,就安装C51 如果是STM的,就安装MDK 当然市面上有很多芯片的,我也没用过那么多种,这里也就不列举了 至于注册机,就是...恩 ...

  3. 【apache】No input file specified

    默认的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]规则在apache fastcgi模式下会导致No input file specified. 修改成 Re ...

  4. 【Keil】Keil5添加源程序和头文件

    xxx.c就是源程序 xxx.h就是头文件 [源程序添加方法] 双击文件夹,例如图片上的Source,跳出弹窗,选择需要添加的源程序即可 [添加头文件的方法] 1.首先点击图片红框处,或是在文件夹te ...

  5. 【转】android使用File Explorer无法访问系统内部文件--不错

    原文网址:http://blog.csdn.net/yangqicong11/article/details/8747042 设备:Samsung GT-P3110 系统:Android 4.1.1 ...

  6. 【转】ArcGIS中File Geodatabase与Personal Geodatabase的区别

    原文地址:ArcGIS中File Geodatabase与Personal Geodatabase的区别作者:最爱忆宝贝 一.平台支援: 1.Personal Geodatabase:仅可在Windo ...

  7. 【QT】Cannot find file: untitled.pro,项目路径不要包含中文。

    Cannot find file: D:\文件及下载相关\文档\untitled\untitled.pro. 17:01:45: 进程"D:\Englishpath\QT5.9.3\5.9. ...

  8. 【转】html之file标签 --- 图片上传前预览 -- FileReader

    记得以前做网站时,曾经需要实现一个图片上传到服务器前,先预览的功能.当时用html的<input type="file"/>标签一直实现不了,最后舍弃了这个标签,使用了 ...

  9. 【.Net】Byte,Stream,File的转换

    引言      文件的传输和读写通常都离不开Byte,Stream,File这个类,这里我简单封装一下,方便使用. 帮助类     public static class FileHelper { / ...

  10. 【转载】 C#通过File类实现文件拷贝复制的功能

    在Windows系统的使用过程中,一个较常使用的功能就是文件的复制拷贝操作,其实在C#开发中,也可以使用File类库中的Copy方法来实现文件的拷贝,支持设定原文件地址,以及拷贝复制后的文件存放路径. ...

随机推荐

  1. 整一个工具类【根据URL地址获取file文件对象】

    整一个工具类[根据URL地址获取file文件对象] 直接将网络url文件转换为file对象 import java.io.*; import java.net.URL; public class Im ...

  2. 【云原生 | Kubernetes 系列】— Kubernetes存储方案

    目录 [云原生 | Kubernetes 系列]- Kubernetes存储方案 一.基本存储 EmptyDir HostPath NFS 搭建nfs服务器 二.高级存储 PV和PVC pv pvc ...

  3. 万万没想到,我在夜市地摊解决了MySQL临时表空间难题~~

    都说"大隐隐于市,高手在深宫".突如其来的"摆地摊"风潮,让原本冷清的街道热闹非凡,也让众人发现了那些神龙见首不见尾的大神们. 这不,小毛在下班的途中就遇到了大 ...

  4. Java的这个强大功能,很多人都不知道

    摘要:大多数框架采用单一的语言所开发.JNI这项Java中提供的强大功能,却逐渐的被人遗忘了. 本文分享自华为云社区<Java中一个逐渐被遗忘的强大功能,强到你难以置信!!>,作者:冰 河 ...

  5. 云小课|CDN第5课 CDN入门之—我的网站可以用CDN加速吗?

    摘要:CDN(Content Delivery Network,内容分发网络)通过将源站资源缓存到遍布各地的边缘节点服务器上,用户可以就近获取资源,从而达到加速的效果. 本文分享自华为云社区<[ ...

  6. Oracle 删除唯一约束

    1.查出有哪些约束 SELECT CONSTRAINT_NAME,CONSTRAINT_TYPE,STATUS FROM USER_CONSTRAINTS WHERE TABLE_NAME ='D_D ...

  7. SpringBoot Kafka SSL接入点PLAIN机制收发消息

    applycation.yml spring: # https://developer.aliyun.com/article/784990 kafka: bootstrap-servers: XXXX ...

  8. go对mongodb的聚合查询

    mongodb的环境搭建参考前面一篇通过mongo-driver使用说明 GO 包管理机制 BSON 介绍 在Go中使用BSON对象构建操作命令 在我们发送查询给数据库之前, 很重要的一点是,理解Go ...

  9. Denso Create Programming Contest 2022(AtCoder Beginner Contest 239) E~F 题

    E - Subtree K-th Max 题意:给定一个以 \(1\) 为根的树,节点个数为 \(n(\le 1e5)\),每个点都有自己的点权.需要回答 \(m(\le1e5)\) 次询问.每次询问 ...

  10. Codeforces 144A Arrival of the General (水)

    A Ministry for Defense sent a general to inspect the Super Secret Military Squad under the command o ...