Errors

I will start out by saying I am pretty new to all of this. I am an Arduino user (Intermediate) and I have never used a 3D printer.  I am currently building a Delta style printer and the mechanics of it are simple for me (I am a machinist). I have most of it built and recently have purchased most of the components for it.  I used the Repetier firmware configuration tool to set all the configurations and settings for my printer. When I open it in Arduino IDE and hit the verify button, I get a bunch of errors. For example,

In file included from Configuration.h:42,
                 from Repetier.h:185,
                 from Commands.cpp:22:
pins.h:311:2: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
In file included from HAL.h:77,
                 from Repetier.h:353,
                 from Commands.cpp:22:
fastio.h:3733:2: error: #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
In file included from Repetier.h:353,
                 from Commands.cpp:22:


Any help would be greatly appreciated!  Thank you for your time.

Comments

  • One more thing, There are many more errors, but the list was too long to post.

    In file included from Configuration.h:42,
                     from Repetier.h:185,
                     from Commands.cpp:22:
    pins.h:311:2: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
    In file included from HAL.h:77,
                     from Repetier.h:353,
                     from Commands.cpp:22:
    fastio.h:3733:2: error: #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
    In file included from Repetier.h:353,
                     from Commands.cpp:22:
    HAL.h: In static member function 'static void HAL::spiBegin()':
    HAL.h:587: error: 'DIO50_DDR' was not declared in this scope
    HAL.h:587: error: 'DIO50_PIN' was not declared in this scope
    HAL.h:588: error: 'DIO51_DDR' was not declared in this scope
    HAL.h:588: error: 'DIO51_PIN' was not declared in this scope
    HAL.h:589: error: 'DIO52_DDR' was not declared in this scope
    HAL.h:589: error: 'DIO52_PIN' was not declared in this scope
    HAL.h:591: error: 'DIO53_DDR' was not declared in this scope
    HAL.h:591: error: 'DIO53_PIN' was not declared in this scope
    HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
    HAL.h:606: error: 'DIOSS_DDR' was not declared in this scope
    HAL.h:606: error: 'DIOSS_PIN' was not declared in this scope
    HAL.h:607: error: 'DIOSS_WPORT' was not declared in this scope
    HAL.h:607: error: 'DIOSS_PIN' was not declared in this scope
    HAL.h:607: error: 'DIOSS_WPORT' was not declared in this scope
    HAL.h:607: error: 'DIOSS_PIN' was not declared in this scope
    HAL.h:608: error: 'DIOSCK_DDR' was not declared in this scope
    HAL.h:608: error: 'DIOSCK_PIN' was not declared in this scope
    HAL.h:609: error: 'DIO51_DDR' was not declared in this scope
    HAL.h:609: error: 'DIO51_PIN' was not declared in this scope
    HAL.h:610: error: 'DIO50_DDR' was not declared in this scope
    HAL.h:610: error: 'DIO50_PIN' was not declared in this scope
    In file included from Repetier.h:457,
                     
  • It's all one error you did and which you posted 

    pins.h:311:2: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.

    Do exactly what the message says and it should compile. If you use latest Arduino IDE you need 0.92.2 to comile it since compiler has changed some includes making it incompatible with 0.91
  • Thank you very much!
Sign In or Register to comment.