mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-22 06:03:20 +02:00
Increase serial task stack size (#970)
* Increase stack size - Also changed defaults of trinamic motor currents * Update Grbl.h
This commit is contained in:
@@ -386,43 +386,43 @@
|
|||||||
|
|
||||||
// ========== Motor current (SPI Drivers ) =============
|
// ========== Motor current (SPI Drivers ) =============
|
||||||
#ifndef DEFAULT_X_CURRENT
|
#ifndef DEFAULT_X_CURRENT
|
||||||
# define DEFAULT_X_CURRENT 0.25 // $140 current in amps (extended set)
|
# define DEFAULT_X_CURRENT 0.8 // $140 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_Y_CURRENT
|
#ifndef DEFAULT_Y_CURRENT
|
||||||
# define DEFAULT_Y_CURRENT 0.25 // $141 current in amps (extended set)
|
# define DEFAULT_Y_CURRENT 0.8 // $141 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_Z_CURRENT
|
#ifndef DEFAULT_Z_CURRENT
|
||||||
# define DEFAULT_Z_CURRENT 0.25 // $142 current in amps (extended set)
|
# define DEFAULT_Z_CURRENT 0.8 // $142 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_A_CURRENT
|
#ifndef DEFAULT_A_CURRENT
|
||||||
# define DEFAULT_A_CURRENT 0.25 // $143 current in amps (extended set)
|
# define DEFAULT_A_CURRENT 0.8 // $143 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_B_CURRENT
|
#ifndef DEFAULT_B_CURRENT
|
||||||
# define DEFAULT_B_CURRENT 0.25 // $144 current in amps (extended set)
|
# define DEFAULT_B_CURRENT 0.8 // $144 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_C_CURRENT
|
#ifndef DEFAULT_C_CURRENT
|
||||||
# define DEFAULT_C_CURRENT 0.25 // $145 current in amps (extended set)
|
# define DEFAULT_C_CURRENT 0.8 // $145 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ========== Motor hold current (SPI Drivers ) =============
|
// ========== Motor hold current (SPI Drivers ) =============
|
||||||
|
|
||||||
#ifndef DEFAULT_X_HOLD_CURRENT
|
#ifndef DEFAULT_X_HOLD_CURRENT
|
||||||
# define DEFAULT_X_HOLD_CURRENT 0.125 // $150 current in amps (extended set)
|
# define DEFAULT_X_HOLD_CURRENT 0.4 // $150 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_Y_HOLD_CURRENT
|
#ifndef DEFAULT_Y_HOLD_CURRENT
|
||||||
# define DEFAULT_Y_HOLD_CURRENT 0.125 // $151 current in amps (extended set)
|
# define DEFAULT_Y_HOLD_CURRENT 0.4 // $151 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_Z_HOLD_CURRENT
|
#ifndef DEFAULT_Z_HOLD_CURRENT
|
||||||
# define DEFAULT_Z_HOLD_CURRENT 0.125 // $152 current in amps (extended set)
|
# define DEFAULT_Z_HOLD_CURRENT 0.4 // $152 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_A_HOLD_CURRENT
|
#ifndef DEFAULT_A_HOLD_CURRENT
|
||||||
# define DEFAULT_A_HOLD_CURRENT 0.125 // $153 current in amps (extended set)
|
# define DEFAULT_A_HOLD_CURRENT 0.4 // $153 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_B_HOLD_CURRENT
|
#ifndef DEFAULT_B_HOLD_CURRENT
|
||||||
# define DEFAULT_B_HOLD_CURRENT 0.125 // $154 current in amps (extended set)
|
# define DEFAULT_B_HOLD_CURRENT 0.4 // $154 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
#ifndef DEFAULT_C_HOLD_CURRENT
|
#ifndef DEFAULT_C_HOLD_CURRENT
|
||||||
# define DEFAULT_C_HOLD_CURRENT 0.125 // $154 current in amps (extended set)
|
# define DEFAULT_C_HOLD_CURRENT 0.4 // $154 current in amps (extended set)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ========== Microsteps (SPI Drivers ) ================
|
// ========== Microsteps (SPI Drivers ) ================
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
// Grbl versioning system
|
// Grbl versioning system
|
||||||
const char* const GRBL_VERSION = "1.3a";
|
const char* const GRBL_VERSION = "1.3a";
|
||||||
const char* const GRBL_VERSION_BUILD = "20210825";
|
const char* const GRBL_VERSION_BUILD = "20210923";
|
||||||
|
|
||||||
//#include <sdkconfig.h>
|
//#include <sdkconfig.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
@@ -119,7 +119,7 @@ void client_init() {
|
|||||||
// after WebUI attaches.
|
// after WebUI attaches.
|
||||||
xTaskCreatePinnedToCore(clientCheckTask, // task
|
xTaskCreatePinnedToCore(clientCheckTask, // task
|
||||||
"clientCheckTask", // name for task
|
"clientCheckTask", // name for task
|
||||||
4096, // size of task stack
|
8192, // size of task stack
|
||||||
NULL, // parameters
|
NULL, // parameters
|
||||||
1, // priority
|
1, // priority
|
||||||
&clientCheckTaskHandle,
|
&clientCheckTaskHandle,
|
||||||
|
Reference in New Issue
Block a user