1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Trying to upload firmware but I get a weird error. Please help

Discussion in 'Troubleshooting' started by mclemens7, Jun 11, 2017.

Thread Status:
Not open for further replies.
  1. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    Hi, Im trying to upload firmware to my robo 3d r1+ and I ran into an error

    In file included from sketch\Marlin.h:22:0,

    from sketch\thermistortables.h:4,

    from sketch\Configuration.h:710,

    from C:\Users\maxwe\OneDrive\Documents\Arduino\ROBO3DR1PLUSV2\ROBO3DR1PLUSV2.ino:33:

    Configuration.h:712: error: #endif without #if

    #endif //__CONFIGURATION_H

    ^

    In file included from C:\Users\maxwe\OneDrive\Documents\Arduino\ROBO3DR1PLUSV2\ROBO3DR1PLUSV2.ino:33:0:

    Configuration.h:712: error: #endif without #if

    #endif //__CONFIGURATION_H

    ^

    In file included from C:\Users\maxwe\OneDrive\Documents\Arduino\ROBO3DR1PLUSV2\Marlin.ino:33:0:

    Configuration.h:712: error: #endif without #if

    #endif //__CONFIGURATION_H

    ^

    exit status 1
    #endif without #if


    If you know what this is or how i can fix it please tell me.
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,917
    Likes Received:
    7,338
    More specifics please.
    Which version of the firmware are you trying to compile and where did you get it from?
    What changes have you made prior to compiling/loading it.

    What software did you use to load it and what configuration did you set it for (hint: It should be the Arduino Mega 2560 board selected)
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,917
    Likes Received:
    7,338
    Sounds like a bad edit was done in CONFIGURATION.H so include a copy of that with your reply post.
     
  4. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    Im using arduino 1.8.6, i recently uploaded firmware which was changed for a dual extruder robo and i changed it back and tried to upload it and got that error message,.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,917
    Likes Received:
    7,338
    Waiting on that. You have an error in that file probably from an edit
    Since you know what you changed I would suggest sanity checking that file
     
  6. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    Hi so i checked everything and i found the issue, i looked at every endifs and found that there was a "z" placed in front of one of them making it unregister able so i deleted it and it now works fine.
     
    mark tomlinson likes this.
Thread Status:
Not open for further replies.

Share This Page