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

RP2040 Support #32

Open
nathanbern opened this issue Dec 27, 2023 · 1 comment
Open

RP2040 Support #32

nathanbern opened this issue Dec 27, 2023 · 1 comment

Comments

@nathanbern
Copy link

Does this library support the RP2040? I could not find anything in the code that suggests it doesn't, but would prefer to have a solid answer.

Thanks

@Poofjunior
Copy link

Poofjunior commented Jan 16, 2024

Yes, this is possible. You would need to redefine your own "Arduino.h" file, implement the missing functions with an RP2040-related implementation, and then point AccelStepper to it during compilation.

I have an in-progress project built with the pico-sdk that does just that. (Compiles. Still in progress.) Feel free to reference the folder structure here. The most valueable bits for adapting to your project are probably the CMakeLists.txt and the Arduino.h file.

Cheers--and happy hacking.

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