Bonjour à tous,
Premier pas sur un forum alors ne m'en tenez pas trop rigueur si je ne fais pas les choses correctement!
15 jours aujourd'hui que je bataille ferme pour configurer Marlin pour ma U20 sans succès!
La programmation est du chinois pour moi, j'ai donc suivi les tutos de Egalistel, AIRSOFT 3D, et Cacao Tor pour
les mêmes résultats à chaque fois.
D'une part les fichiers sont différents et d'autre part les tuto datent un peu (je n'ai rien trouvé de plus récent).
Mon dernier essai d'aujourd'hui :
Alfawise u20
Carte mère V08
LCD V1.2
Bltouch Anteclab smart V3.1
Tuto suivi : https://www.youtube.com/watch?v=a2-tTsT3bJ8&ab_channel=AIRSOFT3D
Marlin utilisé : https://github.com/hobiseven/Marlin_2.0.X_Beta_Alfawise_Ux0
J'ouvre Platformio.ini, je définis Alfawise U20, jusque là rien de compliqué et tout vas bien.
Je passe à config.h et là, rien que d'ouvrir le fichier pas moins de 50 erreurs qui s'affichent
et qui disparaissent petit à petit pour m'en laisser 2.
{} c_cpp_properties.json .vscode
"c:\Users\TERRA\Downloads\Marlin_2.0.X_Beta_Alfawise_Ux0-master\Marlin_2.0.X_Beta_Alfawise_Ux0-master\include" est introuvable.
"c:\Users\TERRA\Downloads\Marlin_2.0.X_Beta_Alfawise_Ux0-master\Marlin_2.0.X_Beta_Alfawise_Ux0-master\include" est introuvable.
Je tente après de multiples recherches dans un monde et un langage qui m'est totalement inconnu de résoudre le problème sans résultats, je décide donc de passer outre et je compile sans faire aucune modif. juste pour voir.
C'est un succès!!!
C'est bien mais moi ce qui m'intéresse c'est de configurer mon Bltouch et tout les paramètres qui vont bien avec.
Alors je recommence, je fais les modifs du tuto dans config.h et C pins_LONGER3D_LK.h
je jette un petit coup d'œil au terminal et que vois-je!!!
Je fouine un peu partout pour essayer d'arranger ça mais je n'y comprend toujours rien alors je décide encore une fois de passer outre (sait-on jamais lol).
Je lance la compil. et voila le résultat :
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:898:2: error: #endif without #if
#endif
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_sdio_STM32F1.cpp:28:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:898:2: error: #endif without #if
#endif
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp:35:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:898:2: error: #endif without #if
#endif
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.h:51,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:30:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:898:2: error: #endif without #if
#endif
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.h:51,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:30:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ',' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected string-literal before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ')' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1268:51: error: expected ',' before numeric constant
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE 30.3
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1192:19: note: in expansion of macro 'FRONT_PROBE_BED_POSITION'
static_assert(FRONT_PROBE_BED_POSITION < BACK_PROBE_BED_POSITION, "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ',' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected string-literal before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ')' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_sdio_STM32F1.cpp:28:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ',' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1268:51: error: expected ',' before numeric constant
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE 30.3
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1192:19: note: in expansion of macro 'FRONT_PROBE_BED_POSITION'
static_assert(FRONT_PROBE_BED_POSITION < BACK_PROBE_BED_POSITION, "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected string-literal before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ')' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1268:51: error: expected ',' before numeric constant
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE 30.3
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1192:19: note: in expansion of macro 'FRONT_PROBE_BED_POSITION'
static_assert(FRONT_PROBE_BED_POSITION < BACK_PROBE_BED_POSITION, "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
compilation terminated due to -fmax-errors=5.
*** [.pio\build\alfawise_U20\src\src\HAL\HAL_STM32F1\HAL.cpp.o] Error 1
In file included from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfigPre.h:35:0,
from Marlin\src\HAL\HAL_STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp:35:
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ',' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected string-literal before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1266:50: error: expected ')' before numeric constant
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 25.4
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1191:19: note: in expansion of macro 'LEFT_PROBE_BED_POSITION'
static_assert(LEFT_PROBE_BED_POSITION < RIGHT_PROBE_BED_POSITION, "LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\HAL_STM32F1\../../inc/../../Configuration.h:1268:51: error: expected ',' before numeric constant
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE 30.3
^
Marlin\src\HAL\HAL_STM32F1\../../inc/SanityCheck.h:1192:19: note: in expansion of macro 'FRONT_PROBE_BED_POSITION'
static_assert(FRONT_PROBE_BED_POSITION < BACK_PROBE_BED_POSITION, "FRONT_PROBE_BED_POSITION must be less than BACK_PROBE_BED_POSITION.");
^~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio\build\alfawise_U20\src\src\HAL\HAL_STM32F1\HAL_sdio_STM32F1.cpp.o] Error 1
*** [.pio\build\alfawise_U20\src\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp.o] Error 1
compilation terminated due to -fmax-errors=5.
*** [.pio\build\alfawise_U20\src\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp.o] Error 1
================================================================================================== [FAILED] Took 8.56 seconds ==================================================================================================
Environment Status Duration
------------- -------- ------------
alfawise_U20 FAILED 00:00:08.558
============================================================================================= 1 failed, 0 succeeded in 00:00:08.558 =============================================================================================The terminal process "C:\Users\TERRA\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
J'ai suivi pas à pas les tutos, j'ai contrôlé X fois ( pas d'erreur de ligne, de faute de frappe ou autre...), j'ai désinstallé, supprimé, retéléchargé, réinstallé à de multiples reprises les softs et dossiers Marlin avec et sans mise à jour de Python, stm32.....
Le résultat reste le même, des heures et des heures à fouiner dans les forums et sur google ou j'ai appris beaucoup de choses certes, mais rien qui ne me sorte de ce pétrin.
Je précise que je l'avais déjà passé sous marlin il y environ 2 ans sans grand problème et j'ai également passer ma I3 MEGA sous Marlin avec Bltouch il y 1 mois environ sans problème non plus.
Là je ne sais plus quoi faire! Toute aide est la bienvenue.