Browse Source

Reorg'd files to allow build from Arduino IDE.

To build Hibiscus, it is only necessary now to sym link to
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper from
the Arduino libs directory.
master
Marcio Teixeira 4 years ago
parent
commit
b65c4e06d2
  1. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper.cpp
  2. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_CHOPCONF.cpp
  3. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_COOLCONF.cpp
  4. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_DRV_STATUS.cpp
  5. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_GCONF.cpp
  6. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_IHOLD_IRUN.cpp
  7. 2
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_MACROS.h
  8. 0
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_PWMCONF.cpp
  9. 2
      ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_UTILITY.h
  10. 2
      Marlin/Conditionals_LulzBot.h
  11. 1
      Marlin/Makefile

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper.cpp

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_CHOPCONF.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_CHOPCONF.cpp

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_COOLCONF.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_COOLCONF.cpp

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_DRV_STATUS.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_DRV_STATUS.cpp

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_GCONF.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_GCONF.cpp

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_IHOLD_IRUN.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_IHOLD_IRUN.cpp

2
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_MACROS.h → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_MACROS.h

@ -1,7 +1,7 @@
#ifndef TMC2130Stepper_MACROS_H
#define TMC2130Stepper_MACROS_H
#include "TMC2130Stepper.h"
#include "../TMC2130Stepper_REGDEFS.h"
#include "TMC2130Stepper_REGDEFS.h"
#define WRITE_REG(R) send2130(TMC2130_WRITE|REG_##R, &R##_sr);

0
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/source/TMC2130Stepper_PWMCONF.cpp → ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_PWMCONF.cpp

2
ArduinoAddons/arduino-1.8.3/libraries/TMC2130Stepper/TMC2130Stepper_UTILITY.h

@ -1,6 +1,7 @@
#ifndef TMC2130Stepper_UTILITY_h
#define TMC2130Stepper_UTILITY_h
#ifdef TMC2130DEBUG
void print_HEX(uint32_t data) {
for(uint8_t B=24; B>=4; B-=8){
Serial.print((data>>(B+4))&0xF, HEX);
@ -29,5 +30,6 @@ void print_BIN(uint32_t data) {
Serial.print((data>>b)&0b1);
}
}
#endif
#endif

2
Marlin/Conditionals_LulzBot.h

@ -13,7 +13,7 @@
* got disabled.
*/
#define LULZBOT_FW_VERSION ".74" // Change this with each update
#define LULZBOT_FW_VERSION ".75" // Change this with each update
#if ( \
!defined(LULZBOT_Gladiola_Mini) && \

1
Marlin/Makefile

@ -314,7 +314,6 @@ VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib/utility
endif
ifeq ($(TMC2630), 1)
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/TMC2130Stepper
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/TMC2130Stepper/source
endif
ifeq ($(HARDWARE_VARIANT), arduino)

Loading…
Cancel
Save