Bläddra i källkod

Patch PrintrboardG2 build (on spec)

Scott Lahteine 5 år sedan
förälder
incheckning
a9c259c77a

+ 2
- 2
Marlin/src/module/stepper.cpp Visa fil

2580
 
2580
 
2581
   #endif
2581
   #endif
2582
 
2582
 
2583
-#else
2583
+#else // PRINTRBOARD_G2
2584
 
2584
 
2585
-  #include "../HAL/HAL_DUE/G2_PWM.h"
2585
+  #include HAL_PATH(../HAL, fastio/G2_PWM.h)
2586
 
2586
 
2587
 #endif
2587
 #endif
2588
 
2588
 

+ 1
- 1
Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h Visa fil

126
 #define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19        MOTOR 3
126
 #define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19        MOTOR 3
127
 #define MOTOR_CURRENT_PWM_E_PIN 61 // PA2         MOTOR 4
127
 #define MOTOR_CURRENT_PWM_E_PIN 61 // PA2         MOTOR 4
128
 
128
 
129
-//#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000}  // XY Z E0, 1000 = 1000mAh
129
+#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000}  // XY Z E0, 1000 = 1000mAh
130
 
130
 
131
 //
131
 //
132
 // Temperature Sensors
132
 // Temperature Sensors

+ 1
- 1
config/examples/Printrbot/PrintrboardG2/Configuration.h Visa fil

102
  *
102
  *
103
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
103
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
104
  */
104
  */
105
-#define SERIAL_PORT 0
105
+#define SERIAL_PORT -1
106
 
106
 
107
 /**
107
 /**
108
  * Select a secondary serial port on the board to use for communication with the host.
108
  * Select a secondary serial port on the board to use for communication with the host.

Laddar…
Avbryt
Spara