issue using config tool either 92 or 1.0

used the Config tool keep getting errors during compile with either tool says problem temp pin 3 which is an easy fix i have 3 extruders should be temp 1 heater o
but for some reason thoughts pin 3 in on ext 2 but after fixing that 
also i download the complete file and start with Repetier ino

tried going back to an earlier config H, but still wont Compile verify can get past this and wont go past ?

Also Wondering what this junk is from zzzzzzzzzzzzzzzzzzzzzzzz seen during the error report below?
This is only part of a very long error list but this is the tail end.
-------------------------------------------------------------------------------------------------
#define EXT2_ENABLE_PIN ORIG_E2_ENABLE_PIN
                         ^
C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-2024-03-23\Repetier-Firmware\Repetier\Extruder.cpp:3205:74: note: in expansion of macro 'EXT2_ENABLE_PIN'
     { 2, EXT2_X_OFFSET, EXT2_Y_OFFSET, EXT2_Z_OFFSET, EXT2_STEPS_PER_MM, EXT2_ENABLE_PIN, EXT2_ENABLE_ON, EXT2_MAX_FEEDRATE, EXT2_MAX_ACCELERATION, EXT2_MAX_START_FEEDRATE, 0, EXT2_WATCHPERIOD, EXT2_WAIT_RETRACT_TEMP, EXT2_WAIT_RETRACT_UNITS
                                                                          ^~~~~~~~~~~~~~~

exit status 1

Compilation error: 'DIOORIG_E2_DIR_PIN_DDR' was not declared in this scope

Comments

  • edited March 23
    Wondering, with 3 Extruder (E0, E1, E2) same temp zero sensor and same Heater E0 and if having all the same for each should be E1 and e2 Different?
    EXT0_TEMPSENSOR_TYPE 1
    #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
    #define EXT0_HEATER_PIN HEATER_0_PIN
    #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
    #define EXT0_DIR_PIN ORIG_E0_DIR_PIN

    #define EXT1_TEMPSENSOR_TYPE 1
    #define EXT1_TEMPSENSOR_PIN TEMP_0_PIN
    #define EXT1_HEATER_PIN HEATER_0_PIN
    #define EXT1_STEP_PIN ORIG_E1_STEP_PIN
    #define EXT1_DIR_PIN ORIG_E1_DIR_PIN


    #define EXT2_TEMPSENSOR_TYPE 1
    #define EXT2_TEMPSENSOR_PIN TEMP_0_PIN
    #define EXT2_HEATER_PIN HEATER_0_PIN
    #define EXT2_STEP_PIN ORIG_E2_STEP_PIN
    #define EXT2_DIR_PIN ORIG_E2_DIR_PIN

    errors-------------------------------------------------
    In file included from C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\HAL.h:83:0,
                     from C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\Repetier.h:539,
                     from C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\Extruder.cpp:22:
    C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\Extruder.cpp: In static member function 'static void Extruder::initExtruder()':
    C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\fastio.h:36:31: error: 'DIOORIG_E2_DIR_PIN_DDR' was not declared in this scope
     #define  _SET_OUTPUT(IO)  do {DIO ##  IO ## _DDR |=  MASK(DIO ## IO ## _PIN); } while (0)
                                   ^
    C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\fastio.h:56:26: note: in expansion of macro '_SET_OUTPUT'
     #define  SET_OUTPUT(IO)  _SET_OUTPUT(IO)
                              ^~~~~~~~~~~
    C:\Users\recou\Desktop\Ramps 2\Repetier-Firmware-092_2023-09-26\Repetier-Firmware\Repetier\Extruder.cpp:523:5: note: in expansion of macro 'SET_OUTPUT'
         SET_OUTPUT(EXT2_DIR_PIN);
  • went back to my 2022 files and copied in Pins. H and the new Configuration h file into the Repetier Folder and  that fixed the Config H issues compile and upload worked , luckily i keep backups Whew :>)
    recoush
  • You are using a board where ORIG_E2_DIR_PIN is not defined hence the compile errors. Use digital pin number instead if it is not in board definition or select correct board if that is the reason it did not exist.

    With SHARED_EXTRUDER enabled same heater/sensor is good.
Sign In or Register to comment.