cancel
Showing results for 
Search instead for 
Did you mean: 

DBGMCU_Config command is not working

yaniv1982
Associate II
Posted on August 29, 2012 at 11:22

I use this command DBGMCU_Config(DBGMCU_IWDG_STOP, ENABLE);

I added &sharpinclude ''stm32f10x_dbgmcu.h'' in the include list.

I also see stm32f10x_dbgmcu.h in STD Library.

But it's not working !

I get a linker error:

no definition for ''DBGMCU_Config''

Error while running Linker 

The compiler is IAR ver 6.10

What shuld I do in order to solve this problem ?

Thanks

Yaniv

#dbgmcu_config
1 REPLY 1
frankmeyer9
Associate II
Posted on August 29, 2012 at 11:53

I use this command DBGMCU_Config(DBGMCU_IWDG_STOP, ENABLE);

 

It is not a command, but a function you call.

I added #include ''stm32f10x_dbgmcu.h'' in the include list.

 

...

 

But it's not working !

 

I get a linker error:

 

That's normal. You need to add the implementation of this function, too.

This is in ''stm32f10x_dbgmcu.c''. Add this file to your project, and it should work.