keil:option of project->target

来源:互联网 发布:php项目设计文档 编辑:程序博客网 时间:2024/05/21 06:14


from:http://www.keil.com/support/man/docs/gsac/gsac_toolopts.htm


Set Options for Target

Set target parameters in the dialog Options for Target - Target.

Target Options Button Open the dialog via the toolbar icon or the menu Project - Options for Target.

Dialog Options for Target

The following options can be set:

ItemDescriptionXtal (MHz)Specifies the XTAL frequency of the device; XTAL is used to configure the debugger and Flash programmer. XTAL reflects the main oscillator connected externally to the device.Operating systemChoose the operating system. For example, the RTX Kernel adds the correct RTX library and enables kernel aware debugging.Code GenerationUse Cross-Module OptimizationEnables the linker feedback file, which allows further code optimizations.Use MicroLIBChanges the C run-time library-set to generate smallest application code. MicroLIB is not fully ANSI compatible, but sufficient for most small embedded applications.Use Link-Time Code GenerationInstructs the compiler to create objects in an intermediate format to perform link-time code optimization.Big EndianDefines the method used to access multi-byte data.Read/Only Memory AreasROMxSpecify the Read Only Memory areas, typically located in ROM space.IROMxInternal Read Only Memory, typically configured by the startup-code.Read/Write Memory AreasRAMxSpecify the ZI and RW areas, typically located in RAM space.IRAMxSpecify the ZI and RW areas, typically configured through the startup-code.defaultThe check box, in front of each entry, enables the area globally for the application. Individual modules may be assigned in the Properties dialog to specific areas.off-chip/on-chipSpecifies whether this is an internal or external ROM or RAM.StartSpecifies the starting address of the area in HEX format.SizeSpecifies how large the area is. Also in HEX format.NoInitSpecifies areas that should be excluded from zero initialization.

 Note

  • Read/Only Memory Areas and Read/Write Memory Areas are used to create a linker scatter file. In addition, enable the check box Use Memory Layout from Target Dialog in the dialog Linker.