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

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...