No video

Getting Started with the Pico W C/C++ SDK

  Рет қаралды 23,515

Electromaker

Electromaker

Күн бұрын

Пікірлер: 29
@Lucas-pc2rt
@Lucas-pc2rt Жыл бұрын
For this tut being a year old, it still works well! The only thing I did differently is that I had to call cyw43_arch_init() or turning on/off the led would throw an error. The blink example for the pico w was moved to the wifi folder inside of the pico_w folder in pico-examples, as well as the lwipopts.h if I am remembering correctly. Very clear and coherent video. Thanks!
@WeirdDuck781
@WeirdDuck781 8 ай бұрын
needs more likes OR PIN as it makes this video still relevant and up to date. Thank you by the way ;)
@stylesoftware
@stylesoftware 2 жыл бұрын
Keep it up buddy. To the point, that's what we want.
@ui4lh
@ui4lh 4 ай бұрын
Man, Ive been fighting with this stuff for sooooo long and this videa was a God send.... Thanks Electromaker for making it and so detailed!!! Subscribed...
@maciekrostocki7202
@maciekrostocki7202 Жыл бұрын
few things for people that will watch it now: blink example is in pico_w/wifi/blink, for me the blinking doesn't work if there isnt if(cyw43_arch_init()){....}, i also think that it's is better to declare PICO_SDK_PATH in bashrc so you don't have to do that every time and you should declare it relative to home directory, not directory you are currently in. Error lines for includes will disappear if you configure cmake for your directory, also it is worth adding set(PICO_BOARD pico_w) in CMakeLists
@rd-tk6js
@rd-tk6js Ай бұрын
fantastic, thanks !
@ww3ok
@ww3ok Жыл бұрын
Good introduction to the Pico-W sdk and how it differs from the vanilla sdk. Thanks.
@Alamartec
@Alamartec Жыл бұрын
Many thanks mate, you made it easy to follow.
@gordonmgx
@gordonmgx 2 жыл бұрын
Thanks. Very interesting tutorial
@jacksparrow2000
@jacksparrow2000 Жыл бұрын
Thanks a lot! These simple steps worked for both the pico W and the Tiny 2040!
@sotw1610
@sotw1610 Жыл бұрын
Thanks for the video! It is a good introduction to get started with the picow board.
@usefulelectronics
@usefulelectronics 2 жыл бұрын
Amazing, I am looking for a good source to start programming my pico with the native SDK
@robertbox5399
@robertbox5399 Жыл бұрын
So you need help from the Dons at Bletchley Park to flash an LED using C on the Pico. Unbelievably complicated.
@Electromakerio
@Electromakerio Жыл бұрын
Since making this video, they've simplified it hugely, at least for Windows users. There is a one-click installer now. Personally, I still use more or less this method (docker rather than full VM) as I like the separation and dedicated working environment.
@ApusApus
@ApusApus Жыл бұрын
Thanks, might be able to actually start using the native SDK instead of Arduino. Did you ever get rid of the error squiggles on the includes or are you just ignoring them?
@JHess
@JHess 2 жыл бұрын
hey friend, not sure why but this video is only available in 360p.
@Electromakerio
@Electromakerio 2 жыл бұрын
Thanks for the heads up! This actually happens every time a video gets uploaded to KZbin, the standard definition version goes live as soon as the upload finishes, and the HD version takes a while longer. It's 1080p now. I usually upload them and release them a while into the future to avoid this but wanted to get it out early today!
@ddienst
@ddienst Жыл бұрын
It compiled the examples but when I try to compile the flash print it crashes on some assembly file. Can you share your VMware machine?
@burtonrodman
@burtonrodman Жыл бұрын
type the code yourself -- agree 1000%
@EdwinFairchild
@EdwinFairchild Жыл бұрын
How do you debug and step through your code ?
@Electromakerio
@Electromakerio Жыл бұрын
That's something I hope to revisit at some point soon! This was meant to be a very bare bones "zero to developing" video and including debugging just made it way too long. But yes, Debug and step through will be a future topic, let me know if there's any other specific stuff like this and I'll add it to the list!
@wm6h
@wm6h 7 ай бұрын
VMWare 17 not free. 15 day trial only
@captainpumpkinhead1512
@captainpumpkinhead1512 Жыл бұрын
You don't need to use a VM to program the Pico. You can do it on Windows just fine. And you're making this harder for beginners by navigating around in terminal instead of a folder explorer.
@Electromakerio
@Electromakerio Жыл бұрын
You are totally right. Windows is not a problem to set up for some folks, yet the official Pi guides are aimed at those using a Pi. Given the fact that Raspberry Pi boards weren't the easiest things to come by for a while, I thought the VM was a good solution. I'm just a hobbyist, though, and I get stuff wrong all the time. Windows used to be more hassle than this to get set up, maybe it's different now. As to the command line stuff, I didn't do it to be complicated, I don't know any other way to work with git and the Pico SDK build tools that is any simpler. Other than moving the uf2 file onto the Pico in the file explorer, I don't know of any GUI for git/build tools that's not more complicated to get working than the terminal commands in the video. All of these things said, if you know simpler ways to do this please do tell me, I'm going to make a follow up to this video at some point about the Pico and I'm always interested in learning more!
@coenheerink4923
@coenheerink4923 Жыл бұрын
@@Electromakerio Linux is fine, even for beginners. It is worth to learn because it makes things much easier in the long run.
@user-kx5xy4pm1r
@user-kx5xy4pm1r Жыл бұрын
cmake -DPICO_BOARD=blink.. CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Error: The source directory "/home/rstk003/pico/pico-examples/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. --- Why Iam getting this I couldnot solve this
@yaoluxttu
@yaoluxttu 6 ай бұрын
"cmake -DPICO_BOARD=blink.." between "blink" and "..". there should be a whitespace.
@OpTicThErmal
@OpTicThErmal Жыл бұрын
Where was this tutorial 6 hours ago!? You ended up making all the same decisions/trade-offs I preferred (except I tried to prove to myself I could build on my mac w/o a VM), but you helped point me to the PICO_W SPECIFIC SECTION OF PICO-EXAMPLES 🤦‍♂. The only thing I could find online was "oh, working with the LED is so easy just type this line of MicroPython" ...but I'm trying to get better performance with the C SDK & for some reason the LED is fundamentally different in the W? No warnings or anything until I EVENTUALLY discovered the -DPICO_BOARD option of cmake THANKFULLY. I kept trying to flash the original blink.c for my hello world & I was scrambling in every direction. No idea why it was so different that they couldn't just redefine "PICO_DEFAULT_LED_PIN", but I trust there's a more fundamental difference in the hardware. EVEN IF I noticed the pico_w/ directory (which I wouldn't've), I never would've looked beyond wifi/ Thanks for saving my day! Also credit to this forum comment that led me here: dev.webonomic.nl/blinking-a-led-on-the-raspberry-pi-pico-w#comment-78519
Getting Started with Multicore Programming on the Raspberry Pi Pico
11:14
Learn Embedded Systems
Рет қаралды 44 М.
Pi Pico W with the Arduino IDE | Using WiFi
49:26
DroneBot Workshop
Рет қаралды 150 М.
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 70 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 1,6 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 10 МЛН
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Рет қаралды 118 М.
The Petabyte Pi Project
22:27
Jeff Geerling
Рет қаралды 2,2 МЛН
Damascus Steel From Stick Welding Electrodes
14:15
Alec Steele
Рет қаралды 661 М.
C64 Pico project - I made a tiny Commodore 64 with a Raspberry Pi Pico!
43:54
silvestron's bits and bytes
Рет қаралды 24 М.
RP2040 - NO SDK! Assembly Language Programming - BMA -04
25:19
Life with David
Рет қаралды 4,6 М.
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Рет қаралды 339 М.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 1,9 МЛН
Raspberry Pi Pico - Getting Started with MicroPython REPL (on Windows)
10:28