Welcome! Log In Create A New Profile

Advanced

errore : exit status 1 operator '==' has no right operand

Posted by mattia952 
errore : exit status 1 operator '==' has no right operand
May 08, 2018 07:08PM
Ciao a tutti

Vi scrivo qui perchè ho un problema con il firmware di marlin che on riesco a risolvere, il compilatore mi fornisce queste indicazioni:

Arduino:1.8.5 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MarlinConfig.h:28:0,

boards.h:150: error: operator '==' has no right operand

#define MB(board) (MOTHERBOARD==BOARD_##board)

^

sketch\pins.h:59:7: note: in expansion of macro 'MB'

#elif MB(RAMPS_14_EFcool smiley

^

In file included from sketch\MarlinConfig.h:34:0,

pins.h:253: error: #error "Unknown MOTHERBOARD value set in Configuration.h"

#error "Unknown MOTHERBOARD value set in Configuration.h"

^

In file included from sketch\MarlinConfig.h:40:0,

SanityCheck.h:1010: error: #error "HEATER_0_PIN not defined for this board."

#error "HEATER_0_PIN not defined for this board."

^

exit status 1
operator '==' has no right operand

A quanto ho letto anche riguardo il set della motherboard ho fatto correttamente ma continua a uscire questo errore.
qualcuno sa come aiutarmi?

Grazie in anticipo
Re: errore : exit status 1 operator '==' has no right operand
May 09, 2018 01:58AM
Se scrivi come hai fatto il #define della MOTHERBOARD forse si capisce.


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Re: errore : exit status 1 operator '==' has no right operand
May 09, 2018 05:03AM
ecco qui la definizione della motherboard:

#ifndef MOTHERBOARD
#define BOARD_RAMPS_14_EFB
#endif

infatti uso ramps 1.4 con riscaldatore ventola e bed
Re: errore : exit status 1 operator '==' has no right operand
May 09, 2018 07:04AM
Ma infatti è:

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_RAMPS_14_EFB
#endif


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Re: errore : exit status 1 operator '==' has no right operand
May 09, 2018 09:16AM
Grazie mille
Sorry, only registered users may post in this forum.

Click here to login