STM32F0xx Standard Peripherals Firmware Library
|
MDK-ARM Project Template for STM32F0xx devices
******************** (C) COPYRIGHT 2014 STMicroelectronics ******************* * @file readme.txt * @author MCD Application Team * @version V1.4.0 * @date 24-July-2014 * @brief This sub-directory contains all the user-modifiable files * needed to create a new project linked with the STM32F0xx * Standard Peripheral Library and working with RealView Microcontroller * Development Kit(MDK-ARM) software toolchain ****************************************************************************** * * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.st.com/software_license_agreement_liberty_v2 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ******************************************************************************
- Directory contents
- Project.uvproj/.uvopt: A pre-configured project file with the provided library structure that produces an executable image with MDK-ARM.
Enabling "Options for Target — Output – Browser Information" is useful for quick source files navigation but may slow the compilation time.
- How to use it ?
- Open the Project.uvproj project
- In the build toolbar select the project config:
- STM32F051: to configure the project for STM32F051 devices. You can use STMicroelectronics STM320518-EVAL or STM32F0-Discovery board to run this project.
- STM32F031: to configure the project for STM32F031 devices. You need to use custom HW board to run this project.
- STM32F030: to configure the project for STM32F030 devices. You can use STM32F0308-Discovery board to run this project.
STM32F072: to configure the project for STM32F072 devices. You can use STMicroelectronics STM32072B-EVAL or STM32F072B-Discovery.
- STM32F042: to configure the project for STM32F042 devices. You need to use custom HW board to run this project.
- STM32F091: to configure the project for STM32F091 devices. You can use STMicroelectronics STM32091C-EVAL.
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
- Note:
- The needed define symbols for this config are already declared in the preprocessor section: USE_STDPERIPH_DRIVER, STM32F0XX, USE_STM320XXX_EVAL