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

How to use in switch_demo project SPI library from ESP32? #15

Open
AkagePiero opened this issue Jan 17, 2025 · 1 comment
Open

How to use in switch_demo project SPI library from ESP32? #15

AkagePiero opened this issue Jan 17, 2025 · 1 comment

Comments

@AkagePiero
Copy link

AkagePiero commented Jan 17, 2025

I want to use the in the project switch_demo SPI library from ESP32 . Is there any easy way to connect all dependent files via CMAKE to work with ESP32? I tried to add all paths manually using recursion, but the compiler can't handle so many paths. How to link a project with a Cmake file from ESP-IDF?
I work on Linux.

@KyleDeng
Copy link

I want to use the in the project switch_demo SPI library from ESP32 . Is there any easy way to connect all dependent files via CMAKE to work with ESP32? I tried to add all paths manually using recursion, but the compiler can't handle so many paths. How to link a project with a Cmake file from ESP-IDF? I work on Linux.

Thank you for your question.
Both OpenSDK and ESP-IDF compiler frameworks are deeply customized based on CMake, but they are not compatible.
Therefore, it is not possible to use each other's component source code directly through concise statements.
Consider using the source code and header files in SPI as part of switch_demo.
It's a little difficult to use this way.

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

2 participants