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

platformio library #21

Open
cooked opened this issue Dec 5, 2021 · 1 comment
Open

platformio library #21

cooked opened this issue Dec 5, 2021 · 1 comment

Comments

@cooked
Copy link

cooked commented Dec 5, 2021

I'm wondering if this is something in the pipeline?
I've been using the TMC-API for quite some time now with the platformio environment and I like to keep the reference to the full repo tree (for the sake of keeping it up to date) instead of fishing out only the code I need.
However doing it this way platformio always compiles all the files in the lib, needless to say throwing a lot of errors.

I've made a fork where I created a library.json so that using the platformio library manager ( lib_deps = ) I get the desired behavior (see https://github.com/cooked/TMC-API/blob/master/library.json where I included only the files needed to work with the TMC2209)
The approach is not "flexible" yet, more of a proof of concept, so I'm wondering if there's interest in supporting it or someone else is facing similar situation.

@trinamic-ASU
Copy link
Contributor

We have started to rework TMC-API(more info is available here).

With the reworked implementation, one only needs to copy the folder of the IC they are using. For example in your case, you just need TMC-API/tmc/ic/TMC2209 folder.

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