Jump to content
Ultimaker Community of 3D Printing Experts

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

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...