Welcome! Log In Create A New Profile

Advanced

Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

Posted by softfoot 
Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 09:48AM
It seems 5-10 times slower than compiling 1.1.8 !!!

I realize it's more complex but even so ...

Dave
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 09:53AM
Try compiling with vscode and platformio. When I compiled marlin2 for an mks base 1.4 board (atmega IIRC) using vscode and platformio it breezed through it. 2 minutes or so.
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 01:26PM
Does PlatformIO support Noteoad++

Regards,
Dave
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 01:40PM
Quote
softfoot
Does PlatformIO support Noteoad++

Regards,
Dave

I don't think so but don't quote me. I use notepad++ but it was faster overall to setup vscode and install platformio inside vscode.
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 01:48PM
OK Thanks
Dave
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 05, 2020 03:06PM
Looking at the documentation it would appear that you cannot debug a Mega2560. (Atmel studio does (also built on top of VS)

How do you upload the program ?? Via the serial port and bootloader ??

Is AvrDude integrated in ?? or do you have to run it seperately ??

Thanks in advance
Dave
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 06, 2020 06:27AM
I was already setup to do hex file uploads to my printers so vscode and pio were all that I setup for compiling. My raspberry pi which hosts my printers has repetier server running and that allows me to do firmware uploads to boards that are connected.

So, I couldn't say if avrdude and vscode are integrated as all I do in vscode is compile marlin. The same goes for the bin files for my mks sgen L boards. Compile with vscode then upload to the board through repetier server.

I know octoprint has a plugin that allows firmware uploads as well.
Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12
March 06, 2020 11:24AM
Thanks for the info.
Dave
Sorry, only registered users may post in this forum.

Click here to login