Using GPTD2

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

Moderator: RoccoMarco

Post Reply
alexblack
Posts: 277
Joined: Mon Sep 24, 2012 3:52 pm
Been thanked: 33 times

Using GPTD2

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Using GPTD2

Post by Giovanni »

Hi,

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

Giovanni
alexblack
Posts: 277
Joined: Mon Sep 24, 2012 3:52 pm
Been thanked: 33 times

Re: Using GPTD2

Post by alexblack »

That's exactly what I did.
Post Reply