User manual

UM0036 STM8 C tutorial
Doc ID 7705 Rev 11 335/385
1. In the main menu bar, select Project>Add New Project to Workspace.
2. In the New Project window, click on the New Project icon and then OK.
3. Enter the name cosmic or raisonance in the Project Filename field, depending on
your toolset. In future, if you have only one toolset you can choose a name more
pertinent to your project application.
4. Enter the pathname where you want to store the project and the resulting files in the
Project Location field. The path for the workspace is used by default. Choose the
Raisonance or Cosmic subdirectory (eventually, after having created it) for better disk
organization.
5. Next, select STM8 Cosmic or Raisonance from the Toolchain list box.
6. Enter the path for the toolset in the Toolchain Root field. The toolchain root is by
default the path defined in the STVD option-toolset (Section 12.1.1). You can define a
project-specific toolset path here. It can also be changed later, through the Project
Settings window. Then click on OK.
7. In the MCU Selection window, select the MCU that you will build your application for
and click on Select, then on OK. We have selected the STM8L101G2P. Later we will
see how you can change the MCU selection in the Project Settings window. You can
use the Filter field to reduce the MCU selection list size.
Figure 264. Project parameters