Keil Logo

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:

Item Description
Xtal (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 system Choose the operating system. For example, the RTX Kernel adds the correct RTX library and enables kernel aware debugging.
Code Generation
Use Cross-Module Optimization Enables the linker feedback file, which allows further code optimizations.
Use MicroLIB Changes 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 Generation Instructs the compiler to create objects in an intermediate format to perform link-time code optimization.
Big Endian Defines the method used to access multi-byte data.
Read/Only Memory Areas
ROMx Specify the Read Only Memory areas, typically located in ROM space.
IROMx Internal Read Only Memory, typically configured by the startup-code.
Read/Write Memory Areas
RAMx Specify the ZI and RW areas, typically located in RAM space.
IRAMx Specify the ZI and RW areas, typically configured through the startup-code.
default The 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-chip Specifies whether this is an internal or external ROM or RAM.
Start Specifies the starting address of the area in HEX format.
Size Specifies how large the area is. Also in HEX format.
NoInit Specifies 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.

Related Knowledgebase Articles

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.