Page 1 of 1

Using GPTD2

Posted: Mon Sep 05, 2016 1:42 pm
by alexblack
Hi.
I want to use GPTD2 in my project. I using classic periodic tick mode (#define CH_CFG_ST_TIMEDELTA 0). But when I compile the project there is an error:

Code: Select all

Error: L6200E: Symbol VectorB0 multiply defined (by stm32_tim.o and hal_gpt_lld.o).

It must be some condition defines to make it work.

Re: Using GPTD2

Posted: Mon Sep 05, 2016 2:49 pm
by Giovanni
Hi,

Remove stm32_tim.c from your project, that file is not used yet and not part of makefiles.

Giovanni

Re: Using GPTD2

Posted: Mon Sep 05, 2016 7:04 pm
by alexblack
That's exactly what I did.