Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
I have 5 months trying to configure the melzi motherboard and this is my problem
C:\Apps\arduino-1.0.5-r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino -IC:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard -IC:\Users\Javier\Documents\Arduino\libraries\SPI C:\Users\Javier\AppData\Local\Temp\build3982208603216384748.tmp\Commands.cpp -o C:\Users\Javier\AppData\Local\Temp\build3982208603216384748.tmp\Commands.cpp.o
In file included from /Repetier.h:117,
from Commands.cpp:22:
/Configuration.h:318:1: warning: "PS_ON_PIN" redefined
In file included from /Configuration.h:41,
from /Repetier.h:117,
from Commands.cpp:22:
/pins.h:737:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:53:1: warning: "TIMER5A" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:182:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:54:1: warning: "TIMER5B" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:183:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:55:1: warning: "TIMER5C" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:184:1: warning: this is the location of the previous definition
In file included from /Repetier.h:356,
from Commands.cpp:22:
/Extruder.h: In static member function 'static void Extruder::step()':
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::unstep()':
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::setDirection(uint8_t)':
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
In file included from /Repetier.h:386,
from Commands.cpp:22:
/motion.h: In static member function 'static void PrintLine::removeCurrentLineForbidInterrupt()':
motion.h:609: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::pushLine()':
motion.h:622: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::previousPlannerIndex(uint8_t&)':
motion.h:647: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::nextPlannerIndex(uint8_t&)':
motion.h:651: error: 'MOVE_CACHE_SIZE' was not declared in this scope
Commands.cpp: At global scope:
Commands.cpp:24: warning: only initialized variables can be placed into program memory area
Commands.cpp:24: error: 'ORIG_PS_ON_PIN' was not declared in this scope
Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
Commands.cpp:1100: error: 'DIOORIG_PS_ON_PIN_DDR' was not declared in this scope
Commands.cpp:1100: error: 'DIOORIG_PS_ON_PIN_PIN' was not declared in this scope
Commands.cpp:1101: error: 'DIOORIG_PS_ON_PIN_WPORT' was not declared in this scope
Commands.cpp:1101: error: 'DIOORIG_PS_ON_PIN_PIN' was not declared in this scope
C:\Apps\arduino-1.0.5-r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino -IC:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard -IC:\Users\Javier\Documents\Arduino\libraries\SPI C:\Users\Javier\AppData\Local\Temp\build3982208603216384748.tmp\Commands.cpp -o C:\Users\Javier\AppData\Local\Temp\build3982208603216384748.tmp\Commands.cpp.o
In file included from /Repetier.h:117,
from Commands.cpp:22:
/Configuration.h:318:1: warning: "PS_ON_PIN" redefined
In file included from /Configuration.h:41,
from /Repetier.h:117,
from Commands.cpp:22:
/pins.h:737:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:53:1: warning: "TIMER5A" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:182:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:54:1: warning: "TIMER5B" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:183:1: warning: this is the location of the previous definition
In file included from C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:213,
from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\variants\standard/pins_arduino.h:55:1: warning: "TIMER5C" redefined
In file included from /HAL.h:71,
from /Repetier.h:264,
from Commands.cpp:22:
C:\Apps\arduino-1.0.5-r2\hardware\sanguino\cores\arduino/Arduino.h:184:1: warning: this is the location of the previous definition
In file included from /Repetier.h:356,
from Commands.cpp:22:
/Extruder.h: In static member function 'static void Extruder::step()':
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::unstep()':
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_WPORT' was not declared in this scope
Extruder.h:166: error: 'DIOORIG_E0_STEP_PIN_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::setDirection(uint8_t)':
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:223: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_WPORT' was not declared in this scope
Extruder.h:225: error: 'DIOORIG_E0_DIR_PIN_PIN' was not declared in this scope
In file included from /Repetier.h:386,
from Commands.cpp:22:
/motion.h: In static member function 'static void PrintLine::removeCurrentLineForbidInterrupt()':
motion.h:609: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::pushLine()':
motion.h:622: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::previousPlannerIndex(uint8_t&)':
motion.h:647: error: 'MOVE_CACHE_SIZE' was not declared in this scope
/motion.h: In static member function 'static void PrintLine::nextPlannerIndex(uint8_t&)':
motion.h:651: error: 'MOVE_CACHE_SIZE' was not declared in this scope
Commands.cpp: At global scope:
Commands.cpp:24: warning: only initialized variables can be placed into program memory area
Commands.cpp:24: error: 'ORIG_PS_ON_PIN' was not declared in this scope
Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
Commands.cpp:1100: error: 'DIOORIG_PS_ON_PIN_DDR' was not declared in this scope
Commands.cpp:1100: error: 'DIOORIG_PS_ON_PIN_PIN' was not declared in this scope
Commands.cpp:1101: error: 'DIOORIG_PS_ON_PIN_WPORT' was not declared in this scope
Commands.cpp:1101: error: 'DIOORIG_PS_ON_PIN_PIN' was not declared in this scope
Comments