Home JGAurora A5 & A3S Modifications & Upgrades

Upgraded to TCM2130 and getting error when compiling

I just upgraded my A5 to the 2130 stepper drivers.   I followed the steps in the video on this website but Im getting this error when compiling the fw.

Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token

Im new to this so Im lost.


  • DaHaiDaHai Posts: 36🌟 Super Member 🌟
    Quick googling suggests you're using a beta or older version of the Arduino ide. Try downloading the lastest stable release and compiling again.
    Hope this helps
  • DaHaiDaHai Posts: 36🌟 Super Member 🌟
    Found another thread on the reprap forum that suggests this is a bug in Arduino IDE 1.8.6, which is the latest, and it doesn't like the comments formatting in Marlin 1.1.9
    Try 1.8.5 of Arduino and see if that works.
    Hope this helps
  • DaHaiDaHai Posts: 36🌟 Super Member 🌟
    This error also occurs on the web-based Arduino IDE which is a beta version and does not handle comments on the same line as defines.

  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    I’ve already fixed this in the stock community firmware, details of the fix are here:

Sign In or Register to comment.