AnsweredAssumed Answered

STM32f4 Discovery- standart peripherial labrary

Question asked by itkin.tal on Mar 9, 2014
Latest reply on Mar 10, 2014 by Andrew Neil
Hi,
I have downloaded the STM32F4xx_DSP_StdPeriph_Lib_V1.3.0
which contains the standart peripherial labrary and examples:

Im trying to study  GPIO & TIM using this examples....
I understand the code and the architecture but no success in buiding and running these examples.

Im using Keil uVision5.

for example: theTIM_PWM example is attached and contains the following files:

  - TIM/TIM_PWMOutput/system_stm32f4xx.c   STM32F4xx system clock configuration file
  - TIM/TIM_PWMOutput/stm32f4xx_conf.h     Library Configuration file
  - TIM/TIM_PWMOutput/stm32f4xx_it.c       Interrupt handlers
  - TIM/TIM_PWMOutput/stm32f4xx_it.h       Interrupt handlers header file
  - TIM/TIM_PWMOutput/main.c               Main program
  

what should I do to make it run?
it seems that additional includes are needed...I tried to add some h files from the labrary with no success.
the stm32f4 discovery board is selected sinces I used the blinky example platform for this avaluation board and replaced the main.c file

Hope to get some help....






Attachments

Outcomes