6 years, 1 month ago.

Error: Identifier "RCC_APB2Periph_TIM9" is undefined in "main.cpp" with STM32 Discovery board F429I

Hi,

Im trying to get the following code here, (code pasted here)which was written to work on a very similar board, to work on the F429I Discovery board.

Ive started by bringing it into the mbed online compiler and adding the necessary libraries. #include "LCD_DISCO_F429ZI.h" and #include "mbed.h"

I am now trying to find the equivalent to the STM32F4 TIMER 9. (Of course this also goes for RCC_AHB1Periph_GPIOE, GPIO_Pin_5 | GPIO_Pin_6 etc. )

My question is, how do I go about figuring out how to 'port' this over to the F429I Disco. board? Im having a hard time finding out information about RCC_APB2Periph_TIM9 and what the equivalent would be.

I thought I would post this as I work through the datasheet, perhaps someone has a good suggestion

EDIT: So I've realized that the STM32 HAL API has replaced the legacy StdPeriph library. Is there anyway to use the StdPeriph libraries in the mbed online compiler?

many thanks in advance

Jesse

Be the first to answer this question.