
STMicroelectronics STM32F0xx Standard Peripherals Library Updates
STMicroelectronics STM32F0xx Standard Peripherals Library Updates
CrossWorks Version 1 Installation Instructions
- To install this support package
-
- Download the file stm32f0xx_stdperiph_lib_updates.hzr using your web browser.
- Click the Tools > Install Package menu option.
- Select the file you have just downloaded to install the package.
- To install this support package using other versions
Release Notes
1.0
- Initial Release.
Documentation
1) Installation
You should download and install STM32F0xx_StdPeriph_Lib.zip from the STMicroelectronics website.
When you install this package you will be prompted for the STM32F0xx_StdPeriph_Lib installation directory. This package will add CrossWorks project files to the STM32F0xx_StdPeriph_Lib installation directory.
The CrossWorks package installation process will set the CrossWorks global macro STM32F0xx_STDPERIPH_LIB which is used by the CrossWorks project files to refer to STM32F0xx_StdPeriph_Lib directories and files. If you subsequently move the STM32F0xx_StdPeriph_Lib installation directory you should modify this macro using the "Tools | Macros" dialog.
This package has been tested on a subset of the examples supplied with version 1.0.0 of the STM32F0xx_StdPeriph_Lib package.
2) Template Project Files
A template project file for the STM32F0518-EVAL board is provided in:
- STM32F0xx-EVAL (click to load project)
After the required project file is loaded:
- Right click in the solution node in the project explorer and select Save Solution As...
- Navigate to the appropriate example directory and specify a filename to save.
- Use Build 'Project' to build the example.
- The example may need files in the Utility Files folder that have been excluded from the build. If so, you can right click on the required file and uncheck Exclude From Build.
3) Modification of examples
Some examples have #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) this will not build with CrossWorks for ARM and should be modified to be #define PUTCHAR_PROTOTYPE int putchar(int ch).