User manual
STM8 C tutorial UM0036
334/385 Doc ID 7705 Rev 11
12.1.2 Create a workspace
Before you can build or debug an application with STVD, you must create a workspace to
contain your project and its source files. A workspace can contain several projects.
1. In the main menu bar select File>New Workspace.
2. In the New Workspace window, click on the Create Empty Workspace icon and then
OK.
Figure 263. Workspace information
3. Enter a name in the Workspace filename field.
4. Enter the pathname where you want to store the workspace in the Workspace
location field, then click on OK.
You may choose <st_toolset>/stvd/Example/Tutorial_stm8/step1_setup for this
example, but for future work you should use a destination reserved for user data (not
Program Files).
5. Save your workspace, select File>Save Workspace.
RESULT:
STVD’s Workspace window contains a workspace icon.
The working directory that you have identified now contains the files, <workspace
name>.stw and <workspace name>.wed.
However, you do not have access to the commands in the Build menu, because your
workspace does not contain a project and source files, yet.
12.1.3 Create a project
The source files for your application are contained in a project. The Project Settings
interface gives you access to the options for building your application with a specific toolset.
If you expect to use both Cosmic and Raisonance toolsets in an evaluation phase you must
create one project for each, but you may have a single workspace.