Welcome! Log In Create A New Profile

Advanced

Disabling SD support in Marlin 1.0 gives compilation error

Posted by Lanthan 
Disabling SD support in Marlin 1.0 gives compilation error
December 28, 2011 07:37AM
Time to try Marlin (ramps 1.25, thermistors on bed and extruder) , just a couple of compilation reports:

- commenting out #define SDSUPPORT results in the following failure:


In file included from Sd2Card.h:27:0,
from SdVolume.h:27,
from SdBaseFile.h:28,
from SdBaseFile.cpp:22:
Sd2PinMap.h:43:15: error: expected unqualified-id before numeric constant
Sd2PinMap.h:44:15: error: expected unqualified-id before numeric constant

- underdocumented stuff : the accepted setting for thermistor in bed seems to be #define THERMISTORBED 1

using #define BED_USES_THERMISTOR instead results in a compilation error:


In file included from Configuration.h:392:0,
from Marlin.h:25,
from temperature.cpp:32:
thermistortables.h:368:4: error: #error No bed thermistor table specified
temperature.cpp: In function ‘int temp2analogBed(int)’:
temperature.cpp:321:17: error: ‘bedtemptable_len’ was not declared in this scope
temperature.cpp:323:11: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:325:15: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:326:22: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:327:12: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:327:43: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:328:12: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:328:43: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:335:14: error: ‘bedtemptable_len’ was not declared in this scope
temperature.cpp:335:38: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp: In function ‘float analog2tempBed(int)’:
temperature.cpp:392:17: error: ‘bedtemptable_len’ was not declared in this scope
temperature.cpp:394:11: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:396:20: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:397:18: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:398:12: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:398:43: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:399:12: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:399:43: error: ‘bedtemptable’ was not declared in this scope
temperature.cpp:406:14: error: ‘bedtemptable_len’ was not declared in this scope
temperature.cpp:406:42: error: ‘bedtemptable’ was not declared in this scope

'later,

Lanthan
Sorry, only registered users may post in this forum.

Click here to login