Replies: 5 comments 9 replies
-
Which OS?
What is going wrong? Setting up VSCode or loading the project?
I am using the RP2040 SDK for the driver, not the Arduino framework. I do not know if it is possible to support the Arduino framework alongside the SDK code and how much work it would be to get that working.
PlatformIO does not support the Pico SDK so cannot be used.
There are instructions on the internet for setting up VScode for different OSes. I am using a Raspberry Pi 400 for development - setting that up was simple, basically running the RPi installation script. |
Beta Was this translation helpful? Give feedback.
-
@terjeio |
Beta Was this translation helpful? Give feedback.
-
I am having a problem figuring this out. How is the SDK implemented? I tried cloning from Github into the build folder but got an empty repo. I downloaded the zipped repository and extracted the files into a directory (RP2040/pico-sdk) where my files for this are located. When I tried to build the file, I get the error: SDK location not specified, Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT. Found these things in CMakeCache.txt. Got the path set, then got an error that toolchain path not specified. That seems to need to be RP2040/pico-sdk/cmake/preload/. Next error was in finding the compiler. I downloaded and unzipped the tarball for gcc-arm-none-eabi but I'm getting the error message "gcc-arm-none-eabi-gcc" not found. This is a lot harder than I thought it would be. Is there any step by step instruction? |
Beta Was this translation helpful? Give feedback.
-
Already had VSCode on my laptop. I updated it and installed the RPi Pico extension, loaded the blink example and tried to build. Got the same error message "cant open stdlib.h" |
Beta Was this translation helpful? Give feedback.
-
Thanks Terjeio, I appreciate what you do here. This is just frustrating. Anyway, for people who are facing the same issues, I will continue documenting my efforts. |
Beta Was this translation helpful? Give feedback.
-
I see that the RP2040 grblHAL project is noted as a VScode project. I keep looking for some directions to setup the grblHAL/RP2040 project in VScode (free version) so I can make my own pin and machine settings, but I have not had any luck. I am new to VScode with only a PlatformIO setup for programming other projects on the RP2040, so I am probably overlooking the obvious. However, I have also tried to import into the Arduino IDE without any luck when I try to apply the import .ZIP suggestions noted.
I saw some instructions for PlatformIO with the core grblHal, but again I fell short of success trying to convert those instructions to the pico version.
In the end, what I need is to be able to tweak the pin and machine settings for a breadboard version with the pico before I move on to implementation of the pico on my custom control board. Any pointers to existing instructions and/or the simplest approach to basic config settings?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions