Embedded C++20: VSCode Setup for C++ and Useful Extensions

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

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

  • @humanrightsadvocate
    @humanrightsadvocate Год назад +5

    23:33 ‒ End of extension talk.
    36:16 ‒ The actual reason you clicked on this video.
    47:24 ‒ End of debugging.

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

    Thank you so utterly much for your tutorial series!!! It absolutely helps so enormously, I really appreciate you doing that!

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

    The extension talk stops at about 23:33

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

    Very useful, thanks for all the hard work 👍

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

    how to change from c++98 to c++17 in vs code ??

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

      Vscode isn't a compiler. You need to use something like clang or GCC and a version of that which supports c++17. In GCC the flag to set 17 mode would be --std=c++17

  • @QuanNguyen-cr7
    @QuanNguyen-cr7 Год назад

    How to install c++20 on vscode

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

      You don't install c++ on vscode. You install a compiler on your operating system. If you're on Ubuntu, for example, you'll have GCC already but you could install Clang as an alternative.

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

    SmoothType is deprecated and has been built into VSC

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

    Great. Keep it up!

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

    Where is c++20?

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

      What do you mean?

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

      @@DrGreenGiant video title is embedded c++20. I expected to see c++20 in the code. I am trying to code c++20 on vs code but couldn’t do it and I wanna see how you do it.

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

      @@loggyaltsen8191 it's in the compiler flags. I am still waiting on Espressif to upgrade the GCC version so we can use this. So until then, I am showing you how you best practices and things to think about when targeting embedded bare metal systems. Until the toolchain catches up that's all I can do.
      I was tempted to do this on ARM but the community wanted ESP.
      Hopefully IDF version 5 isn't far away