JMP Posté(e) Septembre 7, 2018 Partager Posté(e) Septembre 7, 2018 Salut, j'essaie de flasher ma CR-10 avec Marlin et j'ai un problème. J'ai bien inclus la biblio U8glib, chargé la carte sanguino ... mais quand j'essaie de compiler marlin sur Arduino IDE j'obtiens ces message d'erreur : Pouvez vous m'aider Arduino : 1.8.6 (Windows 10), Carte : "Sanguino, ATmega1284 or ATmega1284P (16 MHz)" In file included from sketch\HAL.h:33:0, from sketch\MarlinConfig.h:39, from sketch\Sd2Card.cpp:29: Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token #define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin ^ sketch\fastio.h:86:42: note: in definition of macro '_SET_INPUT' #define _SET_INPUT(IO) CBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:316:3: note: in expansion of macro 'SET_INPUT' SET_INPUT(SPI_MISO_PIN); ^ sketch\Sd2Card.cpp:316:13: note: in expansion of macro 'SPI_MISO_PIN' SET_INPUT(SPI_MISO_PIN); ^ Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_PIN" does not give a valid preprocessing token #define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin ^ sketch\fastio.h:86:61: note: in definition of macro '_SET_INPUT' #define _SET_INPUT(IO) CBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:316:3: note: in expansion of macro 'SET_INPUT' SET_INPUT(SPI_MISO_PIN); ^ sketch\Sd2Card.cpp:316:13: note: in expansion of macro 'SPI_MISO_PIN' SET_INPUT(SPI_MISO_PIN); ^ Sd2Card.h:99:39: error: pasting "/* SPI Master Out Slave In pin*/" and "_DDR" does not give a valid preprocessing token #define SPI_MOSI_PIN MOSI_PIN // SPI Master Out Slave In pin ^ sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:317:3: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SPI_MOSI_PIN); ^ sketch\Sd2Card.cpp:317:14: note: in expansion of macro 'SPI_MOSI_PIN' SET_OUTPUT(SPI_MOSI_PIN); ^ Sd2Card.h:99:39: error: pasting "/* SPI Master Out Slave In pin*/" and "_PIN" does not give a valid preprocessing token #define SPI_MOSI_PIN MOSI_PIN // SPI Master Out Slave In pin ^ sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:317:3: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SPI_MOSI_PIN); ^ sketch\Sd2Card.cpp:317:14: note: in expansion of macro 'SPI_MOSI_PIN' SET_OUTPUT(SPI_MOSI_PIN); ^ Sd2Card.h:101:39: error: pasting "/* SPI Clock pin*/" and "_DDR" does not give a valid preprocessing token #define SPI_SCK_PIN SCK_PIN // SPI Clock pin ^ sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:318:3: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SPI_SCK_PIN); ^ sketch\Sd2Card.cpp:318:14: note: in expansion of macro 'SPI_SCK_PIN' SET_OUTPUT(SPI_SCK_PIN); ^ Sd2Card.h:101:39: error: pasting "/* SPI Clock pin*/" and "_PIN" does not give a valid preprocessing token #define SPI_SCK_PIN SCK_PIN // SPI Clock pin ^ sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\Sd2Card.cpp:318:3: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SPI_SCK_PIN); ^ sketch\Sd2Card.cpp:318:14: note: in expansion of macro 'SPI_SCK_PIN' SET_OUTPUT(SPI_SCK_PIN); ^ exit status 1 pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token Ce rapport pourrait être plus détaillé avec l'option "Afficher les résultats détaillés de la compilation" activée dans Fichier -> Préférences. Lien vers le commentaire Partager sur d’autres sites More sharing options...
Yo' Posté(e) Septembre 7, 2018 Partager Posté(e) Septembre 7, 2018 (modifié) Salut, Voici des copains : Modifié (le) Septembre 7, 2018 par Yo' Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant