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
cpu/esp32: activate cpp feature #11922
Conversation
@cladmi, @kaspar030 Since someone was asking for using However, to avoid that module
Unfortunatly, static tests fail with
How should I realize this dependency? Or should I add module |
@cladmi @kaspar030 If it isn't allowed to evaluate |
@gschorcht you should filter with RIOT/dist/tools/buildsystem_sanity_check/check.sh Lines 38 to 41 in a9ab9d3
The issue with using
Line 35 in a9ab9d3
|
@cladmi Ah, thanks, I will try. |
Adds module pthread and the libstdc++ to linked libraries to solve the problem with unresolved symbols when feature cpp is required.
@cladmi Works in that way, thanks again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with the CPP example application, and also the cpp11_*
tests are working, on a esp32-wroom-32 board. ACK.
@leandrolanzieri Thanks for testing and merging |
Contribution description
This PR activates the C++ feature for ESP32 boards. It simply adds the pthread module and libstdc++ to linked libraries to solve the problem of unresolved symbols when feature cpp is required.
Testing procedure
Compile and flash
examples/riot_and_cpp
, for exampleto test the device with a C++ application.
Issues/PRs references