STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates

STMicroelectronics STM32F4xx DSP and Standard Peripherals Library Updates

CrossWorks Version 1 Installation Instructions

To install this support package
  1. Download the file stm32f4xx_dsp_stdperiph_lib_updates.hzr using your web browser.
  2. Click the Tools > Install Package menu option.
  3. Select the file you have just downloaded to install the package.
To install this support package using other versions

Release Notes




1) Installation

You should download and install 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:

After the required project file is loaded:

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.