Wow. That's a lot of configurations you had to go through. Thanks for going through all this hassle so that it is easy for people after you. You really are an expert. PS... your KiCAD videos are some of the best tutorials on all of UA-cam.
It is pretty involved :) There's also the option of using PlatformIO that I didn't mention (community.platformio.org/t/official-platformio-arduino-ide-support-for-the-raspberry-pi-pico-is-now-available/20792). It allows you to use the Arduino framework (built on top of mbed OS for the Pico) within VS Code. I'm glad to hear you enjoyed the KiCad series, thank you!
Arduino IDE makes it so much easier. The philhower iii core for the pico is king. It does not need to be this involved, but for some reason certain people refuse to show the public the easy way.
For a newbie that just bought his pico 5 days ago and have no prior code experience this was a struggle to get through. The failures I encountered were my own fault but I finally got that little green booger to flash!
Cmake is incredibly useful when managing long term support code bases This helps us having a detailed control in compilation process to avoid deviations when compiling code updates If you dont care about it (non professional targets) then just use micro python
@ Yes, the Arduino IDE allows you to program in pure C, but with some caveats. The Arduino framework is built around C++, and it provides many convenient abstractions, libraries, and functions (like setup() and loop()) to simplify development.
Is it worked in windows 10. when i run the blink program some errors are coming like unknown cmake command cmake _minimum_required not found. what u got terminal output. if u got no errors please tell me how u get it.
This is cool, I followed the directions except I used cpp and a D: drive, just a couple little hick-ups of my own doing, but easily solved. Great Video, worked like a champ. Had some failed attempts with other tutorials, this just worked... This video is a jewel among all the Python, python, python everywhere I look python..... Thanks Shawn...
For anyone getting into this now Raspberry Pi has an official VScode extension that simplifies this. It's in pre-release and made getting to blinky super easy.
your advice totally helped - it was so much easier to use the VS Code Extension: Raspberry Pi Pico v0.14.0 (pre-release) - it has a fillable form to make the build files and config - perfect for noob like myself
Only when it works... BUT for some pico boards it is nightmare a it is imposible to upload program. Maybe some problem with OpenOCD.. but i dont know. All forum answers not working. GOLD arduino
I followed your guide to use MinGW because the normal way I just could not get working! Thank you so much for that excellent guide, now all is working well.
already started going ahead setting up picoprobe. thanks for the great intro. I'll probably be returning to the kicad tutorials when I get around to making my project more permanent
Apparently the site has changed, because when I go to the "documentation" tab at the bottom of the raspberry pi pico site (as seen 0:45) it no longer leads to the tutorial site but just to some documents. And if I type in the link directly as shown in the video, it just redirects to raspberry pi's documentation search site. Any information about where I can find the same info/site as shown in the video here?
Thanks for the video!!! I have a question that I still can't solve, how can I set in visual code a different RP2040 based board, such as the adafruit feather. Thank you very much.
If you want this on windows, the documentation links to a github project that automates all of this. I'm trying it out now, but see section 9.2. Building on MS Windows
Thanks for the overview! C seems much better than Python for most realistic microcontroller applications, so good to show that. I'm looking forward to part 2 with debug, I assume using a second pico as hardware debug interface? I used to be annoyed with the rubber room and straightjacket of the Arduino IDE, but cmake setup can be complex at the other extreme. Thanks for demonstrating that. Maybe we'll get better tools to do that.
I'm having trouble following: at about 11:40, you say "at the bottom, select the 'kit' button ...". I don't have that at the bottom. What makes that button appear? Thanks! I was following OK up to that step.
Thank you bro amazing tutorial!! With your I got the basic idea and did it as u said and managed to get it working. Afterwards I managed to set it up with Visual Studio 2022 IDE (because I like it more, Personal Preference) using its default cmake project (no visual GDB), had some experience beforehand with those Ninja and CMake things.
have you tried.?? is it worked.??? I tried in windows 10, it doesn't worked. Please tell me. Now im planning to use the method u told. Please tell me your method worked.???
Great video! I have started to get so frustrated of setting upp the build environment for the PI PICO. How hard can it be I tell myself and fail for the n:th time. So thank you for the input. I will take your advice and try again this evening...
Hi, yo no se programar apena voy empezando y no se porque compre esta placa. Y he buscado información clara y entendible, aún no Hgo tus pasos pero creo eres al primero que le entendí, gracias
hi, thank you verry much for this video. I work on Linux and I have a certain pb at the end of the part, when i copy and paste the .uf2 programm, it works, the led swtchs state between on and off but my pico disappeared from my usb. I mean i don't know where it is, i can not find it and when i use lsusb it is not detected... Someone can help me pls?
Even the pico documentation is out of date for the windows toolchain. Geez, I'll just go back to my attiny2313 on assembly, that was way easier to set up!
The configuration process reminded me of the uncountable frustrating hours trying to get into embedded coding with c++. I have left make files and manual compilation stuff behind me. Hope the Arduino Core gets more feature-complete in the next month. I think processor and manufacturer proprietary SDKs are terrible. you are forced to use a supported IDE and there are little documentation and examples online. It's just not productive.
Ok....so in order to make my cute little pico understand my language of choice i need a master degree in informatics. Is there an easy way as well like the platformio Add On for VS? Or did this also need the whole thing as well?
I've got two issues. 1) Make does not work on Git Bash. Error is "mingw32-make: *** [Makefile:90: all] Error 1" 2) I've editted includePath for VS Code, however when build the file I get a include path error. fatal error: pico/stdlib.h: No such file or directory #include "pico/stdlib.h"
The problem was that I had already a MinGW compiler in a different directory. I've removed it from my system and now I can make build files using Git bash. The second problem is about includePath. I've added C:/VSARM/sdk/pico/** and it's fixed.
thank you for a video, appreciated; now I know I shall keep away from Rp2040 since the setup complexity is on a border of pure madness. For example on LPCxpresso to dobtgecsame thing one must instal for example LpcXpresso IDE, or Keil uVision , with approx 30 example small projects included snd then choose Blinky project , click Build icon and then Debug and that’s it; program runs and led blinks and source code files are ready to furher editing.
hi guys...I follow exactly the instructions. But I make have this problem from the git bash terminal in vscode. Anyone can help me to resolve this problem? $ make 'C:/Program' is not recognized as an internal or external command, operable program or batch file. mingw32-make: *** [Makefile:90: all] Error 1
The problem programming in c/c++ sdk is that you wont get the convenience of using premade libraries for all different kinds of sensors out there as oppose to the Arduino IDE where almost every sensors and modules ever made there is a library for it.
I followed this to a T multiple times. It caused damage to my Ubuntu install and nothing will build for the 2040 anymore. Everything worked fine in the terminal until I tried to use this tutorial to use VS Code. Is there a single usable tutorial to get the pico sdk to function in an IDE??? Ideally without corrupting the laptop I use for all my work?
Hey man, I followed through with it according to your guide and all, but the problem is that whenever I start to code in main.c as you do, I get path error, like #include errors and cannot open source file "pico/stdlib.h". What yo do now man?
Hi Shawn, great videos. I'd like to see one about setting up Vscode to program in C and C++ on the raspberry pi and how to set up the launch, task files etc. Especially to bring in 3rd part libraries (like raylib).
I followed there instructions on my Mac OS which is using Monterey 12.5 unfortunately when I plug in the RP2040 I don't see any serial device under /dev. Holding boot select does work for uploading the .uf2 file though. Is there a missing driver for USB Serial on Mac?
Oh, how I miss those days when one simply installed Microsoft C (from floppies), #include a couple of header files and could write/compile/run ANSI C, literally as simple as that. Of course, there were make-file options for more complex programs, but all this messing around to get a printf(); and toggle a GPIO pin to work... crazy!
The Raspbery Pi 3 or 4 are not the same as the Raspbery Pi Pico. The Raspberry Pi runs a full operating system, like Linux, and is real computer. The Pico is a microcontroller that does not run an operating system like Linux.
@@cryptic121-c3f pretty much yes. If you want to write C/C++ on RPi 3 (or 4 or any other than the Pico for that reason) check out how to setup a C++ Toolchain on Linux (looking for a tutorial based on a debian based distro will prbly make it easier). It isn't too hard since Linux comes with GCC preinstalled. Coding on the Pi can be hard though since you usually don't have a comfortable IDE like vscode and need to stick to something like Vim that works via SSH, which takes some (a lot) time to get used to.
I follow the getting started guide.. the first 2 times everything ok.. now i think my raspberry is dead hehe. Any suggestions ??? I think buying one will be better haha
It does, but I've had issues with PlatformIO in the past. I struggle with getting custom board definitions set up. I know people love it, and if it has Pico support, I say go for it. I figured it might be fun ("fun" is a relative term ;) for some to set up the toolchain from scratch. I know I learned a ton by doing it.
@@shawnhymel7647 PlatformIO To be fair does sound a lot more intro than setting up the whole toolchain manually. It does have Arduino as the only available framework currently though, but I think that just means you need only not include Arduino.h and then its just C++ I think??
@@shawnhymel7647 I don't even have a pico. I use it on ESP32 and saves me a lot of hastle. VS Code + Platform IO is a good combination for many MCU and SBC projects. I love the dark mode theme for dev work. Arduino IDE screen is too harsh and loud.
@@BeefIngot You are correct--for just using PlatformIO, it's pretty easy. Once you include the Arduino framework, you can use C++ just like you would in the Arduino IDE. However, for the Pico, I *think* this means you're forced to use mbed OS (as that's now being shipped with the Arduino framework for the RP2040). I'm not 100% sure on that though. If so, it's a ton more overhead, especially if you don't need an RTOS.
thanks for the awesome video. When connect the Pico to usb in boot mode, in device manager i can not see the com number and it appears with an unkown device. after i drag i drop the uf2 file automaticallt pico starts blinking but this time it disconnets and i can not see even unknown device name. so i can not work with putty.
Hi Shawn, very nice video. I followed your steps and I got this message "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/pi/pico/pico-examples/blink/main.c)." I am using the raspberry pi. I hope you can help me to fix this, thanks!
@@grantpeterson2524 I have the same problem, something with how the PICO_SDK_PATH is configured in VSCode. I don't know how to solve it though. I'm stuck too. That part of the sdk setup and install tutorial was unclear.
Hello guy can anybody help me out i need to know WHERE in the datasheet of raspberry pi pico are the specs of general sink and source current of each input/output or groups of outputs, i have read it over and over and i cant find it, please help me out !
@@Steven-jf4cs Thank you for your reply I have done this but get and error in the extension configuration "Cannot find: /home/redchowder/pico/pico-examples/pico_w/blink/PICO_SDK_PATH}/ " . Its strange when I add the SDK_PATH to the environment variables and echo it, it will print the SDK_PATH. Soon as I open up a new terminal and try to echo the path I get a blank
The best way i can find to avoid the hassle is to use wsl in windows 10 and wslg in windows 11. It really streamlines the experience, specially with vscode supporting remoting into wsl...
No way to get it working. Plenty of errors. Unable to understand where to install SDK actually. And libraries, it complains constantly it can't find libraries. I do specified exactly folder with all, but no hope.
Stumbling block (for me anyway): CMake lists are space, not comma, separated! Accidentally using commas can create mysterious looking errors because the comma will be appended to the preceding name. I typed "pico_enable_stdio_usb(${PROJECT_NAME}, 1)" and got the error message: "set_target_properties Can not find target to add properties to: blink," Took a lot of head scratching before I finally noticed it was looking for "blink," instead of "blink".
Here's my 0.83 cents (ie a dime a dozen) idea. Program the Pico to be an 8-bit CPU (6502, Z80, or 6809). Then wire it to a Commodore 64, ZX Sinclair, or Tandy Color Computer, respectively.
Glad the board was only $5, without a raspberry pi 4 and using pc based Linux this was a huge waste of time. I understand why there are so few UA-cam videos of folks using this for anything but loading your "examples". I would have thought Digi-Key would understand the need for a simple/classic lib support and setup. KISS always wins in the end.
People who are finding it difficult . To understand the importance of Cmake Files: - Compile C++ code using terminal ( command line ) - Linked multiple files into one output ( linking ) Why install sdk and write code on PC : - install raspbian OS and vscode - Write code and run it you will find that writing code on PC and compiling for Raspberry pi is a 60 fps code writing decision :)
Wow. That's a lot of configurations you had to go through. Thanks for going through all this hassle so that it is easy for people after you. You really are an expert. PS... your KiCAD videos are some of the best tutorials on all of UA-cam.
It is pretty involved :) There's also the option of using PlatformIO that I didn't mention (community.platformio.org/t/official-platformio-arduino-ide-support-for-the-raspberry-pi-pico-is-now-available/20792). It allows you to use the Arduino framework (built on top of mbed OS for the Pico) within VS Code. I'm glad to hear you enjoyed the KiCad series, thank you!
If you compare it to modern programming languages indeed it is. But once you know them they are not so many
Arduino IDE makes it so much easier. The philhower iii core for the pico is king. It does not need to be this involved, but for some reason certain people refuse to show the public the easy way.
I was just a few hours ago browsing the raspberry pi pico and wondered if I could use it and still program in C, and now I see this video.
Indeed you should program it in C, otherwise you're losing a lot of performance off this platform.
For a newbie that just bought his pico 5 days ago and have no prior code experience this was a struggle to get through. The failures I encountered were my own fault but I finally got that little green booger to flash!
When you are starting with the Pico, the best option is Micro-python
way easier to install and use and is all what a newbie would need
Jesus... I thought the idea was to make coding easier these days. That setup was crazy,.
Cmake is incredibly useful when managing long term support code bases
This helps us having a detailed control in compilation process to avoid deviations when compiling code updates
If you dont care about it (non professional targets) then just use micro python
@@orgtyu That's a whole different language lol. If someone wants to program in C then learning this is crucial.
There is an easy way, he just does not want to show you the easy way. Use the Arduino IDE with the Philhower III core.
@@MandoRick1978 So this will allow me to program in pure C? I'm learning C programming so I can transition into microcontroller programming.
@ Yes, the Arduino IDE allows you to program in pure C, but with some caveats. The Arduino framework is built around C++, and it provides many convenient abstractions, libraries, and functions (like setup() and loop()) to simplify development.
You're the best. I couldn't find IDE for RP Pico, but with this tool chain and SDK, this is fantastic solution and very simple to setup on Win10.
Is it worked in windows 10. when i run the blink program some errors are coming like unknown cmake command cmake _minimum_required not found. what u got terminal output. if u got no errors please tell me how u get it.
This is cool, I followed the directions except I used cpp and a D: drive, just a couple little hick-ups of my own doing, but easily solved. Great Video, worked like a champ. Had some failed attempts with other tutorials, this just worked... This video is a jewel among all the Python, python, python everywhere I look python..... Thanks Shawn...
For anyone getting into this now Raspberry Pi has an official VScode extension that simplifies this. It's in pre-release and made getting to blinky super easy.
your advice totally helped - it was so much easier to use the VS Code Extension: Raspberry Pi Pico
v0.14.0 (pre-release) - it has a fillable form to make the build files and config - perfect for noob like myself
Ty so much for this, is truggled setting this up for many hours. Now it its working finally and i can start
Only when it works... BUT for some pico boards it is nightmare a it is imposible to upload program. Maybe some problem with OpenOCD.. but i dont know. All forum answers not working. GOLD arduino
Your web page and this video provided a working tool chain for the pico. Very usefull.
incredible video Digi-Key. I smashed the thumbs up on your video. Keep on up the fantastic work.
I followed your guide to use MinGW because the normal way I just could not get working! Thank you so much for that excellent guide, now all is working well.
already started going ahead setting up picoprobe. thanks for the great intro. I'll probably be returning to the kicad tutorials when I get around to making my project more permanent
Excellent tutorial 👍👍👍
Apparently the site has changed, because when I go to the "documentation" tab at the bottom of the raspberry pi pico site (as seen 0:45) it no longer leads to the tutorial site but just to some documents.
And if I type in the link directly as shown in the video, it just redirects to raspberry pi's documentation search site.
Any information about where I can find the same info/site as shown in the video here?
How did you get bash to inherit all the Windows paths and variables in VSCode?
Thanks for the video!!! I have a question that I still can't solve, how can I set in visual code a different RP2040 based board, such as the adafruit feather. Thank you very much.
Your videos are a life saver.
If you want this on windows, the documentation links to a github project that automates all of this. I'm trying it out now, but see section 9.2. Building on MS Windows
Thanks for the overview! C seems much better than Python for most realistic microcontroller applications, so good to show that. I'm looking forward to part 2 with debug, I assume using a second pico as hardware debug interface?
I used to be annoyed with the rubber room and straightjacket of the Arduino IDE, but cmake setup can be complex at the other extreme. Thanks for demonstrating that. Maybe we'll get better tools to do that.
You are correct...I'll show how to load the picoprobe firmware onto a second Pico to use it as a debugger in the next episode :)
I'm having trouble following: at about 11:40, you say "at the bottom, select the 'kit' button ...". I don't have that at the bottom. What makes that button appear?
Thanks! I was following OK up to that step.
Thank you bro amazing tutorial!! With your I got the basic idea and did it as u said and managed to get it working. Afterwards I managed to set it up with Visual Studio 2022 IDE (because I like it more, Personal Preference) using its default cmake project (no visual GDB), had some experience beforehand with those Ninja and CMake things.
I’d recommend WSL with VS Code for windows. Definitely more complex but well worth it
have you tried.?? is it worked.???
I tried in windows 10, it doesn't worked.
Please tell me. Now im planning to use the method u told.
Please tell me your method worked.???
Awesome as usual.
Great video! I have started to get so frustrated of setting upp the build environment for the PI PICO. How hard can it be I tell myself and fail for the n:th time. So thank you for the input. I will take your advice and try again this evening...
Followed your tutorial and at first I lost the port. I did a copy and paste of your code and now its working.
Please keep up the series of cpp for pico
Finally I was able to run my C program on pico, thanks. I was losing it.
Hi, yo no se programar apena voy empezando y no se porque compre esta placa. Y he buscado información clara y entendible, aún no Hgo tus pasos pero creo eres al primero que le entendí, gracias
hi, thank you verry much for this video.
I work on Linux and I have a certain pb at the end of the part, when i copy and paste the .uf2 programm, it works, the led swtchs state between on and off but my pico disappeared from my usb. I mean i don't know where it is, i can not find it and when i use lsusb it is not detected...
Someone can help me pls?
Excellent video. Thanks!
Lol this video is like telling someone it's easier to remove their teeth with a sledgehammer than dental tools.
Even the pico documentation is out of date for the windows toolchain. Geez, I'll just go back to my attiny2313 on assembly, that was way easier to set up!
The configuration process reminded me of the uncountable frustrating hours trying to get into embedded coding with c++. I have left make files and manual compilation stuff behind me. Hope the Arduino Core gets more feature-complete in the next month.
I think processor and manufacturer proprietary SDKs are terrible. you are forced to use a supported IDE and there are little documentation and examples online. It's just not productive.
Ok....so in order to make my cute little pico understand my language of choice i need a master degree in informatics.
Is there an easy way as well like the platformio Add On for VS? Or did this also need the whole thing as well?
Very good working
Must the installation be such complicated?
Isn't the PlatformIO better solution to just start, is it?
I don't know how can I use pico-playground folder. There was no information about that!
What is that blink???? How can i get it?
is the "C:\VSARM\mingw" intended or is it a typo for "C:\VSARM\minigw" (missing "i")?
It should be "mingw"
FYI "mingw" stands for "minimal gnu for windows"
I do this and everything is great but it does not create a uf2 file at all. why?
wow. That's so ridiculously complex I can't see many hobbyist doing all that.
I've got two issues.
1) Make does not work on Git Bash. Error is "mingw32-make: *** [Makefile:90: all] Error 1"
2) I've editted includePath for VS Code, however when build the file I get a include path error. fatal error: pico/stdlib.h: No such file or directory
#include "pico/stdlib.h"
The problem was that I had already a MinGW compiler in a different directory. I've removed it from my system and now I can make build files using Git bash.
The second problem is about includePath. I've added C:/VSARM/sdk/pico/** and it's fixed.
How to program the microcontroller as a blank in a custom PCB?
RP2040 looks unuseful if I need more time for setting the compiler than to do the software by itself
Detailed yet to the point. Great Job !
thank you for a video, appreciated; now I know I shall keep away from Rp2040 since the setup complexity is on a border of pure madness. For example on LPCxpresso to dobtgecsame thing one must instal for example LpcXpresso IDE, or Keil uVision , with approx 30 example small projects included snd then choose Blinky project , click Build icon and then Debug and that’s it; program runs and led blinks and source code files are ready to furher editing.
hi guys...I follow exactly the instructions. But I make have this problem from the git bash terminal in vscode. Anyone can help me to resolve this problem?
$ make
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
mingw32-make: *** [Makefile:90: all] Error 1
I have fixed this by moving my mingw folder from Program Files to C:/ and editing the environment variables accordingly
The problem programming in c/c++ sdk is that you wont get the convenience of using premade libraries for all different kinds of sensors out there as oppose to the Arduino IDE where almost every sensors and modules ever made there is a library for it.
I followed this to a T multiple times. It caused damage to my Ubuntu install and nothing will build for the 2040 anymore. Everything worked fine in the terminal until I tried to use this tutorial to use VS Code.
Is there a single usable tutorial to get the pico sdk to function in an IDE??? Ideally without corrupting the laptop I use for all my work?
Hey man, I followed through with it according to your guide and all, but the problem is that whenever I start to code in main.c as you do, I get path error, like #include errors and cannot open source file "pico/stdlib.h". What yo do now man?
I have same problem, it shows errors but still works.
Great explanation!
Hi Shawn, great videos. I'd like to see one about setting up Vscode to program in C and C++ on the raspberry pi and how to set up the launch, task files etc. Especially to bring in 3rd part libraries (like raylib).
Really nice video. Is there a Pico-like board where one does not have to unplug the cable all the time?
add a rest button or a switch on the power
I use a USB hub that has power switches for each port.
I followed there instructions on my Mac OS which is using Monterey 12.5 unfortunately when I plug in the RP2040 I don't see any serial device under /dev. Holding boot select does work for uploading the .uf2 file though. Is there a missing driver for USB Serial on Mac?
Oh, how I miss those days when one simply installed Microsoft C (from floppies), #include a couple of header files and could write/compile/run ANSI C, literally as simple as that. Of course, there were make-file options for more complex programs, but all this messing around to get a printf(); and toggle a GPIO pin to work... crazy!
I am using the Windows WSL Ubuntu, and if your doing so there will be a warning but I just ran the setup script and it went just fine.
Can we code in c++ on raspberry pi 3B plus model ? I dont see anywhere getting started with c++ for this model on the website.
The Raspbery Pi 3 or 4 are not the same as the Raspbery Pi Pico. The Raspberry Pi runs a full operating system, like Linux, and is real computer. The Pico is a microcontroller that does not run an operating system like Linux.
@@Hybrid.Robotics i see. So can we say that pico is just like arduino ?
@@cryptic121-c3f pretty much yes. If you want to write C/C++ on RPi 3 (or 4 or any other than the Pico for that reason) check out how to setup a C++ Toolchain on Linux (looking for a tutorial based on a debian based distro will prbly make it easier). It isn't too hard since Linux comes with GCC preinstalled. Coding on the Pi can be hard though since you usually don't have a comfortable IDE like vscode and need to stick to something like Vim that works via SSH, which takes some (a lot) time to get used to.
I follow the getting started guide.. the first 2 times everything ok.. now i think my raspberry is dead hehe. Any suggestions ??? I think buying one will be better haha
Doesn't Platform IO do all that automatically?
I thought it would!
It does, but I've had issues with PlatformIO in the past. I struggle with getting custom board definitions set up. I know people love it, and if it has Pico support, I say go for it. I figured it might be fun ("fun" is a relative term ;) for some to set up the toolchain from scratch. I know I learned a ton by doing it.
@@shawnhymel7647 PlatformIO To be fair does sound a lot more intro than setting up the whole toolchain manually.
It does have Arduino as the only available framework currently though, but I think that just means you need only not include Arduino.h and then its just C++ I think??
@@shawnhymel7647 I don't even have a pico.
I use it on ESP32 and saves me a lot of hastle.
VS Code + Platform IO is a good combination for many MCU and SBC projects. I love the dark mode theme for dev work. Arduino IDE screen is too harsh and loud.
@@BeefIngot You are correct--for just using PlatformIO, it's pretty easy. Once you include the Arduino framework, you can use C++ just like you would in the Arduino IDE. However, for the Pico, I *think* this means you're forced to use mbed OS (as that's now being shipped with the Arduino framework for the RP2040). I'm not 100% sure on that though. If so, it's a ton more overhead, especially if you don't need an RTOS.
thanks for the awesome video. When connect the Pico to usb in boot mode, in device manager i can not see the com number and it appears with an unkown device. after i drag i drop the uf2 file automaticallt pico starts blinking but this time it disconnets and i can not see even unknown device name. so i can not work with putty.
I think you were missing the stdio_init_all();.
Happened to me
Hi Shawn, very nice video. I followed your steps and I got this message "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/pi/pico/pico-examples/blink/main.c)." I am using the raspberry pi. I hope you can help me to fix this, thanks!
I am having the same issue :( any luck with a fix?
I should specify, everything works all the way up until compiling and then I get “fatal error: pico/stdlib.h: No such file or directory
@@grantpeterson2524 I have the same problem, something with how the PICO_SDK_PATH is configured in VSCode. I don't know how to solve it though. I'm stuck too.
That part of the sdk setup and install tutorial was unclear.
On Pico W the LED uses the WiFi chip gpio.has anyone managed to make it blink?
Hello guy can anybody help me out i need to know WHERE in the datasheet of raspberry pi pico are the specs of general sink and source current of each input/output or groups of outputs, i have read it over and over and i cant find it, please help me out !
Can anyone help I did the bash script set up and when I try and create a program the file headers cannot be found
left click on the squiggly line and choose Quick Fix. Find the Include Path text box and add ${env:PICO_SDK_PATH}/**
This should help out.
@@Steven-jf4cs Thank you for your reply I have done this but get and error in the extension configuration "Cannot find: /home/redchowder/pico/pico-examples/pico_w/blink/PICO_SDK_PATH}/ " . Its strange when I add the SDK_PATH to the environment variables and echo it, it will print the SDK_PATH. Soon as I open up a new terminal and try to echo the path I get a blank
1 week later, im still trying to figure out how to configure the darn thing
Nice video man! Can you please make a good project using pico with your environment specifically with some external arduino libraries
Can you make a similar video with esp8266/32 sdk
Their documentation is very confusing
😊
Thank you!
What if I want to use both USB serial terminal and uart0 peripheral simultaneously? Can anyone help?
The best way i can find to avoid the hassle is to use wsl in windows 10 and wslg in windows 11. It really streamlines the experience, specially with vscode supporting remoting into wsl...
No way to get it working. Plenty of errors. Unable to understand where to install SDK actually. And libraries, it complains constantly it can't find libraries. I do specified exactly folder with all, but no hope.
Stumbling block (for me anyway): CMake lists are space, not comma, separated! Accidentally using commas can create mysterious looking errors because the comma will be appended to the preceding name.
I typed "pico_enable_stdio_usb(${PROJECT_NAME}, 1)" and got the error message:
"set_target_properties Can not find target to add properties to: blink,"
Took a lot of head scratching before I finally noticed it was looking for "blink," instead of "blink".
I think to many steps and to complicated. Needs to be more simple to program for average user
The Blink example will not build for me. I got errors on the CMakeLists.txt file. I followed the instructions so I expected this to work.
Here's my 0.83 cents (ie a dime a dozen) idea. Program the Pico to be an 8-bit CPU (6502, Z80, or 6809). Then wire it to a Commodore 64, ZX Sinclair, or Tandy Color Computer, respectively.
enable usb output save my life, tanks
Was hoping for C++20!😔
I´m using VS Code with PlatformIO. This is more nicer in my opinion
Quality
Glad the board was only $5, without a raspberry pi 4 and using pc based Linux this was a huge waste of time. I understand why there are so few UA-cam videos of folks using this for anything but loading your "examples". I would have thought Digi-Key would understand the need for a simple/classic lib support and setup. KISS always wins in the end.
I feel this is nothing for beginners ...
You skipped too fast to follow all steps how to install SDK and libraries. I am so desperate by now.
Python it is then.
People who are finding it difficult .
To understand the importance of Cmake Files:
- Compile C++ code using terminal ( command line )
- Linked multiple files into one output ( linking )
Why install sdk and write code on PC :
- install raspbian OS and vscode
- Write code and run it
you will find that writing code on PC and compiling for Raspberry pi is a 60 fps code writing decision :)
hey viewers like this vid. even if u got nothing or seen just 5min (like me )
All that for a blink program, nah I would avoid it until it gets uploaded in 1 or 2 steps.
But you can use Emmet to define a standard CMake file, and then just add a few detail adjustments.
слишком запутано и сложно
Terribly complicated tutorial. I use the Arduino IDE. No need for all this complicated setup. Why not show people the easy way?
mmmmuuuuaa
in this great article: replace c with python
C or no C++ as it sucks... Use Zig or Rust instead!