Arduino esp32 toolchain unusable slow

Sysprogs forums Forums VisualGDB Arduino esp32 toolchain unusable slow

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37097
    paulh001
    Participant

    I try to compile a small arduino sketch with lvgl library and TFT_eSPI library. The total compile time takes more that 15 minutes. This is unusable to do any development.

    If I compile the same sketch with the Arduino IDE 2.3.7 the compilation is done in a few minutes.

    Is there anyway to speedup the compile time?

     

    #37098
    support
    Keymaster

    Hi,

    The Arduino-based projects are built using arduino-builder.exe – a tool that comes from the Arduino IDE and handles all the build logic. We forked it to produce accurate IntelliSense information, but did not change anything else.

    You can try capturing the arduino-builder command line as shown here and building the project manually. Is it still slow? Does the command line in Arduino IDE look different?

    Also please note that most slowness issues are caused by external factors (e.g. slow antivirus, slow system drive where the Arduino libraries are placed). E.g. if you whitelisted the Arduino IDE in the antivirus, you would need to whitelist Visual Studio in the same place.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.