ESP32 - Getting Started with ESP-IDF using Visual Studio Code [Easiest Method]

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • How to easily install ESP-IDF and configure Visual Studio Code to develop and debug ESP32 applications directly from inside of it. This is the easiest and best method to work with ESP-IDF.
    I will also show you 3 of my favourite Visual Studio Code extensions to make your life easy while programming.
    This video is part of my upcoming "ESP32 How-to" video series, which will teach you how to program using Espressif's ESP-IDF.
    Let me know in the comments if you have any questions.
    Don't forget to Subscribe and turn on the Notifications to know about my new ESP32 Series videos!
    ❗❗❗ UPDATE / FIX ❗❗❗
    ▶ Visual Studio Code is not accepting the IDF Terminal configuration inside the workspace anymore.
    ▶ Here is a video link with the fix: • QUICK FIX for IDF Term...
    *********************************
    *** LINKS From the Video ***
    Download ESP-IDF from this link: bit.ly/3mlKrRP
    Download Visual Studio Code from this link: code.visualstudio.com/
    ** Timestamps **
    00:00 Introduction
    00:30 Installing ESP-IDF
    01:25 Building an example
    02:05 Installing VS Code
    02:24 Configuring VS Code for IDF
    05:13 Building the application
    05:48 Monitoring the Device
    06:15 My 3 Favourite Extensions
    09:28 Conclusion
  • НаукаНаука

Комментарии • 414

  • @YuriR
    @YuriR  2 года назад +20

    Hi everyone! It has been a while!
    As many of you mentioned, the IDF Terminal configuration inside VS CODE is broken here, so I added a new video with the fix: ruclips.net/video/N93RvZz6dEc/видео.html
    New videos are coming soon! And much more!
    Thanks for the support and yes, I'm still alive!🙂

    • @thuyetmai9650
      @thuyetmai9650 2 года назад +2

      Thank you so much!!

    • @isharaudayangawimalaweera3642
      @isharaudayangawimalaweera3642 6 месяцев назад

      Thank you very much. Its very helpful and for me this was the only solution. Thank you very much 💗

  • @garywilliams4214
    @garywilliams4214 Год назад +4

    I ran across this video at the right time (almost)! I just spent two days setting up prerequisites for esp-idf and still wasn’t sure everything was right. And now I was facing setting up the idf with Visual Studio Code-and I can see, based on your video, that this would have been a painful process with lots of gotcha’s and a lot of things that I probably wouldn’t have figured out! I’ve watched all 3 of your videos, liked all 3 and subscribed! This is a HUGE help-THANK YOU! 😃 😃 😃

  • @reddevilfan100
    @reddevilfan100 3 года назад +15

    This is a fantastic video! I tried installing ESP-IDF through VS code extensions and ran into a million problems, then was just running ESP-IDF through CMD and it worked, but wasn't a huge fan. This is exactly what I was looking for! Hope you continue to make videos like this!!

    • @YuriR
      @YuriR  2 года назад +4

      Thank you for the comment! I'm glad it helped you! New videos are coming soon, I hope you like them!

  • @behnamghiaseddin7766
    @behnamghiaseddin7766 2 года назад +3

    I have never seen any video more useful than yours about ESP. you really directly guide to common problems everyone has!

    • @YuriR
      @YuriR  2 года назад

      Thank you so much for your comment! I'm glad the videos are helpful :)

  • @boudebzabadra9749
    @boudebzabadra9749 3 года назад +4

    Thank youu for your tutorial, I've been struggling to set up the esp-idf extension for a week. your way is much better :). cannot wait to see your next video

    • @YuriR
      @YuriR  2 года назад

      Thanks for your comment! Glad to know it was useful! Next video in a few days :)

  • @sandeepkapare
    @sandeepkapare День назад

    Have been using Arduino IDE for sometime now, & always wanted to use some other IDE like the ESP-IDF for advanced programming. Although this video is spot on - credit to the creator - have realised why many of them still prefer Arduino. Install - open example - connect the board - select COM port & hit upload.

  • @erickanjosdelima9022
    @erickanjosdelima9022 3 года назад +7

    Congratulations Yuri. This tutorial was perfect. unfortunately i had already learned this but it will certainly help many devs with this tutorial. Please do more tutorials like this

    • @YuriR
      @YuriR  2 года назад

      Thanks for the support! More tutorials coming soon :)

  • @vogesdg
    @vogesdg 3 года назад +2

    You are an execent teacher, thank you. You made it so simple! been batling with VSCode and ESP for months now.

    • @YuriR
      @YuriR  2 года назад

      Thank you for your kind words! I try to keep it as simple as possible and add as much content in one video as I can :) I'm glad it helped!

  • @tm_digita
    @tm_digita 3 года назад +2

    One of the best tutorial for the topic on ESP32 , Its easy to follow, precise,and a lot to learn in short video. Excellent tutorial

    • @YuriR
      @YuriR  2 года назад

      Thank you for your kind words! I try to add as much information as possible in one video :) I'm glad you liked. New ones coming soon!

  • @nikhilpen
    @nikhilpen 3 года назад +2

    Thanks for the detailed walk thru. Great content and production. Looking forward to other ESP32 beginner content.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! New ESP32 videos coming soon!

  • @CH33SER
    @CH33SER 3 года назад +1

    The quality of this tutorial is top notch. Definitely subscribing!

    • @YuriR
      @YuriR  2 года назад

      Thank you so much for the comment and support!

  • @ramradhakrishnan9382
    @ramradhakrishnan9382 2 года назад +1

    Thank you, Yuri, for an excellent presentation. I particularly liked the even modulation and pace of delivery.

    • @YuriR
      @YuriR  2 года назад

      Thank you! I'm glad you liked!

  • @fadhilaasyam5895
    @fadhilaasyam5895 4 месяца назад

    Just developed for Air Cond monitoring, your tutorial is very helpful.

  • @clarissaargentirocha8537
    @clarissaargentirocha8537 3 года назад +2

    Very good! I'm anxious for the next video.

    • @YuriR
      @YuriR  2 года назад

      Thank you! New video coming this week :)

  • @nafihahmd
    @nafihahmd 3 года назад +3

    You deserve more subscribers. So I am in. +1 sub. Keep up the good work man.

    • @YuriR
      @YuriR  2 года назад

      Thank you for your kind words and support. New videos coming soon! :)

  • @LeoHouseDrums
    @LeoHouseDrums 3 года назад +1

    Que massa meu! Excelente qualidade teu vídeo! Boa sorte nessa nova empreitada!!

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! I really appreciate it!

  • @roldanmarco1856
    @roldanmarco1856 3 года назад +1

    Thank you! Please continue this series

    • @YuriR
      @YuriR  2 года назад +1

      Thank you! New videos coming soon! :)

  • @vitaliyyvitaliyy1884
    @vitaliyyvitaliyy1884 3 года назад +2

    Hello. This is the best video on this topic to date !!! Thank you very much!!!

    • @YuriR
      @YuriR  2 года назад

      Thank you for your kind words! I really appreciate it!

  • @venkateshgovindaiah5826
    @venkateshgovindaiah5826 Год назад +2

    Yuti, appreciate all the hard work you put in to make these tutorials. They are amazing. Please make a tutorial on eSP-Now with IDF.
    Thank uou

    • @YuriR
      @YuriR  Год назад

      Thank you so much! Will definitely do one!

  • @kapdivyang
    @kapdivyang 3 года назад +1

    Very Nice and informative video. I didn't find any video of this quality on the subject. Looking at the quality of the content I don't want to miss any future video, so I subscribed.
    Thank you very much for sharing.

    • @YuriR
      @YuriR  2 года назад

      Thank you for the kind words and subscription! New videos are coming soon this week!

  • @BrianCanning
    @BrianCanning 3 года назад +24

    Great! You just explained in one video that I've been trying to get my head round in months, thanks.
    Not sure what your plans are for other topics, could I suggest the ESP mesh

    • @YuriR
      @YuriR  2 года назад +1

      Thank you so much for your comment! The idea is to pack as much information as possible in one video.
      And yes ESP Mesh is one of the topics coming in future videos!

  • @JosepeFrancoGerent
    @JosepeFrancoGerent 3 года назад +1

    Congratulations man!!! Great video!

    • @YuriR
      @YuriR  2 года назад

      Thanks Josepe!

  • @rejanerodrigues837
    @rejanerodrigues837 3 года назад +4

    Yuri R. Thankyou for sharing your experience with us. 💡✨

    • @YuriR
      @YuriR  2 года назад

      Thanks Rejane!

  • @tingwang4133
    @tingwang4133 3 года назад +1

    Very helpful! Thank you for sharing the video!

    • @YuriR
      @YuriR  2 года назад

      Thank you for the comment!

  • @mouradmkhakh8903
    @mouradmkhakh8903 3 года назад +1

    Thanks for your time. Waiting for the next video. Good luck

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! New video coming soon!

  • @jerrychan1471
    @jerrychan1471 3 года назад +1

    Excellent instructional video, thanks for your detailed explanations. Subscribed!

    • @YuriR
      @YuriR  2 года назад

      Thank you so much for the comment and support!

  • @matthewfelgate
    @matthewfelgate 3 года назад +1

    Thanks for this video. It helped me understand how people get started with coding IDF.

    • @YuriR
      @YuriR  2 года назад

      Thanks Matthew! I'm glad you liked it! More IDF videos coming soon.

  • @harerudez4788
    @harerudez4788 3 года назад +1

    Nice work! That worked for me! Thanks.

    • @YuriR
      @YuriR  3 года назад

      Great to hear!

  • @isharaudayangawimalaweera3642
    @isharaudayangawimalaweera3642 6 месяцев назад

    Wonderful video. Very useful video tutorial. Thank you very much ❤

  • @vwarrier
    @vwarrier Год назад

    Thanks for this excellent tutorial

  • @eyupdelikanl6436
    @eyupdelikanl6436 Год назад +1

    Hocam süpersin 👍👍👍
    Aylardır Esp32 için yazmaya ve yüklemeye çalışıyorum fakat olmuyordu. Senin sayende esp serisi bir işlemciye geçiş yaptım ve vereceğin dersler doğrultusunda ilerlemeyi planlıyorum. Çok teşekkür ediyorum. 🙏🙏🙏

    • @YuriR
      @YuriR  Год назад

      Glad you liked it! More videos coming soon :)

  • @HopWorksET
    @HopWorksET Год назад +1

    This is a very good video that helps setting up an environment for programming ESP devices in my favorite environment, VSCode. And being a hobbyist that has migrated from Adruino IDE to VSCODE, and using Platformio, this is refreshing. Now I just need to get my head around writing my code with ESP-IDF instead of the hand-holding the Arduino core gives me, but this tutorial certainly helps me to get my feet wet with that strategy. Thank you Yuri! I certainly appreciate your contribution!! [liked].[subscribed].[saved]

    • @YuriR
      @YuriR  Год назад

      I'm glad it helped Gary! Thanks for all the comments and welcome to IDF :)

  • @wei48221
    @wei48221 3 года назад +2

    Thank you for this awesome tutorial. Very helpful..

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment, I'm glad it helped!

  • @thomasseidel4647
    @thomasseidel4647 4 месяца назад

    This is very Help full and cool

  • @wretchedfibs4306
    @wretchedfibs4306 2 года назад +1

    Thanks for the vid. It really put some things together for me.

    • @YuriR
      @YuriR  2 года назад

      Thank you. Glad it helped!

  • @manieshsh
    @manieshsh 2 года назад +4

    This was great. Please make more.

    • @YuriR
      @YuriR  2 года назад

      I'm glad you liked, new videos coming soon :)

    • @manieshsh
      @manieshsh 2 года назад +1

      @@YuriR thanks yuri. Best of luck for the channel. 😊

  • @mark1463
    @mark1463 2 года назад

    Thanks for the video, you really helped me, also as a good brazilian I noticed your accent!

  • @prutser67
    @prutser67 3 года назад +1

    By far the best explanation I have seen. The only missing part is JTAG debugging.

    • @YuriR
      @YuriR  2 года назад

      Thank you for your kind words. Keep in tune for the next video coming in a few days 😁

  • @MicaCZ
    @MicaCZ 3 года назад +1

    Great tutorial, thank you!

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment Mica!

  • @tmjromao
    @tmjromao 3 года назад +2

    Excellent ! Many thanks for sharing. Yes ESP mesh would be a good topic to explore.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! Yes, ESP Mesh is in the plans for the future videos :)

  • @ThanhDatzz
    @ThanhDatzz 3 года назад +1

    It's is a great video tutorial. Thank you.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! I'm glad you liked it.

  • @TheIceCraftWhysomad
    @TheIceCraftWhysomad 6 месяцев назад

    Thank you for the video

  • @svarodzic
    @svarodzic 10 месяцев назад

    Nice! Thanks, bro!

  • @TheJay6621
    @TheJay6621 2 года назад +1

    Super Handy... Thanks a ton Brother..

    • @YuriR
      @YuriR  2 года назад +1

      No problem 👍:)

  • @user-gc9hc1mf1r
    @user-gc9hc1mf1r Месяц назад

    ありがとうございます!

  • @pramitchaudhury1821
    @pramitchaudhury1821 Год назад +1

    Great vedio Yuri keep going ❤️❤️❤️

    • @YuriR
      @YuriR  Год назад

      Thank you so much! More videos coming soon!

  • @SureshKumar-bp8xx
    @SureshKumar-bp8xx 3 года назад +1

    Hi Yuri
    Great Video, made my life simpler
    Thanks
    Suresh

    • @YuriR
      @YuriR  2 года назад

      Thanks Suresh, I'm glad it helped!

  • @kapdivyang
    @kapdivyang 3 года назад +1

    Hi... Hope all well at your end...Waiting for your next video. Take care

    • @YuriR
      @YuriR  2 года назад

      Thank you for your comment and concern. Everything is ok :) I was just super busy with work. New videos are coming soon!

  • @nhatcomnhom
    @nhatcomnhom 3 года назад +2

    Thank for your tutorial is help me so much in my project, It easy than esp-idf extension:)))))) nice work bro 😎 +1sub

    • @YuriR
      @YuriR  3 года назад +2

      Thank you! I'm glad it helped! New videos coming soon!

    • @nhatcomnhom
      @nhatcomnhom 3 года назад

      @@YuriR i hope it ‘s about gatt server library :)))

    • @semihk09
      @semihk09 2 года назад

      @@YuriR I'm still waiting for your new video.

  • @vidhyadhar64
    @vidhyadhar64 Год назад

    Very Good Videos.. Keep it up..

  • @vandungnguyen5404
    @vandungnguyen5404 3 года назад +1

    thank you very much, from vietnamese with love

    • @YuriR
      @YuriR  2 года назад

      Thank you for the kind words!

  • @montpierce424
    @montpierce424 Месяц назад

    THANKS, after watching your video I'm ready to give it a 2nd try using your "Easy" approach. I had just given up trying to install ESP32 IDF Extension in vscode...
    BTW, I notice PlatformIO also has support for Espressif boards, but the last time I tried installing PlatformIO I ran out of disk space. It seems to want to install EVERYTHING up front even for boards I know I'll never use... uggh.
    Thanks again for a great video. I just signed up for your mailing list and am looking forward to watching your other videos. 👍👍

  • @jorgerive7335
    @jorgerive7335 5 месяцев назад

    Great video Yuri, thank you! Do you have any idea why the action buttons sometimes work and sometimes don't? I haven't been able to figure out under what conditions they work or not work. Sometimes, I have to hit Run twice before it works --very strange...Something has to be wrong with my installation, but I haven't figured out what. Could there be conflict between settings in the espressif-idf extenstion configuration and the VS action buttons ?

  • @lancemarchetti8673
    @lancemarchetti8673 11 месяцев назад +1

    Fantastic presentation

    • @YuriR
      @YuriR  11 месяцев назад

      I am glad you liked it.

  • @joebelson7122
    @joebelson7122 Год назад

    Hi Yuri, Thank you for doing this! It is very helpful and you are kind to help us. Q: How can I setup VSCode so that the ESP-IDF terminal is persistent across any new folder? In video2 we create a new folder, but the Terminal (idf) does not work and hence when the action buttons are clicked they fail due to missing path updates & variable. Any links or simple instruction would be gratefully appreciated. Thank you! joe

  • @mathewsjacob
    @mathewsjacob Год назад

    Thank you, Yuri, for an wonderful presentation. Can you make a tutorial about Matter protocol in ESP32

  • @nyquist7975
    @nyquist7975 3 года назад +1

    Great! big thanks man

    • @YuriR
      @YuriR  2 года назад

      No problem, thank you!

  • @Bianchi77
    @Bianchi77 3 года назад +1

    Cool video, thanks :)

    • @YuriR
      @YuriR  2 года назад

      Thank you! :)

  • @JRabba1995
    @JRabba1995 Год назад

    Hello Yuri. Thanks for doing this.
    I am able to upload the code and the serial monitoring is working but the majority of the header files are not being found by VScode so the led isnt blinking. How can I fix that?
    Thanks again man

  • @mohamedyassinegarali8849
    @mohamedyassinegarali8849 4 месяца назад

    i enjoy it 🎉❤

  • @mohamedsiddik0
    @mohamedsiddik0 8 месяцев назад

    Hi Yuri,
    its really rich content. Thanks for your tutorials.
    Please continue your esp-idf tutorial. And kindly create video for TFT display with LVGL related stuff.
    Thanks Advance.

  • @olivierortigues4437
    @olivierortigues4437 8 месяцев назад

    Outdated content. The video is really good, clear and at a good pace. Unfortunatly the esp-idf has changed and it is way more integrated in VS now and easier to use. Anyway there is enough material for a new video to replace this one. Anyway thank you Yuri for your work.

  • @ratibory4239
    @ratibory4239 3 года назад +1

    Bro! Thanks so much!

    • @YuriR
      @YuriR  2 года назад

      No problem, thanks for the comment!

  • @s.sivaneshwaran9479
    @s.sivaneshwaran9479 2 года назад +1

    I like this tutorial. you explain more in this video.

    • @YuriR
      @YuriR  Год назад

      Glad you liked it!

  • @deepstum
    @deepstum Год назад

    Hi Yuri,
    Many thanks for this tutorial. It is very helpful.
    It would be great if you could share the commands used in "Configuring VS Code IDF" for VS code running on mac devices. Apparently these commands are not available for mac devices. Thank you :-)

  • @NahuelTaibo
    @NahuelTaibo 8 месяцев назад

    Is there a reason why you dont use Espressiff's vscode extension? it seems to automate some of the things you explain on the video, like the c_cpp_properties.json configuration

  • @jucilenesiqueira6848
    @jucilenesiqueira6848 10 месяцев назад

    thank you.

  • @wogalwogal
    @wogalwogal 3 года назад +1

    Great Video ty

    • @YuriR
      @YuriR  2 года назад

      Thank you!

  • @waynehohman3040
    @waynehohman3040 3 года назад +3

    Thanks for the great video! Very helpful. I had one problem though in that at the terminal, my system still wants to run Python v2.7. Any idea why that is hanging on?

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment. Sorry for the delay in replying. Sounds like an environment variable issue. It's possible that your terminal is not loading the IDF variables (that contain the PATH to the correct python version). You could try the Quick Fix link that I've added in the description for the most recent IDF issue on VS Code and see how it goes.

  • @yahmk3978
    @yahmk3978 3 года назад +1

    Thank you!

    • @YuriR
      @YuriR  2 года назад

      No worries, thank you!

  • @maikovisky
    @maikovisky 3 года назад +2

    Parabéns meu galo. Legal a ideia. Pena que foi um pouco tarde para mim, já tinha feito isso.

    • @YuriR
      @YuriR  2 года назад

      Thanks Maiko!

  • @JovemJulio
    @JovemJulio 2 года назад +1

    Caraca, eu trabalhei contigo no CETA!!!!

  • @bflmpsvz870
    @bflmpsvz870 3 года назад +1

    Amazing!

    • @YuriR
      @YuriR  2 года назад

      Thank you so much!

  • @user-hq3kq4zl5b
    @user-hq3kq4zl5b 4 месяца назад

    Hello. I want to learn how to program ESP 32 modules. Can you tell me where to start for a newbie? Are there any good courses or books?

  • @rajbirsingh4879
    @rajbirsingh4879 3 года назад +10

    At "04.50" the two commands "terminal.integrated.shell.windows" and "terminal.integrated.shellArgs.windows"are now deprecated.
    What is the solution now?

    • @butsukete1806
      @butsukete1806 2 года назад

      Deprecated means it still works until some future version. The problem is the startup bat file not finding python. Tried using .espressif/idf_cmd_init.bat instead of esp-idf/export.bat (which gets called by idf_cmd_init), but that didn't work either. Guess it needs some hax to set *PATH correctly.

    • @claasmeints6158
      @claasmeints6158 2 года назад

      I don't know why, but somehow this is how it works with the recommended shell profiles:
      "terminal.integrated.profiles.windows": {
      "Command Prompt": {
      "path": [
      "${env:windir}\\Sysnative\\cmd.exe",
      "${env:windir}\\System32\\cmd.exe"
      ],
      "args": [
      "/k",
      "C:/esp/esp-idf/export.bat && C:/esp/esp-idf/export.bat",
      ],
      "icon": "terminal-cmd"
      },
      }
      }
      Somehow I need to run export.bat two times

    • @YuriR
      @YuriR  2 года назад

      Hi Rajbir, sorry for the delay. I made a quick video with the fix, you can check it here: ruclips.net/video/N93RvZz6dEc/видео.html

  • @arthur5073
    @arthur5073 2 года назад +1

    Bahh vlw meu grande, teu video me ajudou demais.

    • @YuriR
      @YuriR  Год назад

      Glad it helped!

  • @josepedraza6686
    @josepedraza6686 3 года назад +2

    Thanks for explain and share you knowledge! I tried setup IDF with platformio without success.

    • @YuriR
      @YuriR  2 года назад

      Thank you for the comment and for liking the video!

  • @Rita-xj4ot
    @Rita-xj4ot 2 года назад +1

    Thank you

    • @YuriR
      @YuriR  2 года назад

      No worries, Thank you!

  • @thomasbarnekow1281
    @thomasbarnekow1281 3 года назад +2

    Nice tutorial. Did you also look at the VS Code ESP IDF extension? Or did that not exist when you produced this tutorial? It seems the extension makes it even easier.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! Indeed with the new updates on the extension, it looks a lot more reliable! Although I personally prefer having maximum control of the environment and everything regarding the project. But the extension is a good alternative.

  • @franky12
    @franky12 3 года назад +3

    Super video and first class introduction to the ESP toolchain!
    Unfortunately so far the first and last video on your channel... 😢😢😢

    • @YuriR
      @YuriR  2 года назад

      Thank you so much for the comments! I'm back :) more videos coming soon!

  • @hondaman900f
    @hondaman900f 3 года назад +1

    Excellent - thank you! A great tutorial and very nicely produced. In setting up the workspace settings (around 4:50 in your video) VS Code objects with this message: "This is deprecated, the new recommended way to configure your default shell is by creating a terminal profile in `#terminal.integrated.profiles.windows#` and setting its profile name as the default in `#terminal.integrated.defaultProfile.windows#`. This will currently take priority over the new profiles settings but that will change in the future.". Will the settings you explain still work?

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! Indeed, VS Code now doesn't accept those configurations anymore. Please find a new video link with the fix in the description of this video!

  • @saydiy1528
    @saydiy1528 Месяц назад

    Great! didn't see you mention Python, seems used idf-python only? I got build error: [904/906] Linking CXX executable blink.elfFAILED: blink.elf, how to fix?

  • @user-dg3ut2mc6i
    @user-dg3ut2mc6i 3 года назад +1

    Супер! Спасибо. Слушать можно на любом языке. Просто включаешь субтитры и переводишь на русский.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! Great to know!

  • @jatustudiobox3986
    @jatustudiobox3986 3 года назад +1

    Hi Yuri, this video is so great for me. :) Thank you very much.
    I have some question, can this installation and tools use with ESP8266?

    • @YuriR
      @YuriR  2 года назад

      Hi Jatu, thanks for the comment! Unfortunately it doesn't apply for the ESP8266 :(

  • @Factory400
    @Factory400 3 года назад +1

    Excellent presentation!
    I am doing everything in my power to escape coding in C. Micropython has been allowing me to get the vast majority of applications up and running so much faster while still being able to use inline C or ASM when needed.
    Any chance you are able to engage Micropython for ESP32??

    • @YuriR
      @YuriR  2 года назад +1

      Thanks for the comment and support! Micropython is great for quick applications like you said and it's becoming more and more popular these days. However, my main focus in this channel for now is into C/C++ Firmware development, sorry! But maybe in the future🙂

  • @SpottedEagleOwls
    @SpottedEagleOwls 3 года назад +1

    You are a genius

    • @YuriR
      @YuriR  2 года назад

      Thank you!😅 More videos coming soon!

  • @stevengreenberg7634
    @stevengreenberg7634 Год назад +1

    Action buttons do not appear to work, perhaps because of the new terminal configuration. I should first mention that everything else in this video worked perfectly, thank you!
    The action buttons appear where they are supposed to and they open a terminal, which then runs the full IDF environment setup batch file. But by the time all that is done, the button command itself is lost and never runs. Note that I can successfully run any "idf .py" command in that terminal window that just opened from the button. But I could have done that in any regular terminal window.
    Edit: I should add that I've found that while it never works on the initial click, it *usually* works if you click it a second time in a row. So it's somewhat usable - weirdly flaky though.

  • @jairofuentes8316
    @jairofuentes8316 3 года назад +2

    Please do a series!

    • @YuriR
      @YuriR  2 года назад

      Coming soon! :)

  • @guilhermemaia3959
    @guilhermemaia3959 3 года назад +1

    Greetings from Brasil!

    • @YuriR
      @YuriR  2 года назад +1

      Thank you, hi Brazil!

  • @ahmadal-tarabeen9253
    @ahmadal-tarabeen9253 Год назад

    Great video man!
    I still have the problem at min 6:55
    but after the fix I still have one line under the "driver/gpio.h"
    Please help me with it

  • @gionibegood6950
    @gionibegood6950 3 года назад +8

    hey Yuri, when is the next movie? I am interested in compiler optimisation for esp32

    • @YuriR
      @YuriR  2 года назад +1

      Thanks for the comment, the next video is coming in a few days :)
      I'll consider covering compiler optimization! Thanks for the suggestion.

  • @dehCremus
    @dehCremus 3 года назад +5

    Thanks for the video! However, my VS code terminal won't recognize the python venv of esp-idf. I added its path, but idf.py still uses the regular python interpreter. Also when I changed the blink.code-workspace settings. Do you know the solution?

    • @3nt3_
      @3nt3_ 3 года назад

      source venv/bin/activate

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment. I've added a link with a fix for an issue inside the latest VS Code versions. You could try following that, and check if VS Code has permissions to load the environment variables (it shows a popup asking for permissions and you have to allow it). I hope it helps!

  • @jdscott20101
    @jdscott20101 Год назад +1

    none of my include statements are working properly. nothing was covered in the video about this. not sure if i did something wrong

  • @andyseeker7492
    @andyseeker7492 3 года назад +1

    Hi, very informative video! I have a short question about the error shown at 7:41, on my Win7 machine I also have these lines, saying "sys
    eent.h" file missing, I would like to ask if this matters? Because later I would develop with the RTOS package.

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! It shouldn't matter. This error means that VS Code is not finding those files, but it doesn't mean that the compiler doesn't know where they are. So you should be ok. RTOS videos coming in the future :)

    • @ThePatrol101
      @ThePatrol101 2 года назад +1

      @@YuriR But isn't there some way to add it ? It is annoying to get this error. Greetings

    • @YuriR
      @YuriR  2 года назад

      Hi @ThePatrol101 yes, you can add this line to your c_cpp_properties.json in the "includePath" section:
      "C:/esp/.espressif/tools/xtensa-esp32-elf/**"
      Adjust the path to your case (Just basically locate your xtensa-esp32-elf folder and add it there). :)

  • @j.r.1649
    @j.r.1649 3 года назад +2

    Hi Yuri,
    I wonder why you don't use the platformIO-Extension of VSCode instead? I have made great experience with it and I actually don't see the advantages of ESP-IDF..

    • @YuriR
      @YuriR  2 года назад

      Hi J.R., Platform IO is a great tool! I personally prefer having maximum control over the code and the project's environment, so I understand everything that's happening behind the scenes. And yes, I think Platform IO is a good alternative.

  • @nielspaulin2647
    @nielspaulin2647 3 года назад +1

    excelleent!

    • @YuriR
      @YuriR  2 года назад

      Thank you!

  • @Eiarlk
    @Eiarlk 2 месяца назад

    I am using rust programing language what changes should i make

  • @mikaelhoseth1144
    @mikaelhoseth1144 2 года назад +1

    Very nice.
    I have a question to you.
    I have been working with Arduino IDE for about 11 Years, also tried platformIO.
    I have now fallen a bit in love with ESP-chips for greater tasks, and i read that using arduino IDE aint the way to go for stability.
    How is the library support using IDF and VScode? can i include same libraries as the arduino IDE?
    How is the difference in coding overall?

    • @YuriR
      @YuriR  2 года назад

      Hi Mikael, thank you for the comment and great question.
      ESP chips are great indeed! You can do a lot of cool things with them.
      You are absolutely correct. Arduino IDE is great for quick and simple applications. But once you start to develop more complex and advanced code, it becomes very difficult to manage and understand what is exactly happening behind the scenes inside the microcontroller.
      IDF on the other hand, let's you do things with a microcontroller that you can't even dream of with the Arduino IDE. Think professional applications and advanced electronic products.
      IDF is a bit more difficult to program and mostly used by professional embedded programmers, as you need to learn things like C/C++, memory management, task concurrency and other things. They are all learnable, and I will cover a lot here in the channel :)
      Regarding the libraries, unfortunately they are not directly compatible, but you can port them to IDF, which also forces you to understand how a particular library works in your program and gives you more control over the code's stability.
      I hope that clarifies a bit :)

  • @MatteoCordray
    @MatteoCordray 3 года назад +3

    If you are having problems with Python 3.9 (I did), add an environment variable called PIP_EXTRA_INDEX_URL with the value "dl.espressif.com/pypi" (without the quotations). This fixed my build environment after installing

    • @YuriR
      @YuriR  2 года назад

      Thanks for sharing your solution!

  • @byrondavison
    @byrondavison 3 года назад +6

    This is an excellent video, ditch the background music. Waiting for your next video, please show websockets!!

    • @YuriR
      @YuriR  2 года назад

      Thanks for the comment! Still checking what's the best way to have a good balance between background music to make it more dynamic and just the plain voiceover. Thanks for the suggestion!