Bump to head for eeprom fixes

This commit is contained in:
InsanityAutomation
2018-10-12 10:49:08 -04:00
parent 37fb804933
commit f6f04c0e10
228 changed files with 5442 additions and 1983 deletions
+5 -1
View File
@@ -25,7 +25,7 @@
//#define X_2208
//#define X_Spreadcycle
//#define Y_2208
//#define Y_2208 // Highly recommended as large prints with high mass can cause layer shifts with stealthchop at high speed
//#define Y_Spreadcycle
//#define Z_2208 // NOT Recommended! Dual stepper current draw is above the recommended limit for this driver
//#define Y_Spreadcycle
@@ -1055,7 +1055,11 @@
#define FILAMENT_RUNOUT_SENSOR
#endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#if ENABLED(TREX3)
#define NUM_RUNOUT_SENSORS 2
#else
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#endif
#define FIL_RUNOUT_INVERTING true // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
@@ -53,7 +53,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
+2 -2
View File
@@ -124,8 +124,8 @@ uint8_t spiRec(uint32_t chan);
//
// EEPROM
//
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
@@ -67,7 +67,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
+9 -3
View File
@@ -48,9 +48,15 @@
#else
// defaults
#define DUE_SOFTWARE_SPI
#define SCK_PIN 52
#define MISO_PIN 50
#define MOSI_PIN 51
#ifndef SCK_PIN
#define SCK_PIN 52
#endif
#ifndef MISO_PIN
#define MISO_PIN 50
#endif
#ifndef MOSI_PIN
#define MOSI_PIN 51
#endif
#endif
/* A.28, A.29, B.21, C.26, C.29 */
+2 -2
View File
@@ -98,8 +98,8 @@ int freeMemory(void);
void analogWrite(int pin, int value);
// EEPROM
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
+2 -2
View File
@@ -143,11 +143,11 @@ uint16_t analogRead(pin_t adc_pin) {
// Persistent Config Storage
// **************************
void eeprom_write_byte(unsigned char *pos, unsigned char value) {
void eeprom_write_byte(uint8_t *pos, unsigned char value) {
}
unsigned char eeprom_read_byte(uint8_t * pos) { return '\0'; }
uint8_t eeprom_read_byte(uint8_t * pos) { return '\0'; }
void eeprom_read_block(void *__dst, const void *__src, size_t __n) { }
+2 -2
View File
@@ -109,8 +109,8 @@ void analogWrite(pin_t, int);
uint16_t analogRead(pin_t);
// EEPROM
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
+2 -2
View File
@@ -196,8 +196,8 @@ uint8_t spiRec(uint32_t chan);
/**
* Wire library should work for i2c eeproms.
*/
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
@@ -79,7 +79,7 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t
#if DISABLED(EEPROM_EMULATED_WITH_SRAM)
eeprom_buffered_read_byte(pos)
#else
(*(__IO uint8_t *)(BKPSRAM_BASE + ((unsigned char*)pos)))
(*(__IO uint8_t *)(BKPSRAM_BASE + ((uint8_t*)pos)))
#endif
);
+2 -2
View File
@@ -212,8 +212,8 @@ uint8_t spiRec(uint32_t chan);
* TODO: Write all this eeprom stuff. Can emulate eeprom in flash as last resort.
* Wire library should work for i2c eeproms.
*/
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
@@ -96,7 +96,7 @@ void eeprom_init() {
}
}
void eeprom_write_byte(unsigned char *pos, unsigned char value) {
void eeprom_write_byte(uint8_t *pos, unsigned char value) {
uint16_t eeprom_address = (unsigned) pos;
eeprom_init();
@@ -110,7 +110,7 @@ void eeprom_write_byte(unsigned char *pos, unsigned char value) {
HAL_FLASH_Lock();
}
unsigned char eeprom_read_byte(unsigned char *pos) {
uint8_t eeprom_read_byte(uint8_t *pos) {
uint16_t data = 0xFF;
uint16_t eeprom_address = (unsigned)pos;
+2 -2
View File
@@ -212,8 +212,8 @@ uint8_t spiRec(uint32_t chan);
* TODO: Write all this eeprom stuff. Can emulate eeprom in flash as last resort.
* Wire library should work for i2c eeproms.
*/
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
@@ -55,7 +55,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
@@ -94,7 +94,7 @@ void eeprom_init() {
}
}
void eeprom_write_byte(unsigned char *pos, unsigned char value) {
void eeprom_write_byte(uint8_t *pos, unsigned char value) {
uint16_t eeprom_address = (unsigned) pos;
eeprom_init();
@@ -108,7 +108,7 @@ void eeprom_write_byte(unsigned char *pos, unsigned char value) {
HAL_FLASH_Lock();
}
unsigned char eeprom_read_byte(unsigned char *pos) {
uint8_t eeprom_read_byte(uint8_t *pos) {
uint16_t data = 0xFF;
uint16_t eeprom_address = (unsigned)pos;
+2 -2
View File
@@ -200,8 +200,8 @@ uint8_t spiRec(uint32_t chan);
* TODO: Write all this eeprom stuff. Can emulate eeprom in flash as last resort.
* Wire library should work for i2c eeproms.
*/
void eeprom_write_byte(unsigned char *pos, unsigned char value);
unsigned char eeprom_read_byte(unsigned char *pos);
void eeprom_write_byte(uint8_t *pos, unsigned char value);
uint8_t eeprom_read_byte(uint8_t *pos);
void eeprom_read_block (void *__dst, const void *__src, size_t __n);
void eeprom_update_block (const void *__src, void *__dst, size_t __n);
@@ -55,7 +55,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
*value = c;
crc16(crc, &c, 1);
pos++;
@@ -35,7 +35,7 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
@@ -56,7 +56,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
@@ -35,7 +35,7 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;
+2 -2
View File
@@ -82,7 +82,7 @@ static void eeprom_init(void) {
}
}
void eeprom_write_byte(unsigned char *pos, unsigned char value) {
void eeprom_write_byte(uint8_t *pos, unsigned char value) {
unsigned eeprom_address = (unsigned) pos;
eeprom_init();
@@ -128,7 +128,7 @@ void eeprom_update_block(const void *pos, void* eeprom_address, size_t n) {
}
unsigned char eeprom_read_byte(unsigned char *pos) {
uint8_t eeprom_read_byte(uint8_t *pos) {
byte data = 0xFF;
unsigned eeprom_address = (unsigned)pos;
+12 -3
View File
@@ -152,6 +152,10 @@
#include "feature/controllerfan.h"
#endif
#if ENABLED(EXTENSIBLE_UI)
#include "lcd/extensible_ui/ui_api.h"
#endif
bool Running = true;
/**
@@ -255,6 +259,9 @@ void setup_powerhold() {
/**
* Sensitive pin test for M42, M226
*/
#include "pins/sensitive_pins.h"
bool pin_is_protected(const pin_t pin) {
static const pin_t sensitive_pins[] PROGMEM = SENSITIVE_PINS;
for (uint8_t i = 0; i < COUNT(sensitive_pins); i++) {
@@ -609,7 +616,9 @@ void kill(PGM_P lcd_msg) {
thermalManager.disable_all_heaters();
disable_all_steppers();
#if ENABLED(ULTRA_LCD)
#if ENABLED(EXTENSIBLE_UI)
UI::onPrinterKilled(lcd_msg);
#elif ENABLED(ULTRA_LCD)
kill_screen(lcd_msg);
#else
UNUSED(lcd_msg);
@@ -958,7 +967,7 @@ void loop() {
card.checkautostart();
#endif
#if ENABLED(SDSUPPORT) && ENABLED(ULTIPANEL)
#if ENABLED(SDSUPPORT) && (ENABLED(ULTIPANEL) || ENABLED(EXTENSIBLE_UI))
if (abort_sd_printing) {
abort_sd_printing = false;
card.stopSDPrint(
@@ -978,7 +987,7 @@ void loop() {
card.removeJobRecoveryFile();
#endif
}
#endif // SDSUPPORT && ULTIPANEL
#endif // SDSUPPORT && (ENABLED(ULTIPANEL) || ENABLED(EXTENSIBLE_UI))
if (commands_in_queue < BUFSIZE) get_available_commands();
advance_command_queue();
+14 -4
View File
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1858,6 +1859,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1840,6 +1841,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1840,6 +1841,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1993,6 +1994,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -157,13 +157,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1847,6 +1848,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1826,6 +1827,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -164,13 +164,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -709,6 +709,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1826,6 +1827,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -157,13 +157,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1837,6 +1838,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1848,6 +1849,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -160,13 +160,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1843,6 +1844,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -165,13 +165,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1857,6 +1858,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1848,6 +1849,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -389,7 +390,7 @@
#define HEATER_3_MAXTEMP 275
#define HEATER_4_MAXTEMP 275
#define HEATER_5_MAXTEMP 275
#define BED_MAXTEMP 125
#define BED_MAXTEMP 75
//===========================================================================
//============================= PID Settings ================================
@@ -1842,6 +1843,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -16,3 +16,18 @@ For U8Glib, at least version 1.14 and at most 1.17 is used, because
## Bitmaps
The bootscreen and custom status screens come from Creality's firmware.
## Creality Ender-2 firmware status
The firmware source code has been published on 2018/07/10.
It is based on Marlin 1.1. The source code and .hex binaries for all printers (including Ender-2) can be obtained from:
https://www.creality3d.cn/download/firmware_c0001
And repositories for CR-10S and Ender-3 can be found here:
https://github.com/Creality3DPrinting
The configuration files have been verified to match the original configuration, but further investigation is needed to ensure there aren't any extra changes in the source code.
## Ender-2 specific changelog:
* 2018/10/08 - Updated BED_MAXTEMP to 75 to match the original Creality Ender-2 Firmware (which is now open source)
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1842,6 +1843,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -74,7 +74,7 @@
// User-specified version info of this build to display in [Pronterface, etc] terminal window during
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
// build by the user have been successfully uploaded into firmware.
#define STRING_CONFIG_H_AUTHOR "Skorpi, Creality Ender-4)" // Who made the changes.
#define STRING_CONFIG_H_AUTHOR "(Skorpi, Creality Ender-4, brandstaetter)" // Who made the changes.
#define SHOW_BOOTSCREEN
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
#define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1848,6 +1849,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -261,13 +261,13 @@
/**
* M355 Case Light on-off / brightness
*/
//#define CASE_LIGHT_ENABLE
#define CASE_LIGHT_ENABLE
#if ENABLED(CASE_LIGHT_ENABLE)
//#define CASE_LIGHT_PIN 4 // Override the default pin if needed
#define CASE_LIGHT_PIN ENDER4_FAN_PIN // Override the default pin if needed
#define INVERT_CASE_LIGHT false // Set true if Case Light is ON when pin is LOW
#define CASE_LIGHT_DEFAULT_ON true // Set default power-up state on
#define CASE_LIGHT_DEFAULT_ON false // Set default power-up state on
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
//#define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu
#define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu
//#define CASE_LIGHT_USE_NEOPIXEL // Use Neopixel LED as case light, requires NEOPIXEL_LED.
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1820,6 +1821,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1820,6 +1821,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1844,6 +1845,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -197,13 +197,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1944,6 +1945,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -159,13 +159,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1885,6 +1886,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -705,6 +705,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -160,13 +160,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1871,6 +1872,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -706,6 +706,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1853,6 +1854,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -416,7 +417,7 @@
// MeCreator2
#define DEFAULT_Kp 11.93
#define DEFAULT_Ki 0.59
#define DEFAULT_Kd 59.89
#define DEFAULT_Kd 59.89
// Ultimaker
// #define DEFAULT_Kp 22.2
// #define DEFAULT_Ki 1.08
@@ -467,9 +468,9 @@
//#define PID_BED_DEBUG // Sends debug data to the serial port.
//MeCreator2 generated by Autotune
#define DEFAULT_bedKp 182.46 // 175.68 189.95
#define DEFAULT_bedKp 182.46 // 175.68 189.95
#define DEFAULT_bedKi 35.92 // 34.59 37.40
#define DEFAULT_bedKd 231.70 // 223.07 241.19
#define DEFAULT_bedKd 231.70 // 223.07 241.19
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
//#define DEFAULT_bedKp 10.00
@@ -1845,6 +1846,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1854,6 +1855,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1853,6 +1854,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1842,6 +1843,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -161,13 +161,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1849,6 +1850,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -176,13 +176,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1858,6 +1859,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -161,13 +161,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1866,6 +1867,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1837,6 +1838,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1842,6 +1843,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1842,6 +1843,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================
@@ -701,6 +701,22 @@
#define USB_INTR_PIN SD_DETECT_PIN
#endif
/**
* When using a bootloader that supports SD-Firmware-Flashing,
* add a menu item to activate SD-FW-Update on the next reboot.
*
* Requires ATMEGA2560 (Arduino Mega)
*
* Tested with this bootloader:
* https://github.com/FleetProbe/MicroBridge-Arduino-ATMega2560
*/
//#define SD_FIRMWARE_UPDATE
#if ENABLED(SD_FIRMWARE_UPDATE)
#define SD_FIRMWARE_UPDATE_EEPROM_ADDR 0x1FF
#define SD_FIRMWARE_UPDATE_ACTIVE_VALUE 0xF0
#define SD_FIRMWARE_UPDATE_INACTIVE_VALUE 0xFF
#endif
#endif // SDSUPPORT
/**
@@ -156,13 +156,14 @@
// For Cyclops or any "multi-extruder" that shares a single nozzle.
//#define SINGLENOZZLE
#if ENABLED(SINGLENOZZLE)
// Length of filament to retract and prime on toolchange
//#define SINGLENOZZLE_SWAP_LENGTH 12.0
//#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
// Parameters for filament retract / prime on toolchange
#define SINGLENOZZLE_SWAP_LENGTH 12 // (mm)
#define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600 // (mm/m)
#define SINGLENOZZLE_SWAP_PRIME_SPEED 3600 // (mm/m)
//#define SINGLENOZZLE_SWAP_PARK
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
#define SINGLENOZZLE_TOOLCHANGE_POSITION { (X_MIN_POS + 10), (Y_MIN_POS + 10), 5 }
#define SINGLENOZZLE_PARK_XY_FEEDRATE 6000 // (mm/m)
#else
#define SINGLENOZZLE_TOOLCHANGE_ZRAISE 2.0
#endif
@@ -1838,6 +1839,15 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
//
// Extensible UI
//
// Enable third-party or vendor customized user interfaces that aren't
// packaged with Marlin. Source code for the user interface will need to
// be placed in "src/lcd/extensible_ui/lib"
//
//#define EXTENSIBLE_UI
//=============================================================================
//============================ Other Controllers ============================
//=============================================================================

Some files were not shown because too many files have changed in this diff Show More