Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 16, 2014 11:30PM |
Registered: 11 years ago Posts: 2 |
In file included from /Repetier.h:255, from Commands.cpp:22: /HAL.h:550:1: error: pasting "DIO" and "-" does not give a valid preprocessing token /HAL.h:550:1: error: invalid suffix "_DDR" on integer constant /HAL.h:550:1: error: pasting "DIO" and "-" does not give a valid preprocessing token /HAL.h:550:1: error: invalid suffix "_PIN" on integer constant In file included from /Repetier.h:255, from Commands.cpp:22: /HAL.h: In static member function 'static void HAL::spiBegin()': HAL.h:550: error: 'DIO' was not declared in this scope
Re: Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 17, 2014 02:02AM |
Registered: 11 years ago Posts: 33 |
Re: Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 17, 2014 08:47AM |
Registered: 12 years ago Posts: 2,705 |
static void spiBegin() { #if SDSS>=0 SET_INPUT(MISO_PIN); SET_OUTPUT(MOSI_PIN); SET_OUTPUT(SCK_PIN); // SS must be in output mode even it is not chip select SET_OUTPUT(SDSS); #if SDSSORIG >- 1 SET_OUTPUT(SDSSORIG); #endif // set SS high - may be chip select for another SPI device #if SET_SPI_SS_HIGH WRITE(SDSS, HIGH); #endif // SET_SPI_SS_HIGH #endif }
Re: Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 17, 2014 03:21PM |
Registered: 11 years ago Posts: 33 |
SDCard.cpp: In constructor 'SDCard:DCard()': SDCard.cpp:44: error: 'DIO49_DDR' was not declared in this scope SDCard.cpp:44: error: 'DIO49_PIN' was not declared in this scope SDCard.cpp:45: error: 'DIO49_WPORT' was not declared in this scope SDCard.cpp:45: error: 'DIO49_PIN' was not declared in this scope SDCard.cpp:45: error: 'DIO49_WPORT' was not declared in this scope SDCard.cpp:45: error: 'DIO49_PIN' was not declared in this scope SDCard.cpp: In member function 'void SDCard::automount()': SDCard.cpp:52: error: 'DIO49_RPORT' was not declared in this scope SDCard.cpp:52: error: 'DIO49_PIN' was not declared in this scope
/** Set to false to disable SD support: */ #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h #define SDSUPPORT false // Uncomment to enable or change card detection pin. With card detection the card is mounted on insertion. #define SDCARDDETECT -1 // Change to true if you get a inserted message on removal. #define SDCARDDETECTINVERTED false #endif
Re: Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 17, 2014 04:30PM |
Registered: 12 years ago Posts: 2,705 |
Re: Problem while compiling Repetier-Firmware 0.91 for Gen7 1.3.1 January 17, 2014 04:41PM |
Registered: 11 years ago Posts: 33 |