TMCStepper - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

TMCStepper

Version: 0.7.3
More details

Compatibility matrix

Board Claims compatibility Inclusion
StallGuard_TMC2660
TMC_AccelStepper
Calibrate_spreadCycle
Live_tune
Simple
Software_SPI
StallGuard
StallGuard_TMC2209
arduino:avr:uno
1.8.4
Yes PASS FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL
arduino:mbed_nano:nanorp2040connect
2.7.2
Yes PASS FAIL FAIL FAIL FAIL PASS FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
Yes PASS FAIL FAIL FAIL FAIL PASS FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
Yes PASS FAIL FAIL FAIL FAIL PASS FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
Yes PASS FAIL FAIL FAIL FAIL PASS FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 464 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 11 bytes (0%) of dynamic memory, leaving 2037 bytes for local variables. Maximum is 2048 bytes.

examples/Calibrate_spreadCycle

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void __vector_11()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:5: error: 'STEP_PORT' was not declared in this scope
     STEP_PORT |= 1 << STEP_BIT;
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:5: note: suggested alternative: 'STEP_PIN'
     STEP_PORT |= 1 << STEP_BIT;
     ^~~~~~~~~
     STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:23: error: 'STEP_BIT' was not declared in this scope
     STEP_PORT |= 1 << STEP_BIT;
                       ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:23: note: suggested alternative: 'STEP_PIN'
     STEP_PORT |= 1 << STEP_BIT;
                       ^~~~~~~~
                       STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: error: 'driver' was not declared in this scope
     uint8_t result = driver.test_connection();
                      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: note: suggested alternative: 'div'
     uint8_t result = driver.test_connection();
                      ^~~~~~
                      div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial

examples/Live_tune

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void __vector_11()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:2: error: 'STEP_PORT' was not declared in this scope
  STEP_PORT |= 1 << STEP_BIT;
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:2: note: suggested alternative: 'STEP_PIN'
  STEP_PORT |= 1 << STEP_BIT;
  ^~~~~~~~~
  STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:20: error: 'STEP_BIT' was not declared in this scope
  STEP_PORT |= 1 << STEP_BIT;
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:20: note: suggested alternative: 'STEP_PIN'
  STEP_PORT |= 1 << STEP_BIT;
                    ^~~~~~~~
                    STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void accelerationRamp(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: error: 'myStepper' was not declared in this scope
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: note: suggested alternative: 'TMCStepper'
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
         TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: error: 'myStepper' was not declared in this scope
  myStepper.push();
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: note: suggested alternative: 'TMCStepper'
  myStepper.push();
  ^~~~~~~~~
  TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: error: 'myStepper' was not declared in this scope
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: note: suggested alternative: 'TMCStepper'
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: error: 'myStepper' was not declared in this scope
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: note: suggested alternative: 'TMCStepper'
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^~~~~~~~~
           TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:236:19: error: 'myStepper' was not declared in this scope
    Serial.println(myStepper.GCONF(), BIN);
                   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:236:19: note: suggested alternative: 'TMCStepper'
    Serial.println(myStepper.GCONF(), BIN);
                   ^~~~~~~~~
                   TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:240:4: error: 'myStepper' was not declared in this scope
    myStepper.I_scale_analog(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:240:4: note: suggested alternative: 'TMCStepper'
    myStepper.I_scale_analog(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:244:4: error: 'myStepper' was not declared in this scope
    myStepper.internal_Rsense(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:244:4: note: suggested alternative: 'TMCStepper'
    myStepper.internal_Rsense(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:248:4: error: 'myStepper' was not declared in this scope
    myStepper.en_pwm_mode(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:248:4: note: suggested alternative: 'TMCStepper'
    myStepper.en_pwm_mode(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:252:4: error: 'myStepper' was not declared in this scope
    myStepper.enc_commutation(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:252:4: note: suggested alternative: 'TMCStepper'
    myStepper.enc_commutation(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:256:4: error: 'myStepper' was not declared in this scope
    myStepper.shaft(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:256:4: note: suggested alternative: 'TMCStepper'
    myStepper.shaft(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:260:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_error(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:260:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag0_error(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:264:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_otpw(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:264:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag0_otpw(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:268:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_stall(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:268:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag0_stall(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:272:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_stall(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:272:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag1_stall(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:276:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_index(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:276:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag1_index(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:280:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_onstate(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:280:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag1_onstate(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:284:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_int_pushpull(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:284:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag0_int_pushpull(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:288:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_pushpull(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:288:4: note: suggested alternative: 'TMCStepper'
    myStepper.diag1_pushpull(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:292:4: error: 'myStepper' was not declared in this scope
    myStepper.small_hysteresis(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:292:4: note: suggested alternative: 'TMCStepper'
    myStepper.small_hysteresis(arg);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:296:4: error: 'myStepper' was not declared in this scope
    myStepper.stop_enable(arg);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:296:4: note: suggested alternative: 'TMCStepper'
    myStepp

examples/Simple

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Simple/Simple.ino:18:21: error: 'Serial1' was not declared in this scope
 #define SERIAL_PORT Serial1 // TMC2208/TMC2224 HardwareSerial port
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Simple/Simple.ino:35:24: note: in expansion of macro 'SERIAL_PORT'
 TMC2208Stepper driver(&SERIAL_PORT, R_SENSE);                     // Hardware Serial
                        ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Simple/Simple.ino:18:21: note: suggested alternative: 'Serial'
 #define SERIAL_PORT Serial1 // TMC2208/TMC2224 HardwareSerial port
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Simple/Simple.ino:35:24: note: in expansion of macro 'SERIAL_PORT'
 TMC2208Stepper driver(&SERIAL_PORT, R_SENSE);                     // Hardware Serial
                        ^~~~~~~~~~~
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library

examples/Software_SPI

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: error: 'driver' was not declared in this scope
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: note: suggested alternative: 'dir'
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
  dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: error: 'driver' was not declared in this scope
    driver.shaft(0);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: note: suggested alternative: 'dir'
    driver.shaft(0);
    ^~~~~~
    dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: error: 'driver' was not declared in this scope
    driver.shaft(1);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: note: suggested alternative: 'dir'
    driver.shaft(1);
    ^~~~~~
    dir
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library

examples/StallGuard

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: error: 'driver' was not declared in this scope
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: note: suggested alternative: 'div'
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
                     div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial

examples/StallGuard_TMC2209

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:29:21: error: 'Serial1' was not declared in this scope
 #define SERIAL_PORT Serial1 // TMC2208/TMC2224 HardwareSerial port
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:58:3: note: in expansion of macro 'SERIAL_PORT'
   SERIAL_PORT.begin(115200);
   ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:29:21: note: suggested alternative: 'Serial'
 #define SERIAL_PORT Serial1 // TMC2208/TMC2224 HardwareSerial port
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:58:3: note: in expansion of macro 'SERIAL_PORT'
   SERIAL_PORT.begin(115200);
   ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: error: 'driver' was not declared in this scope
   driver.beginSerial(115200);
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: note: suggested alternative: 'div'
   driver.beginSerial(115200);
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: error: 'driver' was not declared in this scope
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: note: suggested alternative: 'div'
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
                  div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble

examples/StallGuard_TMC2660

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: error: 'driver' was not declared in this scope
     data.sr = driver.DRV_STATUS();
               ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: note: suggested alternative: 'div'
     data.sr = driver.DRV_STATUS();
               ^~~~~~
               div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial

examples/TMC_AccelStepper

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: error: 'driver' was not declared in this scope
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: note: suggested alternative: 'div'
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
     div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: PASS

Sketch uses 80722 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 43616 bytes (16%) of dynamic memory, leaving 226720 bytes for local variables. Maximum is 270336 bytes.

examples/Calibrate_spreadCycle

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: error: 'driver' was not declared in this scope
     uint8_t result = driver.test_connection();
                      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: note: suggested alternative: 'write'
     uint8_t result = driver.test_connection();
                      ^~~~~~
                      write

examples/Live_tune

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void initTimer()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:54:2: error: 'cli' was not declared in this scope
  cli();//stop interrupts
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: error: 'TCCR1A' was not declared in this scope
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: error: 'TCCR1B' was not declared in this scope
  TCCR1B = 0; // same for TCCR1B
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: error: 'TCNT1' was not declared in this scope
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: note: suggested alternative: 'SCNd16'
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
  SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:60:2: error: 'OCR1A' was not declared in this scope
  OCR1A = 61;// = (16*10^6) / (8*2000) - 1 (must be <65536)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:62:18: error: 'WGM12' was not declared in this scope
  TCCR1B |= (1 << WGM12);
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: error: 'CS10' was not declared in this scope
  TCCR1B |= (1 << CS10);
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: note: suggested alternative: 'B110'
  TCCR1B |= (1 << CS10);
                  ^~~~
                  B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: note: suggested alternative: 'TIMER'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:68:2: error: 'sei' was not declared in this scope
  sei();//allow interrupts
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void accelerationRamp(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: note: suggested alternative: 'TIMER'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: error: 'myStepper' was not declared in this scope
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: note: suggested alternative: 'TMCStepper'
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
         TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: error: 'OCR1A' was not declared in this scope
  OCR1A = _OCR1A;
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: note: suggested alternative: '_OCR1A'
  OCR1A = _OCR1A;
  ^~~~~
  _OCR1A
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:103:2: error: 'cli' was not declared in this scope
  cli();
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:105:2: error: 'sei' was not declared in this scope
  sei();
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: error: 'myStepper' was not declared in this scope
  myStepper.push();
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: note: suggested alternative: 'TMCStepper'
  myStepper.push();
  ^~~~~~~~~
  TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: error: 'TIMSK1' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: note: suggested alternative: 'TIMER'
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
          TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:25: error: 'OCIE1A' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
                         ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:184:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: error: 'TCNT1' was not declared in this scope
    TCNT1 = 0;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: note: suggested alternative: 'SCNd16'
    TCNT1 = 0;
    ^~~~~
    SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:186:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateMMSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:189:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:193:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:194:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateFSPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:197:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:201:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:202:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateRPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:205:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: error: 'myStepper' was not declared in this scope
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: note: suggested alternative: 'TMCStepper'
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: error: 'TIMSK1' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: note: suggested alternative: 'TIMER'
    TIMSK1 &= ~(1 << OCIE1A);
    ^~~~~~
    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:21: error: 'OCIE1A' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: error: 'myStepper' was not declared in this scope
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: note: suggested alternative: 'TMCStepper'
    while (myStepper.cur_a

examples/Simple

Result: PASS

Sketch uses 85562 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 43680 bytes (16%) of dynamic memory, leaving 226656 bytes for local variables. Maximum is 270336 bytes.

examples/Software_SPI

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: error: 'driver' was not declared in this scope
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: note: suggested alternative: 'dir'
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
  dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: error: 'driver' was not declared in this scope
    driver.shaft(0);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: note: suggested alternative: 'dir'
    driver.shaft(0);
    ^~~~~~
    dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: error: 'driver' was not declared in this scope
    driver.shaft(1);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: note: suggested alternative: 'dir'
    driver.shaft(1);
    ^~~~~~
    dir

examples/StallGuard

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:50:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: note: suggested alternative: 'write'
   driver.begin();
   ^~~~~~
   write
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:82:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:86:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:88:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:93:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: note: suggested alternative: 'TIMER'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: note: suggested alternative: 'TIMER'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:110:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:111:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: error: 'driver' was not declared in this scope
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: note: suggested alternative: 'write'
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
                     write

examples/StallGuard_TMC2209

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:48:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: error: 'driver' was not declared in this scope
   driver.beginSerial(115200);
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: note: suggested alternative: 'write'
   driver.beginSerial(115200);
   ^~~~~~
   write
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:79:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:83:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:85:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:90:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: note: suggested alternative: 'TIMER'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: note: suggested alternative: 'TIMER'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:107:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:108:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: error: 'driver' was not declared in this scope
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: note: suggested alternative: 'write'
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
                  write

examples/StallGuard_TMC2660

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:52:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: note: suggested alternative: 'write'
   driver.begin();
   ^~~~~~
   write
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:84:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:88:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:90:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:95:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: note: suggested alternative: 'TIMER'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: note: suggested alternative: 'TIMER'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:112:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:113:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: error: 'driver' was not declared in this scope
     data.sr = driver.DRV_STATUS();
               ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: note: suggested alternative: 'write'
     data.sr = driver.DRV_STATUS();
               ^~~~~~
               write

examples/TMC_AccelStepper

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: error: 'driver' was not declared in this scope
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: note: suggested alternative: 'write'
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
     write

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: PASS

Sketch uses 3798 bytes (7%) of program storage space. Maximum is 49152 bytes.
Global variables use 138 bytes (2%) of dynamic memory, leaving 6006 bytes for local variables. Maximum is 6144 bytes.

examples/Calibrate_spreadCycle

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void TIMER1_COMPA_vect()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:5: error: 'STEP_PORT' was not declared in this scope
     STEP_PORT |= 1 << STEP_BIT;
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:5: note: suggested alternative: 'STEP_PIN'
     STEP_PORT |= 1 << STEP_BIT;
     ^~~~~~~~~
     STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:23: error: 'STEP_BIT' was not declared in this scope
     STEP_PORT |= 1 << STEP_BIT;
                       ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:41:23: note: suggested alternative: 'STEP_PIN'
     STEP_PORT |= 1 << STEP_BIT;
                       ^~~~~~~~
                       STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: error: 'driver' was not declared in this scope
     uint8_t result = driver.test_connection();
                      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: note: suggested alternative: 'div'
     uint8_t result = driver.test_connection();
                      ^~~~~~
                      div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library

examples/Live_tune

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void TIMER1_COMPA_vect()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:2: error: 'STEP_PORT' was not declared in this scope
  STEP_PORT |= 1 << STEP_BIT;
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:2: note: suggested alternative: 'STEP_PIN'
  STEP_PORT |= 1 << STEP_BIT;
  ^~~~~~~~~
  STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:20: error: 'STEP_BIT' was not declared in this scope
  STEP_PORT |= 1 << STEP_BIT;
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:48:20: note: suggested alternative: 'STEP_PIN'
  STEP_PORT |= 1 << STEP_BIT;
                    ^~~~~~~~
                    STEP_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void initTimer()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: error: 'TCCR1A' was not declared in this scope
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: note: suggested alternative: 'TCB1'
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^~~~~~
  TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: error: 'TCCR1B' was not declared in this scope
  TCCR1B = 0; // same for TCCR1B
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: note: suggested alternative: 'TCB1'
  TCCR1B = 0; // same for TCCR1B
  ^~~~~~
  TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: error: 'TCNT1' was not declared in this scope
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: note: suggested alternative: 'TCB1'
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
  TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:60:2: error: 'OCR1A' was not declared in this scope
  OCR1A = 61;// = (16*10^6) / (8*2000) - 1 (must be <65536)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:62:18: error: 'WGM12' was not declared in this scope
  TCCR1B |= (1 << WGM12);
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: error: 'CS10' was not declared in this scope
  TCCR1B |= (1 << CS10);
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: note: suggested alternative: 'B110'
  TCCR1B |= (1 << CS10);
                  ^~~~
                  B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: note: suggested alternative: 'TIMERB1'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void accelerationRamp(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: note: suggested alternative: 'TIMERB1'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: error: 'myStepper' was not declared in this scope
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: note: suggested alternative: 'TMCStepper'
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
         TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: error: 'OCR1A' was not declared in this scope
  OCR1A = _OCR1A;
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: note: suggested alternative: '_OCR1A'
  OCR1A = _OCR1A;
  ^~~~~
  _OCR1A
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: error: 'myStepper' was not declared in this scope
  myStepper.push();
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: note: suggested alternative: 'TMCStepper'
  myStepper.push();
  ^~~~~~~~~
  TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: error: 'TIMSK1' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: note: suggested alternative: 'TIMERB1'
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
          TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:25: error: 'OCIE1A' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
                         ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: error: 'TCNT1' was not declared in this scope
    TCNT1 = 0;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: note: suggested alternative: 'TCB1'
    TCNT1 = 0;
    ^~~~~
    TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:186:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateMMSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:194:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateFSPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:202:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateRPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: error: 'myStepper' was not declared in this scope
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: note: suggested alternative: 'TMCStepper'
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: error: 'TIMSK1' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: note: suggested alternative: 'TIMERB1'
    TIMSK1 &= ~(1 << OCIE1A);
    ^~~~~~
    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:21: error: 'OCIE1A' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: error: 'myStepper' was not declared in this scope
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: note: suggested alternative: 'TMCStepper'
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^~~~~~~~~
           TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:236:19: error: 'myStepper' was not declared in this scope
    Serial.println(myStepper.GCONF(), BIN);
                   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:236:19: note: suggested alternative: 'TMCStepper'
    Serial.println(myStepper.GCONF(), BIN);
                   ^~~~~~~~~
                   TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:240:4: error: 'myStepper' was not declared in this scope
    myStepper.I_scale

examples/Simple

Result: PASS

Sketch uses 9752 bytes (19%) of program storage space. Maximum is 49152 bytes.
Global variables use 443 bytes (7%) of dynamic memory, leaving 5701 bytes for local variables. Maximum is 6144 bytes.

examples/Software_SPI

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: error: 'driver' was not declared in this scope
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: note: suggested alternative: 'dir'
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
  dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: error: 'driver' was not declared in this scope
    driver.shaft(0);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: note: suggested alternative: 'dir'
    driver.shaft(0);
    ^~~~~~
    dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: error: 'driver' was not declared in this scope
    driver.shaft(1);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: note: suggested alternative: 'dir'
    driver.shaft(1);
    ^~~~~~
    dir
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble

examples/StallGuard

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:86:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:88:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: note: suggested alternative: 'TIMERB1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: note: suggested alternative: 'TIMERB1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:110:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:111:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: error: 'driver' was not declared in this scope
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: note: suggested alternative: 'div'
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
                     div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial

examples/StallGuard_TMC2209

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: error: 'driver' was not declared in this scope
   driver.beginSerial(115200);
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: note: suggested alternative: 'div'
   driver.beginSerial(115200);
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:83:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:85:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: note: suggested alternative: 'TIMERB1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: note: suggested alternative: 'TIMERB1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:107:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:108:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: error: 'driver' was not declared in this scope
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: note: suggested alternative: 'div'
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
                  div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble

examples/StallGuard_TMC2660

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:88:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:90:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: note: suggested alternative: 'B111'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: note: suggested alternative: 'TIMERB1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: note: suggested alternative: 'TIMERB1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:112:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:113:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: error: 'driver' was not declared in this scope
     data.sr = driver.DRV_STATUS();
               ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: note: suggested alternative: 'div'
     data.sr = driver.DRV_STATUS();
               ^~~~~~
               div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial

examples/TMC_AccelStepper

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: error: 'driver' was not declared in this scope
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: note: suggested alternative: 'div'
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
     div
Multiple libraries were found for "SoftwareSerial.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/SoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EspSoftwareSerial
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Dabble
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Printoo_Library

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: PASS

Sketch uses 13336 bytes (5%) of program storage space. Maximum is 262144 bytes.
Global variables use 3068 bytes (9%) of dynamic memory, leaving 29700 bytes for local variables. Maximum is 32768 bytes.

examples/Calibrate_spreadCycle

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: error: 'driver' was not declared in this scope
     uint8_t result = driver.test_connection();
                      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: note: suggested alternative: 'div'
     uint8_t result = driver.test_connection();
                      ^~~~~~
                      div

examples/Live_tune

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void initTimer()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:54:2: error: 'cli' was not declared in this scope
  cli();//stop interrupts
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:54:2: note: suggested alternative: 'Gclk'
  cli();//stop interrupts
  ^~~
  Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: error: 'TCCR1A' was not declared in this scope
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: note: suggested alternative: 'TCC1'
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^~~~~~
  TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: error: 'TCCR1B' was not declared in this scope
  TCCR1B = 0; // same for TCCR1B
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: note: suggested alternative: 'TCC1'
  TCCR1B = 0; // same for TCCR1B
  ^~~~~~
  TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: error: 'TCNT1' was not declared in this scope
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: note: suggested alternative: 'TCC1'
  TCNT1  = 0; //initialize counter value to 0
  ^~~~~
  TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:60:2: error: 'OCR1A' was not declared in this scope
  OCR1A = 61;// = (16*10^6) / (8*2000) - 1 (must be <65536)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:62:18: error: 'WGM12' was not declared in this scope
  TCCR1B |= (1 << WGM12);
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: error: 'CS10' was not declared in this scope
  TCCR1B |= (1 << CS10);
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: note: suggested alternative: 'SS1'
  TCCR1B |= (1 << CS10);
                  ^~~~
                  SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: note: suggested alternative: 'MISO1'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:68:2: error: 'sei' was not declared in this scope
  sei();//allow interrupts
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void accelerationRamp(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: note: suggested alternative: 'MISO1'
  TIMSK1 &= ~(1 << OCIE1A);
  ^~~~~~
  MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: error: 'myStepper' was not declared in this scope
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: note: suggested alternative: 'TMCStepper'
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^~~~~~~~~
         TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: error: 'OCR1A' was not declared in this scope
  OCR1A = _OCR1A;
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: note: suggested alternative: '_OCR1A'
  OCR1A = _OCR1A;
  ^~~~~
  _OCR1A
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:103:2: error: 'cli' was not declared in this scope
  cli();
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:103:2: note: suggested alternative: 'Gclk'
  cli();
  ^~~
  Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:105:2: error: 'sei' was not declared in this scope
  sei();
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: error: 'myStepper' was not declared in this scope
  myStepper.push();
  ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: note: suggested alternative: 'TMCStepper'
  myStepper.push();
  ^~~~~~~~~
  TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: error: 'TIMSK1' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: note: suggested alternative: 'MISO1'
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^~~~~~
          MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:25: error: 'OCIE1A' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
                         ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:184:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: error: 'TCNT1' was not declared in this scope
    TCNT1 = 0;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: note: suggested alternative: 'TCC1'
    TCNT1 = 0;
    ^~~~~
    TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:186:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateMMSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:189:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:193:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:194:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateFSPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:197:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:201:4: error: 'cli' was not declared in this scope
    cli();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:202:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateRPSTimer(arg);
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:205:4: error: 'sei' was not declared in this scope
    sei();
    ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: error: 'myStepper' was not declared in this scope
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: note: suggested alternative: 'TMCStepper'
    myStepper.rms_current(arg, hold_x);
    ^~~~~~~~~
    TMCStepper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: error: 'TIMSK1' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:

examples/Simple

Result: PASS

Sketch uses 25132 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3148 bytes (9%) of dynamic memory, leaving 29620 bytes for local variables. Maximum is 32768 bytes.

examples/Software_SPI

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: error: 'driver' was not declared in this scope
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: note: suggested alternative: 'dir'
  driver.begin();    // Initiate pins and registeries
  ^~~~~~
  dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: error: 'driver' was not declared in this scope
    driver.shaft(0);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: note: suggested alternative: 'dir'
    driver.shaft(0);
    ^~~~~~
    dir
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: error: 'driver' was not declared in this scope
    driver.shaft(1);
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: note: suggested alternative: 'dir'
    driver.shaft(1);
    ^~~~~~
    dir

examples/StallGuard

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:50:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:82:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:82:5: note: suggested alternative: 'Gclk'
     cli();//stop interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:86:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:88:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: note: suggested alternative: 'SS1'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:93:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: note: suggested alternative: 'MISO1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: note: suggested alternative: 'MISO1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:110:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:111:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: error: 'driver' was not declared in this scope
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: note: suggested alternative: 'div'
     drv_status.sr = driver.DRV_STATUS();
                     ^~~~~~
                     div

examples/StallGuard_TMC2209

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:48:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: error: 'driver' was not declared in this scope
   driver.beginSerial(115200);
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: note: suggested alternative: 'div'
   driver.beginSerial(115200);
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:79:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:79:5: note: suggested alternative: 'Gclk'
     cli();//stop interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:83:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:85:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: note: suggested alternative: 'SS1'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:90:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: note: suggested alternative: 'MISO1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: note: suggested alternative: 'MISO1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:107:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:108:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: error: 'driver' was not declared in this scope
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: note: suggested alternative: 'div'
     Serial.print(driver.SG_RESULT(), DEC);
                  ^~~~~~
                  div

examples/StallGuard_TMC2660

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:52:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: note: suggested alternative: 'div'
   driver.begin();
   ^~~~~~
   div
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:84:5: error: 'cli' was not declared in this scope
     cli();//stop interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:84:5: note: suggested alternative: 'Gclk'
     cli();//stop interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0;// same for TCCR1B
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0;//initialize counter value to 0
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:88:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:90:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: note: suggested alternative: 'SS1'
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^~~~
                     SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A);
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:95:5: error: 'sei' was not declared in this scope
     sei();//allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: note: suggested alternative: 'MISO1'
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: note: suggested alternative: 'MISO1'
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^~~~~~
                                    MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:112:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:113:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: error: 'driver' was not declared in this scope
     data.sr = driver.DRV_STATUS();
               ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: note: suggested alternative: 'div'
     data.sr = driver.DRV_STATUS();
               ^~~~~~
               div

examples/TMC_AccelStepper

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: error: 'driver' was not declared in this scope
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: note: suggested alternative: 'div'
     driver.begin();             // Initiate pins and registeries
     ^~~~~~
     div

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: PASS

Sketch uses 213662 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13328 bytes (4%) of dynamic memory, leaving 314352 bytes for local variables. Maximum is 327680 bytes.

examples/Calibrate_spreadCycle

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:40:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Calibrate_spreadCycle/Calibrate_spreadCycle.ino:90:22: error: 'driver' was not declared in this scope
     uint8_t result = driver.test_connection();
                      ^

examples/Live_tune

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:47:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void initTimer()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:56:2: error: 'TCCR1A' was not declared in this scope
  TCCR1A = 0; // set entire TCCR1A register to 0
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:57:2: error: 'TCCR1B' was not declared in this scope
  TCCR1B = 0; // same for TCCR1B
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:58:2: error: 'TCNT1' was not declared in this scope
  TCNT1  = 0; //initialize counter value to 0
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:60:2: error: 'OCR1A' was not declared in this scope
  OCR1A = 61;// = (16*10^6) / (8*2000) - 1 (must be <65536)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:62:18: error: 'WGM12' was not declared in this scope
  TCCR1B |= (1 << WGM12);
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:64:18: error: 'CS10' was not declared in this scope
  TCCR1B |= (1 << CS10);
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:67:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void accelerationRamp(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:2: error: 'TIMSK1' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:85:19: error: 'OCIE1A' was not declared in this scope
  TIMSK1 &= ~(1 << OCIE1A);
                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:86:9: error: 'myStepper' was not declared in this scope
  while (myStepper.cur_a() != 0) { // Use cur_b if measuring from B coil
         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:97:2: error: 'OCR1A' was not declared in this scope
  OCR1A = _OCR1A;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:136:2: error: 'myStepper' was not declared in this scope
  myStepper.push();
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:10: error: 'TIMSK1' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:178:25: error: 'OCIE1A' was not declared in this scope
    arg ? TIMSK1 |= 1 << OCIE1A : TIMSK1 &= ~(1 << OCIE1A);
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:185:4: error: 'TCNT1' was not declared in this scope
    TCNT1 = 0;
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:186:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateMMSTimer(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:194:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateFSPSTimer(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:202:4: error: 'OCR1A' was not declared in this scope
    OCR1A = calculateRPSTimer(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:209:4: error: 'myStepper' was not declared in this scope
    myStepper.rms_current(arg, hold_x);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:4: error: 'TIMSK1' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:213:21: error: 'OCIE1A' was not declared in this scope
    TIMSK1 &= ~(1 << OCIE1A);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:214:11: error: 'myStepper' was not declared in this scope
    while (myStepper.cur_a() != arg) { // Use cur_b if measuring from B coil
           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:236:19: error: 'myStepper' was not declared in this scope
    Serial.println(myStepper.GCONF(), BIN);
                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:240:4: error: 'myStepper' was not declared in this scope
    myStepper.I_scale_analog(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:244:4: error: 'myStepper' was not declared in this scope
    myStepper.internal_Rsense(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:248:4: error: 'myStepper' was not declared in this scope
    myStepper.en_pwm_mode(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:252:4: error: 'myStepper' was not declared in this scope
    myStepper.enc_commutation(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:256:4: error: 'myStepper' was not declared in this scope
    myStepper.shaft(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:260:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_error(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:264:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_otpw(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:268:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_stall(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:272:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_stall(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:276:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_index(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:280:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_onstate(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:284:4: error: 'myStepper' was not declared in this scope
    myStepper.diag0_int_pushpull(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:288:4: error: 'myStepper' was not declared in this scope
    myStepper.diag1_pushpull(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:292:4: error: 'myStepper' was not declared in this scope
    myStepper.small_hysteresis(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:296:4: error: 'myStepper' was not declared in this scope
    myStepper.stop_enable(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:300:4: error: 'myStepper' was not declared in this scope
    myStepper.direct_mode(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:305:4: error: 'myStepper' was not declared in this scope
    myStepper.ihold(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:309:4: error: 'myStepper' was not declared in this scope
    myStepper.irun(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:313:4: error: 'myStepper' was not declared in this scope
    myStepper.iholddelay(arg);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:318:19: error: 'myStepper' was not declared in this scope
    Serial.println(myStepper.TSTEP());
                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Live_tune/Live_tune.ino:323:4: error: 'mySt

examples/Simple

Result: PASS

Sketch uses 219442 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13640 bytes (4%) of dynamic memory, leaving 314040 bytes for local variables. Maximum is 327680 bytes.

examples/Software_SPI

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:36:2: error: 'driver' was not declared in this scope
  driver.begin();    // Initiate pins and registeries
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:58:4: error: 'driver' was not declared in this scope
    driver.shaft(0);
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/Software_SPI/Software_SPI.ino:61:4: error: 'driver' was not declared in this scope
    driver.shaft(1);
    ^

examples/StallGuard

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:50:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:68:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:83:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:84:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:85:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:86:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:88:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:90:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:92:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:107:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:108:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:110:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:111:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard/StallGuard.ino:118:21: error: 'driver' was not declared in this scope
     drv_status.sr = driver.DRV_STATUS();
                     ^

examples/StallGuard_TMC2209

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:48:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:59:3: error: 'driver' was not declared in this scope
   driver.beginSerial(115200);
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:80:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:81:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:82:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:83:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:85:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:87:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:89:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:104:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:105:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:107:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:108:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino:115:18: error: 'driver' was not declared in this scope
     Serial.print(driver.SG_RESULT(), DEC);
                  ^

examples/StallGuard_TMC2660

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:52:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect){
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:70:3: error: 'driver' was not declared in this scope
   driver.begin();
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:85:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0;// set entire TCCR1A register to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:86:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0;// same for TCCR1B
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:87:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0;//initialize counter value to 0
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:88:5: error: 'OCR1A' was not declared in this scope
     OCR1A = 256;// = (16*10^6) / (1*1024) - 1 (must be <65536)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:90:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:92:21: error: 'CS11' was not declared in this scope
     TCCR1B |= (1 << CS11);// | (1 << CS10);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:94:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A);
                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:36: error: 'TIMSK1' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:109:53: error: 'OCIE1A' was not declared in this scope
       if (read_byte == '0')      { TIMSK1 &= ~(1 << OCIE1A); digitalWrite( EN_PIN, HIGH ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:36: error: 'TIMSK1' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:110:53: error: 'OCIE1A' was not declared in this scope
       else if (read_byte == '1') { TIMSK1 |=  (1 << OCIE1A); digitalWrite( EN_PIN,  LOW ); }
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:112:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '+') { if (OCR1A > MAX_SPEED) OCR1A -= 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:113:38: error: 'OCR1A' was not declared in this scope
     else if (read_byte == '-') { if (OCR1A < MIN_SPEED) OCR1A += 20; }
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/StallGuard_TMC2660/StallGuard_TMC2660.ino:120:15: error: 'driver' was not declared in this scope
     data.sr = driver.DRV_STATUS();
               ^

examples/TMC_AccelStepper

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TMCStepper/examples/TMC_AccelStepper/TMC_AccelStepper.ino:47:5: error: 'driver' was not declared in this scope
     driver.begin();             // Initiate pins and registeries
     ^