Ahojte, co robim spatne pri flashnuti?
Pouzil som tieto navody ako referencne body:
https://onstep.groups.io/g/main/wiki/32747
https://onstep.groups.io/g/main/wiki/32794
TMC driver ver. 9.0.8
Vdaka
Laco
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\Common.h:11,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.h:5,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.command.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected identifier before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected unqualified-id before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.h:15,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.h:40,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.command.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\tmcLegacy\LegacyUART.h:72:5: error: 'TMC2209Stepper' does not name a type; did you mean 'TMC2209S'?
TMC2209Stepper *driver;
^~~~~~~~~~~~~~
TMC2209S
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\Common.h:11,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.h:5,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected identifier before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected unqualified-id before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.h:15,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.h:40,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\Axis.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\tmcLegacy\LegacyUART.h:72:5: error: 'TMC2209Stepper' does not name a type; did you mean 'TMC2209S'?
TMC2209Stepper *driver;
^~~~~~~~~~~~~~
TMC2209S
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\Common.h:11,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.h:5,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected identifier before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\Constants.h:52:37: error: expected unqualified-id before numeric constant
#define TMC2209 16 // uses TMC software UART comms for 1x,2x...,256x (UART sets spreadCycle/stealthChop etc, dedicated RX/TX UART to each driver using index 0)
^~
c:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209\src/TMC2209.h:22:7: note: in expansion of macro 'TMC2209'
class TMC2209
^~~~~~~
In file included from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.h:15,
from C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\StepDir.cpp:4:
C:\Users\Lakio Small HP\Desktop\OnStepX\src\lib\axis\motor\stepDir\tmcLegacy\LegacyUART.h:72:5: error: 'TMC2209Stepper' does not name a type; did you mean 'TMC2209S'?
TMC2209Stepper *driver;
^~~~~~~~~~~~~~
TMC2209S
Multiple libraries were found for "TMC2209.h"
Used: C:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209
Not used: C:\Users\Lakio Small HP\Documents\Arduino\libraries\TMC2209Stepper
exit status 1
Compilation error: expected identifier before numeric constant