diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 5faed3c8b99b52c979c77e83ac5b61d1ab1d5809..7ea040803cf55e633ae5c9b671be10f6a325123f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index c2149d8b478c0876ef12c88dbd895d6e5c0f439d..409a9ba0f0e84143d336549da3d032512cacd968 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -905,6 +905,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.cpp b/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.cpp index 014e9757f6c3c26e173d0fee3022b1224a61b516..bdc804dacf24cc7a5f30e443efa54b8c312b2a09 100644 --- a/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.cpp +++ b/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.cpp @@ -21,213 +21,132 @@ */ #ifdef ARDUINO_ARCH_ESP32 -#include "../../inc/MarlinConfig.h" +#include "../../inc/MarlinConfigPre.h" #if ENABLED(WIFISUPPORT) #include "WebSocketSerial.h" - -extern WebSocketSerial webSocketSerial; - #include "wifi.h" -#include <AsyncTCP.h> #include <ESPAsyncWebServer.h> -struct ring_buffer_r { - unsigned char buffer[RX_BUFFER_SIZE]; - volatile ring_buffer_pos_t head, tail; -}; - -struct ring_buffer_t { - unsigned char buffer[256]; - volatile uint8_t head, tail; -}; - -ring_buffer_r rx_buffer = { { 0 }, 0, 0 }; -ring_buffer_t tx_buffer = { { 0 }, 0, 0 }; - -static bool _written; +WebSocketSerial webSocketSerial; +AsyncWebSocket ws("/ws"); // TODO Move inside the class. -#if ENABLED(EMERGENCY_PARSER) - static EmergencyParser::State emergency_state; // = EP_RESET -#endif +// RingBuffer impl -AsyncWebSocket ws("/ws"); // access at ws://[esp ip]/ws +#define NEXT_INDEX(I, SIZE) ((I + 1) & (ring_buffer_pos_t)(SIZE - 1)) -FORCE_INLINE int next_rx_index(const int i) { return (ring_buffer_pos_t)(i + 1) & (ring_buffer_pos_t)(RX_BUFFER_SIZE - 1); } -FORCE_INLINE int next_tx_index(const int i) { return (ring_buffer_pos_t)(i + 1) & (ring_buffer_pos_t)(TX_BUFFER_SIZE - 1); } +RingBuffer::RingBuffer(ring_buffer_pos_t size) + : data(new uint8_t[size]), + read_index(0), + write_index(0), + size(size) +{} -static void addToBuffer(uint8_t * const data, const size_t len) { - for (size_t i = 0; i < len; i++) { - ring_buffer_pos_t h = rx_buffer.head; - const ring_buffer_pos_t t = rx_buffer.tail, n = next_rx_index(h); +RingBuffer::~RingBuffer() { delete[] data; } - if (n != t) { rx_buffer.buffer[h] = data[i]; h = n; } - - // TODO: buffer is full, handle? - - rx_buffer.head = h; - } -} +ring_buffer_pos_t RingBuffer::write(const uint8_t c) { + const ring_buffer_pos_t n = NEXT_INDEX(write_index, size); -// Handle WebSocket event -static void onEvent(AsyncWebSocket * server, AsyncWebSocketClient * client, AwsEventType type, void * arg, uint8_t *data, size_t len) { - switch (type) { - case WS_EVT_CONNECT: client->ping(); break; // client connected - case WS_EVT_DISCONNECT: // client disconnected - case WS_EVT_ERROR: // error was received from the other end - case WS_EVT_PONG: break; // pong message was received (in response to a ping request maybe) - case WS_EVT_DATA: { // data packet - AwsFrameInfo * info = (AwsFrameInfo*)arg; - if (info->opcode == WS_TEXT || info->message_opcode == WS_TEXT) - addToBuffer(data, len); - } + if (n != read_index) { + this->data[write_index] = c; + write_index = n; + return 1; } -} -// Public Methods -void WebSocketSerial::begin(const long baud_setting) { - ws.onEvent(onEvent); - server.addHandler(&ws); // attach AsyncWebSocket + // TODO: buffer is full, handle? + return 0; } -void WebSocketSerial::end() { } - -int WebSocketSerial::peek(void) { - const int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail]; - return v; +ring_buffer_pos_t RingBuffer::write(const uint8_t *buffer, ring_buffer_pos_t size) { + ring_buffer_pos_t written = 0; + for (ring_buffer_pos_t i = 0; i < size; i++) { + written += write(buffer[i]); + } + return written; } -int WebSocketSerial::read(void) { - const ring_buffer_pos_t h = rx_buffer.head, t = rx_buffer.tail; - if (h == t) return -1; // Nothing to read? Return now - - const int v = rx_buffer.buffer[t]; - - rx_buffer.tail = (ring_buffer_pos_t)(t + 1) & (RX_BUFFER_SIZE - 1); // Advance tail - - return v; +int RingBuffer::available(void) { + return (size - read_index + write_index) & (size - 1); } -bool WebSocketSerial::available(void) { - const ring_buffer_pos_t h = rx_buffer.head, t = rx_buffer.tail; - return (ring_buffer_pos_t)(RX_BUFFER_SIZE + h - t) & (RX_BUFFER_SIZE - 1); +int RingBuffer::peek(void) { + return available() ? data[read_index] : -1; } -void WebSocketSerial::flush(void) { - ws.textAll("flush"); - rx_buffer.tail = rx_buffer.head; +int RingBuffer::read(void) { + if (available()) { + const int ret = data[read_index]; + read_index = NEXT_INDEX(read_index, size); + return ret; + } + return -1; } -#if TX_BUFFER_SIZE - - void WebSocketSerial::write(const uint8_t c) { - _written = true; - - const uint8_t i = (tx_buffer.head + 1) & (TX_BUFFER_SIZE - 1); +ring_buffer_pos_t RingBuffer::read(uint8_t *buffer) { + ring_buffer_pos_t len = available(); - // Store new char. head is always safe to move - tx_buffer.buffer[tx_buffer.head] = c; - tx_buffer.head = i; - - if (c == '\n') { - ws.textAll(tx_buffer.buffer, tx_buffer.head); - tx_buffer.head = 0; - } + for(ring_buffer_pos_t i = 0; read_index != write_index; i++) { + buffer[i] = data[read_index]; + read_index = NEXT_INDEX(read_index, size); } - void WebSocketSerial::flushTx(void) { - ws.textAll("flushTx"); - if (!_written) return; - } - -#else + return len; +} - //void WebSocketSerial::write(const uint8_t c) { _written = true; } - //void WebSocketSerial::flushTx(void) { if (!_written) return; } +void RingBuffer::flush(void) { read_index = write_index; } -#endif +// WebSocketSerial impl +WebSocketSerial::WebSocketSerial() + : rx_buffer(RingBuffer(RX_BUFFER_SIZE)), + tx_buffer(RingBuffer(TX_BUFFER_SIZE)) +{} -/** - * Imports from print.h - */ +void WebSocketSerial::begin(const long baud_setting) { + ws.onEvent([this](AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventType type, void *arg, uint8_t *data, size_t len) { + switch (type) { + case WS_EVT_CONNECT: client->ping(); break; // client connected + case WS_EVT_DISCONNECT: // client disconnected + case WS_EVT_ERROR: // error was received from the other end + case WS_EVT_PONG: break; // pong message was received (in response to a ping request maybe) + case WS_EVT_DATA: { // data packet + AwsFrameInfo * info = (AwsFrameInfo*)arg; + if (info->opcode == WS_TEXT || info->message_opcode == WS_TEXT) + this->rx_buffer.write(data, len); + } + } + }); + server.addHandler(&ws); +} -void WebSocketSerial::print(char c, int base) { print((long)c, base); } -void WebSocketSerial::print(unsigned char b, int base) { print((unsigned long)b, base); } -void WebSocketSerial::print(int n, int base) { print((long)n, base); } -void WebSocketSerial::print(unsigned int n, int base) { print((unsigned long)n, base); } -void WebSocketSerial::print(long n, int base) { - if (base == 0) - write(n); - else if (base == 10) { - if (n < 0) { print('-'); n = -n; } - printNumber(n, 10); +void WebSocketSerial::end() { } +int WebSocketSerial::peek(void) { return rx_buffer.peek(); } +int WebSocketSerial::read(void) { return rx_buffer.read(); } +int WebSocketSerial::available(void) { return rx_buffer.available(); } +void WebSocketSerial::flush(void) { rx_buffer.flush(); } + +size_t WebSocketSerial::write(const uint8_t c) { + size_t ret = tx_buffer.write(c); + + if (ret && c == '\n') { + uint8_t tmp[TX_BUFFER_SIZE]; + ring_buffer_pos_t size = tx_buffer.read(tmp); + ws.textAll(tmp, size); } - else - printNumber(n, base); -} -void WebSocketSerial::print(unsigned long n, int base) { - if (base == 0) write(n); else printNumber(n, base); + return ret; } -void WebSocketSerial::print(double n, int digits) { printFloat(n, digits); } - -void WebSocketSerial::println(void) { print('\r'); print('\n'); } -void WebSocketSerial::println(const String& s) { print(s); println(); } -void WebSocketSerial::println(const char c[]) { print(c); println(); } -void WebSocketSerial::println(char c, int base) { print(c, base); println(); } -void WebSocketSerial::println(unsigned char b, int base) { print(b, base); println(); } -void WebSocketSerial::println(int n, int base) { print(n, base); println(); } -void WebSocketSerial::println(unsigned int n, int base) { print(n, base); println(); } -void WebSocketSerial::println(long n, int base) { print(n, base); println(); } -void WebSocketSerial::println(unsigned long n, int base) { print(n, base); println(); } -void WebSocketSerial::println(double n, int digits) { print(n, digits); println(); } - -// Private Methods - -void WebSocketSerial::printNumber(unsigned long n, uint8_t base) { - if (n) { - unsigned char buf[8 * sizeof(long)]; // Enough space for base 2 - int8_t i = 0; - while (n) { - buf[i++] = n % base; - n /= base; - } - while (i--) - print((char)(buf[i] + (buf[i] < 10 ? '0' : 'A' - 10))); +size_t WebSocketSerial::write(const uint8_t* buffer, size_t size) { + size_t written = 0; + for(size_t i = 0; i < size; i++) { + written += write(buffer[i]); } - else - print('0'); + return written; } -void WebSocketSerial::printFloat(double number, uint8_t digits) { - // Handle negative numbers - if (number < 0.0) { print('-'); number = -number; } - - // Round correctly so that print(1.999, 2) prints as "2.00" - // Use a lookup table for performance - constexpr double rounds[] = { 0.5, 0.05, 0.005, 0.0005, 0.00005, 0.000005, 0.0000005, 0.00000005 }; - number += rounds[digits]; - - //number += pow(10, -(digits + 1)); // slower single-line equivalent - - // Extract the integer part of the number and print it - unsigned long int_part = (unsigned long)number; - print(int_part); - - // Print the decimal point, but only if there are digits beyond - double remainder = number - (double)int_part; - if (digits) { - print('.'); - // Extract digits from the remainder one at a time - while (digits--) { - remainder *= 10.0; - const int toPrint = int(remainder); - print(toPrint); - remainder -= toPrint; - } - } +void WebSocketSerial::flushTX(void) { + // No need to do anything as there's no benefit to sending partial lines over the websocket connection. } #endif // WIFISUPPORT diff --git a/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.h b/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.h index a3296b28078474190c46aac2bf22bcba2b9aa9fa..6100587555831cf6792d3c77cb89c35f8b3e9e66 100644 --- a/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.h +++ b/Marlin/src/HAL/HAL_ESP32/WebSocketSerial.h @@ -23,12 +23,7 @@ #include "../../inc/MarlinConfig.h" -#include <WString.h> - -#define DEC 10 -#define HEX 16 -#define OCT 8 -#define BIN 2 +#include "Stream.h" #ifndef RX_BUFFER_SIZE #define RX_BUFFER_SIZE 128 @@ -40,60 +35,50 @@ #error "TX_BUFFER_SIZE is required for the WebSocket." #endif -#if RX_BUFFER_SIZE > 256 - typedef uint16_t ring_buffer_pos_t; -#else - typedef uint8_t ring_buffer_pos_t; -#endif +typedef uint16_t ring_buffer_pos_t; -class WebSocketSerial { -public: - WebSocketSerial() {}; - static void begin(const long); - static void end(); - static int peek(void); - static int read(void); - static void flush(void); - static void flushTx(void); - static bool available(void); - static void write(const uint8_t c); +class RingBuffer { + uint8_t *data; + ring_buffer_pos_t size, read_index, write_index; - #if ENABLED(SERIAL_STATS_DROPPED_RX) - FORCE_INLINE static uint32_t dropped() { return 0; } - #endif +public: + RingBuffer(ring_buffer_pos_t size); + ~RingBuffer(); - #if ENABLED(SERIAL_STATS_MAX_RX_QUEUED) - FORCE_INLINE static int rxMaxEnqueued() { return 0; } - #endif + int available(void); + int peek(void); + int read(void); + ring_buffer_pos_t read(uint8_t *buffer); + void flush(void); + ring_buffer_pos_t write(const uint8_t c); + ring_buffer_pos_t write(const uint8_t* buffer, ring_buffer_pos_t size); +}; - FORCE_INLINE static void write(const char* str) { while (*str) write(*str++); } - FORCE_INLINE static void write(const uint8_t* buffer, size_t size) { while (size--) write(*buffer++); } - FORCE_INLINE static void print(const String& s) { for (int i = 0; i < (int)s.length(); i++) write(s[i]); } - FORCE_INLINE static void print(const char* str) { write(str); } +class WebSocketSerial: public Stream { + RingBuffer rx_buffer; + RingBuffer tx_buffer; - static void print(char, int = 0); - static void print(unsigned char, int = 0); - static void print(int, int = DEC); - static void print(unsigned int, int = DEC); - static void print(long, int = DEC); - static void print(unsigned long, int = DEC); - static void print(double, int = 2); +public: + WebSocketSerial(); + void begin(const long); + void end(); + int available(void); + int peek(void); + int read(void); + void flush(void); + void flushTX(void); + size_t write(const uint8_t c); + size_t write(const uint8_t* buffer, size_t size); - static void println(const String& s); - static void println(const char[]); - static void println(char, int = 0); - static void println(unsigned char, int = 0); - static void println(int, int = DEC); - static void println(unsigned int, int = DEC); - static void println(long, int = DEC); - static void println(unsigned long, int = DEC); - static void println(double, int = 2); - static void println(void); operator bool() { return true; } -private: - static void printNumber(unsigned long, const uint8_t); - static void printFloat(double, uint8_t); + #if ENABLED(SERIAL_STATS_DROPPED_RX) + FORCE_INLINE uint32_t dropped() { return 0; } + #endif + + #if ENABLED(SERIAL_STATS_MAX_RX_QUEUED) + FORCE_INLINE int rxMaxEnqueued() { return 0; } + #endif }; extern WebSocketSerial webSocketSerial; diff --git a/Marlin/src/HAL/HAL_ESP32/i2s.cpp b/Marlin/src/HAL/HAL_ESP32/i2s.cpp index c503a24bf8fb7073e7d4357e02d399ef0635ed07..42e65eacd7c06bc04e8c1556a6bc78eb14c8af49 100644 --- a/Marlin/src/HAL/HAL_ESP32/i2s.cpp +++ b/Marlin/src/HAL/HAL_ESP32/i2s.cpp @@ -303,9 +303,9 @@ int i2s_init() { xTaskCreate(stepperTask, "StepperTask", 10000, NULL, 1, NULL); // Route the i2s pins to the appropriate GPIO - gpio_matrix_out_check(22, I2S0O_DATA_OUT23_IDX, 0, 0); - gpio_matrix_out_check(25, I2S0O_WS_OUT_IDX, 0, 0); - gpio_matrix_out_check(26, I2S0O_BCK_OUT_IDX, 0, 0); + gpio_matrix_out_check(I2S_DATA, I2S0O_DATA_OUT23_IDX, 0, 0); + gpio_matrix_out_check(I2S_BCK, I2S0O_BCK_OUT_IDX, 0, 0); + gpio_matrix_out_check(I2S_WS, I2S0O_WS_OUT_IDX, 0, 0); // Start the I2S peripheral return i2s_start(I2S_NUM_0); diff --git a/Marlin/src/HAL/HAL_ESP32/i2s.h b/Marlin/src/HAL/HAL_ESP32/i2s.h index 32999f712f4b593257bd0b21ebc1773998d33f31..337d91b20344f8d0d960c339aa032725e9dec95b 100644 --- a/Marlin/src/HAL/HAL_ESP32/i2s.h +++ b/Marlin/src/HAL/HAL_ESP32/i2s.h @@ -29,3 +29,9 @@ int i2s_init(); void i2s_write(uint8_t pin, uint8_t val); void i2s_push_sample(); + +// pin definitions + +#define I2S_WS 25 +#define I2S_BCK 26 +#define I2S_DATA 27 diff --git a/Marlin/src/HAL/HAL_LPC1768/main.cpp b/Marlin/src/HAL/HAL_LPC1768/main.cpp index 609c0c7e66be823d9a5046800034c7a88e1098a6..cc74eedc1bd9dcf6b555c982ca2196d5cdf272bf 100644 --- a/Marlin/src/HAL/HAL_LPC1768/main.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/main.cpp @@ -1,3 +1,24 @@ +/** + * Marlin 3D Printer Firmware + * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * + * Based on Sprinter and grbl. + * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ #ifdef TARGET_LPC1768 #include <usb/usb.h> diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp b/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp index aad3603ad2744c08eeba98bd341f96e4e87f00e5..58631a1e1795da0b8675d3e99f0e7441ec3e9e4c 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp @@ -137,8 +137,11 @@ uint8_t u8g_com_HAL_LPC1768_ssd_hw_i2c_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_v case U8G_COM_MSG_WRITE_BYTE: //u8g->pin_list[U8G_PI_SET_A0] = 1; - //if (u8g_com_arduino_ssd_start_sequence(u8g) == 0) - // return u8g_i2c_stop(), 0; + if (u8g_com_ssd_I2C_start_sequence(u8g) == 0) { + u8g_i2c_stop(); + return 0; + } + if (u8g_i2c_send_byte(arg_val) == 0) { u8g_i2c_stop(); return 0; @@ -186,9 +189,6 @@ uint8_t u8g_com_HAL_LPC1768_ssd_hw_i2c_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_v case U8G_COM_MSG_ADDRESS: /* define cmd (arg_val = 0) or data mode (arg_val = 1) */ u8g->pin_list[U8G_PI_A0_STATE] = arg_val; u8g->pin_list[U8G_PI_SET_A0] = 1; /* force a0 to set again */ - - u8g_i2c_start(0); // send slave address and write bit - u8g_i2c_send_byte(arg_val ? 0x40 : 0x80); // Write to ? Graphics DRAM mode : Command mode break; } // switch diff --git a/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp b/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp index 1419a74f42c2ef0d57e2cdbba7203b9e4d68edc3..e851284ad55ff8a0b31e57f53ce8d43e9b57e359 100644 --- a/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/u8g/u8g_com_HAL_LPC1768_sw_spi.cpp @@ -65,10 +65,76 @@ #undef SPI_SPEED #define SPI_SPEED 2 // About 2 MHz +#include <algorithm> +#include <LPC17xx.h> +#include <gpio.h> + +#include <Arduino.h> + +uint8_t swSpiTransfer_mode_0(uint8_t b, const uint8_t spi_speed, const pin_t sck_pin, const pin_t miso_pin, const pin_t mosi_pin ) { + + for (uint8_t i = 0; i < 8; i++) { + if (spi_speed == 0) { + gpio_set(mosi_pin, !!(b & 0x80)); + gpio_set(sck_pin, HIGH); + b <<= 1; + if (miso_pin >= 0 && gpio_get(miso_pin)) b |= 1; + gpio_set(sck_pin, LOW); + } + else { + const uint8_t state = (b & 0x80) ? HIGH : LOW; + for (uint8_t j = 0; j < spi_speed; j++) + gpio_set(mosi_pin, state); + + for (uint8_t j = 0; j < spi_speed + (miso_pin >= 0 ? 0 : 1); j++) + gpio_set(sck_pin, HIGH); + + b <<= 1; + if (miso_pin >= 0 && gpio_get(miso_pin)) b |= 1; + + for (uint8_t j = 0; j < spi_speed; j++) + gpio_set(sck_pin, LOW); + } + } + + return b; +} + +uint8_t swSpiTransfer_mode_3(uint8_t b, const uint8_t spi_speed, const pin_t sck_pin, const pin_t miso_pin, const pin_t mosi_pin ) { + + for (uint8_t i = 0; i < 8; i++) { + const uint8_t state = (b & 0x80) ? HIGH : LOW; + if (spi_speed == 0) { + gpio_set(sck_pin, LOW); + gpio_set(mosi_pin, state); + gpio_set(mosi_pin, state); // need some setup time + gpio_set(sck_pin, HIGH); + } + else { + for (uint8_t j = 0; j < spi_speed + (miso_pin >= 0 ? 0 : 1); j++) + gpio_set(sck_pin, LOW); + + for (uint8_t j = 0; j < spi_speed; j++) + gpio_set(mosi_pin, state); + + for (uint8_t j = 0; j < spi_speed; j++) + gpio_set(sck_pin, HIGH); + } + b <<= 1; + if (miso_pin >= 0 && gpio_get(miso_pin)) b |= 1; + } + + return b; +} + static uint8_t SPI_speed = 0; static void u8g_sw_spi_HAL_LPC1768_shift_out(uint8_t dataPin, uint8_t clockPin, uint8_t val) { - swSpiTransfer(val, SPI_speed, clockPin, -1, dataPin); + #if ENABLED(FYSETC_MINI_12864) + swSpiTransfer_mode_3(val, SPI_speed, clockPin, -1, dataPin); + #else + swSpiTransfer_mode_0(val, SPI_speed, clockPin, -1, dataPin); + #endif } uint8_t u8g_com_HAL_LPC1768_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr) { diff --git a/Marlin/src/core/boards.h b/Marlin/src/core/boards.h index ee9da1fd160bd7e5b65d725563e2440d33c4f7ee..4a7fb642b9f5ee44aedbd357cdb0e81682700eb7 100644 --- a/Marlin/src/core/boards.h +++ b/Marlin/src/core/boards.h @@ -194,6 +194,7 @@ #define BOARD_BIQU_B300_V1_0 1760 // BIQU B300_V1.0 (Power outputs: Hotend0, Fan, Bed, SPI Driver) #define BOARD_BIGTREE_SKR_V1_3 1761 // BIGTREE SKR_V1.3 (Power outputs: Hotend0, Hotend1, Fan, Bed) #define BOARD_AZTEEG_X5_MINI 1762 // Azteeg X5 Mini (Power outputs: Hotend0, Bed, Fan) +#define BOARD_MKS_SGEN 1763 // MKS-SGen (Power outputs: Hotend0, Hotend1, Bed, Fan) // // SAM3X8E ARM Cortex M3 diff --git a/Marlin/src/core/debug_out.h b/Marlin/src/core/debug_out.h index e92c5c5416de68e31815de8a5ea3372921e169ea..81e1e216b4c1feff8dd83f3bc5a7ef2cb50f62a8 100644 --- a/Marlin/src/core/debug_out.h +++ b/Marlin/src/core/debug_out.h @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -#pragma once // // Serial aliases for debugging. diff --git a/Marlin/src/core/utility.cpp b/Marlin/src/core/utility.cpp index e695601cef655c963b93fc5aec07edf4cbea57b7..cc7d0065e99e37d7513319310d94a1a27a1fa8b9 100644 --- a/Marlin/src/core/utility.cpp +++ b/Marlin/src/core/utility.cpp @@ -264,15 +264,15 @@ void safe_delay(millis_t ms) { return conv; } - // Convert unsigned float to string with 1234.56 format omitting trailing zeros - char* ftostr62rj(const float &f) { - const long i = ((f < 0 ? -f : f) * 1000 + 5) / 10; - conv[0] = RJDIGIT(i, 100000); + // Convert unsigned float to string with 1234.5 format omitting trailing zeros + char* ftostr51rj(const float &f) { + const long i = ((f < 0 ? -f : f) * 100 + 5) / 10; + conv[0] = ' '; conv[1] = RJDIGIT(i, 10000); conv[2] = RJDIGIT(i, 1000); - conv[3] = DIGIMOD(i, 100); - conv[4] = '.'; - conv[5] = DIGIMOD(i, 10); + conv[3] = RJDIGIT(i, 100); + conv[4] = DIGIMOD(i, 10); + conv[5] = '.'; conv[6] = DIGIMOD(i, 1); return conv; } diff --git a/Marlin/src/core/utility.h b/Marlin/src/core/utility.h index 48f775b52910f7ce0536293896677f4886e6ae75..c04524f672fca010cb4e479f72d7b9a618d32d64 100644 --- a/Marlin/src/core/utility.h +++ b/Marlin/src/core/utility.h @@ -106,8 +106,8 @@ inline void serial_delay(const millis_t ms) { // Convert signed float to string with +123.45 format char* ftostr52sign(const float &x); - // Convert unsigned float to string with 1234.56 format omitting trailing zeros - char* ftostr62rj(const float &x); + // Convert unsigned float to string with 1234.5 format omitting trailing zeros + char* ftostr51rj(const float &x); // Convert float to rj string with 123 or -12 format FORCE_INLINE char* ftostr3(const float &x) { return i16tostr3(int16_t(x + (x < 0 ? -0.5f : 0.5f))); } diff --git a/Marlin/src/feature/power_loss_recovery.cpp b/Marlin/src/feature/power_loss_recovery.cpp index 17ba4a101b7e7870121196bfc3eef20815448927..0b9dba43fdd5de20d35342e94e77fed33a733b80 100644 --- a/Marlin/src/feature/power_loss_recovery.cpp +++ b/Marlin/src/feature/power_loss_recovery.cpp @@ -151,6 +151,12 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*= // Machine state COPY(info.current_position, current_position); + #if HAS_HOME_OFFSET + COPY(info.home_offset, home_offset); + #endif + #if HAS_POSITION_SHIFT + COPY(info.position_shift, position_shift); + #endif info.feedrate = uint16_t(feedrate_mm_s * 60.0f); #if HOTENDS > 1 @@ -187,7 +193,7 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*= info.retract_hop = fwretract.current_hop; #endif - //relative mode + // Relative mode info.relative_mode = relative_mode; info.relative_modes_e = gcode.axis_relative_modes[E_AXIS]; @@ -239,20 +245,30 @@ void PrintJobRecovery::resume() { gcode.process_subcommands_now_P(PSTR("M420 S0 Z0")); #endif - // Set Z to 0, raise Z by 2mm, and Home (XY only for Cartesian) with no raise - // (Only do simulated homing in Marlin Dev Mode.) - gcode.process_subcommands_now_P(PSTR("G92.0 Z0\nG1 Z" STRINGIFY(RECOVERY_ZRAISE) "\nG28 R0" - #if ENABLED(MARLIN_DEV_MODE) - " S" - #elif !IS_KINEMATIC - " X Y" + // Reset E, raise Z, home XY... + gcode.process_subcommands_now_P(PSTR("G92.9 E0" + #if Z_HOME_DIR > 0 + // If Z homing goes to max, reset E and home all + "\nG28R0" + #if ENABLED(MARLIN_DEV_MODE) + "S" + #endif + #else + // Set Z to 0, raise Z by RECOVERY_ZRAISE, and Home (XY only for Cartesian) + // with no raise. (Only do simulated homing in Marlin Dev Mode.) + "Z0\nG1Z" STRINGIFY(RECOVERY_ZRAISE) "\nG28R0" + #if ENABLED(MARLIN_DEV_MODE) + "S" + #elif !IS_KINEMATIC + "XY" + #endif #endif )); // Pretend that all axes are homed axis_homed = axis_known_position = xyz_bits; - char cmd[40], str_1[16], str_2[16]; + char cmd[50], str_1[16], str_2[16]; // Select the previously active tool (with no_move) #if EXTRUDERS > 1 @@ -315,16 +331,16 @@ void PrintJobRecovery::resume() { memcpy(&mixer.gradient, &info.gradient, sizeof(info.gradient)); #endif - // Restore Z (plus raise) and E positions with G92.0 - dtostrf(info.current_position[Z_AXIS] + RECOVERY_ZRAISE, 1, 3, str_1); - dtostrf(info.current_position[E_AXIS] - #if ENABLED(SAVE_EACH_CMD_MODE) - - 5 // Extra extrusion on restart - #endif - , 1, 3, str_2 - ); - sprintf_P(cmd, PSTR("G92.0 Z%s E%s"), str_1, str_2); - gcode.process_subcommands_now(cmd); + // Extrude and retract to clean the nozzle + #if POWER_LOSS_PURGE_LEN + //sprintf_P(cmd, PSTR("G1 E%d F200"), POWER_LOSS_PURGE_LEN); + //gcode.process_subcommands_now(cmd); + gcode.process_subcommands_now_P(PSTR("G1 E" STRINGIFY(POWER_LOSS_PURGE_LEN) " F200")); + #endif + #if POWER_LOSS_RETRACT_LEN + sprintf_P(cmd, PSTR("G1 E%d F3000"), POWER_LOSS_PURGE_LEN - POWER_LOSS_RETRACT_LEN); + gcode.process_subcommands_now(cmd); + #endif // Move back to the saved XY dtostrf(info.current_position[X_AXIS], 1, 3, str_1); @@ -337,13 +353,37 @@ void PrintJobRecovery::resume() { sprintf_P(cmd, PSTR("G1 Z%s F200"), str_1); gcode.process_subcommands_now(cmd); + // Un-retract + #if POWER_LOSS_PURGE_LEN + //sprintf_P(cmd, PSTR("G1 E%d F3000"), POWER_LOSS_PURGE_LEN); + //gcode.process_subcommands_now(cmd); + gcode.process_subcommands_now_P(PSTR("G1 E" STRINGIFY(POWER_LOSS_PURGE_LEN) " F3000")); + #endif + // Restore the feedrate sprintf_P(cmd, PSTR("G1 F%d"), info.feedrate); gcode.process_subcommands_now(cmd); - //relative mode - if (info.relative_mode) relative_mode = true; - if (info.relative_modes_e) gcode.axis_relative_modes[E_AXIS] = true; + // Restore E position with G92.9 + dtostrf(info.current_position[E_AXIS], 1, 3, str_1); + sprintf_P(cmd, PSTR("G92.9 E%s"), str_1); + gcode.process_subcommands_now(cmd); + + // Relative mode + relative_mode = info.relative_mode; + gcode.axis_relative_modes[E_AXIS] = info.relative_modes_e; + + #if HAS_HOME_OFFSET || HAS_POSITION_SHIFT + LOOP_XYZ(i) { + #if HAS_HOME_OFFSET + home_offset[i] = info.home_offset[i]; + #endif + #if HAS_POSITION_SHIFT + position_shift[i] = info.position_shift[i]; + #endif + update_workspace_offset((AxisEnum)i); + } + #endif // Process commands from the old pending queue uint8_t c = info.commands_in_queue, r = info.cmd_queue_index_r; @@ -372,6 +412,25 @@ void PrintJobRecovery::resume() { DEBUG_ECHO(info.current_position[i]); } DEBUG_EOL(); + + #if HAS_HOME_OFFSET + DEBUG_ECHOPGM("home_offset: "); + LOOP_XYZ(i) { + if (i) DEBUG_CHAR(','); + DEBUG_ECHO(info.home_offset[i]); + } + DEBUG_EOL(); + #endif + + #if HAS_POSITION_SHIFT + DEBUG_ECHOPGM("position_shift: "); + LOOP_XYZ(i) { + if (i) DEBUG_CHAR(','); + DEBUG_ECHO(info.position_shift[i]); + } + DEBUG_EOL(); + #endif + DEBUG_ECHOLNPAIR("feedrate: ", info.feedrate); #if HOTENDS > 1 diff --git a/Marlin/src/feature/power_loss_recovery.h b/Marlin/src/feature/power_loss_recovery.h index 45b057e752c1d3713864592f26022d15fe01be6a..68554dc602d0bfb434b07d582ed1c033e696dab3 100644 --- a/Marlin/src/feature/power_loss_recovery.h +++ b/Marlin/src/feature/power_loss_recovery.h @@ -35,6 +35,8 @@ #define SAVE_INFO_INTERVAL_MS 0 //#define SAVE_EACH_CMD_MODE //#define DEBUG_POWER_LOSS_RECOVERY +#define POWER_LOSS_PURGE_LEN 20 +#define POWER_LOSS_RETRACT_LEN 10 typedef struct { uint8_t valid_head; @@ -42,6 +44,13 @@ typedef struct { // Machine state float current_position[NUM_AXIS]; + #if HAS_HOME_OFFSET + float home_offset[XYZ]; + #endif + #if HAS_POSITION_SHIFT + float position_shift[XYZ]; + #endif + uint16_t feedrate; #if HOTENDS > 1 diff --git a/Marlin/src/gcode/control/M3-M5.cpp b/Marlin/src/gcode/control/M3-M5.cpp index 8612e0c03f0f83f2329f18cbccf803bb3feba7a2..132f7bb399162cf4afe6148faeaa19825501965a 100644 --- a/Marlin/src/gcode/control/M3-M5.cpp +++ b/Marlin/src/gcode/control/M3-M5.cpp @@ -74,7 +74,9 @@ inline void delay_for_power_down() { safe_delay(SPINDLE_LASER_POWERDOWN_DELAY); inline void set_spindle_laser_ocr(const uint8_t ocr) { WRITE(SPINDLE_LASER_ENA_PIN, SPINDLE_LASER_ENABLE_INVERT); // turn spindle on (active low) - analogWrite(SPINDLE_LASER_PWM_PIN, (SPINDLE_LASER_PWM_INVERT) ? 255 - ocr : ocr); + #if ENABLED(SPINDLE_LASER_PWM) + analogWrite(SPINDLE_LASER_PWM_PIN, (SPINDLE_LASER_PWM_INVERT) ? 255 - ocr : ocr); + #endif } #if ENABLED(SPINDLE_LASER_PWM) diff --git a/Marlin/src/gcode/geometry/G92.cpp b/Marlin/src/gcode/geometry/G92.cpp index b01daf348d7619bf3190274d6940c3888cff5f63..01d42f7c239fe607bb64f90b9057907298b60700 100644 --- a/Marlin/src/gcode/geometry/G92.cpp +++ b/Marlin/src/gcode/geometry/G92.cpp @@ -33,9 +33,23 @@ */ void GcodeSuite::G92() { - #if ENABLED(CNC_COORDINATE_SYSTEMS) - switch (parser.subcode) { - case 1: + bool didE = false; + #if IS_SCARA || !HAS_POSITION_SHIFT + bool didXYZ = false; + #else + constexpr bool didXYZ = false; + #endif + + #if USE_GCODE_SUBCODES + const uint8_t subcode_G92 = parser.subcode; + #else + constexpr uint8_t subcode_G92 = 0; + #endif + + switch (subcode_G92) { + default: break; + #if ENABLED(CNC_COORDINATE_SYSTEMS) + case 1: { // Zero the G92 values and restore current position #if !IS_SCARA LOOP_XYZ(i) { @@ -46,44 +60,46 @@ void GcodeSuite::G92() { } } #endif // Not SCARA - return; - } - #endif - - #if ENABLED(CNC_COORDINATE_SYSTEMS) - #define IS_G92_0 (parser.subcode == 0) - #else - #define IS_G92_0 true - #endif - - bool didE = false; - #if IS_SCARA || !HAS_POSITION_SHIFT - bool didXYZ = false; - #else - constexpr bool didXYZ = false; - #endif - - if (IS_G92_0) LOOP_XYZE(i) { - if (parser.seenval(axis_codes[i])) { - const float l = parser.value_axis_units((AxisEnum)i), - v = i == E_AXIS ? l : LOGICAL_TO_NATIVE(l, i), - d = v - current_position[i]; - if (!NEAR_ZERO(d)) { - #if IS_SCARA || !HAS_POSITION_SHIFT - if (i == E_AXIS) didE = true; else didXYZ = true; - current_position[i] = v; // Without workspaces revert to Marlin 1.0 behavior - #elif HAS_POSITION_SHIFT - if (i == E_AXIS) { - didE = true; - current_position[E_AXIS] = v; // When using coordinate spaces, only E is set directly + } return; + #endif + #if ENABLED(POWER_LOSS_RECOVERY) + case 9: { + LOOP_XYZE(i) { + if (parser.seenval(axis_codes[i])) { + current_position[i] = parser.value_axis_units((AxisEnum)i); + #if IS_SCARA || !HAS_POSITION_SHIFT + if (i == E_AXIS) didE = true; else didXYZ = true; + #elif HAS_POSITION_SHIFT + if (i == E_AXIS) didE = true; + #endif } - else { - position_shift[i] += d; // Other axes simply offset the coordinate space - update_workspace_offset((AxisEnum)i); + } + } break; + #endif + case 0: { + LOOP_XYZE(i) { + if (parser.seenval(axis_codes[i])) { + const float l = parser.value_axis_units((AxisEnum)i), + v = i == E_AXIS ? l : LOGICAL_TO_NATIVE(l, i), + d = v - current_position[i]; + if (!NEAR_ZERO(d)) { + #if IS_SCARA || !HAS_POSITION_SHIFT + if (i == E_AXIS) didE = true; else didXYZ = true; + current_position[i] = v; // Without workspaces revert to Marlin 1.0 behavior + #elif HAS_POSITION_SHIFT + if (i == E_AXIS) { + didE = true; + current_position[E_AXIS] = v; // When using coordinate spaces, only E is set directly + } + else { + position_shift[i] += d; // Other axes simply offset the coordinate space + update_workspace_offset((AxisEnum)i); + } + #endif } - #endif + } } - } + } break; } #if ENABLED(CNC_COORDINATE_SYSTEMS) diff --git a/Marlin/src/gcode/queue.cpp b/Marlin/src/gcode/queue.cpp index f448efb1178fc33803e3d03dc8975992316bc914..817d6bca183ef1514dc2fcf1fdb094e113e2cd0c 100644 --- a/Marlin/src/gcode/queue.cpp +++ b/Marlin/src/gcode/queue.cpp @@ -526,8 +526,9 @@ void gcode_line_error(PGM_P const err, const int8_t port) { #endif // BINARY_FILE_TRANSFER -FORCE_INLINE bool is_M29(const char * const cmd) { - return cmd[0] == 'M' && cmd[1] == '2' && cmd[2] == '9' && !WITHIN(cmd[3], '0', '9'); +FORCE_INLINE bool is_M29(const char * const cmd) { // matches "M29" & "M29 ", but not "M290", etc + const char * const m29 = strstr_P(cmd, PSTR("M29")); + return m29 && !NUMERIC(m29[3]); } /** diff --git a/Marlin/src/gcode/sdcard/M23.cpp b/Marlin/src/gcode/sdcard/M23.cpp index 92899a217a0c8a4df40ad9b464419e9da4811b06..7cdc97669009c79d92e2fb8cf30becd39ba6561b 100644 --- a/Marlin/src/gcode/sdcard/M23.cpp +++ b/Marlin/src/gcode/sdcard/M23.cpp @@ -31,9 +31,6 @@ * M23: Open a file */ void GcodeSuite::M23() { - #if ENABLED(POWER_LOSS_RECOVERY) - card.removeJobRecoveryFile(); - #endif // Simplify3D includes the size, so zero out all spaces (#7227) for (char *fn = parser.string_arg; *fn; ++fn) if (*fn == ' ') *fn = '\0'; card.openFile(parser.string_arg, true); diff --git a/Marlin/src/inc/Conditionals_LCD.h b/Marlin/src/inc/Conditionals_LCD.h index 8581f2dd19fd379bd7c7507ac172a2e55b955d7a..320dc00ec3ef821db7ef95c8252660b986edc169 100644 --- a/Marlin/src/inc/Conditionals_LCD.h +++ b/Marlin/src/inc/Conditionals_LCD.h @@ -143,6 +143,8 @@ #define DOGLCD #define ULTIPANEL + #define LCD_CONTRAST_MIN 0 + #define LCD_CONTRAST_MAX 255 #define DEFAULT_LCD_CONTRAST 255 #define LED_COLORS_REDUCE_GREEN diff --git a/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp b/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp index c493b371c2d74941d1f17457749c840cddeaddae..c8927725c5099983d1bc499a877d71e66af3cbc3 100644 --- a/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp +++ b/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp @@ -517,7 +517,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const else { #if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING) if (!TEST(axis_known_position, axis)) - lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" ")); + lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" ")); else #endif lcd_put_u8str(value); diff --git a/Marlin/src/lcd/dogm/status_screen_DOGM.cpp b/Marlin/src/lcd/dogm/status_screen_DOGM.cpp index e101a568298e4e547be2897c659c5b361fb1720c..a917bc2e84f3aeaad4abb1eccaaeaf9d8b950bcc 100644 --- a/Marlin/src/lcd/dogm/status_screen_DOGM.cpp +++ b/Marlin/src/lcd/dogm/status_screen_DOGM.cpp @@ -245,7 +245,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const else { #if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING) if (!TEST(axis_known_position, axis)) - lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" ")); + lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" ")); else #endif lcd_put_u8str(value); diff --git a/Marlin/src/lcd/dogm/ultralcd_DOGM.h b/Marlin/src/lcd/dogm/ultralcd_DOGM.h index fe799473f8dbe5f75ce12830eef95017e43214fd..1f2c90b9d9644d8b9dea07eb57f7243e2d976e0b 100644 --- a/Marlin/src/lcd/dogm/ultralcd_DOGM.h +++ b/Marlin/src/lcd/dogm/ultralcd_DOGM.h @@ -112,7 +112,11 @@ //#define U8G_CLASS U8GLIB_MINI12864 //#define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 8 stripes #define U8G_CLASS U8GLIB_MINI12864_2X - #define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 4 stripes + #if EITHER(FYSETC_MINI_12864, TARGET_LPC1768) + #define U8G_PARAM DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0 // 4 stripes SW-SPI + #else + #define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 4 stripes HW-SPI + #endif #elif ENABLED(U8GLIB_SH1106_EINSTART) // Connected via motherboard header #define U8G_CLASS U8GLIB_SH1106_128X64 diff --git a/Marlin/src/lcd/language/language_cz.h b/Marlin/src/lcd/language/language_cz.h index d53aa57097890493291b0390ed1710769df427f8..d2a9e0811b03ee1ba3db67a36d924eec76ce523f 100644 --- a/Marlin/src/lcd/language/language_cz.h +++ b/Marlin/src/lcd/language/language_cz.h @@ -35,15 +35,20 @@ */ #define DISPLAY_CHARSET_ISO10646_CZ +#define THIS_LANGUAGES_SPECIAL_SYMBOLS _UxGT("áÃÄÄŒÄĎéÉěĚÃÃňŇóÓřŘšŠťŤúÚůŮýÞŽ³") #define CHARSIZE 2 #define WELCOME_MSG MACHINE_NAME _UxGT(" pÅ™ipraven.") +#define MSG_YES _UxGT("ANO") +#define MSG_NO _UxGT("NE") #define MSG_BACK _UxGT("ZpÄ›t") #define MSG_SD_INSERTED _UxGT("Karta vložena") #define MSG_SD_REMOVED _UxGT("Karta vyjmuta") #define MSG_LCD_ENDSTOPS _UxGT("Endstopy") // max 8 znaku #define MSG_LCD_SOFT_ENDSTOPS _UxGT("Soft Endstopy") #define MSG_MAIN _UxGT("Hlavnà nabÃdka") +#define MSG_ADVANCED_SETTINGS _UxGT("DalÅ¡Ã nastavenÃ") +#define MSG_CONFIGURATION _UxGT("Konfigurace") #define MSG_AUTOSTART _UxGT("Autostart") #define MSG_DISABLE_STEPPERS _UxGT("Uvolnit motory") #define MSG_DEBUG_MENU _UxGT("NabÃdka ladÄ›nÃ") @@ -56,6 +61,7 @@ #define MSG_AUTO_HOME_X _UxGT("Domů osa X") #define MSG_AUTO_HOME_Y _UxGT("Domů osa Y") #define MSG_AUTO_HOME_Z _UxGT("Domů osa Z") +#define MSG_AUTO_Z_ALIGN _UxGT("Auto srovnánà Z") #define MSG_LEVEL_BED_HOMING _UxGT("Měřenà podložky") #define MSG_LEVEL_BED_WAITING _UxGT("KliknutÃm spusÅ¥te") #define MSG_LEVEL_BED_NEXT_POINT _UxGT("DalÅ¡Ã bod") @@ -76,7 +82,13 @@ #define MSG_PREHEAT_2_END MSG_PREHEAT_2 _UxGT(" hotend") #define MSG_PREHEAT_2_BEDONLY MSG_PREHEAT_2 _UxGT(" podlož") #define MSG_PREHEAT_2_SETTINGS MSG_PREHEAT_2 _UxGT(" nast") +#define MSG_PREHEAT_CUSTOM _UxGT("Zahřát vlastnÃ") #define MSG_COOLDOWN _UxGT("Zchladit") +#define MSG_LASER_MENU _UxGT("Ovládánà laseru") +#define MSG_LASER_OFF _UxGT("Vypnout laser") +#define MSG_LASER_ON _UxGT("Zapnout laser") +#define MSG_LASER_POWER _UxGT("Výkon laseru") +#define MSG_SPINDLE_REVERSE _UxGT("VÅ™eteno opaÄnÄ›") #define MSG_SWITCH_PS_ON _UxGT("Zapnout napájenÃ") #define MSG_SWITCH_PS_OFF _UxGT("Vypnout napájenÃ") #define MSG_EXTRUDE _UxGT("VytlaÄit (extr.)") @@ -88,10 +100,23 @@ #define MSG_NEXT_CORNER _UxGT("DalÅ¡Ã roh") #define MSG_EDITING_STOPPED _UxGT("Konec úprav sÃtÄ›") +#define MSG_MESH_X _UxGT("Index X") +#define MSG_MESH_Y _UxGT("Index Y") +#define MSG_MESH_EDIT_Z _UxGT("Hodnota Z") +#define MSG_USER_MENU _UxGT("Vlastnà pÅ™Ãkazy") #define MSG_UBL_DOING_G29 _UxGT("ProvádÃm G29") #define MSG_UBL_UNHOMED _UxGT("PÅ™ejeÄte domů") #define MSG_UBL_TOOLS _UxGT("UBL nástroje") #define MSG_UBL_LEVEL_BED _UxGT("Unified Bed Leveling") +#define MSG_IDEX_MENU _UxGT("Režim IDEX") +#define MSG_OFFSETS_MENU _UxGT("Ofsety nástrojů") +#define MSG_IDEX_MODE_AUTOPARK _UxGT("Auto-Park") +#define MSG_IDEX_MODE_DUPLICATE _UxGT("Duplikace") +#define MSG_IDEX_MODE_MIRRORED_COPY _UxGT("ZrcadlenÃ") +#define MSG_IDEX_MODE_FULL_CTRL _UxGT("Plná kontrola") +#define MSG_X_OFFSET _UxGT("2. tryska X") +#define MSG_Y_OFFSET _UxGT("2. tryska Y") +#define MSG_Z_OFFSET _UxGT("2. tryska Z") #define MSG_UBL_MANUAL_MESH _UxGT("Manuálnà sÃÅ¥ bodů") #define MSG_UBL_BC_INSERT _UxGT("Vložte kartu, změřte") #define MSG_UBL_BC_INSERT2 _UxGT("Změřte") @@ -169,7 +194,6 @@ #define MSG_INTENSITY_B _UxGT("Modrá intenzita") #define MSG_INTENSITY_W _UxGT("BÃlá intenzita") #define MSG_LED_BRIGHTNESS _UxGT("Jas") -#define MSG_USER_MENU _UxGT("Vlastnà pÅ™Ãkazy") #define MSG_MOVING _UxGT("PosouvánÃ...") #define MSG_FREE_XY _UxGT("Uvolnit XY") @@ -177,6 +201,7 @@ #define MSG_MOVE_Y _UxGT("Posunout Y") #define MSG_MOVE_Z _UxGT("Posunout Z") #define MSG_MOVE_E _UxGT("Extrudér") +#define MSG_HOTEND_TOO_COLD _UxGT("Hotend je studený") #define MSG_MOVE_01MM _UxGT("Posunout o 0,1mm") #define MSG_MOVE_1MM _UxGT("Posunout o 1mm") #define MSG_MOVE_10MM _UxGT("Posunout o 10mm") @@ -184,6 +209,7 @@ #define MSG_BED_Z _UxGT("Výška podl.") #define MSG_NOZZLE _UxGT("Tryska") #define MSG_BED _UxGT("Podložka") +#define MSG_CHAMBER _UxGT("Komora") #define MSG_FAN_SPEED _UxGT("Rychlost vent.") #define MSG_EXTRA_FAN_SPEED _UxGT("Rychlost ex. vent.") #define MSG_FLOW _UxGT("Průtok") @@ -250,10 +276,15 @@ #define MSG_LOAD_EEPROM _UxGT("NaÄÃst nastavenÃ") #define MSG_RESTORE_FAILSAFE _UxGT("Obnovit výchozÃ") #define MSG_INIT_EEPROM _UxGT("Inic. EEPROM") +#define MSG_SD_UPDATE _UxGT("Aktualizace z SD") +#define MSG_RESET_PRINTER _UxGT("Reset tiskárny") #define MSG_REFRESH _UxGT("Obnovit") #define MSG_WATCH _UxGT("Info obrazovka") #define MSG_PREPARE _UxGT("PÅ™iprava tisku") #define MSG_TUNE _UxGT("DoladÄ›nà tisku") +#define MSG_START_PRINT _UxGT("Spustit tisk") +#define MSG_BUTTON_PRINT _UxGT("Tisk") +#define MSG_BUTTON_CANCEL _UxGT("ZruÅ¡it") #define MSG_PAUSE_PRINT _UxGT("Pozastavit tisk") #define MSG_RESUME_PRINT _UxGT("Obnovit tisk") #define MSG_STOP_PRINT _UxGT("Zastavit tisk") @@ -277,6 +308,12 @@ #define MSG_CONTROL_RETRACT_RECOVERF _UxGT("UnRet V") #define MSG_CONTROL_RETRACT_RECOVER_SWAPF _UxGT("S UnRet V") #define MSG_AUTORETRACT _UxGT("AutoRetr.") +#define MSG_FILAMENT_SWAP_LENGTH _UxGT("Délka retrakce") +#define MSG_TOOL_CHANGE _UxGT("VýmÄ›na nástroje") +#define MSG_TOOL_CHANGE_ZLIFT _UxGT("Zdvih Z") +#define MSG_SINGLENOZZLE_PRIME_SPD _UxGT("Rychlost primár.") +#define MSG_SINGLENOZZLE_RETRACT_SPD _UxGT("Rychlost retrak.") +#define MSG_NOZZLE_STANDBY _UxGT("Tryska standby") #define MSG_FILAMENTCHANGE _UxGT("VymÄ›nit filament") #define MSG_FILAMENTLOAD _UxGT("Zavést filament") #define MSG_FILAMENTUNLOAD _UxGT("Vysunout filament") @@ -287,16 +324,22 @@ #define MSG_ZPROBE_OUT _UxGT("Sonda Z mimo podl") #define MSG_SKEW_FACTOR _UxGT("Faktor zkosenÃ") #define MSG_BLTOUCH _UxGT("BLTouch") -#define MSG_BLTOUCH_SELFTEST _UxGT("BLTouch Self-Test") -#define MSG_BLTOUCH_RESET _UxGT("BLTouch Reset") -#define MSG_BLTOUCH_DEPLOY _UxGT("BLTouch Vysunout") -#define MSG_BLTOUCH_STOW _UxGT("BLTouch Zasunout") +#define MSG_BLTOUCH_SELFTEST _UxGT("BLTouch self-test") +#define MSG_BLTOUCH_RESET _UxGT("BLTouch reset") +#define MSG_BLTOUCH_DEPLOY _UxGT("BLTouch vysunout") +#define MSG_BLTOUCH_SW_MODE _UxGT("SW výsun BLTouch") +#define MSG_BLTOUCH_5V_MODE _UxGT("BLTouch 5V režim") +#define MSG_BLTOUCH_OD_MODE _UxGT("BLTouch OD režim") +#define MSG_BLTOUCH_STOW _UxGT("BLTouch zasunout") +#define MSG_MANUAL_DEPLOY _UxGT("Vysunout Z-sondu") +#define MSG_MANUAL_STOW _UxGT("Zasunout Z-sondu") #define MSG_HOME _UxGT("Domů") // Used as MSG_HOME " " MSG_X MSG_Y MSG_Z " " MSG_FIRST #define MSG_FIRST _UxGT("prvnÃ") #define MSG_ZPROBE_ZOFFSET _UxGT("Z ofset") #define MSG_BABYSTEP_X _UxGT("Babystep X") #define MSG_BABYSTEP_Y _UxGT("Babystep Y") #define MSG_BABYSTEP_Z _UxGT("Babystep Z") +#define MSG_BABYSTEP_TOTAL _UxGT("Celkem") #define MSG_ENDSTOP_ABORT _UxGT("Endstop abort") #define MSG_HEATING_FAILED_LCD _UxGT("Chyba zahÅ™ÃvánÃ") #define MSG_HEATING_FAILED_LCD_BED _UxGT("Chyba zahÅ™.podl.") @@ -307,6 +350,8 @@ #define MSG_ERR_MINTEMP _UxGT("NÃZKA TEPLOTA") #define MSG_ERR_MAXTEMP_BED _UxGT("VYS. TEPL. PODL.") #define MSG_ERR_MINTEMP_BED _UxGT("NÃZ. TEPL. PODL.") +#define MSG_ERR_MAXTEMP_CHAMBER _UxGT("Err: MAXTEMP KOMORA") +#define MSG_ERR_MINTEMP_CHAMBER _UxGT("Err: MINTEMP KOMORA") #define MSG_ERR_Z_HOMING MSG_HOME _UxGT(" ") MSG_X MSG_Y _UxGT(" ") MSG_FIRST #define MSG_HALTED _UxGT("TISK. ZASTAVENA") #define MSG_PLEASE_RESET _UxGT("ProveÄte reset") @@ -380,18 +425,82 @@ #define MSG_FILAMENT_CHANGE_OPTION_PURGE _UxGT("VytlaÄit vÃc") #define MSG_FILAMENT_CHANGE_OPTION_RESUME _UxGT("Obnovit tisk") #define MSG_FILAMENT_CHANGE_NOZZLE _UxGT(" Tryska: ") +#define MSG_RUNOUT_SENSOR _UxGT("Senzor filamentu") #define MSG_ERR_HOMING_FAILED _UxGT("Parkovánà selhalo") #define MSG_ERR_PROBING_FAILED _UxGT("Kalibrace selhala") #define MSG_M600_TOO_COLD _UxGT("M600: Moc studený") +#define MSG_MMU2_FILAMENT_CHANGE_HEADER _UxGT("VÃMÄšNA FILAMENTU") +#define MSG_MMU2_CHOOSE_FILAMENT_HEADER _UxGT("VYBERTE FILAMENT") +#define MSG_MMU2_MENU _UxGT("MMU") +#define MSG_MMU2_WRONG_FIRMWARE _UxGT("Aktual. MMU firmware!") +#define MSG_MMU2_NOT_RESPONDING _UxGT("MMU potÅ™. pozornost.") +#define MSG_MMU2_RESUME _UxGT("Obnovit tisk") +#define MSG_MMU2_RESUMING _UxGT("ObnovovánÃ...") +#define MSG_MMU2_LOAD_FILAMENT _UxGT("Zavést filament") +#define MSG_MMU2_LOAD_ALL _UxGT("Zavést vÅ¡echny") +#define MSG_MMU2_LOAD_TO_NOZZLE _UxGT("Zavést do trysky") +#define MSG_MMU2_EJECT_FILAMENT _UxGT("Vysunout filament") +#define MSG_MMU2_EJECT_FILAMENT0 _UxGT("Vysun. filament 1") +#define MSG_MMU2_EJECT_FILAMENT1 _UxGT("Vysun. filament 2") +#define MSG_MMU2_EJECT_FILAMENT2 _UxGT("Vysun. filament 3") +#define MSG_MMU2_EJECT_FILAMENT3 _UxGT("Vysun. filament 4") +#define MSG_MMU2_EJECT_FILAMENT4 _UxGT("Vysun. filament 5") +#define MSG_MMU2_UNLOAD_FILAMENT _UxGT("Vytáhnout filament") +#define MSG_MMU2_LOADING_FILAMENT _UxGT("ZavádÄ›nà fil. %i...") +#define MSG_MMU2_EJECTING_FILAMENT _UxGT("Vytahovánà fil. ...") +#define MSG_MMU2_UNLOADING_FILAMENT _UxGT("Vysouvánà fil....") +#define MSG_MMU2_ALL _UxGT("VÅ¡echny") +#define MSG_MMU2_FILAMENT0 _UxGT("Filament 1") +#define MSG_MMU2_FILAMENT1 _UxGT("Filament 2") +#define MSG_MMU2_FILAMENT2 _UxGT("Filament 3") +#define MSG_MMU2_FILAMENT3 _UxGT("Filament 4") +#define MSG_MMU2_FILAMENT4 _UxGT("Filament 5") +#define MSG_MMU2_RESET _UxGT("Resetovat MMU") +#define MSG_MMU2_RESETTING _UxGT("Resetovánà MMU...") +#define MSG_MMU2_EJECT_RECOVER _UxGT("VytáhnÄ›te, kliknÄ›te") + +#define MSG_MIX _UxGT("Mix") +#define MSG_MIX_COMPONENT _UxGT("Komponenta") +#define MSG_MIXER _UxGT("Mixér") +#define MSG_GRADIENT _UxGT("PÅ™echod") +#define MSG_FULL_GRADIENT _UxGT("Celý pÅ™echod") +#define MSG_TOGGLE_MIX _UxGT("PÅ™epnout mix") +#define MSG_CYCLE_MIX _UxGT("StÅ™Ãdat mix") +#define MSG_GRADIENT_MIX _UxGT("PÅ™echod mix") +#define MSG_REVERSE_GRADIENT _UxGT("OpaÄný pÅ™echod") +#if LCD_WIDTH >= 20 + #define MSG_ACTIVE_VTOOL _UxGT("Aktivnà V-nástroj") + #define MSG_START_VTOOL _UxGT("Spustit V-nástroj") + #define MSG_END_VTOOL _UxGT("UkonÄit V-nástroj") + #define MSG_GRADIENT_ALIAS _UxGT("Alias V-nástroje") + #define MSG_RESET_VTOOLS _UxGT("Resetovat V-nástroj") + #define MSG_COMMIT_VTOOL _UxGT("Uložit V-nástroj mix") + #define MSG_VTOOLS_RESET _UxGT("V-nástroj resetovat") +#else + #define MSG_ACTIVE_VTOOL _UxGT("Aktivnà V-nástr.") + #define MSG_START_VTOOL _UxGT("Spustit V-nástr.") + #define MSG_END_VTOOL _UxGT("UkonÄit V-nástr.") + #define MSG_GRADIENT_ALIAS _UxGT("Alias V-nástr.") + #define MSG_RESET_VTOOLS _UxGT("Reset. V-nástr.") + #define MSG_COMMIT_VTOOL _UxGT("Uložit V-nás. mix") + #define MSG_VTOOLS_RESET _UxGT("V-nástr. reset.") +#endif +#define MSG_START_Z _UxGT("PoÄáteÄnà Z") +#define MSG_END_Z _UxGT(" Koncové Z") +#define MSG_BRICKOUT _UxGT("Brickout") +#define MSG_INVADERS _UxGT("Invaders") +#define MSG_SNAKE _UxGT("Sn4k3") +#define MSG_MAZE _UxGT("BludiÅ¡tÄ›") + #if LCD_HEIGHT >= 4 // Up to 3 lines allowed + #define MSG_ADVANCED_PAUSE_WAITING_1 _UxGT("StiknÄ›te tlaÄÃtko") + #define MSG_ADVANCED_PAUSE_WAITING_2 _UxGT("pro obnovenà tisku") + #define MSG_PAUSE_PRINT_INIT_1 _UxGT("ParkovánÃ...") #define MSG_FILAMENT_CHANGE_INIT_1 _UxGT("ÄŒekejte prosÃm") #define MSG_FILAMENT_CHANGE_INIT_2 _UxGT("na zahájenÃ") #define MSG_FILAMENT_CHANGE_INIT_3 _UxGT("výmÄ›ny filamentu") - #define MSG_FILAMENT_CHANGE_UNLOAD_1 _UxGT("ÄŒekejte prosÃm") - #define MSG_FILAMENT_CHANGE_UNLOAD_2 _UxGT("na vysunuti") - #define MSG_FILAMENT_CHANGE_UNLOAD_3 _UxGT("filamentu") #define MSG_FILAMENT_CHANGE_INSERT_1 _UxGT("Vložte filament") #define MSG_FILAMENT_CHANGE_INSERT_2 _UxGT("a stisknÄ›te") #define MSG_FILAMENT_CHANGE_INSERT_3 _UxGT("tlaÄÃtko...") @@ -399,21 +508,46 @@ #define MSG_FILAMENT_CHANGE_HEAT_2 _UxGT("nahřátà trysky") #define MSG_FILAMENT_CHANGE_HEATING_1 _UxGT("ÄŒekejte prosÃm") #define MSG_FILAMENT_CHANGE_HEATING_2 _UxGT("na nahřátà tr.") + #define MSG_FILAMENT_CHANGE_UNLOAD_1 _UxGT("ÄŒekejte prosÃm") + #define MSG_FILAMENT_CHANGE_UNLOAD_2 _UxGT("na vysunuti") + #define MSG_FILAMENT_CHANGE_UNLOAD_3 _UxGT("filamentu") #define MSG_FILAMENT_CHANGE_LOAD_1 _UxGT("ÄŒekejte prosÃm") #define MSG_FILAMENT_CHANGE_LOAD_2 _UxGT("na zavedenÃ") #define MSG_FILAMENT_CHANGE_LOAD_3 _UxGT("filamentu") #define MSG_FILAMENT_CHANGE_PURGE_1 _UxGT("VyÄkejte na") #define MSG_FILAMENT_CHANGE_PURGE_2 _UxGT("vytlaÄenÃ") + #define MSG_FILAMENT_CHANGE_CONT_PURGE_1 _UxGT("KliknÄ›te pro") + #define MSG_FILAMENT_CHANGE_CONT_PURGE_2 _UxGT("ukonÄenÃ") + #define MSG_FILAMENT_CHANGE_CONT_PURGE_3 _UxGT("vytlaÄovánÃ") #define MSG_FILAMENT_CHANGE_RESUME_1 _UxGT("ÄŒekejte prosÃm") #define MSG_FILAMENT_CHANGE_RESUME_2 _UxGT("na pokraÄovánÃ") #define MSG_FILAMENT_CHANGE_RESUME_3 _UxGT("tisku") #else // LCD_HEIGHT < 4 // Up to 2 lines allowed + #define MSG_ADVANCED_PAUSE_WAITING_1 _UxGT("StiknÄ›te tlaÄ.") + #define MSG_ADVANCED_PAUSE_WAITING_2 _UxGT("pro obnovenÃ") + #define MSG_PAUSE_PRINT_INIT_1 _UxGT("ParkovánÃ...") #define MSG_FILAMENT_CHANGE_INIT_1 _UxGT("ÄŒekejte...") - #define MSG_FILAMENT_CHANGE_UNLOAD_1 _UxGT("VysouvánÃ...") #define MSG_FILAMENT_CHANGE_INSERT_1 _UxGT("Vložte, kliknÄ›te") + #define MSG_FILAMENT_CHANGE_HEAT_1 _UxGT("KliknÄ›te pro") + #define MSG_FILAMENT_CHANGE_HEAT_2 _UxGT("nahřátÃ") #define MSG_FILAMENT_CHANGE_HEATING_1 _UxGT("NahÅ™ÃvánÃ...") + #define MSG_FILAMENT_CHANGE_UNLOAD_1 _UxGT("VysouvánÃ...") #define MSG_FILAMENT_CHANGE_LOAD_1 _UxGT("ZavádÄ›nÃ...") #define MSG_FILAMENT_CHANGE_PURGE_1 _UxGT("VytlaÄovánÃ...") + #define MSG_FILAMENT_CHANGE_CONT_PURGE_1 _UxGT("KliknÄ›te pro") + #define MSG_FILAMENT_CHANGE_CONT_PURGE_2 _UxGT("ukonÄenÃ") #define MSG_FILAMENT_CHANGE_RESUME_1 _UxGT("PokraÄovánÃ...") #endif // LCD_HEIGHT < 4 + +#define MSG_TMC_DRIVERS _UxGT("TMC budiÄe") +#define MSG_TMC_CURRENT _UxGT("Proud budiÄů") +#define MSG_TMC_HYBRID_THRS _UxGT("Hybridnà práh") +#define MSG_TMC_HOMING_THRS _UxGT("Domů bez senzorů") +#define MSG_TMC_STEPPING_MODE _UxGT("Režim kroků") +#define MSG_TMC_STEALTH_ENABLED _UxGT("StealthChop povolen") +#define MSG_SERVICE_RESET _UxGT("Reset") +#define MSG_SERVICE_IN _UxGT(" za:") +#define MSG_BACKLASH _UxGT("Vůle") +#define MSG_BACKLASH_CORRECTION _UxGT("Korekce") +#define MSG_BACKLASH_SMOOTHING _UxGT("VyhlazenÃ") \ No newline at end of file diff --git a/Marlin/src/lcd/language/language_en.h b/Marlin/src/lcd/language/language_en.h index dc6c26cf934324f93399be27ae1aa9ea79356098..c60f8b805190321c3d008257ff006b55435c4c0d 100644 --- a/Marlin/src/lcd/language/language_en.h +++ b/Marlin/src/lcd/language/language_en.h @@ -1362,6 +1362,9 @@ #ifndef MSG_ADVANCED_PAUSE_WAITING_1 #define MSG_ADVANCED_PAUSE_WAITING_1 _UxGT("Click to continue") #endif + #ifndef MSG_PAUSE_PRINT_INIT_1 + #define MSG_PAUSE_PRINT_INIT_1 _UxGT("Parking...") + #endif #ifndef MSG_FILAMENT_CHANGE_INIT_1 #define MSG_FILAMENT_CHANGE_INIT_1 _UxGT("Please wait...") #endif diff --git a/Marlin/src/lcd/language/language_sk.h b/Marlin/src/lcd/language/language_sk.h index 965ae223106b919d5c310cae56273d875adb4869..c069c780e9164314f003ab1fc655465e64a5890f 100644 --- a/Marlin/src/lcd/language/language_sk.h +++ b/Marlin/src/lcd/language/language_sk.h @@ -40,6 +40,8 @@ #define THIS_LANGUAGES_SPECIAL_SYMBOLS _UxGT("äÄáÃÄÄŒÄĎéÉÃÃĺĹľĽňŇóÓôÔŕŔšŠťŤúÚýÞŽ³") #define WELCOME_MSG MACHINE_NAME _UxGT(" pripravená.") +#define MSG_YES _UxGT("ÃNO") +#define MSG_NO _UxGT("NIE") #define MSG_BACK _UxGT("Naspäť") #define MSG_SD_INSERTED _UxGT("Karta vložená") #define MSG_SD_REMOVED _UxGT("Karta vybraná") @@ -104,6 +106,7 @@ #define MSG_UBL_TOOLS _UxGT("Nástroje UBL") #define MSG_UBL_LEVEL_BED _UxGT("UBL rovnanie") #define MSG_IDEX_MENU _UxGT("IDEX režim") +#define MSG_OFFSETS_MENU _UxGT("Offset nástrojov") #define MSG_IDEX_MODE_AUTOPARK _UxGT("Auto-parkovanie") #define MSG_IDEX_MODE_DUPLICATE _UxGT("Duplikácia") #define MSG_IDEX_MODE_MIRRORED_COPY _UxGT("Zrkadlená kópia") @@ -276,6 +279,9 @@ #define MSG_WATCH _UxGT("Info. obrazovka") #define MSG_PREPARE _UxGT("PrÃprava tlaÄe") #define MSG_TUNE _UxGT("Doladenie tlaÄe") +#define MSG_START_PRINT _UxGT("SpustiÅ¥ tlaÄ") +#define MSG_BUTTON_PRINT _UxGT("TlaÄiÅ¥") +#define MSG_BUTTON_CANCEL _UxGT("ZruÅ¡iÅ¥") #define MSG_PAUSE_PRINT _UxGT("PozastaviÅ¥ tlaÄ") #define MSG_RESUME_PRINT _UxGT("ObnoviÅ¥ tlaÄ") #define MSG_STOP_PRINT _UxGT("ZastaviÅ¥ tlaÄ") @@ -330,6 +336,7 @@ #define MSG_BABYSTEP_X _UxGT("Babystep X") #define MSG_BABYSTEP_Y _UxGT("Babystep Y") #define MSG_BABYSTEP_Z _UxGT("Babystep Z") +#define MSG_BABYSTEP_TOTAL _UxGT("Celkom") #define MSG_ENDSTOP_ABORT _UxGT("Zastavenie Endstop") #define MSG_HEATING_FAILED_LCD _UxGT("Chyba ohrevu") #define MSG_HEATING_FAILED_LCD_BED _UxGT("Chyba ohrevu podl.") @@ -461,6 +468,10 @@ #define MSG_VTOOLS_RESET _UxGT("V-tools resetované") #define MSG_START_Z _UxGT("PoÄiat.Z") #define MSG_END_Z _UxGT("KoneÄn.Z") +#define MSG_BRICKOUT _UxGT("Brickout") +#define MSG_INVADERS _UxGT("NájazdnÃci") +#define MSG_SNAKE _UxGT("Had") +#define MSG_MAZE _UxGT("Bludisko") // // Filament Change screens show up to 3 lines on a 4-line display @@ -515,3 +526,6 @@ #define MSG_SERVICE_RESET _UxGT("VynulovaÅ¥") #define MSG_SERVICE_IN _UxGT(" za:") +#define MSG_BACKLASH _UxGT("Kompenz. vôle") +#define MSG_BACKLASH_CORRECTION _UxGT("Korekcia") +#define MSG_BACKLASH_SMOOTHING _UxGT("Vyhladzovanie") diff --git a/Marlin/src/lcd/menu/menu.cpp b/Marlin/src/lcd/menu/menu.cpp index 91b1ad448ee2f8c20976a7273424a48378919991..1a053ad850078e3ebcfc6d1b53521c65489f48e0 100644 --- a/Marlin/src/lcd/menu/menu.cpp +++ b/Marlin/src/lcd/menu/menu.cpp @@ -167,9 +167,9 @@ DEFINE_MENU_EDIT_ITEM(float3); // 123 right-justified DEFINE_MENU_EDIT_ITEM(float52); // 123.45 DEFINE_MENU_EDIT_ITEM(float43); // 1.234 DEFINE_MENU_EDIT_ITEM(float5); // 12345 right-justified -DEFINE_MENU_EDIT_ITEM(float51); // +1234.5 +DEFINE_MENU_EDIT_ITEM(float51); // 1234.5 right-justified +DEFINE_MENU_EDIT_ITEM(float51sign); // +1234.5 DEFINE_MENU_EDIT_ITEM(float52sign); // +123.45 -DEFINE_MENU_EDIT_ITEM(float62); // 1234.56 right-justified DEFINE_MENU_EDIT_ITEM(long5); // 12345 right-justified void MenuItem_bool::action_edit(PGM_P pstr, bool *ptr, screenFunc_t callback) { diff --git a/Marlin/src/lcd/menu/menu.h b/Marlin/src/lcd/menu/menu.h index 6e8d44b13ef550d459510fa184c687eae0ade294..acc51a2ae04b2248fd40d85cb710499c98c55e3f 100644 --- a/Marlin/src/lcd/menu/menu.h +++ b/Marlin/src/lcd/menu/menu.h @@ -24,6 +24,8 @@ #include "../ultralcd.h" #include "../../inc/MarlinConfig.h" +#include "limits.h" + extern int8_t encoderLine, encoderTopLine, screen_items; extern bool screen_changed; @@ -54,9 +56,9 @@ DECLARE_MENU_EDIT_TYPE(float, float3, ftostr3, 1 ); // 123 DECLARE_MENU_EDIT_TYPE(float, float52, ftostr52, 100 ); // 123.45 DECLARE_MENU_EDIT_TYPE(float, float43, ftostr43sign, 1000 ); // 1.234 DECLARE_MENU_EDIT_TYPE(float, float5, ftostr5rj, 0.01f ); // 12345 right-justified -DECLARE_MENU_EDIT_TYPE(float, float51, ftostr51sign, 10 ); // +1234.5 +DECLARE_MENU_EDIT_TYPE(float, float51, ftostr51rj, 10 ); // 1234.5 right-justified +DECLARE_MENU_EDIT_TYPE(float, float51sign, ftostr51sign, 10 ); // +1234.5 DECLARE_MENU_EDIT_TYPE(float, float52sign, ftostr52sign, 100 ); // +123.45 -DECLARE_MENU_EDIT_TYPE(float, float62, ftostr62rj, 100 ); // 1234.56 right-justified DECLARE_MENU_EDIT_TYPE(uint32_t, long5, ftostr5rj, 0.01f ); // 12345 right-justified //////////////////////////////////////////// @@ -119,9 +121,9 @@ DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float3); // 123 right-justif DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float52); // 123.45 DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float43); // 1.234 DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float5); // 12345 right-justified -DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float51); // +1234.5 +DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float51); // 1234.5 right-justified +DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float51sign); // +1234.5 DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float52sign); // +123.45 -DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(float62); // 1234.56 right-justified DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(long5); // 12345 right-justified #define draw_menu_item_edit_bool(sel, row, pstr, pstr2, data, ...) DRAW_BOOL_SETTING(sel, row, pstr, data) @@ -179,8 +181,10 @@ class TMenuItem : MenuItemBase { static char* to_string(const int16_t value) { return NAME::strfunc(unscale(value)); } public: static void action_edit(PGM_P const pstr, type_t * const ptr, const type_t minValue, const type_t maxValue, const screenFunc_t callback=NULL, const bool live=false) { - const int16_t minv = scale(minValue); - init(pstr, ptr, minv, int16_t(scale(maxValue)) - minv, int16_t(scale(*ptr)) - minv, edit, callback, live); + // Make sure minv and maxv fit within int16_t + const int16_t minv = MAX(scale(minValue), INT16_MIN), + maxv = MIN(scale(maxValue), INT16_MAX); + init(pstr, ptr, minv, maxv - minv, scale(*ptr) - minv, edit, callback, live); } static void edit() { MenuItemBase::edit(to_string, load); } }; @@ -199,8 +203,8 @@ DECLARE_MENU_EDIT_ITEM(float52); DECLARE_MENU_EDIT_ITEM(float43); DECLARE_MENU_EDIT_ITEM(float5); DECLARE_MENU_EDIT_ITEM(float51); +DECLARE_MENU_EDIT_ITEM(float51sign); DECLARE_MENU_EDIT_ITEM(float52sign); -DECLARE_MENU_EDIT_ITEM(float62); DECLARE_MENU_EDIT_ITEM(long5); class MenuItem_bool { diff --git a/Marlin/src/lcd/menu/menu_advanced.cpp b/Marlin/src/lcd/menu/menu_advanced.cpp index 89955484b0259c3b7e4acee6ff79ed8fc9b7da60..05396f85079b8b01056f6320478b1e40d73c9a7f 100644 --- a/Marlin/src/lcd/menu/menu_advanced.cpp +++ b/Marlin/src/lcd/menu/menu_advanced.cpp @@ -571,14 +571,14 @@ void menu_backlash(); START_MENU(); MENU_BACK(MSG_ADVANCED_SETTINGS); - #define EDIT_QSTEPS(Q) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_##Q##STEPS, &planner.settings.axis_steps_per_mm[_AXIS(Q)], 5, 9999, _planner_refresh_positioning) + #define EDIT_QSTEPS(Q) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_##Q##STEPS, &planner.settings.axis_steps_per_mm[_AXIS(Q)], 5, 9999, _planner_refresh_positioning) EDIT_QSTEPS(A); EDIT_QSTEPS(B); EDIT_QSTEPS(C); #if ENABLED(DISTINCT_E_FACTORS) - #define EDIT_ESTEPS(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E##N##STEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(E)], 5, 9999, _planner_refresh_e##E##_positioning) - MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(active_extruder)], 5, 9999, _planner_refresh_positioning); + #define EDIT_ESTEPS(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_E##N##STEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(E)], 5, 9999, _planner_refresh_e##E##_positioning) + MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS_N(active_extruder)], 5, 9999, _planner_refresh_positioning); EDIT_ESTEPS(1,0); EDIT_ESTEPS(2,1); #if E_STEPPERS > 2 @@ -594,7 +594,7 @@ void menu_backlash(); #endif // E_STEPPERS > 3 #endif // E_STEPPERS > 2 #elif E_STEPPERS - MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning); + MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float51, MSG_ESTEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_positioning); #endif END_MENU(); diff --git a/Marlin/src/module/probe.cpp b/Marlin/src/module/probe.cpp index f32b5ae4d03bf8dd7bd54cccf7ad297bbe92fe62..8988b15bea4571a14f0f4712fca0b13cc4a8f140 100644 --- a/Marlin/src/module/probe.cpp +++ b/Marlin/src/module/probe.cpp @@ -310,24 +310,35 @@ inline void do_probe_raise(const float z_raise) { FORCE_INLINE void probe_specific_action(const bool deploy) { #if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + do { + #if ENABLED(PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED) + if (deploy == (READ(Z_MIN_PROBE_PIN) == Z_MIN_PROBE_ENDSTOP_INVERTING)) break; + #endif - BUZZ(100, 659); - BUZZ(100, 698); + BUZZ(100, 659); + BUZZ(100, 698); - PGM_P const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW); - ui.return_to_status(); // To display the new status message - ui.set_status_P(ds_str, 99); - serialprintPGM(ds_str); - SERIAL_EOL(); + PGM_P const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW); + ui.return_to_status(); // To display the new status message + ui.set_status_P(ds_str, 99); + serialprintPGM(ds_str); + SERIAL_EOL(); - KEEPALIVE_STATE(PAUSED_FOR_USER); - wait_for_user = true; - #if ENABLED(HOST_PROMPT_SUPPORT) - host_prompt_do(PROMPT_USER_CONTINUE, PSTR("Stow Probe"), PSTR("Continue")); - #endif - while (wait_for_user) idle(); - ui.reset_status(); - KEEPALIVE_STATE(IN_HANDLER); + KEEPALIVE_STATE(PAUSED_FOR_USER); + wait_for_user = true; + #if ENABLED(HOST_PROMPT_SUPPORT) + host_prompt_do(PROMPT_USER_CONTINUE, PSTR("Stow Probe"), PSTR("Continue")); + #endif + while (wait_for_user) idle(); + ui.reset_status(); + KEEPALIVE_STATE(IN_HANDLER); + } while( + #if ENABLED(PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED) + true + #else + false + #endif + ); #endif // PAUSE_BEFORE_DEPLOY_STOW diff --git a/Marlin/src/pins/pins.h b/Marlin/src/pins/pins.h index 68de292c0c78be794d185540556175d968b6ae58..bb7a10108e649b5f9115b05a8b7253684d876a9f 100644 --- a/Marlin/src/pins/pins.h +++ b/Marlin/src/pins/pins.h @@ -316,6 +316,8 @@ #include "pins_RAMPS_RE_ARM.h" // LPC1768 env:LPC1768 #elif MB(MKS_SBASE) #include "pins_MKS_SBASE.h" // LPC1768 env:LPC1768 +#elif MB(MKS_SGEN) + #include "pins_MKS_SGEN.h" // LPC1769 env:LPC1769 #elif MB(AZSMZ_MINI) #include "pins_AZSMZ_MINI.h" // LPC1768 env:LPC1768 #elif MB(AZTEEG_X5_GT) diff --git a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h index 91349c0f6edaa8d0921b8675b37f26d56c19f413..f3ce5b4179cc54503b635fe1faf9666467a02617 100644 --- a/Marlin/src/pins/pins_AZTEEG_X5_MINI.h +++ b/Marlin/src/pins/pins_AZTEEG_X5_MINI.h @@ -185,13 +185,9 @@ // // SD Support // -//#define USB_SD_DISABLED // Disable host access to SD card as mass storage device through USB -//#define USB_SD_ONBOARD // Enable host access to SD card as mass storage device through USB - -//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD -#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board. There is no SD detect pin - // for the onboard card. Init card from LCD menu or send M21 whenever printer - // is powered on to enable SD access. +#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE) + #define LPC_SD_ONBOARD +#endif #if ENABLED(LPC_SD_LCD) diff --git a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h index 2efb410b468c69e44f7bf4b15a67785201e659cf..92f7dddfaa66274abcfbe8065011c7c5afcbb095 100644 --- a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h +++ b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h @@ -208,15 +208,24 @@ #define LCD_PINS_D7 P1_23 #endif + #if ENABLED(MKS_MINI_12864) + #define DOGLCD_CS P1_21 + #define DOGLCD_A0 P1_22 + #endif + #endif #endif // ULTRA_LCD -//#define USB_SD_DISABLED -#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device +// +// SD Support +// -#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD -//#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board +#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE) + #undef USB_SD_DISABLED + #define USB_SD_ONBOARD + #define LPC_SD_LCD +#endif #if ENABLED(LPC_SD_LCD) diff --git a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h index 91e76d1b91d88457b050ea5a84aa7edc78a4f0c1..17af3c4d0400d1a7ac6e814a62bd751ae5dacf8a 100644 --- a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h +++ b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h @@ -105,18 +105,29 @@ #define LCD_PINS_RS P0_16 #define LCD_PINS_ENABLE P0_18 #define LCD_PINS_D4 P0_15 + + #if ENABLED(MKS_MINI_12864) + #define DOGLCD_CS P2_06 + #define DOGLCD_A0 P0_16 + #endif #endif // // SD Support // -//#define USB_SD_DISABLED // Disable host access to SD card as mass storage device through USB -#define USB_SD_ONBOARD // Enable host access to SD card as mass storage device through USB - -//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD -#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board. There is no SD detect pin - // for the onboard card. Init card from LCD menu or send M21 whenever printer - // is powered on to enable SD access. +// MKS_MINI_12864 strongly prefers the SD card on the display and +// requires jumpers on the SKR V1.1 board as documented here: +// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/ +#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE) + #if ENABLED(MKS_MINI_12864) + #define LPC_SD_LCD + #undef USB_SD_DISABLED + #define USB_SD_ONBOARD + #else + #define USB_SD_ONBOARD + #define LPC_SD_ONBOARD + #endif +#endif #if ENABLED(LPC_SD_LCD) diff --git a/Marlin/src/pins/pins_FORMBOT_TREX3.h b/Marlin/src/pins/pins_FORMBOT_TREX3.h index 3615ca742cedf04ca019ca7cdebfb35a36c8f108..5b4bd8b533b179726cdd0084cab4de07c75b3795 100644 --- a/Marlin/src/pins/pins_FORMBOT_TREX3.h +++ b/Marlin/src/pins/pins_FORMBOT_TREX3.h @@ -143,7 +143,7 @@ #define LED_PIN 13 #endif -#define SPINDLE_LASER_PWM_PIN 7 // MUST BE HARDWARE PWM +#define SPINDLE_LASER_PWM_PIN -1 // MUST BE HARDWARE PWM #define SPINDLE_LASER_ENA_PIN 4 // Pin should have a pullup! // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector diff --git a/Marlin/src/pins/pins_MKS_SBASE.h b/Marlin/src/pins/pins_MKS_SBASE.h index 19f9e5acf4159b96454c4c159b8c020da44c81e0..a97bcd164dc8bcdb817199bfee44b97288880fad 100644 --- a/Marlin/src/pins/pins_MKS_SBASE.h +++ b/Marlin/src/pins/pins_MKS_SBASE.h @@ -28,8 +28,12 @@ #error "Oops! Make sure you have the LPC1768 environment selected in your IDE." #endif -#define BOARD_NAME "MKS SBASE" -#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE" +#ifndef BOARD_NAME + #define BOARD_NAME "MKS SBASE" +#endif +#ifndef BOARD_WEBSITE_URL + #define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE" +#endif #define LED_PIN P1_18 // Used as a status indicator #define LED2_PIN P1_19 @@ -154,23 +158,11 @@ #define ENET_TXD0 P1_00 // J12-11 #define ENET_TXD1 P1_01 // J12-12 -/** - * The SBase can share the on-board SD card with a PC via USB the following - * definitions control this feature: - */ -//#define USB_SD_DISABLED -#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device - -/** - * There are a number of configurations available for the SBase SD card reader. - * - A custom cable can be used to allow access to the LCD based SD card. - * - A standard cable can be used for access to the LCD SD card (but no SD detect). - * - The onboard SD card can be used and optionally shared with a PC via USB. - */ - -//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD -//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD -#define LPC_SD_ONBOARD // Marlin uses the SD drive attached to the control board +#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE) + #undef USB_SD_DISABLED + #define USB_SD_ONBOARD + #define LPC_SD_ONBOARD +#endif #if ENABLED(LPC_SD_CUSTOM_CABLE) @@ -249,6 +241,41 @@ #define DOGLCD_SCK SCK_PIN #define DOGLCD_MOSI MOSI_PIN #endif + + #if ENABLED(FYSETC_MINI_12864) + /** + * The Fysetc display can NOT use the SCK and MOSI pins on EXP2, so a + * special cable is needed to go between EXP2 on the FYSETC and the + * controller board's EXP2 and J8. It also means that a software SPI + * is needed to drive those pins. + * + * The Fysetc requires mode 3 SPI interface. + * + * Pins 6, 7 & 8 on EXP2 are no connects. That means a second special + * cable will be needed if the RGB LEDs are to be active. + */ + #define DOGLCD_CS LCD_PINS_ENABLE // EXP1.3 (LCD_EN on Fysetc schematic) + #define DOGLCD_A0 LCD_PINS_RS // EXP1.4 (LCD_A0 on Fysetc schematic) + #define DOGLCD_SCK P2_11 // J8-5 (SCK on Fysetc schematic) + #define DOGLCD_MOSI P4_28 // J8-6 (MOSI on Fysetc schematic) + + #define RGB_LED + //#define RGBW_LED + #if EITHER(RGB_LED, RGBW_LED) + #define RGB_LED_R_PIN P2_12 // J8-4 (LCD_D6 on Fysetc schematic) + #define RGB_LED_G_PIN P1_23 // J8-3 (LCD_D5 on Fysetc schematic) + #define RGB_LED_B_PIN P1_22 // J8-2 (LCD_D7 on Fysetc schematic) + //#define RGB_LED_W_PIN -1 + #endif + + #elif ENABLED(MINIPANEL) + // GLCD features + // Uncomment screen orientation + //#define LCD_SCREEN_ROT_90 + //#define LCD_SCREEN_ROT_180 + //#define LCD_SCREEN_ROT_270 + #endif + #endif /** @@ -281,7 +308,7 @@ #endif #endif -#if HAS_DRIVER(TMC2208) +#if MB(MKS_SBASE) && HAS_DRIVER(TMC2208) // The shortage of pins becomes apparent. // Worst case you may have to give up the LCD // RX pins need to be interrupt capable diff --git a/Marlin/src/pins/pins_MKS_SGEN.h b/Marlin/src/pins/pins_MKS_SGEN.h new file mode 100644 index 0000000000000000000000000000000000000000..2aa6bcc551e39e1e7a15c238bc5cb3a80055a0b1 --- /dev/null +++ b/Marlin/src/pins/pins_MKS_SGEN.h @@ -0,0 +1,60 @@ +/** + * Marlin 3D Printer Firmware + * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * + * Based on Sprinter and grbl. + * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +/** + * MKS SGen pin assignments + */ + +#ifndef LPC1769 + #error "Oops! Make sure you have the LPC1769 environment selected in your IDE." +#endif + +#define BOARD_NAME "MKS SGEN" +#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SGEN" + +#include "pins_MKS_SBASE.h" + +#undef E1_STEP_PIN +#undef E1_DIR_PIN +#undef E1_ENABLE_PIN + +//#undef BTN_EN1 +//#undef BTN_EN2 +//#define BTN_EN1 P1_23 // EXP2.5 +//#define BTN_EN2 P1_22 // EXP2.3 + +#if HAS_DRIVER(TMC2208) + // The shortage of pins becomes apparent. + // In the worst case you may have to give up the LCD. + // RX pins must be interrupt-capable. + #define X_SERIAL_TX_PIN P4_29 // J8-2 + #define X_SERIAL_RX_PIN P4_29 // J8-2 + + #define Y_SERIAL_TX_PIN P2_08 // J8-3 + #define Y_SERIAL_RX_PIN P2_08 // J8-3 + + #define Z_SERIAL_TX_PIN P2_11 // J8-4 + #define Z_SERIAL_RX_PIN P2_11 // J8-4 + #define E0_SERIAL_TX_PIN P2_13 // J8-5 + #define E0_SERIAL_RX_PIN P2_13 // J8-5 +#endif diff --git a/Marlin/src/pins/pins_RAMPS_FD_V1.h b/Marlin/src/pins/pins_RAMPS_FD_V1.h index 8cee2e7f4d5653a6c6cfbe8f32066cc26701e358..a8bec209ef9003c3968e053531b36a2fa59111ff 100644 --- a/Marlin/src/pins/pins_RAMPS_FD_V1.h +++ b/Marlin/src/pins/pins_RAMPS_FD_V1.h @@ -156,7 +156,10 @@ #define LCD_PINS_D7 29 #endif - #if ENABLED(MINIPANEL) + #if ENABLED(FYSETC_MINI_12864) + #define DOGLCD_CS LCD_PINS_ENABLE + #define DOGLCD_A0 LCD_PINS_RS + #elif ENABLED(MINIPANEL) #define DOGLCD_CS 25 #define DOGLCD_A0 27 #endif diff --git a/Marlin/src/pins/pins_RAMPS_RE_ARM.h b/Marlin/src/pins/pins_RAMPS_RE_ARM.h index 25c85a360f17cc453934e500566ca1aeea13a71c..9c7bbf4eeaa90ffc3b630a8f8e8f89afb95a1f89 100644 --- a/Marlin/src/pins/pins_RAMPS_RE_ARM.h +++ b/Marlin/src/pins/pins_RAMPS_RE_ARM.h @@ -269,11 +269,21 @@ #elif ENABLED(ULTRA_LCD) - #define BEEPER_PIN P1_30 // (37) not 5V tolerant + //#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3 + //#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3 + //#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3 + //#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) + + #if ENABLED(FYSETC_MINI_12864) + #define BEEPER_PIN P1_01 + #define BTN_ENC P1_04 + #else + #define BEEPER_PIN P1_30 // (37) not 5V tolerant + #define BTN_ENC P2_11 // (35) J3-3 & AUX-4 + #endif #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 - #define BTN_ENC P2_11 // (35) J3-3 & AUX-4 #define SD_DETECT_PIN P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant) #define KILL_PIN P1_22 // (41) J5-4 & AUX-4 @@ -296,13 +306,6 @@ #if ANY(VIKI2, miniVIKI) // #define LCD_SCREEN_ROT_180 - #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 - #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 - #define BTN_ENC P2_11 // (35) J3-3 & AUX-4 - - #define SD_DETECT_PIN P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant) - #define KILL_PIN P1_22 // (41) J5-4 & AUX-4 - #define DOGLCD_CS P0_16 // (16) #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 #define DOGLCD_SCK SCK_PIN @@ -311,8 +314,17 @@ #define STAT_LED_BLUE_PIN P0_26 //(63) may change if cable changes #define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes #else - #define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2 - #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 + + #if ENABLED(FYSETC_MINI_12864) + #define DOGLCD_SCK P0_15 + #define DOGLCD_MOSI P0_18 + #define DOGLCD_CS P1_09 // use Ethernet connector for EXP1 cable signals + #define DOGLCD_A0 P1_14 + #else + #define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2 + #define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2 + #endif + #define LCD_BACKLIGHT_PIN P0_16 //(16) J3-7 & AUX-4 - only used on DOGLCD controllers #define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3 #define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3 @@ -323,11 +335,6 @@ #endif #endif - //#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3 - //#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3 - //#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3 - //#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - #if ENABLED(MINIPANEL) // GLCD features // Uncomment screen orientation @@ -354,18 +361,21 @@ #define ENET_TXD0 P1_00 // (78) J12-11 #define ENET_TXD1 P1_01 // (79) J12-12 -//#define USB_SD_DISABLED -#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device - -//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD -#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board +// +// SD Support +// +#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE) + #undef USB_SD_DISABLED + #define USB_SD_ONBOARD + #define LPC_SD_ONBOARD +#endif #if ENABLED(LPC_SD_LCD) - #define SCK_PIN P0_15 - #define MISO_PIN P0_17 - #define MOSI_PIN P0_18 - #define SS_PIN P1_23 // Chip select for SD card used by Marlin + #define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3 + #define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3 + #define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3 + #define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin #define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card #elif ENABLED(LPC_SD_ONBOARD) diff --git a/Marlin/src/sd/cardreader.cpp b/Marlin/src/sd/cardreader.cpp index 95527a9b85141f2ffa6af75ccfe419ea4711af47..7ac21b975be94bfbc82bff69699242f2a1ebd187 100644 --- a/Marlin/src/sd/cardreader.cpp +++ b/Marlin/src/sd/cardreader.cpp @@ -1030,6 +1030,7 @@ void CardReader::printingHasFinished() { // be zeroed and written instead of deleted. void CardReader::removeJobRecoveryFile() { if (jobRecoverFileExists()) { + recovery.init(); removeFile(job_recovery_file_name); #if ENABLED(DEBUG_POWER_LOSS_RECOVERY) SERIAL_ECHOPGM("Power-loss file delete"); diff --git a/config/default/Configuration.h b/config/default/Configuration.h index 5faed3c8b99b52c979c77e83ac5b61d1ab1d5809..7ea040803cf55e633ae5c9b671be10f6a325123f 100644 --- a/config/default/Configuration.h +++ b/config/default/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/default/Configuration_adv.h b/config/default/Configuration_adv.h index 2c952a24f83e2378326748f146823e87a559d8c3..6fb18d57a20018ef83828f74398d4e84f0dab748 100644 --- a/config/default/Configuration_adv.h +++ b/config/default/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/3DFabXYZ/Migbot/Configuration.h b/config/examples/3DFabXYZ/Migbot/Configuration.h index 143622824d19e1e970441faa0e806b9d098e619d..7b459d3c33617190772fff4f9d75fa3453babad8 100644 --- a/config/examples/3DFabXYZ/Migbot/Configuration.h +++ b/config/examples/3DFabXYZ/Migbot/Configuration.h @@ -933,6 +933,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/3DFabXYZ/Migbot/Configuration_adv.h b/config/examples/3DFabXYZ/Migbot/Configuration_adv.h index 0264a24ef7aed42ef89b2d9253b52cfadcca0215..3a8beab36ffb5a618d8b1205b466425fdc1650ec 100644 --- a/config/examples/3DFabXYZ/Migbot/Configuration_adv.h +++ b/config/examples/3DFabXYZ/Migbot/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/AlephObjects/TAZ4/Configuration.h b/config/examples/AlephObjects/TAZ4/Configuration.h index 0720c14f0b1457d855fa68e2a5809a14dc98dabd..60c94e8e027c0d35cd3e071eede26c4ded54406f 100644 --- a/config/examples/AlephObjects/TAZ4/Configuration.h +++ b/config/examples/AlephObjects/TAZ4/Configuration.h @@ -947,6 +947,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/config/examples/AlephObjects/TAZ4/Configuration_adv.h index 10aaefa3bf26c4572b12f2fe6065b817bb99b39e..be1547179f1f7222ff3b2c94f152bd577a3c126c 100644 --- a/config/examples/AlephObjects/TAZ4/Configuration_adv.h +++ b/config/examples/AlephObjects/TAZ4/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/AliExpress/CL-260/Configuration.h b/config/examples/AliExpress/CL-260/Configuration.h index 916bb0685467fbda38424a83141a074a9e81c338..1be8dde5946550c26612d85c370390f19ed6b72b 100644 --- a/config/examples/AliExpress/CL-260/Configuration.h +++ b/config/examples/AliExpress/CL-260/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/AliExpress/UM2pExt/Configuration.h b/config/examples/AliExpress/UM2pExt/Configuration.h index e904da3019d1bccbd474a260a754b7d95ef2e946..f9de2247b89cdf56ab225fbac4ed6d7f777185f6 100644 --- a/config/examples/AliExpress/UM2pExt/Configuration.h +++ b/config/examples/AliExpress/UM2pExt/Configuration.h @@ -938,6 +938,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/AliExpress/UM2pExt/Configuration_adv.h b/config/examples/AliExpress/UM2pExt/Configuration_adv.h index 8b8fef76261a6d75c95c0523f7a2030e7880a817..408cffdd0f0a8596672cc764c13d9274c9c00e52 100644 --- a/config/examples/AliExpress/UM2pExt/Configuration_adv.h +++ b/config/examples/AliExpress/UM2pExt/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Anet/A2/Configuration.h b/config/examples/Anet/A2/Configuration.h index 669dee2af03a99e5af19a6972a7d6f2cbbf415f7..db89142199edde4af8e2adfce8d6690e40136dfc 100644 --- a/config/examples/Anet/A2/Configuration.h +++ b/config/examples/Anet/A2/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Anet/A2/Configuration_adv.h b/config/examples/Anet/A2/Configuration_adv.h index 63a18fa1570d80134be7a4589f7c71fc7725f88c..557c5c916d5b03d05490272920f5d5a2cffb1c97 100644 --- a/config/examples/Anet/A2/Configuration_adv.h +++ b/config/examples/Anet/A2/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Anet/A2plus/Configuration.h b/config/examples/Anet/A2plus/Configuration.h index 325939564ec93a8eda04f14a669e922ec393e6e8..68190a9ef921246ee804c32899f722393cec9052 100644 --- a/config/examples/Anet/A2plus/Configuration.h +++ b/config/examples/Anet/A2plus/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Anet/A2plus/Configuration_adv.h b/config/examples/Anet/A2plus/Configuration_adv.h index 63a18fa1570d80134be7a4589f7c71fc7725f88c..557c5c916d5b03d05490272920f5d5a2cffb1c97 100644 --- a/config/examples/Anet/A2plus/Configuration_adv.h +++ b/config/examples/Anet/A2plus/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Anet/A6/Configuration.h b/config/examples/Anet/A6/Configuration.h index 64431b72f411ad1492634dc134ce60c111e44019..e0b5c1a282126faad1c268218064259ff12b9ec5 100644 --- a/config/examples/Anet/A6/Configuration.h +++ b/config/examples/Anet/A6/Configuration.h @@ -1003,6 +1003,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Anet/A6/Configuration_adv.h b/config/examples/Anet/A6/Configuration_adv.h index 7431b9d9547403f254a85357efd6e6d89a9bde87..f02d70fb254b0b61867f354b7f81364ffbbb7a7b 100644 --- a/config/examples/Anet/A6/Configuration_adv.h +++ b/config/examples/Anet/A6/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Anet/A8/Configuration.h b/config/examples/Anet/A8/Configuration.h index e60533d09db9c59ea7eed74783846cc4e2a6af22..fee9dad53d077b2b0eba8090ec508886fbed29ec 100644 --- a/config/examples/Anet/A8/Configuration.h +++ b/config/examples/Anet/A8/Configuration.h @@ -940,6 +940,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Anet/A8/Configuration_adv.h b/config/examples/Anet/A8/Configuration_adv.h index 93805d0c2043f89b036b66b8d83a0b32af8aca16..1ea3c917f258ad8fe28ecfefa2c8b1c6ffea1bd5 100644 --- a/config/examples/Anet/A8/Configuration_adv.h +++ b/config/examples/Anet/A8/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/AnyCubic/i3/Configuration.h b/config/examples/AnyCubic/i3/Configuration.h index 3da19a382f9e47258c2e0743ed5ddb431bcf372a..af01e1cf45f0e477171e377130167dd1106aadc6 100644 --- a/config/examples/AnyCubic/i3/Configuration.h +++ b/config/examples/AnyCubic/i3/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/AnyCubic/i3/Configuration_adv.h b/config/examples/AnyCubic/i3/Configuration_adv.h index d56889bbcbe61ad47b338892680c39c9c09f6433..4d60d0925fec904fc06ea39490c1ac47947a1301 100644 --- a/config/examples/AnyCubic/i3/Configuration_adv.h +++ b/config/examples/AnyCubic/i3/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/ArmEd/Configuration.h b/config/examples/ArmEd/Configuration.h index d658278ec3cfaee4b899aaede1da5266bb716587..31a10f05c26f3a4e04f2ae76aaff9b3c98d11be4 100644 --- a/config/examples/ArmEd/Configuration.h +++ b/config/examples/ArmEd/Configuration.h @@ -928,6 +928,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/ArmEd/Configuration_adv.h b/config/examples/ArmEd/Configuration_adv.h index 0d162162c62d0c7df2950ec6501eade03f2b9d5c..9c8d4b4f4b433b5fa70ecf0020fe576057e98445 100644 --- a/config/examples/ArmEd/Configuration_adv.h +++ b/config/examples/ArmEd/Configuration_adv.h @@ -911,6 +911,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Azteeg/X5GT/Configuration.h b/config/examples/Azteeg/X5GT/Configuration.h index e8ce57851e23f2146c3b640798eb8b18f6398b54..1d22e52b708292587fe467c9589da16c034dd56b 100644 --- a/config/examples/Azteeg/X5GT/Configuration.h +++ b/config/examples/Azteeg/X5GT/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BIBO/TouchX/cyclops/Configuration.h b/config/examples/BIBO/TouchX/cyclops/Configuration.h index 1c0112e329d67f7c773418df55a6d85a68dcb656..7cbe3edd9dd73a4af2718565672f6fbbf25efe0c 100644 --- a/config/examples/BIBO/TouchX/cyclops/Configuration.h +++ b/config/examples/BIBO/TouchX/cyclops/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h b/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h index cb6419d8d6fb18b43fecd5463ce3d2e67bc3286d..594a7c04a3ff334c63baf6ee97b2c3c6752ba091 100644 --- a/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h +++ b/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/BIBO/TouchX/default/Configuration.h b/config/examples/BIBO/TouchX/default/Configuration.h index ba9b968114f47e86893c7d6ad662cd613507e98b..5ff9eb893b0a74c38e7284ac564683108be8b968 100644 --- a/config/examples/BIBO/TouchX/default/Configuration.h +++ b/config/examples/BIBO/TouchX/default/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BIBO/TouchX/default/Configuration_adv.h b/config/examples/BIBO/TouchX/default/Configuration_adv.h index de1d80b4462d1d2a0a38d1db9344b1ce03e782c1..9b85415471cb9dec6ebb36c4cfc60cffb8807e1a 100644 --- a/config/examples/BIBO/TouchX/default/Configuration_adv.h +++ b/config/examples/BIBO/TouchX/default/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/BQ/Hephestos/Configuration.h b/config/examples/BQ/Hephestos/Configuration.h index efe46bd7f95ac9f02b0127385650a9bffd2eece0..91d315373ed26c0655f0b19b3ca2de49b2e0c71c 100644 --- a/config/examples/BQ/Hephestos/Configuration.h +++ b/config/examples/BQ/Hephestos/Configuration.h @@ -915,6 +915,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BQ/Hephestos/Configuration_adv.h b/config/examples/BQ/Hephestos/Configuration_adv.h index 7bc1b974c1067c632826617da4b1bd20472b2490..597464b0b585b1a2e84425fc80ff6a5569b31eef 100644 --- a/config/examples/BQ/Hephestos/Configuration_adv.h +++ b/config/examples/BQ/Hephestos/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/BQ/Hephestos_2/Configuration.h b/config/examples/BQ/Hephestos_2/Configuration.h index 97b8dba7437b80c258721ca4ad6d4256367de4ae..64c950f285d2dc244a20bb65124e6dc850027e69 100644 --- a/config/examples/BQ/Hephestos_2/Configuration.h +++ b/config/examples/BQ/Hephestos_2/Configuration.h @@ -928,6 +928,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BQ/Hephestos_2/Configuration_adv.h b/config/examples/BQ/Hephestos_2/Configuration_adv.h index 2452849842036dc8835c6032c7bdb9a397a89b79..0d144060a976be5a658caf0feda85ea751613d7a 100644 --- a/config/examples/BQ/Hephestos_2/Configuration_adv.h +++ b/config/examples/BQ/Hephestos_2/Configuration_adv.h @@ -912,6 +912,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/BQ/WITBOX/Configuration.h b/config/examples/BQ/WITBOX/Configuration.h index 3002eebcec4310b93b23355c684da07fe3fca782..ef5a1ddb84e7b0bddc269f37786fdc75167c4cb1 100644 --- a/config/examples/BQ/WITBOX/Configuration.h +++ b/config/examples/BQ/WITBOX/Configuration.h @@ -915,6 +915,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/BQ/WITBOX/Configuration_adv.h b/config/examples/BQ/WITBOX/Configuration_adv.h index 7bc1b974c1067c632826617da4b1bd20472b2490..597464b0b585b1a2e84425fc80ff6a5569b31eef 100644 --- a/config/examples/BQ/WITBOX/Configuration_adv.h +++ b/config/examples/BQ/WITBOX/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Cartesio/Configuration.h b/config/examples/Cartesio/Configuration.h index eba8f376d78eb17846b97039e6b65b2103f409bb..09b003c572a5bdaad2d46688d3a8fbfe6f60c9ea 100644 --- a/config/examples/Cartesio/Configuration.h +++ b/config/examples/Cartesio/Configuration.h @@ -926,6 +926,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Cartesio/Configuration_adv.h b/config/examples/Cartesio/Configuration_adv.h index 503a5620985b101cdbef5f1e60966526f17a4bdd..0cdf3036280692a9faaad46049f8300868778826 100644 --- a/config/examples/Cartesio/Configuration_adv.h +++ b/config/examples/Cartesio/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/CR-10/Configuration.h b/config/examples/Creality/CR-10/Configuration.h index 09130f330d9a3342fb63cb57a83a2cb9da77fc23..0e0c4768883dfee8a137a04fdcc3e0d7bbe38121 100644 --- a/config/examples/Creality/CR-10/Configuration.h +++ b/config/examples/Creality/CR-10/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/CR-10/Configuration_adv.h b/config/examples/Creality/CR-10/Configuration_adv.h index a9ea978745fe1ca717a32a2685fdb6730b41edbf..aa317a75788a8fda210bb5293b1c3006926fc86b 100644 --- a/config/examples/Creality/CR-10/Configuration_adv.h +++ b/config/examples/Creality/CR-10/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/CR-10S/Configuration.h b/config/examples/Creality/CR-10S/Configuration.h index 8efdab26091da12cefa03c6699ec9bd2120fb80c..bbb5c4114b9448d443e1f4208b6d7354bf8df02a 100644 --- a/config/examples/Creality/CR-10S/Configuration.h +++ b/config/examples/Creality/CR-10S/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/CR-10S/Configuration_adv.h b/config/examples/Creality/CR-10S/Configuration_adv.h index aec8454b7a55ec063fe970d89d61e046803681a2..8dbba5534568b1ea06d9f89e267e166e59c12a5d 100644 --- a/config/examples/Creality/CR-10S/Configuration_adv.h +++ b/config/examples/Creality/CR-10S/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/CR-10_5S/Configuration.h b/config/examples/Creality/CR-10_5S/Configuration.h index eecd2a0ca729bcc275d9969b46b5f60598e5e4c1..a8222e3b330b6033e141e6b6d2ac0f02a18e7ba6 100644 --- a/config/examples/Creality/CR-10_5S/Configuration.h +++ b/config/examples/Creality/CR-10_5S/Configuration.h @@ -928,6 +928,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/CR-10_5S/Configuration_adv.h b/config/examples/Creality/CR-10_5S/Configuration_adv.h index 31c768601fb599a55150df8f6d0f8911959063fe..e0272be4a86b92982cdcb7c1cfc18c4db21b5180 100644 --- a/config/examples/Creality/CR-10_5S/Configuration_adv.h +++ b/config/examples/Creality/CR-10_5S/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/CR-10mini/Configuration.h b/config/examples/Creality/CR-10mini/Configuration.h index df9c556bce81cc0953221aaa9a72f14f5466faa3..1c6b3d0b8b9ffe58ad41979a7abf8117a2922183 100644 --- a/config/examples/Creality/CR-10mini/Configuration.h +++ b/config/examples/Creality/CR-10mini/Configuration.h @@ -946,6 +946,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/CR-10mini/Configuration_adv.h b/config/examples/Creality/CR-10mini/Configuration_adv.h index b185c25a46ad2c21f691f06da9dd68660c8c7f4a..14f297aa731c6ece40d21ca879f325323a22edf8 100644 --- a/config/examples/Creality/CR-10mini/Configuration_adv.h +++ b/config/examples/Creality/CR-10mini/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/CR-8/Configuration.h b/config/examples/Creality/CR-8/Configuration.h index 3893c0fb9fe101a74467580f50464fc9573f362d..eb2c0bf4d04828009b6a7c89fc51eb4f4003bf9f 100644 --- a/config/examples/Creality/CR-8/Configuration.h +++ b/config/examples/Creality/CR-8/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/CR-8/Configuration_adv.h b/config/examples/Creality/CR-8/Configuration_adv.h index bb0489a3474d2ab2e194d22bafa81f690af1fe7a..f5fe69d04b21ca656630fa84d91739c45b8da4c3 100644 --- a/config/examples/Creality/CR-8/Configuration_adv.h +++ b/config/examples/Creality/CR-8/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/Ender-2/Configuration.h b/config/examples/Creality/Ender-2/Configuration.h index f693b831a5a94a6da2f740f242d5b71ad52928e5..bd22dd900793c30b1410a759fcf33dc469dc9355 100644 --- a/config/examples/Creality/Ender-2/Configuration.h +++ b/config/examples/Creality/Ender-2/Configuration.h @@ -931,6 +931,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/Ender-2/Configuration_adv.h b/config/examples/Creality/Ender-2/Configuration_adv.h index 5732f23c398baaa0275bf2d4d54121d8ed9979d9..1c514ddd449aa0da5f6dcefb79628b54008cf517 100644 --- a/config/examples/Creality/Ender-2/Configuration_adv.h +++ b/config/examples/Creality/Ender-2/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/Ender-3/Configuration.h b/config/examples/Creality/Ender-3/Configuration.h index 201eb25105e3eb8d641e22a2ad5f727e42eaa1ac..377e344e828eccebb9b4a111ec489ad40c4d0247 100644 --- a/config/examples/Creality/Ender-3/Configuration.h +++ b/config/examples/Creality/Ender-3/Configuration.h @@ -931,6 +931,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/Ender-3/Configuration_adv.h b/config/examples/Creality/Ender-3/Configuration_adv.h index d60f515ccad6ecff1ea733eea94e6e2f801f3951..1ebe683e8ec29f26b8511b89b5757af064454d26 100644 --- a/config/examples/Creality/Ender-3/Configuration_adv.h +++ b/config/examples/Creality/Ender-3/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Creality/Ender-4/Configuration.h b/config/examples/Creality/Ender-4/Configuration.h index 669203ec4bc8be10785da355232dbff5261a013b..608e6dccfd29a17bd687e4b33a9d445e16eed3a2 100644 --- a/config/examples/Creality/Ender-4/Configuration.h +++ b/config/examples/Creality/Ender-4/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Creality/Ender-4/Configuration_adv.h b/config/examples/Creality/Ender-4/Configuration_adv.h index 97c63ca1e29178101926df4f858cb4301412fe62..b3f8e0475fdb58a6feba9c8083480c5e4ae7ef41 100644 --- a/config/examples/Creality/Ender-4/Configuration_adv.h +++ b/config/examples/Creality/Ender-4/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Einstart-S/Configuration.h b/config/examples/Einstart-S/Configuration.h index 691b1851a1fa16d035f1c8a93983c864faeeb7a4..45f0ef3f413868dc5c8fa0d1d871d34b8acee0c3 100644 --- a/config/examples/Einstart-S/Configuration.h +++ b/config/examples/Einstart-S/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Einstart-S/Configuration_adv.h b/config/examples/Einstart-S/Configuration_adv.h index 1491e25bf228a141fdff658c118eae82b2874480..bda8036aa007c0ff123af2ded0257674c3e82dc3 100644 --- a/config/examples/Einstart-S/Configuration_adv.h +++ b/config/examples/Einstart-S/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Felix/Configuration.h b/config/examples/Felix/Configuration.h index b2c5a2ede220ef65b26f18b184477cf9b0b34437..f02a9e2203d1af2c59299a401af43f7eda22bdfc 100644 --- a/config/examples/Felix/Configuration.h +++ b/config/examples/Felix/Configuration.h @@ -909,6 +909,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Felix/Configuration_adv.h b/config/examples/Felix/Configuration_adv.h index c83d4aa98ba085dec140861c2d43b6f7ac89cff5..8f40f1305cd2422d00b20d3eff61260c0c5853d2 100644 --- a/config/examples/Felix/Configuration_adv.h +++ b/config/examples/Felix/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Felix/DUAL/Configuration.h b/config/examples/Felix/DUAL/Configuration.h index 4c1d96138ba4bdd2d837a0d05c0c5a6a3d505b8c..530c1e97977bf732c0e71925fe31a4e860934897 100644 --- a/config/examples/Felix/DUAL/Configuration.h +++ b/config/examples/Felix/DUAL/Configuration.h @@ -909,6 +909,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/FlashForge/CreatorPro/Configuration.h b/config/examples/FlashForge/CreatorPro/Configuration.h index f7e3c711908fba90c51ec9dd78cfadd60edfe801..8978fb3baaa15902efff7d3e521bd201ef77af8a 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration.h +++ b/config/examples/FlashForge/CreatorPro/Configuration.h @@ -919,6 +919,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/FlashForge/CreatorPro/Configuration_adv.h b/config/examples/FlashForge/CreatorPro/Configuration_adv.h index e763732dfbed3f32fb28517080778316ad25af19..610fca5b0971f87d5d476096eb2d5b287d9f6237 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration_adv.h +++ b/config/examples/FlashForge/CreatorPro/Configuration_adv.h @@ -903,6 +903,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/FolgerTech/i3-2020/Configuration.h b/config/examples/FolgerTech/i3-2020/Configuration.h index 6fb6795d4a4e4d7039bbc094311012a64b843536..f2b962411a250c0ceb952bb18f527200d2b0729b 100644 --- a/config/examples/FolgerTech/i3-2020/Configuration.h +++ b/config/examples/FolgerTech/i3-2020/Configuration.h @@ -933,6 +933,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/config/examples/FolgerTech/i3-2020/Configuration_adv.h index f6f717a05dee2158bf5c4be4ccf94b642e455f37..15d35a793986659ea125bb4e52c775b4ee1f3065 100644 --- a/config/examples/FolgerTech/i3-2020/Configuration_adv.h +++ b/config/examples/FolgerTech/i3-2020/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Formbot/Raptor/Configuration.h b/config/examples/Formbot/Raptor/Configuration.h index 1ca7912ad27ad10e036b963c360958cfd07028cc..116014d3c14d3e502f180b108848e1964695dd11 100644 --- a/config/examples/Formbot/Raptor/Configuration.h +++ b/config/examples/Formbot/Raptor/Configuration.h @@ -1008,6 +1008,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Formbot/Raptor/Configuration_adv.h b/config/examples/Formbot/Raptor/Configuration_adv.h index 0e6c32b762052ab8eafc401fde0a1280bd650d0e..6916640b99c5a43fe2628ebb2e1e35c7d0685a20 100644 --- a/config/examples/Formbot/Raptor/Configuration_adv.h +++ b/config/examples/Formbot/Raptor/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Formbot/T_Rex_2+/Configuration.h b/config/examples/Formbot/T_Rex_2+/Configuration.h index 864592dfe18ece34b5450664405a8b060afdf801..82d24eb43f0b854129b7744b73a4564c303b77f8 100644 --- a/config/examples/Formbot/T_Rex_2+/Configuration.h +++ b/config/examples/Formbot/T_Rex_2+/Configuration.h @@ -957,6 +957,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Formbot/T_Rex_2+/Configuration_adv.h b/config/examples/Formbot/T_Rex_2+/Configuration_adv.h index 98dfe0fbc93843e18250aa298953cc9972cda87c..b1b76a4447f233d3d06cbe090f38a6ea73765f15 100644 --- a/config/examples/Formbot/T_Rex_2+/Configuration_adv.h +++ b/config/examples/Formbot/T_Rex_2+/Configuration_adv.h @@ -911,6 +911,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Formbot/T_Rex_3/Configuration.h b/config/examples/Formbot/T_Rex_3/Configuration.h index 4ab2609e16fb12f403a345d07db3902d21e6f9f4..992d2c0e1732be09af3e5bd0c0b0f89406325f1b 100644 --- a/config/examples/Formbot/T_Rex_3/Configuration.h +++ b/config/examples/Formbot/T_Rex_3/Configuration.h @@ -943,6 +943,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Formbot/T_Rex_3/Configuration_adv.h b/config/examples/Formbot/T_Rex_3/Configuration_adv.h index 007b170163dee6c8aaef70a416ae0ab7d315288e..4c0dbea2644018f1b639a262ede81ee4a12f1e2a 100644 --- a/config/examples/Formbot/T_Rex_3/Configuration_adv.h +++ b/config/examples/Formbot/T_Rex_3/Configuration_adv.h @@ -911,6 +911,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Geeetech/A10M/Configuration.h b/config/examples/Geeetech/A10M/Configuration.h index 78ae28644373f26012e28c8ccf21aa0dba2bc718..0aa45ee20ae7c4e41288c60de45f3882dd7822e0 100644 --- a/config/examples/Geeetech/A10M/Configuration.h +++ b/config/examples/Geeetech/A10M/Configuration.h @@ -910,6 +910,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/A10M/Configuration_adv.h b/config/examples/Geeetech/A10M/Configuration_adv.h index 761eb9425cb77ec0901bd2f3093a0467efa28ca0..f6b005ad4f1391d7276f2627081f91da316f5402 100644 --- a/config/examples/Geeetech/A10M/Configuration_adv.h +++ b/config/examples/Geeetech/A10M/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Geeetech/A20M/Configuration.h b/config/examples/Geeetech/A20M/Configuration.h index 41521febaf8ccb4b915469dd86e7f43f64876fae..6c7b93cff878354f7504120296e651d69a433579 100644 --- a/config/examples/Geeetech/A20M/Configuration.h +++ b/config/examples/Geeetech/A20M/Configuration.h @@ -910,6 +910,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/A20M/Configuration_adv.h b/config/examples/Geeetech/A20M/Configuration_adv.h index 3ac7129deb01e420387d3c90ef934851bf0053d7..8d9fd635b3d95eaf8aa2bf9881cfddcc012f8b81 100644 --- a/config/examples/Geeetech/A20M/Configuration_adv.h +++ b/config/examples/Geeetech/A20M/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Geeetech/GT2560/Configuration.h b/config/examples/Geeetech/GT2560/Configuration.h index bc30ce2490ded6e3ff7ba95d93b0214e8d2c2528..bd7800bb7e28e409c6032ad9163b69d7110c80e6 100644 --- a/config/examples/Geeetech/GT2560/Configuration.h +++ b/config/examples/Geeetech/GT2560/Configuration.h @@ -942,6 +942,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h b/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h index 2cbb20cc5c941185aad6140f7f0af1f40adeeeb1..6605797f21e1432ec0a9056380f69601e512a0d9 100644 --- a/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h +++ b/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h @@ -916,6 +916,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/MeCreator2/Configuration.h b/config/examples/Geeetech/MeCreator2/Configuration.h index 32bbfb2443c9f267e6a8a4b9d3d68acd220127de..d969f9803d6526f8c8e472f71ce22d1745ca13d4 100644 --- a/config/examples/Geeetech/MeCreator2/Configuration.h +++ b/config/examples/Geeetech/MeCreator2/Configuration.h @@ -934,6 +934,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/MeCreator2/Configuration_adv.h b/config/examples/Geeetech/MeCreator2/Configuration_adv.h index da1bbf5e561b10df9591469ab35cbd4fca70b0e4..9a3f3e399e47916afdbf004c431a55675d69fe29 100644 --- a/config/examples/Geeetech/MeCreator2/Configuration_adv.h +++ b/config/examples/Geeetech/MeCreator2/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h index 5930323a6645920dadf49051ea2dc825ac0770e8..604ec61f2b36675d07d257948ee9f0f4ea071937 100644 --- a/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h @@ -943,6 +943,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h index 04e22e101817d1c039de922fbbd0deb3be2dc48f..03917da9a7e5f8253cab478ab85cfe200030af5d 100644 --- a/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h @@ -942,6 +942,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h index 55f06bdab549dcdc03e3bec76e73585a4f45711d..666ce8988960cc4fb98fb7a641d9338fc5aca6ca 100644 --- a/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h b/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h index 9f780bffbd444374e82e8833b3464098dadca160..9ce632f430d3b8b2b832e5030b243b3a1544639d 100644 --- a/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h +++ b/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h index bddc8923301954c27a7df4a597d164ff140d8945..6edcc7494e3072ca7d5d49ef2b0da96a82dc0681 100644 --- a/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h b/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h index 9f780bffbd444374e82e8833b3464098dadca160..9ce632f430d3b8b2b832e5030b243b3a1544639d 100644 --- a/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h +++ b/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Infitary/i3-M508/Configuration.h b/config/examples/Infitary/i3-M508/Configuration.h index a3dcedd901a8bd4064b86f8519ec1fc0280d5518..f859c701286a706a677848d01286f9cc14d991fc 100644 --- a/config/examples/Infitary/i3-M508/Configuration.h +++ b/config/examples/Infitary/i3-M508/Configuration.h @@ -931,6 +931,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Infitary/i3-M508/Configuration_adv.h b/config/examples/Infitary/i3-M508/Configuration_adv.h index 8abadb35bc8b4f21849d8d019578c838a2abff6e..dc3a730317f73c7eef9751ad9ffc20c4c6e27a0a 100644 --- a/config/examples/Infitary/i3-M508/Configuration_adv.h +++ b/config/examples/Infitary/i3-M508/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/JGAurora/A5/Configuration.h b/config/examples/JGAurora/A5/Configuration.h index 8f3bc49dea868ada178324a2ddf207529927886f..4e2e0c7f30693475eab3e4e773a74245e85cf8c3 100644 --- a/config/examples/JGAurora/A5/Configuration.h +++ b/config/examples/JGAurora/A5/Configuration.h @@ -939,6 +939,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/JGAurora/A5/Configuration_adv.h b/config/examples/JGAurora/A5/Configuration_adv.h index 506adb80f750f1c131c44be7707502e8c41dc36e..bca54f85aa5ca2daea5bd699032882c96bc8ca8d 100644 --- a/config/examples/JGAurora/A5/Configuration_adv.h +++ b/config/examples/JGAurora/A5/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/MakerParts/Configuration.h b/config/examples/MakerParts/Configuration.h index 9635afe50bf7f4f21e515968ded1654191021340..e06c956457001759794bcdbc4f40ea7136301756 100644 --- a/config/examples/MakerParts/Configuration.h +++ b/config/examples/MakerParts/Configuration.h @@ -947,6 +947,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/MakerParts/Configuration_adv.h b/config/examples/MakerParts/Configuration_adv.h index 5b1be895f66c573240123f74868f517d91d5379f..3e8231a8d4f69975470009adbe9e8cacf8b9c750 100644 --- a/config/examples/MakerParts/Configuration_adv.h +++ b/config/examples/MakerParts/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Malyan/M150/Configuration.h b/config/examples/Malyan/M150/Configuration.h index b75cf688eec32cc822061b39a00db15b83bbfcde..e382233f69d13c8e8dd667020cadfbe4ccdf59e4 100644 --- a/config/examples/Malyan/M150/Configuration.h +++ b/config/examples/Malyan/M150/Configuration.h @@ -951,6 +951,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Malyan/M150/Configuration_adv.h b/config/examples/Malyan/M150/Configuration_adv.h index a510e670ee452475c79e377c325d49cc09ee64a8..4fe876353e40f6dc9c1f5aec8fbd23d3cae25b3d 100644 --- a/config/examples/Malyan/M150/Configuration_adv.h +++ b/config/examples/Malyan/M150/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Malyan/M200/Configuration.h b/config/examples/Malyan/M200/Configuration.h index fce109b27b42a5b3d832420ee20d70ad990a68d3..c9051fb748f4d39c3b688b8a6a974e35db26a015 100644 --- a/config/examples/Malyan/M200/Configuration.h +++ b/config/examples/Malyan/M200/Configuration.h @@ -926,6 +926,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Malyan/M200/Configuration_adv.h b/config/examples/Malyan/M200/Configuration_adv.h index 19d8e67363594fb32fe4dc6eae4ecb181b7eaaf2..c539ec787f93fa23f325c54a856e4bc55fcba00f 100644 --- a/config/examples/Malyan/M200/Configuration_adv.h +++ b/config/examples/Malyan/M200/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Micromake/C1/basic/Configuration.h b/config/examples/Micromake/C1/basic/Configuration.h index 1b8d4f87332dc6fe3f41164ee4ab8f7519605c4b..24e930d20baae5d37e9c7301107f6d025bfa72e5 100644 --- a/config/examples/Micromake/C1/basic/Configuration.h +++ b/config/examples/Micromake/C1/basic/Configuration.h @@ -931,6 +931,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Micromake/C1/enhanced/Configuration.h b/config/examples/Micromake/C1/enhanced/Configuration.h index 04385e406f68d374ccf46beefc64a0b7ce1ee4b9..2b0413b90b83b18b4a904a88eb7fa5075b939569 100644 --- a/config/examples/Micromake/C1/enhanced/Configuration.h +++ b/config/examples/Micromake/C1/enhanced/Configuration.h @@ -931,6 +931,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/config/examples/Micromake/C1/enhanced/Configuration_adv.h index ecfa6fc01d310cc00af3bd618d4dd4900e1aeadf..1612370ee1d2b94d3e40b968b2f2ede492e9481f 100644 --- a/config/examples/Micromake/C1/enhanced/Configuration_adv.h +++ b/config/examples/Micromake/C1/enhanced/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Mks/Robin/Configuration.h b/config/examples/Mks/Robin/Configuration.h index c33b81fe57dee018ee0db6f82f40abea6f73db8a..97af15a496e44462c24ca80f92c0d5426c2d922b 100644 --- a/config/examples/Mks/Robin/Configuration.h +++ b/config/examples/Mks/Robin/Configuration.h @@ -928,6 +928,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Mks/Robin/Configuration_adv.h b/config/examples/Mks/Robin/Configuration_adv.h index 6b219b173fca73454348e26cdeb1619f1499a93a..c80fea52d9dd2a51dfe91434d2f060c3e1cd1dec 100644 --- a/config/examples/Mks/Robin/Configuration_adv.h +++ b/config/examples/Mks/Robin/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Mks/Sbase/Configuration.h b/config/examples/Mks/Sbase/Configuration.h index a0d8278532b5417c12fba5fd221332d1112be2fb..0bdf95a2c4247506a3631f74bdb070d89acafe74 100644 --- a/config/examples/Mks/Sbase/Configuration.h +++ b/config/examples/Mks/Sbase/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Mks/Sbase/Configuration_adv.h b/config/examples/Mks/Sbase/Configuration_adv.h index d7647cdbb478e17c670c045cfed4727f07823eb5..54790cf2e44d9d412dd724cd90afd93d817fb55e 100644 --- a/config/examples/Mks/Sbase/Configuration_adv.h +++ b/config/examples/Mks/Sbase/Configuration_adv.h @@ -908,6 +908,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Printrbot/PrintrboardG2/Configuration.h b/config/examples/Printrbot/PrintrboardG2/Configuration.h index 146b602562f33116be07abeb8878fd59caab5bf4..e944085fc92fd17393348a28845dccb9f24a55d6 100644 --- a/config/examples/Printrbot/PrintrboardG2/Configuration.h +++ b/config/examples/Printrbot/PrintrboardG2/Configuration.h @@ -935,6 +935,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/RapideLite/RL200/Configuration.h b/config/examples/RapideLite/RL200/Configuration.h index 31295a053e04cae7023f6747ffec245e5ab7ec62..d3c2f4cc944b9d1140d49bd2ee8b0b45fb7dd57b 100644 --- a/config/examples/RapideLite/RL200/Configuration.h +++ b/config/examples/RapideLite/RL200/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/RapideLite/RL200/Configuration_adv.h b/config/examples/RapideLite/RL200/Configuration_adv.h index 992e2eb2dd9f5376b56859471eab66c655685b89..5f000c2630283c72d8ed46209cf5f59fd5234485 100644 --- a/config/examples/RapideLite/RL200/Configuration_adv.h +++ b/config/examples/RapideLite/RL200/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/RepRapPro/Huxley/Configuration.h b/config/examples/RepRapPro/Huxley/Configuration.h index f700f548fa2f7802aeeb0464dbe4b56f9b5f1f0a..749afb889a6b7d51f31a55f6316cc616f2f4a3f2 100644 --- a/config/examples/RepRapPro/Huxley/Configuration.h +++ b/config/examples/RepRapPro/Huxley/Configuration.h @@ -967,6 +967,9 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/RepRapWorld/Megatronics/Configuration.h b/config/examples/RepRapWorld/Megatronics/Configuration.h index 3524325916bafe21bcac7c1a2021f16b7d662aae..79fceac73a88f870234100f02732ed8bf368904d 100644 --- a/config/examples/RepRapWorld/Megatronics/Configuration.h +++ b/config/examples/RepRapWorld/Megatronics/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/RigidBot/Configuration.h b/config/examples/RigidBot/Configuration.h index c960509189ac59584333dc2b9aa74eb22224d510..3fbd34e9c35bda1dd822bf366199b1516d29cd6f 100644 --- a/config/examples/RigidBot/Configuration.h +++ b/config/examples/RigidBot/Configuration.h @@ -925,6 +925,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/RigidBot/Configuration_adv.h b/config/examples/RigidBot/Configuration_adv.h index be26c1a8cf6845af07dc1e8e170beed67a56177b..254b7fe25a2108e1cc1a61a3fd3b2857e895afec 100644 --- a/config/examples/RigidBot/Configuration_adv.h +++ b/config/examples/RigidBot/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/SCARA/Configuration.h b/config/examples/SCARA/Configuration.h index 808bc90b1fbaea1de795383a56e49e61b2b124ca..86a0b9e88a0d473b410e0cbb113f5b7a1f05b867 100644 --- a/config/examples/SCARA/Configuration.h +++ b/config/examples/SCARA/Configuration.h @@ -940,6 +940,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/SCARA/Configuration_adv.h b/config/examples/SCARA/Configuration_adv.h index 15ebe1165f52608d53f8a75932bbb1c5f36ba884..f9130e327726bc0b0158262fdfeccbc1bf8a0606 100644 --- a/config/examples/SCARA/Configuration_adv.h +++ b/config/examples/SCARA/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/STM32/Black_STM32F407VET6/Configuration.h b/config/examples/STM32/Black_STM32F407VET6/Configuration.h index 5939baa2362be21e27a4b743607dec4f1932be4d..f34dee19d37a8ff74dca4a58440b8128878c0144 100644 --- a/config/examples/STM32/Black_STM32F407VET6/Configuration.h +++ b/config/examples/STM32/Black_STM32F407VET6/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h b/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h index 57d21c1dfccbe95c1558df8c5a6ce628b73aa841..e1d82bca2b27ef22cdf3302c449fcd24ff88fae1 100644 --- a/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h +++ b/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h @@ -904,6 +904,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/STM32/STM32F10/Configuration.h b/config/examples/STM32/STM32F10/Configuration.h index 1d8a02a0e8239859dd9084eb5dc108fdb5e6d1ce..76cbc4575bf4d8b3b334b75b6d7976b5229d92d9 100644 --- a/config/examples/STM32/STM32F10/Configuration.h +++ b/config/examples/STM32/STM32F10/Configuration.h @@ -929,6 +929,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/STM32/STM32F4/Configuration.h b/config/examples/STM32/STM32F4/Configuration.h index 6055e39f44c0ec341a9e931642371d4d47106ebc..3c4a93c8160125f88f0c35666b3f1e8fdcf24278 100644 --- a/config/examples/STM32/STM32F4/Configuration.h +++ b/config/examples/STM32/STM32F4/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/STM32/stm32f103ret6/Configuration.h b/config/examples/STM32/stm32f103ret6/Configuration.h index 5eaaceaf84e658282f11782923c9671fd43dc52c..6ee6cbbcef19df2b0e06c96cecee9bd5ea6f28c7 100644 --- a/config/examples/STM32/stm32f103ret6/Configuration.h +++ b/config/examples/STM32/stm32f103ret6/Configuration.h @@ -929,6 +929,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Sanguinololu/Configuration.h b/config/examples/Sanguinololu/Configuration.h index 9648c4ba38287977043aee039ee29f68425f7b50..8b8e85259db650ffdf34d4c3939d7fb3e7478b69 100644 --- a/config/examples/Sanguinololu/Configuration.h +++ b/config/examples/Sanguinololu/Configuration.h @@ -958,6 +958,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Sanguinololu/Configuration_adv.h b/config/examples/Sanguinololu/Configuration_adv.h index a5c92bd42cc6449e83a2e956a60e80cd197d063d..1da68e1bbe3282e7dda87df1f65338e6ed25800e 100644 --- a/config/examples/Sanguinololu/Configuration_adv.h +++ b/config/examples/Sanguinololu/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/TheBorg/Configuration.h b/config/examples/TheBorg/Configuration.h index b86c5ad4addd812b9361a68926c016aa6c0cf77a..9fb8ed0298d07d5f9ee7e579c7b400e94b2c7304 100644 --- a/config/examples/TheBorg/Configuration.h +++ b/config/examples/TheBorg/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/TheBorg/Configuration_adv.h b/config/examples/TheBorg/Configuration_adv.h index de573b832bef72a272ed470570f85889942711f8..8dc8f192799122546647acee02c33deeeee84716 100644 --- a/config/examples/TheBorg/Configuration_adv.h +++ b/config/examples/TheBorg/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/TinyBoy2/Configuration.h b/config/examples/TinyBoy2/Configuration.h index a4dd933d37003e671d6451562853c3d2ccd6e289..7f1935c531e0522d76295eead4c8e6dbd28117c7 100644 --- a/config/examples/TinyBoy2/Configuration.h +++ b/config/examples/TinyBoy2/Configuration.h @@ -978,6 +978,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/TinyBoy2/Configuration_adv.h b/config/examples/TinyBoy2/Configuration_adv.h index 4d057761a4d7d90406d9df84b189fafd70c00a69..a7c8779ec07657bef153156a06c5313aa476c107 100644 --- a/config/examples/TinyBoy2/Configuration_adv.h +++ b/config/examples/TinyBoy2/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Tronxy/X1/Configuration.h b/config/examples/Tronxy/X1/Configuration.h index a78d57d9dbeadd91026ecf53ac9a27a1c0eb8318..02af26a50f44813b84f18f16c9d831b56b68147c 100644 --- a/config/examples/Tronxy/X1/Configuration.h +++ b/config/examples/Tronxy/X1/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Tronxy/X3A/Configuration.h b/config/examples/Tronxy/X3A/Configuration.h index 1513d66abd7e0429642a07a2c0db4f2b11db8377..549b9a3ccdb27c70437fc9d1df471290c3a24c19 100644 --- a/config/examples/Tronxy/X3A/Configuration.h +++ b/config/examples/Tronxy/X3A/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Tronxy/X3A/Configuration_adv.h b/config/examples/Tronxy/X3A/Configuration_adv.h index cf9e4dd089d713a41e5b86a3c211eabda723e270..a8d4d95bfaea5801085567906c0533322d0c9d81 100644 --- a/config/examples/Tronxy/X3A/Configuration_adv.h +++ b/config/examples/Tronxy/X3A/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Tronxy/X5S-2E/Configuration.h b/config/examples/Tronxy/X5S-2E/Configuration.h index a37161a280397a78679facfcda4ceffea665b721..0658378a25861b99e933cecd361b2f964a67a4f7 100644 --- a/config/examples/Tronxy/X5S-2E/Configuration.h +++ b/config/examples/Tronxy/X5S-2E/Configuration.h @@ -948,6 +948,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Tronxy/X5S-2E/Configuration_adv.h b/config/examples/Tronxy/X5S-2E/Configuration_adv.h index a282c61af5ee314384aae9a2f16d055ad4f8a5eb..b95d37479f8f1c5ffe3b2e8109f86a7fdc3b4c21 100644 --- a/config/examples/Tronxy/X5S-2E/Configuration_adv.h +++ b/config/examples/Tronxy/X5S-2E/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Tronxy/X5S/Configuration.h b/config/examples/Tronxy/X5S/Configuration.h index 06cde48f74336cbc1332a234b2047948ceeca312..736f158d93945a43a7a73d970babfbf61f69eabe 100644 --- a/config/examples/Tronxy/X5S/Configuration.h +++ b/config/examples/Tronxy/X5S/Configuration.h @@ -926,6 +926,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Tronxy/XY100/Configuration.h b/config/examples/Tronxy/XY100/Configuration.h index 627f95c503afddc1bb7805a13d5913fb2f91cb2c..063464181248f0fbf772be4f3365bebe0c98f401 100644 --- a/config/examples/Tronxy/XY100/Configuration.h +++ b/config/examples/Tronxy/XY100/Configuration.h @@ -938,6 +938,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/UltiMachine/Archim1/Configuration.h b/config/examples/UltiMachine/Archim1/Configuration.h index a92ad948f90f8deb207e529dad12a4b3a42a7ab3..06cd59ad41f8d08775007fc8e52abf8da094c25f 100644 --- a/config/examples/UltiMachine/Archim1/Configuration.h +++ b/config/examples/UltiMachine/Archim1/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/UltiMachine/Archim1/Configuration_adv.h b/config/examples/UltiMachine/Archim1/Configuration_adv.h index a22b6ed88660d4957e94199d08dfbadf208f1304..cc546fc458bca3064c6c6a0dfe356a245a886eea 100644 --- a/config/examples/UltiMachine/Archim1/Configuration_adv.h +++ b/config/examples/UltiMachine/Archim1/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/UltiMachine/Archim2/Configuration.h b/config/examples/UltiMachine/Archim2/Configuration.h index 04116277239b7ff887909ac9640a24b239f2135a..fd4fe1e07c873ab4c86adbc3f099bcf8afefb848 100644 --- a/config/examples/UltiMachine/Archim2/Configuration.h +++ b/config/examples/UltiMachine/Archim2/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/UltiMachine/Archim2/Configuration_adv.h b/config/examples/UltiMachine/Archim2/Configuration_adv.h index 7dac73d66169d5b23c0b86201c98b4d2d16fb6a8..77187771813b1b2241f32332f0ccf6d3efd29edc 100644 --- a/config/examples/UltiMachine/Archim2/Configuration_adv.h +++ b/config/examples/UltiMachine/Archim2/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/VORONDesign/Configuration.h b/config/examples/VORONDesign/Configuration.h index 93265bf12f44be6aaa79eccee5ccf3b60e5139c3..f043405d23349e56c6531e5c19f2d2a59f9ee420 100644 --- a/config/examples/VORONDesign/Configuration.h +++ b/config/examples/VORONDesign/Configuration.h @@ -936,6 +936,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/VORONDesign/Configuration_adv.h b/config/examples/VORONDesign/Configuration_adv.h index 0321758a8f795a040c0207bfd57b942fe8e714d0..b384173728f5097be465b65b3387e0abbb348cd5 100644 --- a/config/examples/VORONDesign/Configuration_adv.h +++ b/config/examples/VORONDesign/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Velleman/K8200/Configuration.h b/config/examples/Velleman/K8200/Configuration.h index b280258ac1d4656b4f4d310b1b5b3a0747557777..fb749e8433529006cad0649352faccfa9f6a6d9e 100644 --- a/config/examples/Velleman/K8200/Configuration.h +++ b/config/examples/Velleman/K8200/Configuration.h @@ -956,6 +956,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Velleman/K8200/Configuration_adv.h b/config/examples/Velleman/K8200/Configuration_adv.h index 4d35af10546ca329d35700d6d0b9cb265f3a4952..4c5af6744620480c79bd069fbeb8fdf24e670465 100644 --- a/config/examples/Velleman/K8200/Configuration_adv.h +++ b/config/examples/Velleman/K8200/Configuration_adv.h @@ -920,6 +920,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Velleman/K8400/Configuration.h b/config/examples/Velleman/K8400/Configuration.h index 0860d62a9bf179c5adbb7990c7da7829b5c8e249..24aeab6486fcf8b124de24c77141282123f8ceec 100644 --- a/config/examples/Velleman/K8400/Configuration.h +++ b/config/examples/Velleman/K8400/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Velleman/K8400/Configuration_adv.h b/config/examples/Velleman/K8400/Configuration_adv.h index ea433cef333324631ba0dbc446e31e243bef3ff6..25cd89e9e3b5b061a151bb458513c52126e9dd64 100644 --- a/config/examples/Velleman/K8400/Configuration_adv.h +++ b/config/examples/Velleman/K8400/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Velleman/K8400/Dual-head/Configuration.h b/config/examples/Velleman/K8400/Dual-head/Configuration.h index 0f50541dc29f5e0c5b76bd6a490b3048a6c3c950..2438b75856b77579a820e6a85a7a831f856291c4 100644 --- a/config/examples/Velleman/K8400/Dual-head/Configuration.h +++ b/config/examples/Velleman/K8400/Dual-head/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/WASP/PowerWASP/Configuration.h b/config/examples/WASP/PowerWASP/Configuration.h index bbe15292347a099aaa2db8c09a2b653bc42f1c2e..5b234bf0a3e95eb412e9028eec6c797385bb7a63 100644 --- a/config/examples/WASP/PowerWASP/Configuration.h +++ b/config/examples/WASP/PowerWASP/Configuration.h @@ -946,6 +946,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/WASP/PowerWASP/Configuration_adv.h b/config/examples/WASP/PowerWASP/Configuration_adv.h index 32f9359eb8e96ab7d3b06de74ad6aa6be6f40daa..ede4b7223dd9077322d5f121f2f9ec5b83fbc07e 100644 --- a/config/examples/WASP/PowerWASP/Configuration_adv.h +++ b/config/examples/WASP/PowerWASP/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/Wanhao/Duplicator 6/Configuration.h b/config/examples/Wanhao/Duplicator 6/Configuration.h index ac98dac17dc36c9d333ef7d976a7208ebc4bd2d1..78d8d6bf1aa573d09bafed96c3e46672b6a81e8b 100644 --- a/config/examples/Wanhao/Duplicator 6/Configuration.h +++ b/config/examples/Wanhao/Duplicator 6/Configuration.h @@ -937,6 +937,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/config/examples/Wanhao/Duplicator 6/Configuration_adv.h index cd0826a4c74415d547853a618ed612d64222aed9..a10c6917f8a8138c459fd4786819c76e23d0651e 100644 --- a/config/examples/Wanhao/Duplicator 6/Configuration_adv.h +++ b/config/examples/Wanhao/Duplicator 6/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/adafruit/ST7565/Configuration.h b/config/examples/adafruit/ST7565/Configuration.h index bd72ff2bc3b734c113214c5315774e0c791a20cf..4ceeb498bab6640ab278e2946ae31c4d5b4e3d5a 100644 --- a/config/examples/adafruit/ST7565/Configuration.h +++ b/config/examples/adafruit/ST7565/Configuration.h @@ -927,6 +927,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/Anycubic/Kossel/Configuration_adv.h b/config/examples/delta/Anycubic/Kossel/Configuration_adv.h index 50aa34eaea87107fc25187d5e05a0c31960bfeca..13fafbf16d148c77f35f55a65ad39cba6212cdd3 100644 --- a/config/examples/delta/Anycubic/Kossel/Configuration_adv.h +++ b/config/examples/delta/Anycubic/Kossel/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/FLSUN/auto_calibrate/Configuration.h b/config/examples/delta/FLSUN/auto_calibrate/Configuration.h index fab7299f5e04703966e712bdde8b7d9e914e3eae..f83290a9eb191743f519cfc12b122c604aa3a155 100644 --- a/config/examples/delta/FLSUN/auto_calibrate/Configuration.h +++ b/config/examples/delta/FLSUN/auto_calibrate/Configuration.h @@ -1055,6 +1055,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h index 23eae39bc81316753cb8f3ee4fdd372e79837305..687c18769986da5bb6740dd4c29dd413a1b57565 100644 --- a/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/FLSUN/kossel/Configuration.h b/config/examples/delta/FLSUN/kossel/Configuration.h index 0de887940aba201c1567bc8fd76d07fb9d4234c4..d95d6da0564575737d6bc66107d415fb3ebf24ce 100644 --- a/config/examples/delta/FLSUN/kossel/Configuration.h +++ b/config/examples/delta/FLSUN/kossel/Configuration.h @@ -1054,6 +1054,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/config/examples/delta/FLSUN/kossel/Configuration_adv.h index 23eae39bc81316753cb8f3ee4fdd372e79837305..687c18769986da5bb6740dd4c29dd413a1b57565 100644 --- a/config/examples/delta/FLSUN/kossel/Configuration_adv.h +++ b/config/examples/delta/FLSUN/kossel/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/FLSUN/kossel_mini/Configuration.h b/config/examples/delta/FLSUN/kossel_mini/Configuration.h index 056e94b9342caa62f18b3cf277fea574399e3a7a..22154ab350382bda54b8d8292035aae635da6af4 100644 --- a/config/examples/delta/FLSUN/kossel_mini/Configuration.h +++ b/config/examples/delta/FLSUN/kossel_mini/Configuration.h @@ -1054,6 +1054,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h index b8ad190cbcba5149bc6c76c1cc788b0218e4f701..9a476d2835bec7c7f73dc14597c4b5bd6e007c2a 100644 --- a/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/Geeetech/Rostock 301/Configuration.h b/config/examples/delta/Geeetech/Rostock 301/Configuration.h index 29267ce80e1e9afa331e58f6010233cdb7d3ad2e..42d183a8e4632d30fb44b47eccdc6d2986b7fe0c 100644 --- a/config/examples/delta/Geeetech/Rostock 301/Configuration.h +++ b/config/examples/delta/Geeetech/Rostock 301/Configuration.h @@ -1042,6 +1042,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h b/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h index b8ad190cbcba5149bc6c76c1cc788b0218e4f701..9a476d2835bec7c7f73dc14597c4b5bd6e007c2a 100644 --- a/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h +++ b/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/Hatchbox_Alpha/Configuration.h b/config/examples/delta/Hatchbox_Alpha/Configuration.h index 59b530225bcf33b2439f3373b8d32df022c1f5a7..fd9fc95c840e817f774f58717ca682d922dc57a3 100644 --- a/config/examples/delta/Hatchbox_Alpha/Configuration.h +++ b/config/examples/delta/Hatchbox_Alpha/Configuration.h @@ -1057,6 +1057,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/MKS/SBASE/Configuration.h b/config/examples/delta/MKS/SBASE/Configuration.h index 7756e40eba300e7581356c80631fa2c4218b7ec3..94ddadc040fcd364d7e9fc68318a9528bf42a545 100644 --- a/config/examples/delta/MKS/SBASE/Configuration.h +++ b/config/examples/delta/MKS/SBASE/Configuration.h @@ -1042,6 +1042,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/MKS/SBASE/Configuration_adv.h b/config/examples/delta/MKS/SBASE/Configuration_adv.h index 6094214706d5206574c42c867538be082597ecb9..d67eb3e2ab58f29b228d27a330b3f7904809fbad 100644 --- a/config/examples/delta/MKS/SBASE/Configuration_adv.h +++ b/config/examples/delta/MKS/SBASE/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/Tevo Little Monster/Configuration.h b/config/examples/delta/Tevo Little Monster/Configuration.h index dc9e9f22a0040456b796425e8d028bcc11369e3c..c27c9fd11b90c5e6d2e9b37b943a46f923bfde92 100644 --- a/config/examples/delta/Tevo Little Monster/Configuration.h +++ b/config/examples/delta/Tevo Little Monster/Configuration.h @@ -1035,6 +1035,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/Tevo Little Monster/Configuration_adv.h b/config/examples/delta/Tevo Little Monster/Configuration_adv.h index fce18e076e2f1f2e20e4a84fb6171da6f2b496e4..d40672f51175c3984b16569e849eac199410c5e4 100644 --- a/config/examples/delta/Tevo Little Monster/Configuration_adv.h +++ b/config/examples/delta/Tevo Little Monster/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/generic/Configuration.h b/config/examples/delta/generic/Configuration.h index 470c82c21ae502965fa866cea02ed5800d8c37d6..685b30bc5a446a563caf9bcaa18a965d2edc15fc 100644 --- a/config/examples/delta/generic/Configuration.h +++ b/config/examples/delta/generic/Configuration.h @@ -1042,6 +1042,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/generic/Configuration_adv.h b/config/examples/delta/generic/Configuration_adv.h index b8ad190cbcba5149bc6c76c1cc788b0218e4f701..9a476d2835bec7c7f73dc14597c4b5bd6e007c2a 100644 --- a/config/examples/delta/generic/Configuration_adv.h +++ b/config/examples/delta/generic/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/kossel_mini/Configuration.h b/config/examples/delta/kossel_mini/Configuration.h index 181f699ec505e2fb98858e35b90b39d1f3105603..bd668c0745e725c72dc1662b3242c6dd1fc00cca 100644 --- a/config/examples/delta/kossel_mini/Configuration.h +++ b/config/examples/delta/kossel_mini/Configuration.h @@ -1044,6 +1044,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/kossel_mini/Configuration_adv.h b/config/examples/delta/kossel_mini/Configuration_adv.h index 05b3055c8d4db4aaa528f4b107bc439962d5a030..56e0841ff16bc03774584e0cbe06809fce92f462 100644 --- a/config/examples/delta/kossel_mini/Configuration_adv.h +++ b/config/examples/delta/kossel_mini/Configuration_adv.h @@ -905,6 +905,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/delta/kossel_pro/Configuration.h b/config/examples/delta/kossel_pro/Configuration.h index 75fa32ee6e03c20332c98485014521697ab6d9f6..44cc6a30a36b71915e57e6cdd86fad587f0e157a 100644 --- a/config/examples/delta/kossel_pro/Configuration.h +++ b/config/examples/delta/kossel_pro/Configuration.h @@ -1045,6 +1045,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/kossel_xl/Configuration.h b/config/examples/delta/kossel_xl/Configuration.h index a21d21d9ecc6289724359003038c8023805d05e9..1b18389b42fd926aa58336c8a35404b37ff12e9a 100644 --- a/config/examples/delta/kossel_xl/Configuration.h +++ b/config/examples/delta/kossel_xl/Configuration.h @@ -1045,6 +1045,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/delta/kossel_xl/Configuration_adv.h b/config/examples/delta/kossel_xl/Configuration_adv.h index 0b5a94d9b6d4de5eb3377f5870ac0ef17d563ef5..461ec562848af9177e3b44fc54a683df9cd5e3d3 100644 --- a/config/examples/delta/kossel_xl/Configuration_adv.h +++ b/config/examples/delta/kossel_xl/Configuration_adv.h @@ -906,6 +906,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/gCreate/gMax1.5+/Configuration.h b/config/examples/gCreate/gMax1.5+/Configuration.h index b71bf23935bc2db7604157bb62a355750d5f3745..9c372a0ea0f1b9d3ca14c33e0c3056cfa7bf9ece 100644 --- a/config/examples/gCreate/gMax1.5+/Configuration.h +++ b/config/examples/gCreate/gMax1.5+/Configuration.h @@ -929,6 +929,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/config/examples/gCreate/gMax1.5+/Configuration_adv.h index f27820d33dc24c5b821a8c0fe031d5be704d726a..9a191875f0f18725bebeb397499a7d78b343111e 100644 --- a/config/examples/gCreate/gMax1.5+/Configuration_adv.h +++ b/config/examples/gCreate/gMax1.5+/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/makibox/Configuration.h b/config/examples/makibox/Configuration.h index c19ba37b0135e52018d4c90a7420a3ab2901f35b..495190c9cf63b111b2a465581977ce3c61af3571 100644 --- a/config/examples/makibox/Configuration.h +++ b/config/examples/makibox/Configuration.h @@ -930,6 +930,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/makibox/Configuration_adv.h b/config/examples/makibox/Configuration_adv.h index 05ab76e3090d39d57d8ab49b70512880d841eba4..f767975e31983234e052a2fe6ccb30af5d4452bd 100644 --- a/config/examples/makibox/Configuration_adv.h +++ b/config/examples/makibox/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/tvrrug/Round2/Configuration.h b/config/examples/tvrrug/Round2/Configuration.h index 7cd185a3af015c12c5dd3860d04e7689a2e1d67e..d46552e33ca6e9e66dcb4151580319072a8f5829 100644 --- a/config/examples/tvrrug/Round2/Configuration.h +++ b/config/examples/tvrrug/Round2/Configuration.h @@ -922,6 +922,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/tvrrug/Round2/Configuration_adv.h b/config/examples/tvrrug/Round2/Configuration_adv.h index 3ff5c9a4bdec941818ae806700f01fbe2e84c69b..b86f03f40e157c8a8481aad9c1050dc30c369d80 100644 --- a/config/examples/tvrrug/Round2/Configuration_adv.h +++ b/config/examples/tvrrug/Round2/Configuration_adv.h @@ -907,6 +907,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /** diff --git a/config/examples/wt150/Configuration.h b/config/examples/wt150/Configuration.h index 8a0b0401cbf522dd0944eb97070fab1dd7d71796..5c22c426c55b0cf4c6af708aec6db8af2f1594d4 100644 --- a/config/examples/wt150/Configuration.h +++ b/config/examples/wt150/Configuration.h @@ -932,6 +932,9 @@ // Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW +#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) + //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe +#endif /** * Enable one or more of the following if probing seems unreliable. diff --git a/config/examples/wt150/Configuration_adv.h b/config/examples/wt150/Configuration_adv.h index 19063f97e895e9b97d5c2a462648c2521d853fd5..30a090a411d0011e4c4bb2d0ad2646c882c2a047 100644 --- a/config/examples/wt150/Configuration_adv.h +++ b/config/examples/wt150/Configuration_adv.h @@ -908,6 +908,17 @@ // Add an optimized binary file transfer mode, initiated with 'M28 B1' //#define BINARY_FILE_TRANSFER + // LPC-based boards have on-board SD Card options. Override here or defaults apply. + #ifdef TARGET_LPC1768 + //#define LPC_SD_LCD // Use the SD drive in the external LCD controller. + //#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.) + //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file). + //#define USB_SD_DISABLED // Disable SD Card access over USB (for security). + #if ENABLED(LPC_SD_ONBOARD) + //#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device. + #endif + #endif + #endif // SDSUPPORT /**