An Easy Method to Compile the Raspberry Pi Pico C/C++ Code using VSCode and Pico SDK in Windows 10

  Рет қаралды 10,380

MyVanitar

MyVanitar

Күн бұрын

Пікірлер: 61
@MyVanitar
@MyVanitar 8 ай бұрын
An Easy Method to Compile the Raspberry Pi Pico C/C++ Code using VSCode and Pico SDK in Windows 10
@mh7369
@mh7369 Ай бұрын
Thank you for a brilliant explanation, I've been struggling for a while to try and program the Pico using VS code with no success, came across your site today and gave it a try, it worked first time, excellent. 👍👍👍
@MyVanitar
@MyVanitar Ай бұрын
Great to hear!
@krios2905
@krios2905 Ай бұрын
Thanks for the great and concise walk through! I have spent so much time with others and not getting to the point, this one is by far the most efficient, well done!
@MyVanitar
@MyVanitar Ай бұрын
Glad it was helpful!
@bullygram
@bullygram 6 ай бұрын
In an nutshell! This is what I wanted
@MyVanitar
@MyVanitar 6 ай бұрын
You're welcome
@peterguggenbach4264
@peterguggenbach4264 5 ай бұрын
Best explanation I found to make this setup, congratulation!
@MyVanitar
@MyVanitar 5 ай бұрын
Glad to hear that!
@Aleziss
@Aleziss 25 күн бұрын
I'm only missing one step, once compile is done, how to upload in the pico ? sorry, newbie here ! great and finally a short tutorial for once ! tnx !
@MyVanitar
@MyVanitar 25 күн бұрын
go to the build folder and drag-drop/copy-paste the *.UF2 file into the Raspberry Pico folder (press the boot + reset to enter the flash mode)
@Aleziss
@Aleziss 24 күн бұрын
@@MyVanitar I get a bunch of files but no .uf2 file... what am I missing so it does compile that file ?
@MyVanitar
@MyVanitar 24 күн бұрын
so it is not compiled correctly, for your first experiment, just use my provided "main.c" and CMake files
@Aleziss
@Aleziss 24 күн бұрын
@@MyVanitar ok I will try again ! thanks for the help !
@elektron2kim666
@elektron2kim666 2 ай бұрын
Might change from the Arduino IDE at some point, but the binaries I created helped me a lot for now and my Pico's run MMBasic (like small computers.) It's a confusing subject and you helped a lot with this video. MicroPython or CircuitPython doesn't appeal to me.
@MyVanitar
@MyVanitar 2 ай бұрын
Thanks. I'm also a fan of Python, but if a library does not exist, it would be a problem. for the initial test, use my Cmake and main.c, but if you want to use the hardware features, you have to modify the Cmake, including libraries, path, headers, source files ... etc.
@glukasc
@glukasc 3 ай бұрын
Thank you! C with Pi Pico disenchanted ;-)
@dabunnisher29
@dabunnisher29 3 ай бұрын
This is a great tutorial man. Thank you sooooooo much!!!!
@MyVanitar
@MyVanitar 3 ай бұрын
Glad you liked it!
@hadiborjkhani8462
@hadiborjkhani8462 3 ай бұрын
It is awesome, thanks for creating this video!!!
@MyVanitar
@MyVanitar 3 ай бұрын
Glad you liked it!
@juanc.morales7060
@juanc.morales7060 3 ай бұрын
Hi man, this is a good way to program in C++, I´m also fan of using C++ and this ease that task, I like it very much. But I have a question: I use to program the Dev C++ from Embarcadero, is it possible to use this instead of VSCode? What is te consideration of one and another
@MyVanitar
@MyVanitar 3 ай бұрын
it should work, follow the same process as I described. please do your first test with my main.c and CMake files
@luizcastro7039
@luizcastro7039 7 ай бұрын
great! thank you. Can you teach how to transfer to pico? I am trying platformio but it does no talks with SDK
@MyVanitar
@MyVanitar 7 ай бұрын
Thanks. It's simple, connect the Pico to the computer and boot it in Flash mode (a folder pops up in the Windows My Computer, similar to when you connect a USB flash memory). Then just Drag-drop or copy-paste the *.UF2 file to that folder. the Pico restarts itself and boots with the new code
@luizcastro7039
@luizcastro7039 7 ай бұрын
thank you, I notice that this instruction was in your article.... I had not read it!! but, is there a way to do it automatically, like platformio does?@@MyVanitar
@MyVanitar
@MyVanitar 7 ай бұрын
it's simple. just drag and drop (copy-paste). Just press the BOOT button and then the RESET button. Pico enters the Flash mode.
@mauriciorodrigues9991
@mauriciorodrigues9991 8 ай бұрын
Thanks.
@MyVanitar
@MyVanitar 8 ай бұрын
You're welcome
@hp2073
@hp2073 8 ай бұрын
Thank you. Easy to follow 🫡
@MyVanitar
@MyVanitar 8 ай бұрын
You're welcome!
@eerrfanshayyestehh2069
@eerrfanshayyestehh2069 8 ай бұрын
Nice
@MyVanitar
@MyVanitar 8 ай бұрын
Thanks
@akhin5199
@akhin5199 3 ай бұрын
Bro do using easy eda... Its much expense😢
@MyVanitar
@MyVanitar 3 ай бұрын
to download my projects, you don't need to buy a license. just register on the website using the link in the video description
@RECOLONIZE_RIGHT
@RECOLONIZE_RIGHT 7 ай бұрын
getting -G Ninja excited with code: 1 error
@MyVanitar
@MyVanitar 7 ай бұрын
are you sure you followed all the steps correctly?
@laureanoquiroga9632
@laureanoquiroga9632 3 ай бұрын
@@MyVanitar Hi! I have the same error code of this guy, i've followed every step, do u know what could be the problem?
@MyVanitar
@MyVanitar 3 ай бұрын
@@laureanoquiroga9632 do you use my sample code? which command line you use to run the VSCode. the problem of that guy has been solved
@laureanoquiroga9632
@laureanoquiroga9632 3 ай бұрын
@@MyVanitarSry, the problem was that i wasn't using your sample code, now i can run it but because im using the w version im having other issues, thanks for the help!
@MyVanitar
@MyVanitar 3 ай бұрын
@@laureanoquiroga9632 if you use other hardware features of your Pico board, you must add the header in your C file and also inside CMake. it's not difficult, but a bit time-consuming on the first attempts. Pico examples might help you
@rikilshah
@rikilshah 5 ай бұрын
Raspberry foundation has released a standalone Windows installer which does all of this in one single click. I would recommend using that as it really eases the SDK setup process.
@MyVanitar
@MyVanitar 5 ай бұрын
please do not comment without watching the video!
@rikilshah
@rikilshah 5 ай бұрын
@@MyVanitarDon’t be a jerk. I watched the video and that’s why I gave advice based on my experience. All the manual work of installing everything individually has been replaced by one click installer. What was wrong with my comment?
@MyVanitar
@MyVanitar 5 ай бұрын
man, the first step of this tutorial is about installing that package, but that package is out of date, that's why we should update some parts. Please watch the video completely and be polite, I don't owe anyone!
@hadiborjkhani8462
@hadiborjkhani8462 3 ай бұрын
Yes, they released but there is no help for installation and scan for kits!!! This tutorial is amazing I could install with @MyVanitar help easily.
@blackstorm7481
@blackstorm7481 3 ай бұрын
This crap doesnt work correctly. I recomend to use only manual installation.
@yusukeurameshi9604
@yusukeurameshi9604 4 ай бұрын
Thanks
@MyVanitar
@MyVanitar 4 ай бұрын
Thank you very much. I hope others also follow you
Raspberry Pi Pico 2: a RISC-V bet!
8:05
Jeff Geerling
Рет қаралды 295 М.
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 129 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,4 МЛН
RP2350 First Look - How does it compare to the RP2040? Risc-y 01
10:37
Life with David
Рет қаралды 1,9 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 615 М.
Плата Raspberry Pi Pico 2040. Как использовать в программе FLProg
12:30
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Рет қаралды 126 М.
Raspberry Pi Pico 2 | Everything You Need To Know
7:04
Core Electronics
Рет қаралды 57 М.
Where are the Pi 5's? I asked Eben Upton at CES 2024
9:16
Jeff Geerling
Рет қаралды 138 М.
Blink LED in C/C++ on the Raspberry Pi Pico [Linux SDK Setup]
8:36
Raspberry Pi demolished by monster 128-core ARM CPU!
20:54
Jeff Geerling
Рет қаралды 1,3 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 129 МЛН