1

Topic: Marlin Problems

Hey,

I am having a few issues with Marlin at the moment. I am using a Sanguinololu ATMEGA1284P# and updating the Marlin Firmware done by jcrocholl (https://github.com/jcrocholl/Marlin) and the Sanguino library being used is that which is found in the add-ons folder.

error:


In file included from C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/Arduino.h:213,
                 from /Marlin.h:30,
                 from cardreader.cpp:1:
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/pins_arduino.h:42: error: conflicting declaration 'const uint8_t port_to_mode_PGM []'
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/Arduino.h:127: error: 'port_to_mode_PGM' has a previous declaration as 'const uint16_t port_to_mode_PGM []'
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/pins_arduino.h:43: error: conflicting declaration 'const uint8_t port_to_input_PGM []'
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/Arduino.h:128: error: 'port_to_input_PGM' has a previous declaration as 'const uint16_t port_to_input_PGM []'
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/pins_arduino.h:44: error: conflicting declaration 'const uint8_t port_to_output_PGM []'
C:\Program Files\Arduino\hardware\Sanguino\cores\arduino/Arduino.h:129: error: 'port_to_output_PGM' has a previous declaration as 'const uint16_t port_to_output_PGM []'

Can anyone help/ figure out what is wrong?

Thanks

2

Re: Marlin Problems

Which version of Arduino IDE are you using ?
And which version of the Sang libraries

3

Re: Marlin Problems

I am using Arduino 1.0.5 and Sanguino 1.x.x

4

Re: Marlin Problems

try dropping back to arduino022 ... lots of the older firmware builds haven't been 1.0.X'asised properly yet.

5

Re: Marlin Problems

Hey,

Thanks, I tried Arduino 022 and it worked! I had to install and edit a few things before it worked properly but in the end it worked!

Just need to configure it and make some changes.

Thanks Again