User manual

Project creation and build UM0036
80/385 Doc ID 7705 Rev 11
5. Select the MCU for you application and then click on OK.
Your workspace is created and named makefile_name.stw. The new workspace file
appears in the Workspace window, typically on the left side of STVD’s main window.
Your workspace contains a project with the makefile that you have identified and the
External Dependencies folder.
Before you start debugging your application you will have to identify the executable file to
debug and you may have to rebuild your application.
4.3 Creating and loading projects in a workspace
The project file (.stp) contains the information that you need to build an application with a
specific toolset and for a specific microcontroller. It contains the source files needed to build
the application, the build configuration and the target MCU’s memory map. This section
provides information about:
Loading an existing project
Creating new projects
Adding and removing folders and files
Note: Until you create a project or add an existing one to your workspace, you do not have access
to STVD’s build and debug commands.
4.3.1 Loading an existing project
To load an existing project:
1. Select File > Insert Project into Workspace.
The Insert Project browse window will open.
2. Locate the project file (.stp), highlight it and then click on Open.
The project will appear in the Workspace window, typically on the left side of STVD’s
main window (see Figure 55 on page 77).
STVD will not allow you to insert a project into a workspace if it already contains a project
with the same name.
4.3.2 Creating new projects
STVD provides three options for creating a new project in a workspace.
To create a new project, select Project > Add New Project to Workspace. The New
Project window opens. From this window you can:
Add a project (.stp) to your workspace
Create a project from an existing executable
Create a project from an existing makefile