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

Can't build binaries for ESP32S2 #137

Open
covalspace opened this issue Sep 4, 2023 · 0 comments
Open

Can't build binaries for ESP32S2 #137

covalspace opened this issue Sep 4, 2023 · 0 comments

Comments

@covalspace
Copy link

Provided binaries don't work for ESP32S2

I tried to build binaries with ESP32S2 target but I'm getting this error:

Compilation failed because cmd_router.c (in "cmd_router" component) includes driver/rtc_io.h, provided by driver component(s).
However, driver component(s) is not in the requirements list of "cmd_router".
To fix this, add driver to PRIV_REQUIRES list of idf_component_register call in /Users/usr/esp/esp32_nat_router-master/components/cmd_router/CMakeLists.txt.
HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include <inttypes.h> header file).

Still get the same error even when I add PRIV_REQUIRES driver to CMakeLists.txt in /cmd_router/CMakeLists.txt and/or add inttypes.h to cmd_system.c and replace format specifiers to 'PRI'-family macros

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

1 participant