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

When using esp-idf, files embedding process works little different that current docs suggest #282

Open
AgainPsychoX opened this issue Jan 3, 2023 · 0 comments

Comments

@AgainPsychoX
Copy link

See https://docs.platformio.org/en/latest/platforms/espressif32.html#embedding-binary-data (sources at https://github.com/platformio/platformio-docs/blob/develop/frameworks/espidf_extra.rst).

The docs suggest using _binary_src_ prefix (to compensate for src/ folder) in externs for the embedded data labels. Meanwhile (at least for me) generated files and labels do not include the src_ prefix, just _binary_ alone.

The solution might need some refining (and confirmation) I guess. I am not confident with PlatformIO / esp-idf myself, but I am posting it here (as an issue) so maybe other, more knowledgeable people could look at it. Anyway, it works for me ;)

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