Jump to content

http://daid2.mine.nu/~daid/marlin_build/ error on build


backsubzero

Recommended Posts

Posted · http://daid2.mine.nu/~daid/marlin_build/ error on build

I try to build for arduino 328, I select in Hardware board type Duemilanove w/ATMega328 pin assignments and Arduino hardware Duemilanove w/ATMega328, but not work, and show this erros.

Build log

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/Sd2Card.cpp:20:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/stepper.cpp:24:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

Marlin/Marlin/stepper.cpp:822:1: error: pasting "DIO" and "-" does not give a valid preprocessing token

Marlin/Marlin/stepper.cpp:822:1: error: invalid suffix "_RPORT" on integer constant

Marlin/Marlin/stepper.cpp:822:1: error: pasting "DIO" and "-" does not give a valid preprocessing token

Marlin/Marlin/stepper.cpp:822:1: error: invalid suffix "_WPORT" on integer constant

Marlin/Marlin/stepper.cpp: In function 'void st_init()':

Marlin/Marlin/stepper.cpp:822:1: error: 'DIO' was not declared in this scope

Marlin/Marlin/stepper.cpp:827:1: error: 'DIO' was not declared in this scope

Marlin/Marlin/stepper.cpp:843:1: error: 'DIO' was not declared in this scope

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/SdBaseFile.cpp:21:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/SdVolume.cpp:20:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/SdFile.cpp:20:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/Marlin.cpp:30:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/temperature.cpp:32:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/MarlinSerial.cpp:23:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/cardreader.cpp:1:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/motion_control.cpp:22:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/planner.cpp:54:

Marlin/Marlin/pins.h:447:2: error: #error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.

In file included from Marlin/Marlin/Marlin.h:26:0,

from Marlin/Marlin/SdFatUtil.cpp:20:

  • Link to post
    Share on other sites

    Posted · http://daid2.mine.nu/~daid/marlin_build/ error on build

    Changed a few things, but it's still not building for the Duemilanove. Not sure why. Note that the ATMega328 is too small to build Marlin with any SD or LCD option.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...