sanguino (melzi)

Hi friend

I can not flash the card Melzi . I set up fee sanguino. If not by the LCD to flash the firmware , all is well . But if a stitch by the LCD is not working ... that's an error in the firmware archive . Help me to understand.

ERROR

Arduino: 1.6.6 (Windows 8.1), Плата:"Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

In file included from sketch\HAL.h:77:0,

from sketch\Repetier.h:279,

from G:\Mail_cloud\3DPrint\P802M V.02\firmware\Repetier\Repetier.ino:127:

pins.h:838: error: pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

#define SDSS 31 // 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SDSS);

^

sketch\HAL.h:559:20: note: in expansion of macro 'SDSS'

SET_OUTPUT(SDSS);

^

pins.h:838: error: pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_PIN" does not give a valid preprocessing token

#define SDSS 31 // 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SDSS);

^

sketch\HAL.h:559:20: note: in expansion of macro 'SDSS'

SET_OUTPUT(SDSS);

^

exit status 1
pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

Это сообщение будет содержать больше информации чем
"Отображать вывод во время компиляции"
включено в Файл > Настройки

3dprinter.PNG

#defines in HAL.h are screwed up.

Can't tell beyond that what's wrong.

fable_x:
Hi friend

I can not flash the card Melzi . I set up fee sanguino. If not by the LCD to flash the firmware , all is well . But if a stitch by the LCD is not working ... that's an error in the firmware archive . Help me to understand.

ERROR

Arduino: 1.6.6 (Windows 8.1), Плата:"Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

In file included from sketch\HAL.h:77:0,

from sketch\Repetier.h:279,

from G:\Mail_cloud\3DPrint\P802M V.02\firmware\Repetier\Repetier.ino:127:

pins.h:838: error: pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

#define SDSS 31 // 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SDSS);

^

sketch\HAL.h:559:20: note: in expansion of macro 'SDSS'

SET_OUTPUT(SDSS);

^

pins.h:838: error: pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_PIN" does not give a valid preprocessing token

#define SDSS 31 // 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:559:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SDSS);

^

sketch\HAL.h:559:20: note: in expansion of macro 'SDSS'

SET_OUTPUT(SDSS);

^

exit status 1
pasting "/* 31 Melzi - RepRap says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

Это сообщение будет содержать больше информации чем
"Отображать вывод во время компиляции"
включено в Файл > Настройки