Installation and Use of the Visual Studio Code ESP-IDF Extension

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 53

  • @whoozie
    @whoozie 3 หลายเดือนก่อน +5

    This is the only thing that worked, you explained everything, step by step, thank you!

  • @pduffy710
    @pduffy710 ปีที่แล้ว

    Thank you for this very helpful tutorial. There is an issue encountered with both the hello_world and blink sample apps ... they compile, flash, run fine, but it seems Intellisense is missing some configuration and is indicating "problems" related to wrong sdkconfig.h (?) being used (CONFIG_FREERTOS_HZ etc.). Adding "${workspaceFolder}/build/config" to .vscode c_cpp_properties.json seems to fix the issue, though not sure why as "${workspaceFolder}/**" is already included.

    • @kmmaran
      @kmmaran ปีที่แล้ว

      your fix worked for me! couldn't find fix for this, thanks heaps!...how did you figure this out?

    • @trungquyenha9951
      @trungquyenha9951 11 หลายเดือนก่อน

      and for me too, thanks.

  • @leas9658
    @leas9658 4 หลายเดือนก่อน

    Seems like he stopped making videos

    • @Intermation
      @Intermation  4 หลายเดือนก่อน +3

      Nope, we just had a really bad family crisis that has taken a while to get through. I plan to get back to making videos this summer. Thanks!

  • @educetheme4175
    @educetheme4175 ปีที่แล้ว +7

    I love you.

    • @mohamedabdelrehem7698
      @mohamedabdelrehem7698 ปีที่แล้ว +1

      I want to say the same
      Finally someone explained the embedded side for esp32❤

  • @BarsAE20
    @BarsAE20 9 หลายเดือนก่อน +5

    Thanks, man! That was really helpful.
    For those, who have trouble with Libraries(IDE doesn't see them), change "C_Cpp.intelliSenseEngine": "default" to "C_Cpp.intelliSenseEngine": "Tag Parser" in your project directory file "settings.json". It solved the problem in my case

    • @paveltomov4743
      @paveltomov4743 3 หลายเดือนก่อน

      In order to get VS intellisense, need to install the "C/C++ Extension Pack" from VSCode Extensions menu.

  • @simonsayshomeassistant
    @simonsayshomeassistant ปีที่แล้ว +6

    Great channel mate, you have a really great way of explaining things!

  • @neilbarnett3046
    @neilbarnett3046 11 หลายเดือนก่อน +3

    1:48 my computer did something different and it looks different and took longer than yours did.
    3:08 If you try to create a folder (the default folder name C:\expressif is wrong) without permission, you get something like "C:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)"... Guess how I know.
    When I created the project from "hello World", I got a bunch of questions, but you didn't. Do I want to configure project Hello World? Do I want to install the recommended "Dev containers extension?" And then do I want to use the Dev container file, (that requires me to restart, and THEN where will I be?)
    So I clicked things until I could see the file list, and my main.c says it has "2 problems in this file" and yours... doesn't. Straight out of the box.
    7:00 your "CONFIG_IDF_TARGET," doesn't have a wiggly red line under it. Nor does "portTICK_PERIOD_MS"
    Do I want to install the Docker extension? Never heard of it, but it's asking me, while it's doing the build.
    Aaaaand, compile fails. identifier "CONFIG_IDF_TARGET" is undefined and identifier "CONFIG_FREERTOS_HZ" is undefined.
    It did seem to flash my ESP correctly, but actually working? No, it can't do that. IT says "failed the flash, see terminal" and the terminal shows that it flashed fine and then reset.
    Really, this talk would be great if you were interactive in front of a class, but on video? It all works perfectly for you, all the time. No recovery for when it doesn't.

    • @BratPit
      @BratPit 6 หลายเดือนก่อน

      That's true, same with me. I'm spending second day trying to fix problems, searching forums etc.
      Edit: "Something went wrong while trying to build the project" which is just based on buit-in example... ¯\_(ツ)_/¯

    • @mtraven23
      @mtraven23 6 หลายเดือนก่อน

      @@BratPitany luck? I have been scratching my head trying to get an example to compile. cant parse the compile_commands file....the system is not even making the .bat file it needs. I've reinstalled countless times. nothing seems to work.

    • @BratPit
      @BratPit 6 หลายเดือนก่อน

      ​@@mtraven23 Nope, I'm short of time recently. I tried my work laptop which I use for industrial programming and effects were the same. So for now I decided to use Arduino IDE to focus on programming instead of wasting my time on programs conflicts.

    • @mtraven23
      @mtraven23 6 หลายเดือนก่อน +1

      @@BratPityah, its a nightmare, init it? Why they cant make an extension that works is beyond me.
      Just an fyi, since your good with an arduino framework, you could use PlatformIO in vscode. It actually installs properly! Really well integrated for loads of different boards(thousands) and integrated library database, easy install. I've been using it for about a year now for my regular arduino projects. I really recommend it, even more so after my terrible experience with the IDF extension.

    • @BratPit
      @BratPit 6 หลายเดือนก่อน

      @@mtraven23 Thx for recommendation. PlatformIO was another option I considered but I haven't tested it yet.

  • @christopherlazo2064
    @christopherlazo2064 ปีที่แล้ว +2

    Great video! Question about the debugger, how would we apply it for this? I tried following the document for how to apply debug on ESP-IDF using VS Code but I keep failing :( I wanted to be able to use breakpoints and line by line debug

  • @simonsayshomeassistant
    @simonsayshomeassistant ปีที่แล้ว +1

    How do you get your screen showing with your image behind it?

  • @Zurenio
    @Zurenio 11 หลายเดือนก่อน +1

    What about Debug ? Breakpoints etc..?

  • @kymcainday6677
    @kymcainday6677 ปีที่แล้ว +2

    Wow.. Teaching style is really good. And the display, how do you do that? Can you share how you made the background transparent?

    • @STC_Crafts
      @STC_Crafts ปีที่แล้ว

      there is a transparent window in front of him so he can write it and he has a black backround smart right!

    • @STC_Crafts
      @STC_Crafts ปีที่แล้ว

      he has a projector lol

  • @tomn5660
    @tomn5660 ปีที่แล้ว

    Can't build because the path it made uses backslash instead of '\\' or '/' so the '\' is removed and the source file not found.
    Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B z:\Projects\hello_world\build -S z:\Projects\hello_world
    CMake Error: The source directory "Z:Projectshello_world" does not exist.

  • @nunorodrigues5628
    @nunorodrigues5628 ปีที่แล้ว +2

    awesome

  • @pacsmile
    @pacsmile 5 หลายเดือนก่อน

    would be awesome if you could teach us how to use the amazon common software with the esp32, i've found very little information on it

  • @svarodzic
    @svarodzic ปีที่แล้ว

    didn't work for me
    * Executing task: ninja
    ninja: error: loading 'build.ninja': The system cannot find the file specified.

  • @josiavarghese
    @josiavarghese 8 หลายเดือนก่อน

    Hi Im not able to configure cmake file, It shows an error with include path. is there a way i can solve it?

  • @kancharlakowshik
    @kancharlakowshik 11 หลายเดือนก่อน

    Hello Sir! The compilation ESP32 helpful but can we have the other video explanation with the ethernet and esp32 communication also.... with KSZ8061

  • @bennguyen1313
    @bennguyen1313 ปีที่แล้ว

    I too want to use VS Code (instead of the EspressIF IDF), but when I install/configure the extension.. it keeps looking for the IDF before installing the IDF!
    I've seen others with this issue workaound it by installing the EspressIf platform from inside the PlatformIO extension. But that seems kinda strange to me.
    So, instead, I just installed IDF/Tools directly (esp-idf-tools-setup-online-2.20).. and compiling via the command prompt works fine (idf_py build), yet VS Code IDF extension still does not see it!
    Any plans on how to setup VS-Code to work with a ESP-prog to debug/flash and step thru code (JTAG)?

  • @jozefsoucik3115
    @jozefsoucik3115 24 วันที่ผ่านมา

    "breaking bad" always turns into good...thanx a lot for this tutorial

  • @saydiy1528
    @saydiy1528 4 หลายเดือนก่อน

    good job. I got error of idf.py not recognized. how to fix? Thanks.

  • @stever3886
    @stever3886 ปีที่แล้ว

    Very very good video. I like your style, speed is just right, clarity, and detail. I subscribed after only watching this video…..I normally will not litter my subscriptions with junk so I will subscribe after say 10 videos. Your video was content rich and NOT a waste of time.

  • @Sid72239
    @Sid72239 8 หลายเดือนก่อน

    Oh man! Many thanks. This is the only explanation that get works build Esp32 in Windows VSCode!

  • @MrVipulLal
    @MrVipulLal 4 หลายเดือนก่อน

    Great video. Love your clarity and presentation. Thanks

  • @Thanyasit
    @Thanyasit ปีที่แล้ว +1

    Thank you

  • @ejudeeus
    @ejudeeus ปีที่แล้ว

    This great! Since I’m new to these stuff.

  • @RSEmbedded
    @RSEmbedded 8 หลายเดือนก่อน

    Great Sir! I hope more video you will make.

  • @inqonthat1463
    @inqonthat1463 ปีที่แล้ว

    Thank you for you great video! It got me far further along. Do you have any suggestions of resources to help guide in decisions about the available settings? The number of options is staggering. The little information bubbles help, but doesn't really guide in how things might be optimized for different projects.

    • @mtraven23
      @mtraven23 6 หลายเดือนก่อน

      wait, those info icons actually show you something? they have no action on my system, always wondered why they are even there?

  • @voyage_finder
    @voyage_finder ปีที่แล้ว

    identifier "CONFIG_IDF_TARGET" is undefined this is the error, I m facing, plese help

    • @nessrineabid9762
      @nessrineabid9762 ปีที่แล้ว

      same probleme

    • @Jenna-go7mo
      @Jenna-go7mo 11 หลายเดือนก่อน

      Hi there, were you at least able to build the project despite this error?

  • @silascheeseman4371
    @silascheeseman4371 ปีที่แล้ว

    Excellent video... thank you.

  • @rameshsaud7513
    @rameshsaud7513 9 หลายเดือนก่อน

    continue eps idf series

  • @xwang806
    @xwang806 9 หลายเดือนก่อน

    Useful steps well-explained!

  • @shoyur
    @shoyur ปีที่แล้ว

    I want that turbo button

  • @Bareizm
    @Bareizm 9 หลายเดือนก่อน

    Great and easy!

  • @montypython3014
    @montypython3014 ปีที่แล้ว

    Is this channel dead :c

    • @Intermation
      @Intermation  ปีที่แล้ว +3

      No, I had a death in the family, and it's taken more time than I expected to get back to creating videos. I plan on getting back to work soon. Thanks for asking!

    • @montypython3014
      @montypython3014 ปีที่แล้ว +1

      @@Intermation my condolences. Thanks for all that you do!

    • @mehdichakroun5878
      @mehdichakroun5878 ปีที่แล้ว

      Thank you sir for all your efforts @@Intermation