Тёмный

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

Electromaker
Подписаться 21 тыс.
Просмотров 24 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 10 месяцев назад
needs more likes OR PIN as it makes this video still relevant and up to date. Thank you by the way ;)
@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
@stylesoftware
@stylesoftware 2 года назад
Keep it up buddy. To the point, that's what we want.
@ui4lh
@ui4lh 6 месяцев назад
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...
@usefulelectronics
@usefulelectronics 2 года назад
Amazing, I am looking for a good source to start programming my pico with the native SDK
@ww3ok
@ww3ok Год назад
Good introduction to the Pico-W sdk and how it differs from the vanilla sdk. Thanks.
@rd-tk6js
@rd-tk6js 3 месяца назад
fantastic, thanks !
@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?
@Alamartec
@Alamartec Год назад
Many thanks mate, you made it easy to follow.
@gordonmgx
@gordonmgx 2 года назад
Thanks. Very interesting tutorial
@jacksparrow2000
@jacksparrow2000 2 года назад
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.
@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 RU-vid, 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!
@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.
@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?
@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!
@burtonrodman
@burtonrodman Год назад
type the code yourself -- agree 1000%
@wm6h
@wm6h 9 месяцев назад
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.
@ManishankarS-r6e
@ManishankarS-r6e Год назад
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 8 месяцев назад
"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
Далее
Turning a Raspberry Pi Pico into a GPU!
16:42
Просмотров 125 тыс.
Programming a Raspberry Pi Pico with C or C++
19:47
Просмотров 111 тыс.
Embedded Rust setup explained
23:03
Просмотров 87 тыс.
Pi Pico W with the Arduino IDE | Using WiFi
49:26
Просмотров 156 тыс.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18