Keil Logo

Use a Custom Translator

If you add a file with unknown file extension to a project, µVision3 requires you to specify the file type for this file. You may select Custom File and use a custom translator to process this file. The custom translator is specified along with its command line in the Custom Arguments line of the Options — Properties dialog. Typical the custom translator will generate a source file from the custom file. You need to add this source file to your project to and use the Assembler or Compiler to generate an object file that can be linked to your application.

Options for File — Properties Dialog

In this example we have specified for CUSTOM.PRE that the program C:\UTILITIES\PRETRANS.EXE is used with the parameter –X to translate the file. Note that we have used also the Always Build option to ensure that the file is translated with every build process.

  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.