STM32F0xx Standard Peripherals Firmware Library: TrueSTUDIO Project Template for STM32F0xx devices

STM32F0xx Standard Peripherals Library

TrueSTUDIO 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 Peripherals
  *          Library and working with TrueSTUDIO 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
  • .cproject/.project: A pre-configured project file with the provided library structure that produces an executable image with TrueSTUDIO.
  • stm32_flash.ld: This file is the TrueSTUDIO linker script used to place program code (readonly) in internal FLASH and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
How to use it ?
  • Open the TrueSTUDIO toolchain.
  • Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace directory.
  • Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next".
  • Browse to the TrueSTUDIO workspace directory and select the project:
    • STM32F051: to configure the project for STM32F051 devices.
    • STM32F031: to configure the project for STM32F031 devices.
    • STM32F030: to configure the project for STM32F030 devices.
    • STM32F072: to configure the project for STM32F072 devices.
    • STM32F042: to configure the project for STM32F042 devices.
    • STM32F091: to configure the project for STM32F091 devices.
  • Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu.
  • Run program: Select the project in the "Project explorer" window then click Run->Debug (F11)
Note:
The needed define symbols for this config are already declared in the preprocessor section.

© COPYRIGHT STMicroelectronics

STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32