mateddy / Kossel

Kossel Mini FIrmware - originally from Marlin

Home Page:http://www.marlinfw.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firmware does not compile when setting bed thermistor type to anything but 0

sk-spr opened this issue · comments

error message: 'DIO' was not declared in this scope

temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_RPORT" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:567:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:567:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp: In function 'void manage_heater()':
temperature.cpp:567: error: 'DIO' was not declared in this scope

I have tried downloading the newest version(two times) so i think download corruption is out of the question. Compiling the firmware in general only works for me in arduino 1.0.6.

I need a solution because i have to print abs on my kossel mini.
Thanks in advance!
-Max

Modify pins.h as blow:
////////////////////////////////////////////////////////////////////
#if MOTHERBOARD == 35
#define HEATER_BED_PIN -1 // NO BED
#else
#if MOTHERBOARD == 77
#define HEATER_BED_PIN 9 // BED
#else
#define HEATER_BED_PIN 8//cliff -1 // BED //<------------------------------------ line 447
#endif
#endif
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
/////////////////////////////////////////////////////////
will be solved!