Include Pico SDK? #189
-
Hi and first of all thank you for this project. I would like to use some functions of the original API like accessing registers and getting some more control to maybe port some libraries. How would I go about including the SDK to my project? I can't even manage to find the place where the arduino functions are mapped to the SDK. Thats how it works right? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's already in there. Just |
Beta Was this translation helpful? Give feedback.
-
It's part of the install. The repo has a "pico-sdk" directory which is just a git submodule of the official Pico-SDK. Your code doesn't need to worry about it, the core automatically adds the necessary include paths. Other than any conflicts between your calls and the core's infrastructure, I don't see any big issue. If you want to really understand what's going on, you should probably go with |
Beta Was this translation helpful? Give feedback.
It's part of the install. The repo has a "pico-sdk" directory which is just a git submodule of the official Pico-SDK. Your code doesn't need to worry about it, the core automatically adds the necessary include paths. Other than any conflicts between your calls and the core's infrastructure, I don't see any big issue.
If you want to really understand what's going on, you should probably go with
git clone
(see readme) vs. the IDE GUI install, simply because you control things 100% in that case. But either way, most Pico-SDK should "just work."