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!🙂
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! 😃 😃 😃
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!!
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.
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
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
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. 🙏🙏🙏
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
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!
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
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]
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.
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.
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.
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!
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. 👍👍
At "04.50" the two commands "terminal.integrated.shell.windows" and "terminal.integrated.shellArgs.windows"are now deprecated. What is the solution now?
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.
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
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?
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!
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.
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.
Thanks you for great tutorial. I follow step by step but i got error that inform "cannot open source file "sys/_types.h" (dependency of "freertos/FreeRTOS.h")". I can't fix it. Can you help me
I think I got it: Add this to includePath in c_cpp_properties.json, change your tool path-> "${workspaceFolder}/build/config", "C:/YOUR_TOOLS_PATH/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include"
Great video the esp-idf extension fails a lot, I did the terminal configuration in "Preferences: User Settings" so I have not to save a new workspace for each time I open a file, works great!
Thanks for the comment! That was a great idea, since VS Code stopped supporting the configuration inside the workspace file, and now we should do like you did!
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?
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.
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.
Hi Kaan, that error is new to me, but there's a recent issue with the IDF terminal inside the latest VS CODE versions which could be related. I just made a quick video with the fix, you can check it here: ruclips.net/video/N93RvZz6dEc/видео.html Let me know how it goes.
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..
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.
Thanks for the comment. The ESP IDF Extension is great tool as well, it's up to you to choose. Personally, I prefer doing everything myself, as I have more control over everything that's happening behind the scenes.
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??
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🙂
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 ?
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?
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 :)
nice work. everything works in idf command window; but when inside VSC it cant build, saying python cant find /tools/idf.py - the export.bat in that vsc shell IS being executed.
@@hondaman900f I Uninstalled all vsc and idf, make sure any idf env vars are gone. Delete vsc stuff in user profile including the code folder. Don't know exact paths. Can keep downloaded files but delete any out of date. Install idf only as vsc extension. Everything works finally. Create project,set target, run menu configuration from gear icon at bot of vsc window., save even if no changes. read docs about f1 commands in vsc espidf extension at bottom of its page in vsc, many cmds like set target, create project. Worked for about six projects today
@@hondaman900f note setting dev board will set target chip too. What board and chip do you have ? I have Kaluga board with ezp32-s2 which is not default chip of esp32.
Hi Agnichatian, sorry for the delay. I'm glad you got it working. Sometimes the enviroment variables don't load properly inside VS CODE if the installation is a bit wonky. Happened to me a few times as well, reinstalling solves most of the time.
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
Thank you, wonderfull video. İ want to ask a question, if you help me i am very happy. i want to use arduino library with vsc as a component, but i cant do that.
You could manually port the specific Arduino libraries that you want to use for your project, that may not be a simple job thought. I might make a video about this in the future. Another option would use PlatformIO as suggested by Dawleb.
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
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!🙂
Thank you so much!!
Thank you very much. Its very helpful and for me this was the only solution. Thank you very much 💗
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! 😃 😃 😃
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!!
Thank you for the comment! I'm glad it helped you! New videos are coming soon, I hope you like them!
I have never seen any video more useful than yours about ESP. you really directly guide to common problems everyone has!
Thank you so much for your comment! I'm glad the videos are helpful :)
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.
yeeeeeeeeeahp....this workflow is absolute BS
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
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!
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
Thanks for the support! More tutorials coming soon :)
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
Thanks for your comment! Glad to know it was useful! Next video in a few days :)
By far the best explanation I have seen. The only missing part is JTAG debugging.
Thank you for your kind words. Keep in tune for the next video coming in a few days 😁
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. 🙏🙏🙏
Glad you liked it! More videos coming soon :)
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
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!
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
Thanks for sharing your solution!
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
Thank you so much! Will definitely do one!
Just developed for Air Cond monitoring, your tutorial is very helpful.
You are an execent teacher, thank you. You made it so simple! been batling with VSCode and ESP for months now.
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!
You deserve more subscribers. So I am in. +1 sub. Keep up the good work man.
Thank you for your kind words and support. New videos coming soon! :)
Thanks for the detailed walk thru. Great content and production. Looking forward to other ESP32 beginner content.
Thanks for the comment! New ESP32 videos coming soon!
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]
I'm glad it helped Gary! Thanks for all the comments and welcome to IDF :)
The quality of this tutorial is top notch. Definitely subscribing!
Thank you so much for the comment and support!
Thank you, Yuri, for an excellent presentation. I particularly liked the even modulation and pace of delivery.
Thank you! I'm glad you liked!
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.
Thank you for the kind words and subscription! New videos are coming soon this week!
Very good! I'm anxious for the next video.
Thank you! New video coming this week :)
Thanks for this video. It helped me understand how people get started with coding IDF.
Thanks Matthew! I'm glad you liked it! More IDF videos coming soon.
This was great. Please make more.
I'm glad you liked, new videos coming soon :)
@@YuriR thanks yuri. Best of luck for the channel. 😊
Super video and first class introduction to the ESP toolchain!
Unfortunately so far the first and last video on your channel... 😢😢😢
Thank you so much for the comments! I'm back :) more videos coming soon!
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.
Hi... Hope all well at your end...Waiting for your next video. Take care
Thank you for your comment and concern. Everything is ok :) I was just super busy with work. New videos are coming soon!
Hello. This is the best video on this topic to date !!! Thank you very much!!!
Thank you for your kind words! I really appreciate it!
Yuri R. Thankyou for sharing your experience with us. 💡✨
Thanks Rejane!
Thanks for your time. Waiting for the next video. Good luck
Thanks for the comment! New video coming soon!
Excellent ! Many thanks for sharing. Yes ESP mesh would be a good topic to explore.
Thanks for the comment! Yes, ESP Mesh is in the plans for the future videos :)
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.
This is an excellent video, ditch the background music. Waiting for your next video, please show websockets!!
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!
Que massa meu! Excelente qualidade teu vídeo! Boa sorte nessa nova empreitada!!
Thanks for the comment! I really appreciate it!
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. 👍👍
Thank you for this awesome tutorial. Very helpful..
Thanks for the comment, I'm glad it helped!
At "04.50" the two commands "terminal.integrated.shell.windows" and "terminal.integrated.shellArgs.windows"are now deprecated.
What is the solution now?
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.
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
Hi Rajbir, sorry for the delay. I made a quick video with the fix, you can check it here: ruclips.net/video/N93RvZz6dEc/видео.html
hey Yuri, when is the next movie? I am interested in compiler optimisation for esp32
Thanks for the comment, the next video is coming in a few days :)
I'll consider covering compiler optimization! Thanks for the suggestion.
Thank you! Please continue this series
Thank you! New videos coming soon! :)
thank you very much, from vietnamese with love
Thank you for the kind words!
Excellent instructional video, thanks for your detailed explanations. Subscribed!
Thank you so much for the comment and support!
Thanks for the video, you really helped me, also as a good brazilian I noticed your accent!
Great vedio Yuri keep going ❤️❤️❤️
Thank you so much! More videos coming soon!
Супер! Спасибо. Слушать можно на любом языке. Просто включаешь субтитры и переводишь на русский.
Thanks for the comment! Great to know!
Wonderful video. Very useful video tutorial. Thank you very much ❤
Thank for your tutorial is help me so much in my project, It easy than esp-idf extension:)))))) nice work bro 😎 +1sub
Thank you! I'm glad it helped! New videos coming soon!
@@YuriR i hope it ‘s about gatt server library :)))
@@YuriR I'm still waiting for your new video.
Thanks for the vid. It really put some things together for me.
Thank you. Glad it helped!
Congratulations man!!! Great video!
Thanks Josepe!
Thanks for explain and share you knowledge! I tried setup IDF with platformio without success.
Thank you for the comment and for liking the video!
Please do a series!
Coming soon! :)
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?
source venv/bin/activate
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!
Hi Yuri
Great Video, made my life simpler
Thanks
Suresh
Thanks Suresh, I'm glad it helped!
Very helpful! Thank you for sharing the video!
Thank you for the comment!
Thanks for your time sharing this excellent information.
Nicely explained, Yuri
It's been 4 months and no any new video. Have you stopped making new ones?
Thank you Harshad! It has been a while indeed :) I'm back to making new videos. Next one coming this week. Stay tuned!
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.
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.
Thanks you for great tutorial. I follow step by step but i got error that inform "cannot open source file "sys/_types.h" (dependency of "freertos/FreeRTOS.h")". I can't fix it. Can you help me
same here..
could you solve it..?
Same problem here :(
I think I got it:
Add this to includePath in c_cpp_properties.json, change your tool path->
"${workspaceFolder}/build/config",
"C:/YOUR_TOOLS_PATH/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include"
Same problem :(
Nice work! That worked for me! Thanks.
Great to hear!
none of my include statements are working properly. nothing was covered in the video about this. not sure if i did something wrong
Great video the esp-idf extension fails a lot, I did the terminal configuration in "Preferences: User Settings" so I have not to save a new workspace for each time I open a file, works great!
Thanks for the comment! That was a great idea, since VS Code stopped supporting the configuration inside the workspace file, and now we should do like you did!
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?
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.
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.
Fantastic presentation
I am glad you liked it.
Apart from the annoying background music: thank you, I learned some good new things!
Thank you, Yuri, for an wonderful presentation. Can you make a tutorial about Matter protocol in ESP32
I like this tutorial. you explain more in this video.
Glad you liked it!
python.exe: can't open file 'C:\tools\idf.py': [Errno 2] No such file or directory
I had this error and still could find why. Do you have any idea
Same here, did you find a solution to this?
@@steiner8599 actually no, I'm using the eclipse. That is much better
Anyone find out the solution?
Can anyone help with this?
Hi Kaan, that error is new to me, but there's a recent issue with the IDF terminal inside the latest VS CODE versions which could be related. I just made a quick video with the fix, you can check it here: ruclips.net/video/N93RvZz6dEc/видео.html
Let me know how it goes.
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..
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.
Very informative thanks! Just one question why not use ESP_IDF VS code extension? Is there any difference?
esp-idf extension is the hardest extension i ever installed.
Thanks for the comment. The ESP IDF Extension is great tool as well, it's up to you to choose. Personally, I prefer doing everything myself, as I have more control over everything that's happening behind the scenes.
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??
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🙂
Super Handy... Thanks a ton Brother..
No problem 👍:)
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 ?
Thanks for this excellent tutorial
Parabéns meu galo. Legal a ideia. Pena que foi um pouco tarde para mim, já tinha feito isso.
Thanks Maiko!
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?
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 :)
You are a genius
Thank you!😅 More videos coming soon!
I use platformIO extension on vscode. this extension would manage most of the tasks with different type of boards.
It's is a great video tutorial. Thank you.
Thanks for the comment! I'm glad you liked it.
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?
Hi Jatu, thanks for the comment! Unfortunately it doesn't apply for the ESP8266 :(
do you have classes available on any online platform? Like for example on Udemy?
Not yet, maybe someday :)
Very Good Videos.. Keep it up..
Great tutorial, thank you!
Thanks for the comment Mica!
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?
Caraca, eu trabalhei contigo no CETA!!!!
Klasse Video. Warum machst du keine Videos mehr?
nice work. everything works in idf command window; but when inside VSC it cant build, saying python cant find /tools/idf.py - the export.bat in that vsc shell IS being executed.
Did you find a solution to this? I have the same issue.
@@hondaman900f I Uninstalled all vsc and idf, make sure any idf env vars are gone. Delete vsc stuff in user profile including the code folder. Don't know exact paths. Can keep downloaded files but delete any out of date. Install idf only as vsc extension. Everything works finally. Create project,set target, run menu configuration from gear icon at bot of vsc window., save even if no changes. read docs about f1 commands in vsc espidf extension at bottom of its page in vsc, many cmds like set target, create project. Worked for about six projects today
@@hondaman900f note setting dev board will set target chip too. What board and chip do you have ? I have Kaluga board with ezp32-s2 which is not default chip of esp32.
@@agnichatian Thank you - that did the trick, I'm all working now. I'm using the Heltec WiFi 32 with on-board OLED display.
Hi Agnichatian, sorry for the delay. I'm glad you got it working. Sometimes the enviroment variables don't load properly inside VS CODE if the installation is a bit wonky. Happened to me a few times as well, reinstalling solves most of the time.
This is very Help full and cool
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
Thanks a lot pal. As well it would be better to explait how to make it possible to debug the ESP32 project in the Visual Studio Code.
Yo no hablo ingles pero seguiré este curso
Thanks! You should be able to watch by enabling the subtitles in your language
Pls continue with esp32 lessons.
Thank you for the comment, new ESP32 videos coming soon!
Thank you, wonderfull video. İ want to ask a question, if you help me i am very happy. i want to use arduino library with vsc as a component, but i cant do that.
Use Platformio plugin fo VSC :)
You could manually port the specific Arduino libraries that you want to use for your project, that may not be a simple job thought. I might make a video about this in the future. Another option would use PlatformIO as suggested by Dawleb.
Bahh vlw meu grande, teu video me ajudou demais.
Glad it helped!
Greetings from Brasil!
Thank you, hi Brazil!
Hi my antivirus flags ESP_IDF as a trojan
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
This is the thing i am looking for internet.
Thank you! Glad you liked
hi, nice video ! By the way, any plan to explain debugging (in Vscode) ? and also will you do Eclipse ide as well? Thank you
+1 this one ☝️
Thank you for the comment! Keep in tune for the new video this week! :)
ありがとうございます!
Cool video, thanks :)
Thank you! :)