Create a new C or C++ project
Use the options in the dialog to create a new C or C++ project.
- Select File > New > Project... from the main menu.
Expand the C/C++ group, select either C Project or C++ Project, and click Next.
- C project
This does not select a source language by default and leaves this decision up to the compiler. Both GCC and Arm® Compiler default to C for
.cfiles and C++ for
- C++ project
Selects C++ as the source language by default, regardless of file extension.
In both cases, the source language for the entire project, a source directory or individual source file can be configured in the build configuration settings.
- Enter a Project name.
- Leave the Use default location option selected so that the project is created in the default folder shown. Alternatively, deselect this option and browse to your preferred project folder.
Select the type of project that you want to create.
Figure 2-1 Creating a new C project
- Select a Toolchain.
- Click Finish to create your new project.
You can view the project in the Project Explorer view.