cancel
Showing results for 
Search instead for 
Did you mean: 

PWR_EnterSTOPMode function usage in C++

bsd040
Associate II
Posted on February 19, 2009 at 10:17

PWR_EnterSTOPMode function usage in C++

1 REPLY 1
bsd040
Associate II
Posted on May 17, 2011 at 13:03

I am writing a firmware for STM32F10x microcontroller in C++.

I have a problem with my project:

When I use PWR_EnterSTOPMode function in my code, in order to enter to STOP mode, the C++ linker gives me the following error messages:

Error[Li005]: no definition for ''__WFI()'' [referenced from D:\MyProject\Debug\Obj\stm32f10x_pwr.o]

Error[Li005]: no definition for ''__WFE()'' [referenced from D:\MyProject\Debug\Obj\stm32f10x_pwr.o]

There were no such problems with the C compiler/linker.

Please, help.