STMicroelectronics STM32L152C_DISCOVERY Board Support Package

This package contains project templates, system files and example programs for the STMicroelectronics STM32L152C_DISCOVERY.

CrossWorks Version 4 Installation Instructions

To install this support package
  1. Click the Tools > Package Manager menu option to open the package manager window.
  2. Right click on the STMicroelectronics STM32L152C_DISCOVERY Board Support Package entry and select Install Selected Packages.
  3. Click Next to take you to the summary page.
  4. Click Next to install the package.
  5. Click Finish to close the package manager window.
  6. Click the Tools > Show Installed Packages.
  7. Click on the STMicroelectronics STM32L152C_DISCOVERY Board Support Package link to view the package and its contents.
To manually install this support package
  1. If you have not done so already, install the following packages:
  2. Download the file ST_STM32L152C_DISCOVERY.hzq using your web browser.
  3. Click the Tools > Manually Install Packages menu option.
  4. Select the file you have just downloaded to install the package.
  5. Click the Tools > Show Installed Packages.
  6. Click on the STMicroelectronics STM32L152C_DISCOVERY Board Support Package link to view the package and its contents.
To install this support package using other versions

Release Notes

3.1

3.0

2.1

2.0

Documentation

Using the STM32L152C-Discovery_FW Project File

You should download and install the STM32L1-Discovery-FW from the STMicroelectronics website.

You should set the CrossWorks global macro STM32L1_DISCOVERY_FW to the STM32L1-Discovery-FW installation directory using the "Project | Macros" dialog for example STM32L1_DISCOVERY_FW=E:/Downloads/STM32L1_Discovery_Firmware_Pack_V1.0.3

The template project file (click to load project) for the STM32L1-Discovery_FW is provided.

After the required project file is loaded:

Using the FreeRTOS Sample Project File

You can use the right click context menu in the solution node of the project explorer and select Save Solution As.. to specify a project filename to save as. You can then right click on the FreeRTOS folders, select Convert To Regular Folder and then use Import to get project local copies of the file(s) that you wish to modify.