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

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 52

  • @MyVanitar
    @MyVanitar  5 місяців тому +3

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

  • @bullygram
    @bullygram 4 місяці тому +4

    In an nutshell! This is what I wanted

  • @peterguggenbach4264
    @peterguggenbach4264 2 місяці тому

    Best explanation I found to make this setup, congratulation!

    • @MyVanitar
      @MyVanitar  2 місяці тому

      Glad to hear that!

  • @elektron2kim666
    @elektron2kim666 5 днів тому

    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  5 днів тому +1

      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.

  • @dabunnisher29
    @dabunnisher29 Місяць тому

    This is a great tutorial man. Thank you sooooooo much!!!!

  • @glukasc
    @glukasc Місяць тому

    Thank you! C with Pi Pico disenchanted ;-)

  • @hadiborjkhani8462
    @hadiborjkhani8462 25 днів тому

    It is awesome, thanks for creating this video!!!

  • @juanc.morales7060
    @juanc.morales7060 22 дні тому

    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  21 день тому +1

      it should work, follow the same process as I described. please do your first test with my main.c and CMake files

  • @luizcastro7039
    @luizcastro7039 5 місяців тому +1

    great! thank you. Can you teach how to transfer to pico? I am trying platformio but it does no talks with SDK

    • @MyVanitar
      @MyVanitar  5 місяців тому +2

      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 5 місяців тому +1

      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  5 місяців тому

      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 5 місяців тому +1

    Thanks.

  • @yusukeurameshi9604
    @yusukeurameshi9604 Місяць тому

    Thanks

    • @MyVanitar
      @MyVanitar  Місяць тому

      Thank you very much. I hope others also follow you

  • @eerrfanshayyestehh2069
    @eerrfanshayyestehh2069 5 місяців тому +1

    Nice

  • @akhin5199
    @akhin5199 Місяць тому

    Bro do using easy eda... Its much expense😢

    • @MyVanitar
      @MyVanitar  Місяць тому

      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 4 місяці тому +1

    getting -G Ninja excited with code: 1 error

    • @MyVanitar
      @MyVanitar  4 місяці тому

      are you sure you followed all the steps correctly?

    • @laureanoquiroga9632
      @laureanoquiroga9632 Місяць тому

      @@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  Місяць тому

      @@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 Місяць тому +1

      @@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  Місяць тому

      @@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

  • @hp2073
    @hp2073 5 місяців тому +2

    Thank you. Easy to follow 🫡

  • @rikilshah
    @rikilshah 3 місяці тому

    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  3 місяці тому +4

      please do not comment without watching the video!

    • @rikilshah
      @rikilshah 3 місяці тому +1

      @@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  3 місяці тому +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 25 днів тому

      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 23 дні тому

      This crap doesnt work correctly. I recomend to use only manual installation.