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

STM32F0xx Standard Peripherals Library

EWARM 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 IAR Embedded Workbench for ARM (EWARM)
  *          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 .ewd/.eww/.ewp : A pre-configured project file with the provided library structure that produces an executable image with EWARM.
  • stm32f0xx_flash.icf : STM32F051 devices Linker configuration file 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. This file is mainatained for legacy purpose
  • stm32f0xx_ram.icf : STM32F051 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need. This file is mainatained for legacy purpose
  • stm32f051_flash.icf : STM32F051 devices Linker configuration file 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.
  • stm32f051_ram.icf : STM32F051 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
  • stm32f0xx_ld_flash.icf : STM32F031 devices Linker configuration file 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. This file is mainatained for legacy purpose
  • stm32f031_flash.icf : STM32F031 devices Linker configuration file 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.
  • stm32f031_ram.icf : STM32F031 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
  • stm32f030_flash.icf : STM32F030 devices Linker configuration file 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.
  • stm32f030_ram.icf : STM32F030 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
  • stm32f072_flash.icf : STM32F072 devices Linker configuration file 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.
  • stm32f072_ram.icf : STM32F072 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
  • stm32f042_flash.icf : STM32F042 devices Linker configuration file 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.
  • stm32f042_ram.icf : STM32F042 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
  • stm32f091_flash.icf : STM32F091 devices Linker configuration file 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.
  • stm32f091_ram.icf : STM32F091 devices Linker configuration file used to place program code (readonly) and data (readwrite, Stack and Heap)in internal SRAM. You can customize this file to your need.
How to use it ?
  • Open the Project.eww workspace.
  • In the workspace 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 STM32F031devices. You need to use custom HW board to run this project.
  • STM32F030: to configure the project for STM32F030 devices. You can use STMicroelectronics STM320518-EVAL or 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
  • Load project image: Project->Debug
  • Run program: Debug->Go(F5)
Note:
The needed define symbols for this config are already declared in the preprocessor section: USE_STDPERIPH_DRIVER, STM32F0XX, USE_STM320XXX_EVAL

© COPYRIGHT STMicroelectronics

STM32L1xx Standard Peripherals Library: Footer

 

 

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