This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with CMSIS Driver on ST32F103C?

Hello, introduces the new features MDK-ARM 5 and indeed Cortex processors from ST.
If I let the IDE generate a project with STM32F103C6 by ticking the support of RTX and GPIO. Then using User Code Template I generate CMSIS-RTOS 'main' funcion to which you add # include "stm32f10x.h"
This skeleton project goes smoothly compile.
But if, for example, will add support for I2C Driver, it requires DMA driver by RTE Drivers for STM32F1 Serie compilation of the skeleton has 12 finishes errors.
For example
C:\Keil\ARM\PACK\Keil\STM32F1xx_DFP\1.0.2\RTE_Driver\DMA_STM32F10x.c(92): error: #20: identifier "RCC_AHBENR_DMA2EN" is undefined RCC->AHBENR |= RCC_AHBENR_DMA2EN;
RTE wants to use for the transmission of the I2C DMA2 and RCC_AHBENR_DMA2EN to turn on the clock for DMA2, unfortunately somehow lacks definition.
What I'm doing bad?

Are the examples using the RTE, CMSI Driver concept for STM32F family?

Parents Reply Children