Introduction to Raspberry Pi Pico C/C++ SDK and Creating Your Own Project from Scratch (LED Blink)
HTML-код
- Опубликовано: 14 июл 2024
- This video introduces you to Raspberry Pi Pico's C/C++ SDK. How to create your own project from Scratch - On-Board LED Blink? What is CMake and to use it to build Pi Pico Project?
Follow up to this video on setting up your Visual Studio Code Build Environment: • How to Set Up Visual S...
Time Stamps:
0:00 Intro and Video Description
0:18 Link to install the required build tools
0:57 Brief note on PICO SDK
1:16 C/C++ SDK Layout & Features
2:26 Steps to Create your own Pico Project
4:39 Main Program for blink
8:11 CMake File CMakeLists.txt
9:41 Build commands for CMake Tool
13:11 Testing your Program
GITHUB CODE LINK:
github.com/Sobhit25/Raspberry...
The links for the required software is here:
Arm GCC Compiler: developer.arm.com/tools-and-s...
CMake: cmake.org/download/
Build Tools for Visual Studio 2019: visualstudio.microsoft.com/do...
Python 3: www.python.org/downloads/wind...
Git: git-scm.com/download/win
Visual Studio Code: code.visualstudio.com/Download
If this video helped you, please consider leaving a like and subscribing, thank you!
You can find more tutorials and projects on my Channel:
What's new in the Rasberry Pi Pico? Check out these videos
New videos on Raspberry pi PICO: • Raspberry Pi Pico
Raspi Pico Projects:- • Raspberry Pi Pico
Raspi Pico Tutorials:- • Raspberry Pi Pico
Pico vs STM32 vs Arduino vs ESP32:- • RaspberryPi PICO vs Ar...
How to use STM32 with Arduino IDE:- • How to use STM32 Board...
STM32 Playlist :- • STM32 Series
Arduino Playlist:-
Follow me on:
LinkedIn:
/ sobhit-panda-046a2a191
Twitter:
panda_sobhit?s=08
It's right, official document isn't clear enough in case making own projects... Thank you so much
Thanks a lot 😀
It was awesome tutorial😍
Thank you 💞
Do I have to build the examples every time? I just finished watching your other video on getting set up and my pico-examples have been building in vscode for over 10 minutes now. I don't want to have to wait 5-10 minutes every time I want to come back to these tutorials to start learning.
Hi @sobhit panda I'm glad that I have seen your videos on pico it's awesome man , I'm trying to do the same on ubuntu since 10days u cleared it so well here. Please make some more videos relating to this . Thank you 😊 🎉
Excellent Video. RPI Foundation has now released, one click, PICO SDK installation. Also, if one uses the Pico Debug Probe, then the download is via the, 3 pin SWD, connection. This video is excellent in explaining how to create a stand alone project. Can you please do more videos showing how to use other examples eg. analog, I2c, serial driver to LCD etc. please do a video, showing, how to do debugging a pico application, using Pico debug Probe.
Very Nice video Sir. Wow My God Nice!
Thankyou Arpit San!
Hi
When I open VSCode, i do not get automatic compilation starting. How do i set VSCode to
1. auto compile, 2. set default compiler
I get this message
Unable to open 'launch.json': Unable to read file 'c:\pico\pico-examples\.vscode\launch.json' (Error: Unable to resolve nonexistent file 'c:\pico\pico-examples\.vscode\launch.json').
Please help.
thanks for blowing my eardrums :-(
Dude , I am really sorry! I got a bunch of comments regarding the same. I'll keep that in mind from next time while editing. I really didn't intend to do so...
Hope you will subscribe to give me another chance.
@@SobhitPanda thanks for the reply, apology accepted:-) - I will check out your other videos
The official document is not very clear about the process. Thank you for making this video.
Thankyou so much for your wishes ❤️ Hope you Subscribe
I am getting nmake error. Nmake can not be found. How do I get NMake? Thanks.
I was having this problem also.
You need to run "developer command prompt for visual studio" as admin
Very helpful.
Most of the instructions I was able to find used the pico-examples to show how to build, but when making my own it never seemed to work. Followed your steps here and managed to successfully compile a uf2 file on first attempt.
Cmake website is not working. Is there any alternate way? ...plz tell me
Yeah i know sometimes its down, check now...
@@SobhitPanda It's working now..Thanks for replying. By the way awesome tutorial :)
@@musicaddict4833 Do show your love by hitting the subscribe button 🔘
Can you please make video on how to connect NRf24L01 module with pico
Sure Man, added it to my TO DO List. Stay tuned and Subscribe. Thanks for commenting
Hello I interested on make a libraries for raspberry pico but I dont know how to configure cmake ...
Can you explain on a video how to configure cmake to make a library for raspberry pico?
Yeah Sure, if I get through it, I will make a video of it. I am too unable to make one
techtinkering.com/2013/02/12/using-dynamically-generated-header-files-with-cmake/
Hope this helps
@@SobhitPanda thanks I can try for this form but the problem is when I import "pico_stdlib"
@@AlejandroGarcia-zx4cq I under... I am trying, if i get a solution I will contact you👍
@@SobhitPanda thanks for try to help
Thank you very much
Hello, I liked very much this video. I have a question: What if I want to use an external library, like wirinPi? How can I include in my program and where should I copy it? All procedure is the same for c++?
We can include it with the help of CMakeLists.txt file and main.c file
Thanks for the support
Apart from pico sdk you can attach any include file by using "" and keeping the header package in native folder of your project.
Great, thanks a lot for your valuable contribution
@@juanc.morales7060 Actually I. Busy with my academics right now, but i will make a video about my recent project where I have used other headers and sdks and programmed in C++
I still get the squiggles saying it cannot detect the pico/stdlib.h file.
Did you add the path of sdk in VSCode?
@@SobhitPanda Yeah. I have the path in the Cmake: Configure Environment
Have you imported the sdk file and given the command to import the library in cmake. If yes, try to restart the vs code. And make sure you open with developer cmd prompt with Admin Permission
Still if you face any problem, you can share your screen shot of files to mail, sobhitpanda25@gmail.com
Did it work now? You can try my code from GitHub. Hope you have a good day 😊
Well it’s so weird I have been working on pico with windows 11 but still not working it been 3 days anyone can help ? I installed all of them but still there is no any solution
There is an easy toolchain installer out by raspberry Pi for Pico. You can try that.
@@SobhitPanda on your channel ? Or I have to watching that video ? I didn’t watching yet so
@@mehmetbilen1667 Not on my channel though, you can check on youtube
@@SobhitPanda May you share link of that please?
@@SobhitPanda and I want use pico with my macOS and windows laptops so do you have any email ?
this is basically arduino, why there isn't low level access to the pinout?
You are right my friend, Pico has close call with arduino. In this video I said that you can access the hardware manually without APIs also. Do you want a video on that? I can make it😁, Thanks for commenting. Hope you subscribe for more❤️
@@SobhitPanda yeah, make a detailed video for noob who hasnt invested in anything but wants to learn and grow so what should he buy.
@@jeekakrishna Yeah Sure, I will ☺️
@@jeekakrishna If you want to learn embedded systems , stm32 would be great. But its tough and frustrating. So arduino would be easy and fun, but it isnt progressive. So, pico can be a good choice for your needs. As you get support from C and Python. Plus the community is very good. Moreover its dirt cheap.
@@SobhitPanda then I will either get a raspberry Pi or rasberry pico
Visual studio....no thanks, I'll wait for Arduino IDE and do it on Linux.
Its a pain right. 😂 I am also waiting for Arduino IDE, why don't you try Micro Python. Thanks for commenting ❤️. Subscribe 😁
@@SobhitPanda Thanks, but I'm a C purist...
@@1toneboy ❤️hey me too😉
Try Platform IO