1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-29 17:19:50 +02:00

Added some more boot messages.

This commit is contained in:
bdring
2020-08-13 16:04:32 -05:00
parent 654cc166cf
commit 3a4de4ec19
4 changed files with 14 additions and 5 deletions

View File

@@ -295,18 +295,19 @@ void limits_init() {
} else { } else {
detachInterrupt(pin); detachInterrupt(pin);
} }
/*
// Change to do this once. limits_init() happens often
grbl_msg_sendf(CLIENT_SERIAL, grbl_msg_sendf(CLIENT_SERIAL,
MSG_LEVEL_INFO, MSG_LEVEL_INFO,
"%c%s Axis limit switch on pin %s", "%c%s Axis limit switch on pin %s",
report_get_axis_letter(axis), report_get_axis_letter(axis),
gang_index ? "2" : " ", gang_index ? "2" : " ",
pinName(pin).c_str()); pinName(pin).c_str());
*/
} }
} }
} }
//grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Limit Mask %d", limit_mask);
// setup task used for debouncing // setup task used for debouncing
limit_sw_queue = xQueueCreate(10, sizeof(int)); limit_sw_queue = xQueueCreate(10, sizeof(int));
xTaskCreate(limitCheckTask, xTaskCreate(limitCheckTask,

View File

@@ -39,7 +39,7 @@
#define USE_I2S_OUT #define USE_I2S_OUT
// Define USE_I2S_OUT_STREAM if buffering is used. // Define USE_I2S_OUT_STREAM if buffering is used.
// (there will be a delay between the specified I/O operation and the actual I/O execution) // (there will be a delay between the specified I/O operation and the actual I/O execution)
#define USE_I2S_OUT_STREAM //#define USE_I2S_OUT_STREAM
#undef USE_RMT_STEPS #undef USE_RMT_STEPS
#define USE_STEPSTICK // makes sure MS1,2,3 !reset and !sleep are set #define USE_STEPSTICK // makes sure MS1,2,3 !reset and !sleep are set

View File

@@ -35,6 +35,9 @@ void probe_init() {
pinMode(PROBE_PIN, INPUT_PULLUP); // Enable internal pull-up resistors. Normal high operation. pinMode(PROBE_PIN, INPUT_PULLUP); // Enable internal pull-up resistors. Normal high operation.
# endif # endif
probe_configure_invert_mask(false); // Initialize invert mask. probe_configure_invert_mask(false); // Initialize invert mask.
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Probe on pin %s Inverted:%s", pinName(PROBE_PIN).c_str(), probe_invert->get() ? "Y" : "N");
#endif #endif
} }

View File

@@ -424,8 +424,13 @@ void stepper_init() {
// make the step pins outputs // make the step pins outputs
#ifdef USE_RMT_STEPS #ifdef USE_RMT_STEPS
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "RMT Steps"); grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "RMT Steps");
#elif defined(USE_I2S_OUT_STREAM) #elif defined(USE_I2S_OUT)
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps"); # ifdef USE_I2S_OUT_STREAM
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps, Stream");
# else
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "I2S Steps, Static");
# endif
#else #else
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Timed Steps"); grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Timed Steps");
#endif #endif