English
Language : 

UM0991 Datasheet, PDF (39/52 Pages) STMicroelectronics – Developing and debugging your STM8L-DISCOVERY application code
UM0991
Building and running your project
5.3.4
Creating your IAR Embedded Workbench project
1. Open IAR Embedded Workbench and click File>Open>Workspace
2. Browse for the Workspace location and select workspace.eww in the EWSTM8
directory :
– \STM8L-
DISCOVERY_dev\Project\My_own_project\EWSTM8\workspace.eww.
project - Debug appears in the workspace window as shown in Figure 26. Its structure
is slightly different from the structure of My_own_project directory in STM8L-
Discovery_dev package:
– User\src has the same content as \STM8L-
DISCOVERY_dev\Project\My_own_project\src.
– User\inc contains My_own_project include files.
– STM8L15x_StdPeriph_Driver\src contains the STM8L standard library source
files
– STM8L15x_StdPeriph_Driver\inc contains the STM8L standard library include
files
Doc ID 17891 Rev 2
39/52