Welcome! Log In Create A New Profile


marlin2.1.2 on Geeetech A20M with SKR V1.4

Posted by ALF 
marlin2.1.2 on Geeetech A20M with SKR V1.4
January 16, 2023 03:20AM
Good morning, being beginner on this forum I shall ask you to be forgiving
I have a GEEETECHA20M of which the card mother in grilled. I have decide to take up SKR V1.4 (changes already made on another simple extruder printer and 100% fonctionnal).
When I take shape Marlin 2.1.2 for GEEETECH A20M and that I compile no problem, no error.
When I make modifications essentials to adapt it to SKR 1.4 nothing more go. (see below.)
Would be there one worries in librairies LPC1768?
shape with TMC2209, BL Touch, sensorless homing on axles X and Y, bed traming

here is the messages of error emanate from VS Encode:

In file included from Marlin\src\feature\../sd/../inc/../HAL/./LPC1768/../shared/Marduino.h:36,
from Marlin\src\feature\../sd/../inc/../HAL/./LPC1768/HAL.h:37,
from Marlin\src\feature\../sd/../inc/../HAL/HAL.h:30,
from Marlin\src\feature\../sd/../inc/MarlinConfig.h:31,
from Marlin\src\feature\../sd/cardreader.h:24,
from Marlin\src\feature\runout.h:28,
from Marlin\src\feature\runout.cpp:31:
Marlin\src\feature\runout.cpp: In function 'void event_filament_runout(uint8_t)':
Marlin\src\feature\../inc/../../Configuration.h:1824:34: warning: too many arguments for format [-Wformat-extra-args]
1824 | #define FILAMENT_RUNOUT_SCRIPT "M600 T1c"
C:\Users\alf26\.platformio\packages\framework-arduino-lpc176x\cores\arduino/Arduino.h:58:18: note: in definition of macro 'PSTR' 58 | #define PSTR(v) (v)
| ^
Marlin\src\feature\runout.cpp:132:30: note: in expansion of macro 'FILAMENT_RUNOUT_SCRIPT'
Compiling .pio\build\LPC1768\src\src\gcode\bedlevel\G26.cpp.o
132 | sprintf_P(script, PSTR(FILAMENT_RUNOUT_SCRIPT), tool);

Could you please help me?
open | download - Configuration.h (124.3 KB)
open | download - Configuration_adv.h (173.3 KB)
Re: marlin2.1.2 on Geeetech A20M with SKR V1.4
January 16, 2023 10:07AM
You have #define FILAMENT_RUNOUT_SCRIPT "M600 T1c"

With multiple tools you need #define FILAMENT_RUNOUT_SCRIPT "M600 T%c"

As documented just above it..

// With multiple runout sensors use the %c placeholder for the current tool in commands (e.g., "M600 T%c")

Edited 1 time(s). Last edit at 01/16/2023 10:11AM by Dust.
Re: marlin2.1.2 on Geeetech A20M with SKR V1.4
January 17, 2023 03:59AM
thank you for answer
is what it sign % correspond to the numbers to runout sensor?

And still one thank you very much
Re: marlin2.1.2 on Geeetech A20M with SKR V1.4
January 17, 2023 06:24AM
%c is the tool number
so it become M600 T0, M600 T1 etc
Sorry, only registered users may post in this forum.

Click here to login