![](images/stmicroelectronics.png)
STMicroelectronics Nucleo-F302R8 Board Support Package
This package contains project templates, system files and example programs for the STMicroelectronics Nucleo-F302R8.
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 Nucleo-F302R8 Board Support Package 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 Nucleo-F302R8 Board Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, install the following packages:
- Download the file ST_Nucleo_F302R8.hzq 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 Nucleo-F302R8 Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
3.2
- Changes caused by STM32 CPU support package version 3.7.
3.1
- Added SetSysClock() constructor function to STM32_ctl_board.c.
3.0
- Initial release for CrossWorks 3.
Documentation
Using the ST_Nucleo_F302R8 Project File
You should download and install the STM32 Nucleo Board Firmware Application Package from the STMicroelectronics website.
You should set the CrossWorks global macro STM32_Nucleo_FW to the STM32 Nucleo Board Firmware Application Package installation directory using the "Project | Macros" dialog for example STM32_Nucleo_FW=E:/Downloads/stsw-stm32143/STM32_Nucleo_FW_V1.2.0
The template project file (click to load project) for the ST_Nucleo_F302R8 is provided.
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.
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.