Welcome! Log In Create A New Profile

Advanced

Configuration.h has #define MOTHERBOARD 34 but see MB in code.

Posted by Giantkiller 
Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 01, 2015 06:51PM
I have Arduino IDE 1.6.6 with the Marlin firmware code. I have a Sainsmart with the Mega2650 io board. My printer is a Replikeo Prusa i3.
In the Marlin code is see the #define MOTHERBOARD 34, but through out the code the reference is MB. So naturally the compile finishes with errors.
There are also other reference names missing or incorrect.
Am I missing something here? I have 30yrs exp in C and have never seen a delivery like this.
I am open to being set straight on this issue if I have serioulsy missed something here.
Thank you in advance. My printer robot has an open mind but needs some thoughts.
Attachments:
open | download - Prusai3.jpg (241.3 KB)
Re: Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 01, 2015 07:27PM
In boards.h you will see
#define MB(board) (MOTHERBOARD==BOARD_##board)

Unless you have changed something there should be no problem compiling.
What is your error you are getting.
Re: Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 02, 2015 03:48AM
Older IDE versions like 1.0.5 are recommended from many people to use with marlin. I´m using IDE 1.6.5 on Win7 and Win 8.1 without errors.
-Olaf
Re: Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 02, 2015 05:06PM
Switched to windows and the comile process is fine now. Thanks to both of you.
Re: Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 02, 2015 08:43PM
What were you on? I've been running 1.6.x on Linux cleanly for months . . fwiw . . .

- Tim
Re: Configuration.h has #define MOTHERBOARD 34 but see MB in code.
October 26, 2015 02:46PM
I switched back to the stable windows version. I had inadvertently installed the newer beta version, from what I can remember. I did not get back to this issue once I got past it. I have a large litany of configuration steps and testing to go through.
Sorry, only registered users may post in this forum.

Click here to login