DocID16139 Rev 5 27/42
AN3029 STM8 software toolchain
41
9.1 Integrated development environment
The integrated development environment ST Visual Develop (STVD) provides an easy-to-
use, efficient environment for start-to-finish control of application development, from building
and debugging the application code to programming the microcontroller. STVD is delivered
as part of the free ST toolset, which also includes the ST Visual Programmer (STVP)
programming interface and ST Assembler-Linker.
To build applications, STVD provides seamless integration of C and assembly tool chains
for ST including the Cosmic and Raisonance C compilers and ST Assembler-Linker. When
debugging, STVD provides an integrated simulator (software) and supports a complete
range of hardware tools including the low-cost RLink in-circuit debugger/programmer, the
high-end STice emulator, and the low-cost ST-LINK tool.
To program applications to an STM8L/STM8AL, the STVD also provides an interface for
reading from the microcontroller memories, writing to them and verifying them. This
interface is based on the ST Visual Programmer (STVP), and supports all the target devices
and programming tools supported by STVP.
The free ST toolset for STM8 is available from STMicroelectronics homepage (see
www.st.com).
9.2 Compiler
STM8L/STM8AL devices can be programmed by a free assembler toolchain which is
included in the ST toolset.
As the core is designed for optimized high-level-language support, use of a C compiler is
recommended!
C compilers for STM8 are offered by the third party companies Cosmic, Raisonance, and
IAR.
A free version of the C compiler with up to 32 Kbytes of generated code is available at:
www.cosmic-software.com and www.raisonance.com.
9.3 Firmware library
The STM8 firmware library is a complete set of source code examples for each STM8
peripheral. It is written in strict ANSI-C and it is fully MISRA C 2004 compliant.
All examples can be used with four workspace and project definition files, one for STVD and
Cosmic C compiler, one for STVD and raisonance Compiler, one for Raisonance integrated
debugging environment and compiler (RIDE7 IDE), and one for IAR embedded workbench
for STM8 (EWSTM8). This enables the user to load and compile them easily into their
preferred development environment.
The examples run on the STMicroelectronics STM8L evaluation board and can be tailored
easily to other types of hardware.
For additional information and download of the STM8L/STM8AL firmware library connect to
www.st.com/mcu.