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

[Bug]: PlatformIO without SINGLE_THREADED causes fatal error: semphr.h: No such file #7533

Closed
gojimmypi opened this issue May 14, 2024 · 1 comment
Assignees
Labels

Comments

@gojimmypi
Copy link
Contributor

Contact Details

No response

Version

latest master

Description

While working on #7528 I discovered a new problem with the PlatformIO build of wolfSSL.

The problem seems manifested itself only when SINGLE_THREADED is not defined in the user_settings.h.

Temporary workaround: ensure this line is in the user_settings.h:

#define SINGLE_THREADED

Reproduction steps

build the latest test example in the staging preview of the PlatformIO library:

https://registry.platformio.org/libraries/wolfssl-staging/wolfSSL

Relevant log output

Compiling .pio\build\esp32dev\bootloader_support\src\bootloader_common_loader.o
In file included from src/main.c:1:
.pio/libdeps/esp32dev/wolfSSL/src/wolfssl/wolfcrypt/settings.h:1119:18: fatal error: semphr.h: No such file or directory

****************************************************************
* Looking for semphr.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:semphr.h"
* Web  > https://registry.platformio.org/search?q=header:semphr.h
*
****************************************************************

 1119 |         #include "semphr.h"
      |                  ^~~~~~~~~~
compilation terminated.
Compiling .pio\build\esp32dev\bootloader_support\src\bootloader_clock_init.o
*** [.pio\build\esp32dev\src\main.o] Error 1
=================================================================== [FAILED] Took 35.35 seconds 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant