![](images/stmicroelectronics.png)
STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates
STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates
CrossWorks Version 4 Installation Instructions
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates entry and select Install Selected Packages.
- Click Next to take you to the summary page.
- Click Next to install the package.
- Click Finish to close the package manager window.
- Click the Tools > Show Installed Packages.
- Click on the STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, follow the CMSIS 3 Support Package, CrossWorks Tasking Library Package and STMicroelectronics STM32 CPU Support Package installation instructions.
- Download the file stm32f4xx_dsp_stdperiph_lib_updates.hzr using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
- Click the Tools > Show Installed Packages.
- Click on the STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates link to view the package and its contents.
- To install this support package using other versions
Release Notes
1.1
- Most utility files are now excluded from build by default.
1.0
- Initial Release.
Documentation
1) Installation
You should download and install STM32F4xx_StdPeriph_Lib.zip from the STMicroelectronics website.
When you install this package you will be prompted for the STM32F4xx_DSP_StdPeriph_Lib installation directory. This package will add CrossWorks project files to the STM32F4xx_DSP_StdPeriph_Lib installation directory.
The CrossWorks package installation process will set the CrossWorks global macro STM32F4xx_STDPERIPH_LIB which is used by the CrossWorks project files to refer to STM32F4xx_DSP_StdPeriph_Lib directories and files. If you subsequently move the STM32F4xx_DSP_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 STM32F4xx_DSP_StdPeriph_Lib package.
2) Template Project Files
A template project file for the STM3240G-EVAL board is provided in:
- STM32F4xx-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).
The NVIC vector relocation example should start the flash memory at 0x08002000 this can be done by setting the Section Placement Macros project property to be FLASH_START=0x08002000.