13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C compiler option: --include-file (-H)Menu entry1. Select C/C++ Compiler » Preprocessing.The Pre-include files box shows the files that are currently included be<strong>for</strong>e the compilation starts.2. To define a new file, click on the Add button in the Pre-include files box.3. Type the full path and file name or select a file.4. (Optional) Enable the option Include CMSIS device register definition header file.Use the Edit and Delete button to change a file name or to remove a file from the list.Command line syntax--include-file=file,...-Hfile,...DescriptionWith this option you include one or more extra files at the beginning of each C source file, be<strong>for</strong>e otherincludes. This is the same as specifying #include "file" at the beginning of each of your C sources.Examplecarm --include-file=stdio.h test1.c test2.cThe file stdio.h is included at the beginning of both test1.c and test2.c.Related in<strong>for</strong>mationC compiler option --include-directory (Add directory to include file search path)320

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!