Aller au contenu

Filament ABS

32 bits Problème d'installation Bigtreetech Skr Mini E3 v1.2 (+BLTouch Creality) - Ender 3 Pro


Messages recommandés

Salut à tous, 

J'ai acheté une carte mère Bigtreetech Skr Mini E3 v1.2 pour venir remplacer la carte d'origine Creality 1.1.4 sur ma Ender 3 Pro. 

Après avoir remplacé l'ancienne carte par la Skr Mini E3 v1.2, j'ai démarré l'imprimante afin de vérifier si tout allait bien et résultat : les ventilateurs tournent mais l'écran reste noir .. bref je me dis que c'est normal, après tout j'ai pas encore flashé Marlin. 

Sur mon PC (non branché à la carte mère du coup), je télécharge la dernière version de Marlin ici : https://github.com/MarlinFirmware/Marlin et les configurations ici : https://github.com/MarlinFirmware/Configurations puis une fois les archives décompressées. Je place le contenu de Configurations-import-2.0.x\config\examples\Creality\Ender-3 Pro\BigTreeTech SKR Mini E3 1.2 dans Marlin-2.0.x\Marlin. J'ouvre ensuite platformio.ini présent à la racine de Marlin-2.0.x avec VSCode (extensions PlateformIO et Auto Build Marlin sont déjà installées). Normalement le projet aurait se créé lui même mais ici ce n'est pas le cas. Je vais donc dans Auto Build Marlin pour ouvrir allez chercher le dossier Marlin-2.0.x et là tout semble OK 

2104579035_AutoBuildMarlin-Marlin.thumb.png.919daa6e58dbb597f681be2c809fa25e.png

Par la suite, je modifie platformio.ini pour remplacer 

[platformio]
src_dir      = Marlin
boards_dir   = buildroot/share/PlatformIO/boards
default_envs = mega2560
include_dir  = Marlin

par 

[platformio]
src_dir      = Marlin
boards_dir   = buildroot/share/PlatformIO/boards
default_envs = STM32F103RC_btt_512K
include_dir  = Marlin

Comme indiqué par Bigtreetech ici : https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/tree/master/firmware/V1.2

Puis je sauvegarde le fichier modifié et pour tester le tout, je lance un build et ça là où je reste bloqué puisque voilà l'erreur qui ressort : 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

> Executing task: C:\Users\Gwen\.platformio\penv\Scripts\pio.exe run <

Processing STM32F103RC_btt_512K (platform: ststm32@~6.1; board: genericSTM32F103RC; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html
PLATFORM: ST STM32 (6.1.1) > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
 - framework-arduinoststm32-maple 2.10000.200103 (1.0.0)
 - tool-stm32duino 1.0.2
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SoftwareSerialM> 1.0.0
|-- <TMCStepper> 0.7.1
|   |-- <SoftwareSerialM> 1.0.0
|-- <U8glib-HAL> 0.4.3
|   |-- <Wire> 1.0
|-- <STM32ADC> 1.0
|-- <EEPROM>
|-- <USBComposite for STM32F1> 0.91
|-- <Wire> 1.0
|-- <FreeRTOS701>
|-- <Servo(STM32F1)> 1.1.2
Building in release mode
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL_SPI.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\MarlinSerial.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\SPI.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\Servo.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_bl24cxx.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_flash.cpp.o
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\HAL.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\HAL_SPI.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\MarlinSerial.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\SPI.cpp:43:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\Servo.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL_SPI.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL.cpp.o] Error 1
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\eeprom_bl24cxx.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
In file included from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp:21:
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
                 from Marlin\src\HAL\STM32F1\eeprom_flash.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'IS_FLASH_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:52: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                    ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'IS_FLASH_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\MarlinSerial.cpp.o] Error 1
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2434:23: error: 'X_SLAVE_ADDRESS' was not declared in this scope
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\SPI.cpp.o] Error 1
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2434:23: note: suggested alternative: 'I2C_ADDRESS'
   INVALID_TMC_ADDRESS(X);
                       ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:2432:74: note: in definition of macro 'INVALID_TMC_ADDRESS'
 #define INVALID_TMC_ADDRESS(ST) static_assert(0 <= ST##_SLAVE_ADDRESS && ST##_SLAVE_ADDRESS <= 3, "TMC2209 slave address must be 0, 1, 2 or 3")
                                                                          ^~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_bl24cxx.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_flash.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\Servo.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp.o] Error 1
========================================================================= [FAILED] Took 7.61 seconds =========================================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F103RC_btt_512K  FAILED    00:00:07.607
==================================================================== 1 failed, 0 succeeded in 00:00:07.607 ====================================================================
Arrêt du processus de terminal "C:\Users\Gwen\.platformio\penv\Scripts\pio.exe 'run'". Code de sortie : 1.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

En regardant l'onglet Problèmes voilà ce qui est indiqué : 

> SanityCheck.h Marlin\src\inc

'X_SLAVE_ADDRESS' was not declared in this scope

et quand je remonte l'erreur je trouve 

258497681_Marlin-ErreurSanityCheck.thumb.png.f1b0cf8d6276e9203b68305ee7db7510.png

Le problème c'est que je suis bien incapable de corriger cette erreur 😕 et de la comprendre surtout 😄 

Est ce que quelqu'un à déjà rencontré ce type de problème ? Où alors connait une autre méthode pour installer Marlin 2.0.X sur une Skr Mini E3 v1.2 ?

Pour information, je comptais suivre ces tutoriels pour la suite mais je me retrouve bien bloqué 😢 

https://www.youtube.com/watch?v=1NhAo3xR9HY&ab_channel=KaminoKGY

https://www.reddit.com/r/ender3/comments/e894j7/marlin_20x_guide_for_ender_3_using_skr_mini_e3_v12/

 

Merci d'avance pour vos conseils 🙂 

Lien à poster
Partager sur d’autres sites

Mise à jour

Je suis tombé sur quelqu'un avec le même problème : https://github.com/MarlinFirmware/Marlin/issues/14358

et quand je regarde Configuration_adv.h, on remarque que  la ligne #define  X_SLAVE_ADDRESS 0 est commentée ainsi que les lignes suivantes. Faut-il les décommenter ? à quoi cela correspond exactement ? 

 /**
   * Four TMC2209 drivers can use the same HW/SW serial port with hardware configured addresses.
   * Set the address using jumpers on pins MS1 and MS2.
   * Address | MS1  | MS2
   *       0 | LOW  | LOW
   *       1 | HIGH | LOW
   *       2 | LOW  | HIGH
   *       3 | HIGH | HIGH
   *
   * Set *_SERIAL_TX_PIN and *_SERIAL_RX_PIN to match for all drivers
   * on the same serial port, either here or in your board's pins file.
   */
  //#define  X_SLAVE_ADDRESS 0
  //#define  Y_SLAVE_ADDRESS 0
  //#define  Z_SLAVE_ADDRESS 0
  //#define X2_SLAVE_ADDRESS 0
  //#define Y2_SLAVE_ADDRESS 0
  //#define Z2_SLAVE_ADDRESS 0
  //#define Z3_SLAVE_ADDRESS 0
  //#define Z4_SLAVE_ADDRESS 0
  //#define E0_SLAVE_ADDRESS 0
  //#define E1_SLAVE_ADDRESS 0
  //#define E2_SLAVE_ADDRESS 0
  //#define E3_SLAVE_ADDRESS 0
  //#define E4_SLAVE_ADDRESS 0
  //#define E5_SLAVE_ADDRESS 0
  //#define E6_SLAVE_ADDRESS 0
  //#define E7_SLAVE_ADDRESS 0
Lien à poster
Partager sur d’autres sites
Il y a 17 heures, Newyark a dit :

quand je regarde Configuration_adv.h, on remarque que  la ligne #define  X_SLAVE_ADDRESS 0 est commentée ainsi que les lignes suivantes. Faut-il les décommenter ? à quoi cela correspond exactement ? 

Oui, il faut dé-commenter les quatre pilotes (X, Y, Z et E).

Sur la carte mini E3 v1.2, le pin de communication n'a pas d'importance (tous les pilotes sont à 0). Extrait du configuration_adv.h de Bigtreetech:

Citation
/**
* Four TMC2209 drivers can use the same HW/SW serial port with hardware configured addresses.
* Set the address using jumpers on pins MS1 and MS2.
* Address | MS1 | MS2
* 0 | LOW | LOW
* 1 | HIGH | LOW
* 2 | LOW | HIGH
* 3 | HIGH | HIGH
*
* Set *_SERIAL_TX_PIN and *_SERIAL_RX_PIN to match for all drivers
* on the same serial port, either here or in your board's pins file.
*/
#define X_SLAVE_ADDRESS 0
#define Y_SLAVE_ADDRESS 0
#define Z_SLAVE_ADDRESS 0
#define X2_SLAVE_ADDRESS 0
#define Y2_SLAVE_ADDRESS 0
#define Z2_SLAVE_ADDRESS 0
#define Z3_SLAVE_ADDRESS 0
#define Z4_SLAVE_ADDRESS 0
#define E0_SLAVE_ADDRESS 0
#define E1_SLAVE_ADDRESS 0
#define E2_SLAVE_ADDRESS 0
#define E3_SLAVE_ADDRESS 0
#define E4_SLAVE_ADDRESS 0
#define E5_SLAVE_ADDRESS 0
#define E6_SLAVE_ADDRESS 0

#define E7_SLAVE_ADDRESS 0

 

Sur une mini E3 v2, chacun des pins de communication UART doit posséder sa propre valeur :

Citation

#define X_SLAVE_ADDRESS 0

#define Y_SLAVE_ADDRESS 2

#define Z_SLAVE_ADDRESS 1

#define X2_SLAVE_ADDRESS 0

#define Z4_SLAVE_ADDRESS 0

#define E0_SLAVE_ADDRESS 3

#define E7_SLAVE_ADDRESS 0

🙂

  • J'aime 1
Lien à poster
Partager sur d’autres sites

Merci pour ton retour. Malheureusement entre temps, j'ai remarqué que la carte avait un défaut - impossible de l'alimenter et deux composants qui étaient mal soudés ... Du coup j'ai acheté une v2.0 et en amont j'ai compilé Marlin pour vérifier si je n'allais pas galérer et là aucun problème ...

Je vais quand même essayé de compiler Marlin pour la v1.2. 

Lien à poster
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez poster un message et vous inscrire plus tard. Si vous avez déjà un compte, connectez-vous afin de poster avec.

Invité
Répondre à ce sujet…

×   Vous avez copié du contenu avec formatage.   Supprimer le formatage

  Only 75 emoji are allowed.

×   Votre lien a été automatiquement intégré.   Afficher en tant que lien à la place

×   Le contenu sauvegardé a été restauré.   Effacer l'éditeur

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Créer...