Welcome! Log In Create A New Profile

Advanced

Ramps 1.4 help

Posted by rroberts509 
Ramps 1.4 help
February 17, 2018 06:17PM
I am compiling the sketch to load onto the ramps 1.4 board to replace the main board on a anet a6. I am getting the error: "operator '==' has no right operand" in the boards.h file. Can any one help with what this might be?
Attachments:
open | download - Untitled.jpg (213 KB)
Re: Ramps 1.4 help
February 17, 2018 08:40PM
You haven't set motherboard to anything valid in configuration.h
Re: Ramps 1.4 help
February 17, 2018 11:14PM
Here is my motherboard definition in configuration.h
Attachments:
open | download - Untitled2.jpg (165.4 KB)
Re: Ramps 1.4 help
February 18, 2018 02:45AM
That look ok...

So you need to provide all the details

what os?
what version of arduino?
where did you download marlin from?
what did you change?
and provide your complete configuration.h
Re: Ramps 1.4 help
February 18, 2018 07:16AM
When I look at the motherboard definition in configuration.h
I see he forgot part of the line

your line

#define BOARD_RAMPS_14_EFB

Where is MOTHERBOARD

the corrected line

#define MOTHERBOARD BOARD_RAMPS_14_EFB

When I delete MOTHERBOARD I get the same error

Edited 2 time(s). Last edit at 02/18/2018 07:18AM by Roberts_Clif.
Re: Ramps 1.4 help
February 18, 2018 03:39PM
That fixed it i didn't have motherboard in there thank you.
Re: Ramps 1.4 help
February 18, 2018 09:23PM
Well spotted... totally missed it... This is why I prefer attachments vs screen shots, you can do a diff and it then sticks out like a sore thumb,
Re: Ramps 1.4 help
February 19, 2018 12:25PM
I was introduced to Win Merge and do not know how I updated so many versions of Marlin correctly without it.

By doing so many updates manually allowed me to understand the programming syntax, I seen the error and knew it was wrong but double checked as a precaution.
It helps that I have been employed as a Computer programmer for years, and have written many programs in many different computer languages.
Sorry, only registered users may post in this forum.

Click here to login