Double your Arduino IDE Compiling Speed - ESP32, Arduino

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

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

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

    Thanks for the last bit of convincing I needed :) for updating my arudinoIde ontomy wsl

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

    Nice video John, and not a bit of smoke in sight.
    Now if only there was a method of getting me to code faster I might finish my latest project.
    I could have done it in 5 or 6 minutes in Arduino, but wheres the fun in that! WiFi connecting with the ESP8266 is a lot more fun when you are doing it all low level.
    Trying to connect as a station but full back to being an access point if it can't connect is proving to be quite fun, but that's where the learning is.

    • @Magic-Smoke
      @Magic-Smoke  2 года назад +1

      🤣

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

      Haha

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

      @@BenCos2018 if you think that's funny you should subscribe for more laughter 🙂

    • @Magic-Smoke
      @Magic-Smoke  2 года назад +2

      Here and with TEH he means 🤣

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

      @@TheEmbeddedHobbyist haha I thought I already had subscribed lol
      Done now lol

  • @dado304
    @dado304 6 месяцев назад +1

    You are great, Sir!

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

    Thank you for WSL. Didn't know.
    Please tell what is your CPU, RAM Freq? My old i5-7500, RAM 16GB@2400 on Debian 9 (almost Ubuntu) compiles ~8 sec cashed compilation.
    Your result is about 20 sec.
    On Windows 10 on i7 gen3 with RAM 8Gb it takes 26 sec cashed compilation.

    • @Magic-Smoke
      @Magic-Smoke  Год назад

      I'm afraid I'm away from home at the moment so I can't check.

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

    Do we know WHY it's any faster?

    • @Magic-Smoke
      @Magic-Smoke  11 месяцев назад

      Probably because file handling is much more efficient.

    • @Rubysh88
      @Rubysh88 5 месяцев назад +1

      It's the caching, developing for esp on other ide is faster as well even on windows because they also cache part of the compiled code so you only process the script it self. sadly, if you want to use Arduino, on windows, you'll have to deal with the full compilation every time.

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

      @@Rubysh88 christ, that's horrible news. :/

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

    I'm trying to make it work with version 2.1.0

    • @Magic-Smoke
      @Magic-Smoke  Год назад

      I have to admit I haven't tried it. v2.0 was too flaky when I made the video.

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

      @Magic-Smoke I did it, please see my comment above .. I suffered to make it.. but it"s quite cool. Arduino 2.2.1

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

    The BIG question...WHY? Why is the ide under Windows 10 so slow? It shouldn't be a problem. Nobody seems to have the answer. Post another video when you find out why.

    • @Magic-Smoke
      @Magic-Smoke  Год назад

      It probably comes down to file handling, windows defender and how many cores are used.

    • @WoWPro71
      @WoWPro71 7 месяцев назад +1

      as much as i know it goes to backlevel, windows open too many threads for each task and uses way too many kernels to perform every single hw operation it needs causing it to be slowed down. best win for development is clean win

    • @dado304
      @dado304 6 месяцев назад +1

      What I see, cpu percentage is not going more then 25% in usage. So could be 4 times faster! (assuming fast SSD disks, which are now standard)

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

    :~/arduino-1.8.19$ ./arduino
    Picked up JAVA_TOOL_OPTIONS:
    java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117)
    at processing.app.Base.(Base.java:240)
    at processing.app.Base.main(Base.java:150)
    arduino not opening and got a message above. what to do?

    • @Magic-Smoke
      @Magic-Smoke  Год назад

      If you're on Win11, it seems that WSLg may not be correctly installed? Is WSL the latest version?

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

      @@Magic-Smoke sorry, I am on windows 10 and wsl latest version, don't know about wslg.can you explain? than kyou.

    • @Magic-Smoke
      @Magic-Smoke  Год назад +1

      Ah! Then you either need to upgrade (free) or use the guide by @networkchuck but it's not so easy. ruclips.net/video/27Wn921q_BQ/видео.html

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

      @@Magic-Smoke I tried to upgrade but the system says my machine is not qualified for an up gradation.

    • @Magic-Smoke
      @Magic-Smoke  Год назад +1

      @@neelimavungal that's a shame! Try the network chuck link I sent earlier