EasyLogger Error: no such instruction: `wfi'
sychen12345 opened this issue · comments
你好,博主,能否提供一个集成到cmake,自己的Linux项目的示例呀,我把你的.h 和.cpp都复制到我自己的项目里,然后用cmake编译就出现这种问题了。
Error: no such instruction: wfi' /home/chen/libevent_server/third_party/include/core_cm3.h:1212: Error: no such instruction:
wfe'
third_party/CMakeFiles/easylogger.dir/build.make:989: recipe for target 'third_party/CMakeFiles/easylogger.dir/src/stm32f10x_pwr.c.o' failed
make[2]: *** [third_party/CMakeFiles/easylogger.dir/src/stm32f10x_pwr.c.o] Error 1
CMakeFiles/Makefile2:205: recipe for target 'third_party/CMakeFiles/easylogger.dir/all' failed
linux 有现成的 demo 哈,你对着 Makefile 看下,文件很少的