Jump to content
Sign in to follow this  
backsubzero

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

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:

Share this post


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.

Share this post


Link to post
Share on other sites
Posted · http://daid2.mine.nu/~daid/marlin_build/ error on build

I disable in your form, but not work, I'm not need SD and LCD in my small machine...

Thanks for help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 182 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!