2009-02-19 01:17 AM
PWR_EnterSTOPMode function usage in C++
2011-05-17 04:03 AM
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.