Page 1 of 1

STM32F407/New Keil Project from F303/DMA driver problem

Posted: Thu Dec 29, 2016 9:22 pm
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

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

Posted: Thu Dec 29, 2016 10:19 pm
by Giovanni
Hi,

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

Giovanni

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

Posted: Thu Dec 29, 2016 10:49 pm
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