Welcome! Log In Create A New Profile

Advanced

Need Help With Marlin 2.0 And Melzi 2.0

Posted by GhassanYusuf 
Need Help With Marlin 2.0 And Melzi 2.0
February 07, 2020 02:01PM
Dear Brother And Friends

Good day to you, I have a Melzi 2.0 Board which is equipped with Atmega1284p, I downloaded marlin 2.0 firmware yesterday. because I wanted to add an inductive sensor for auto bed levelling, I am using VS CODE and PlatfromIO. however, everything seems to compile nicely but always have a problem at the end of the compilation. can anyone help me?

I have dug into the issue too before I do the steps, reference is the below two youtube videos

Video One - That It Can Be Done
Video Two - Trials With Firmware Where I Followed the Steps Exactly

I Have attached The Configuration.h File So You Can See Or Check What's Going Wrong.

The Picture Of The Board I Have


The Compilation Error I Am Getting




Edited 1 time(s). Last edit at 02/07/2020 02:08PM by GhassanYusuf.
Attachments:
open | download - Configuration.h (82.1 KB)
Re: Need Help With Marlin 2.0 And Melzi 2.0
February 07, 2020 08:46PM
This is much more likely to be a virus checker, blocking something needed.

your configuration.h compiles fine on my system.
Archiving .pio/build/sanguino_atmega1284p/lib8fa/libU8glib-HAL_ID1932.a
Indexing .pio/build/sanguino_atmega1284p/lib8fa/libU8glib-HAL_ID1932.a
Linking .pio/build/sanguino_atmega1284p/firmware.elf
Checking size .pio/build/sanguino_atmega1284p/firmware.elf
Building .pio/build/sanguino_atmega1284p/firmware.hex
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA:    [==        ]  24.1% (used 3950 bytes from 16384 bytes)

Edited 1 time(s). Last edit at 02/07/2020 08:47PM by Dust.
Re: Need Help With Marlin 2.0 And Melzi 2.0
February 08, 2020 01:14AM
I tried turning off my anti-virus, and I downloaded the marlin 1.1.9 compilation worked but on marlin 2.0 it fails always
Re: Need Help With Marlin 2.0 And Melzi 2.0
February 08, 2020 03:25AM
Well the other option is its the windows exec limit.... but I wouldn't have thought a melzi would trigger that.....

give this a try

Go into Marlin/src/HAL and delete the following directories (meliz uses HAL_AVR and shared, these others are not needed. )

HAL_SAMD51
HAL_STM32_F4_F7
HAL_DUE
HAL_LINUX
HAL_STM32
HAL_TEENSY31_32
HAL_ESP32
HAL_LPC1768
HAL_STM32F1
HAL_TEENSY35_36

and try again.

Edited 1 time(s). Last edit at 02/08/2020 03:26AM by Dust.
Sorry, only registered users may post in this forum.

Click here to login