DMA002 and DMA003 bulding error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,
I found some problem with project build where are DMA002 and DMA003 together...
I created new Dave project (MCU: XMC4500-F144x1024 AB), added DMA002 (version 1.0.20 ) and DMA003 (version 1.0.18) without any changes in settings, ran solver and try to build, builder returns error:

/../../inc/DMA002/DMA002.h:217:3: error: unknown type name 'NVIC_DMA001_HandleType'

, but type definition of "NVIC_DMA001_HandleType" is included in "../../inc/NVIC_DMA001/NVIC_DMA001.h" and all seems correct.

I find that solution is to comment line "#include " in "../../inc/NVIC_DMA001/NVIC_DMA001.h", but I don't know why this problem happens. Is it any mistake in DMA001 source code??

Thanks for the reply.

Panx
0 Likes
2 Replies
Not applicable
Hi Panx,

DMA002 used to perform multi-block transfers whereas DMA003 is for single block transfers. Both consume NVIC_DMA001 App. You suppose not to use both of them in one project.

BR,
Zain
0 Likes
Not applicable
Hi,

Indeed, DMA002 and DMA003 can be used together in a project.
Including DAVE.h should be avoided in NVIC_DMA001.h. Pls follow up with the eTicket 971657950.

Best regards,
Sophia
0 Likes