Firmware 1.0.4dev not compiling

Hi, 

I have an ultratronics board and I am trying to compile using 1.0.4dev with 'Enable host rescue support ' enabled but I get the following error message

Thanks

Comments

  • Looking into current code

    case 415: // Host rescue system
    {
    #if HOST_RESCUE
    if (com->hasS()) { // Enable rescue system
    Printer::enableRescue(com->S != 0);
    }
    if (com->hasZ()) { // Replace z
    Printer::currentPosition[Z_AXIS] = com->Z;
    Printer::coordinateOffset[Z_AXIS] = 0;
    Printer::setZHomed(true);
    Printer::updateCurrentPositionSteps();
    }
    Printer::rescueReport();
    }

    I see the matching #endif, so error must be deeper then message suggests or does your version look different. I recently had an unclosed #if but that was fixed some days ago, so if the version you use is fresh please provide the configuration so I can compile myself to see the error. On my configs it seems not to happen.
  • Hi,

    here is the firmware from yesterday,

    Regards
  • Sorry, no file. You can not attach files in forum. You can mail it or use a public dropbox link, or use https://filebin.net/ for a link that invalidates after a month.
  • Hi,

    Here is the firmware from today. The error seems in a different place.

    https://filebin.net/c71xh12lnbjzxtd5

    Regards
  • I am facing Windows 10 Preparing Automatic Repair Error after updating my device. I have updated it from Windows 8 to Windows 10. How can I fix it?
  • Ok, have checked it and made some fixes so it compiles.

    You need to disable HOST_RESCUE since you have no eeprom.
    Also the extra key you defined will not work. You need a controller for it to work. So you need to define one working with ultratronics even if it is not connected. Just do not use pins where it would be connected and it should work.
  • Hi ,

    I am still having trouble getting the extra key I defined to work.

    I have found a pin in the data sheet that is not connected (D53)

    I have found on the board where that is (SDOUT)

    I have connected wires to pin 6 & 7

    I have added the pin definition in the manual section of the firmware compiler. but when I test it (connect 6 & 7) the printer does not pause. What else do I need to do?


  • Did you check that the display does not use that pin? As I said without feature controller pins will not work. And if they use the same pin for something it also won't work.

    Did you use UI_ACTION_PAUSE as action? Only Repetier-Host and server will pause when printer over host. Depends on the message send to request pause. sd pause should always work.
Sign In or Register to comment.