Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyLogger Error: no such instruction: `wfi' #114

Open
sychen12345 opened this issue Apr 26, 2022 · 3 comments
Open

EasyLogger Error: no such instruction: `wfi' #114

sychen12345 opened this issue Apr 26, 2022 · 3 comments

Comments

@sychen12345
Copy link

你好,博主,能否提供一个集成到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

@armink
Copy link
Owner

armink commented Apr 26, 2022

linux 有现成的 demo 哈,你对着 Makefile 看下,文件很少的

@sychen12345
Copy link
Author

sychen12345 commented Oct 11, 2022 via email

@sychen12345
Copy link
Author

sychen12345 commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants