STMicroelectronics Discovery kit for STM32 F030 Value line - with STM32F030R8 MCU STM32F0308-DISCO STM32F0308-DISCO Data Sheet

Product codes
STM32F0308-DISCO
Page of 18
DocID025326 Rev 1
UM1677
Description of the firmware package
17
Description of the firmware package
The STM32F0308-DISCOVERY firmware applications are provided in one single package 
and supplied in one single zip file. The extraction of the zip file generates one folder, 
STM32F0308-Discovery_FW_VX.Y.Z, which contains the following subfolders:
Figure 2. Hardware environment 
1. VX.Y.Z refer to the package version, ex. V1.0.0
2.1 Libraries 
folder 
This folder contains the Hardware Abstraction Layer (HAL) for STM32F0xx devices.
2.1.1 CMSIS 
subfolder
This subfolder contains the STM32F0xx and Cortex-M0 CMSIS files. 
Cortex-M0 
CMSIS files consist of:
Core Peripheral Access Layer: contains name definitions, address definitions and 
helper functions to access Cortex-M0 core registers and peripherals. It defines also a 
device independent interface for RTOS Kernels that includes debug channel 
definitions.
STM32F0xx CMSIS files consist of:
stm32f0xx.h: contains the definitions of all peripheral registers, bits, and memory 
mapping for STM32F0xx devices. The file is the unique include file used in the 
application programmer C source code, usually in main.c. 
system_stm32f0xx.c/.h: contains the system clock configuration for STM32F0xx 
devices. It exports SystemInit() function which sets up the system clock source, 
PLL multiplier and divider factors, AHB/APBx prescalers and Flash settings. This 
function is called at startup just after reset and before connecting to the main program. 
The call is made inside the startup_stm32f030x8.s file.
startup_stm32f030x8.s: provides the Cortex-M0 startup code and interrupt vectors for 
all STM32F0xx device interrupt handlers.