In the past I always had 2 orange errors with every Firmware upload, but the Maslow would run.
Just uploaded FW 0.86 and get a bunch of errors also. I doubt to have a running firmware on the Mega after seeing this:
sketch/number.c: In function ‘bc_str2num’:
sketch/number.c:1523:7: warning: assignment discards ‘const’ qualifier from pointer target type
ptr = str;
^
sketch/number.c:1548:7: warning: assignment discards ‘const’ qualifier from pointer target type
ptr = str;
^
sketch/Axis.cpp: In constructor ‘Axis::Axis(const int&, const int&, const int&, const int&, const int&, const String&, const int&)’:
sketch/Axis.cpp:34:82: warning: invalid conversion from ‘volatile double*’ to ‘double*’ [-fpermissive]
_pidController.setup(&_pidInput, &_pidOutput, &_pidSetpoint, 0, 0, 0, REVERSE);
^
In file included from sketch/Axis.h:22:0,
from sketch/Axis.cpp:20:
sketch/PID_v1.h:21:10: note: initializing argument 1 of 'void PID::setup(double*, double*, double*, const double&, const double&, const double&, const int&)'
void setup(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
^
sketch/Axis.cpp:34:82: warning: invalid conversion from ‘volatile double*’ to ‘double*’ [-fpermissive]
_pidController.setup(&_pidInput, &_pidOutput, &_pidSetpoint, 0, 0, 0, REVERSE);
^
In file included from sketch/Axis.h:22:0,
from sketch/Axis.cpp:20:
sketch/PID_v1.h:21:10: note: initializing argument 2 of 'void PID::setup(double*, double*, double*, const double&, const double&, const double&, const int&)'
void setup(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
^
sketch/Axis.cpp:34:82: warning: invalid conversion from ‘volatile double*’ to ‘double*’ [-fpermissive]
_pidController.setup(&_pidInput, &_pidOutput, &_pidSetpoint, 0, 0, 0, REVERSE);
^
In file included from sketch/Axis.h:22:0,
from sketch/Axis.cpp:20:
sketch/PID_v1.h:21:10: note: initializing argument 3 of 'void PID::setup(double*, double*, double*, const double&, const double&, const double&, const int&)'
void setup(double*, double*, double*, // * constructor. links the PID to the Input, Output, and
^
In file included from /home/whoareyou4/Maslow/Firmware-master086/cnc_ctrl_v1/cnc_ctrl_v1.ino:15:0:
sketch/CNC_Functions.h: In function ‘void executeGcodeLine(const String&)’:
sketch/CNC_Functions.h:1251:19: warning: passing ‘const String’ as ‘this’ argument of ‘String& String::operator=(const char*)’ discards qualifiers [-fpermissive]
gcodeLine = “”;
^
sketch/CNC_Functions.h: In function ‘void interpretCommandString(const String&)’:
sketch/CNC_Functions.h:1297:23: warning: passing ‘const String’ as ‘this’ argument of ‘String& String::operator=(String&&)’ discards qualifiers [-fpermissive]
cmdString = cmdString.substring(secondG, cmdString.length());
^
Sketch uses 39110 bytes (15%) of program storage space. Maximum is 253952 bytes.
Global variables use 1894 bytes (23%) of dynamic memory, leaving 6298 bytes for local variables. Maximum is 8192 bytes.