-
Notifications
You must be signed in to change notification settings - Fork 7k
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
fatal error: semaphore.h (IDFGH-10281) #11540
Comments
@RuslanSpartak Could you please clarify this part of the issue report:
Which project do you get this error with? Can the error be reproduced using one of the example projects in ESP-IDF? If the error can only be reproduced with a custom project, please attach enough information to allow us to reproduce the issue. Also this part:
Is that really the case? The logs mention RISC-V toolchain, which is not supposed to be used for the ESP32. |
@RuslanSpartak would you mind trying the following patch? We have an issue that looks like it's related and we're working on fixing it. |
|
@RuslanSpartak The comments from @igrr are still valid, actually. When investigating issue reports, more specific information is very helpful for us to re-create the issue on our side. It's coincidence that we discovered the same (or similar looking) error in a different context just today and could come back quickly here.
Unzip it. Then use Alternatively, you can go to https://github.com/espressif/esp-idf/blob/master/components/cxx/CMakeLists.txt#L4 (in your IDF repository) and change the line to: |
Thanks. I know how to do it. It worked. |
Fix from 0xjakob is working. |
Answers checklist.
IDF version.
v5.2-dev-823-g903af13e84-dirty
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom board with esp32
Power Supply used.
External 5V
What is the expected behavior?
Project is built
What is the actual behavior?
Can't build the project
Steps to reproduce.
Debug Logs.
No response
More Information.
The text was updated successfully, but these errors were encountered: