STM32F407/New Keil Project from F303/DMA driver problem

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
MySOL93
Posts: 5
Joined: Thu Dec 29, 2016 9:06 pm
Has thanked: 2 times

STM32F407/New Keil Project from F303/DMA driver problem

Post by MySOL93 »

Dear friends!

Please help with the following problem:
Create a new project for STM32F407 from F303 template. In file stm32_registry.h for stm32f4 is missing definition of STM32_DMA_SUPPORTS_CSELR/STM32_DMA1_NUM_CHANNELS/STM32_DMA2_NUM_CHANNELS unlike in the same file for stmf3. This difference results in an error "STM32_DMA_SUPPORTS_CSELR not defined in registry" and etc from DMA driver (stm32_dma.h).
What can i do here? Thank you.

With respect,
Artem Maslov
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F407/New Keil Project from F303/DMA driver problem

Post by Giovanni »

Hi,

Make sure to take a makefile from an F407 project, it uses a different DMA, check the paths.

Giovanni
MySOL93
Posts: 5
Joined: Thu Dec 29, 2016 9:06 pm
Has thanked: 2 times

Re: STM32F407/New Keil Project from F303/DMA driver problem

Post by MySOL93 »

Giovanni wrote:Hi,

Make sure to take a makefile from an F407 project, it uses a different DMA, check the paths.

Giovanni


Solved! Thank you
Post Reply