Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes from "Build All Examples" Script #737

Merged
merged 2 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/examples/AnyCubic/Chiron/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1480,8 +1480,8 @@
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
#define POWER_LOSS_PIN 79 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
//#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor
#define POWER_LOSS_PULLDOWN
#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor
//#define POWER_LOSS_PULLDOWN
#define POWER_LOSS_PURGE_LEN 1 // (mm) Length of filament to purge on resume
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.

Expand Down
4 changes: 3 additions & 1 deletion config/examples/AnyCubic/i3 Mega/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*/
#pragma once
#error "Don't build with import-2.0.x configurations!"
#error "Use the 'bugfix...' or 'release...' configurations matching your Marlin version."

//#define I3MEGA_HAS_BLTOUCH
//#define I3MEGA_HAS_TMC2208
Expand Down Expand Up @@ -969,7 +971,7 @@
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define I_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
Expand Down
17 changes: 10 additions & 7 deletions config/examples/BIQU/B1 - SKR 1.4/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
*
*/
#pragma once
#error "Don't build with import-2.0.x configurations!"
#error "Use the 'bugfix...' or 'release...' configurations matching your Marlin version."

//#define B1_WITH_BLTOUCH
// Enable this option for BLTouch support
//#define B1_USE_BLTOUCH

/**
* Configuration.h
Expand Down Expand Up @@ -948,7 +951,7 @@
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#else
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
Expand Down Expand Up @@ -1179,7 +1182,7 @@
/**
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
*/
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define BLTOUCH
#endif

Expand Down Expand Up @@ -1344,7 +1347,7 @@
* A total of 2 does fast/slow probes with a weighted average.
* A total of 3 or more adds more slow probes, taking the average.
*/
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define MULTIPLE_PROBING 2
#endif
//#define EXTRA_PROBING 1
Expand Down Expand Up @@ -1534,7 +1537,7 @@
#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
#define MIN_SOFTWARE_ENDSTOP_X
#define MIN_SOFTWARE_ENDSTOP_Y
#ifndef B1_WITH_BLTOUCH
#ifndef B1_USE_BLTOUCH
#define MIN_SOFTWARE_ENDSTOP_Z
#endif
#define MIN_SOFTWARE_ENDSTOP_I
Expand Down Expand Up @@ -1679,7 +1682,7 @@
//#define AUTO_BED_LEVELING_3POINT
//#define AUTO_BED_LEVELING_LINEAR
//#define AUTO_BED_LEVELING_UBL
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define AUTO_BED_LEVELING_BILINEAR
#else
#define MESH_BED_LEVELING
Expand Down Expand Up @@ -2158,7 +2161,7 @@
*
* View the current statistics with M78.
*/
#define PRINTCOUNTER
//#define PRINTCOUNTER
#if ENABLED(PRINTCOUNTER)
#define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print
#endif
Expand Down
2 changes: 1 addition & 1 deletion config/examples/BIQU/B1 - SKR 1.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Compile with the `LPC1768` environment.

## BLTouch Probe Support

Enable `B1_USE_BLTOUCH` for probe customizations.
Uncomment `B1_USE_BLTOUCH` for probe customizations.

This configuration retains the use of homing with a Z limit switch. If you want to home with the BLTouch probe, remove your Z limit switch & bracket and enable (uncomment) `USE_PROBE_FOR_Z_HOMING` and `Z_SAFE_HOMING`. Change `Z_MIN_ENDSTOP_INVERTING` from `true` to `false`.
15 changes: 9 additions & 6 deletions config/examples/BIQU/B1 - SKR 2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
*
*/
#pragma once
#error "Don't build with import-2.0.x configurations!"
#error "Use the 'bugfix...' or 'release...' configurations matching your Marlin version."

//#define B1_WITH_BLTOUCH
// Enable this option for BLTouch support
//#define B1_USE_BLTOUCH

/**
* Configuration.h
Expand Down Expand Up @@ -948,7 +951,7 @@
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#else
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
Expand Down Expand Up @@ -1179,7 +1182,7 @@
/**
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
*/
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define BLTOUCH
#endif

Expand Down Expand Up @@ -1344,7 +1347,7 @@
* A total of 2 does fast/slow probes with a weighted average.
* A total of 3 or more adds more slow probes, taking the average.
*/
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define MULTIPLE_PROBING 2
#endif
//#define EXTRA_PROBING 1
Expand Down Expand Up @@ -1534,7 +1537,7 @@
#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
#define MIN_SOFTWARE_ENDSTOP_X
#define MIN_SOFTWARE_ENDSTOP_Y
#ifndef B1_WITH_BLTOUCH
#ifndef B1_USE_BLTOUCH
#define MIN_SOFTWARE_ENDSTOP_Z
#endif
#define MIN_SOFTWARE_ENDSTOP_I
Expand Down Expand Up @@ -1679,7 +1682,7 @@
//#define AUTO_BED_LEVELING_3POINT
//#define AUTO_BED_LEVELING_LINEAR
//#define AUTO_BED_LEVELING_UBL
#ifdef B1_WITH_BLTOUCH
#ifdef B1_USE_BLTOUCH
#define AUTO_BED_LEVELING_BILINEAR
#else
#define MESH_BED_LEVELING
Expand Down
2 changes: 1 addition & 1 deletion config/examples/BIQU/B1 - SKR 2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Flash drive support is enabled, but jumpers to enable support may not have been

## BLTouch Probe Support

Enable `B1_USE_BLTOUCH` for probe customizations.
Uncomment `B1_USE_BLTOUCH` for probe customizations.

This configuration retains the use of homing with a Z limit switch. If you want to home with the BLTouch probe, remove your Z limit switch & bracket and enable (uncomment) `USE_PROBE_FOR_Z_HOMING` and `Z_SAFE_HOMING`. Change `Z_MIN_ENDSTOP_INVERTING` from `true` to `false`.
4 changes: 2 additions & 2 deletions config/examples/CTC/A13/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
#define SHOW_BOOTSCREEN

// Show the bitmap in Marlin/_Bootscreen.h on startup.
#define SHOW_CUSTOM_BOOTSCREEN
//#define SHOW_CUSTOM_BOOTSCREEN

// Show the bitmap in Marlin/_Statusscreen.h on the status screen.
#define CUSTOM_STATUS_SCREEN_IMAGE
Expand Down Expand Up @@ -2248,7 +2248,7 @@
* just remove some extraneous menu items to recover space.
*/
//#define NO_LCD_MENUS
//#define SLIM_LCD_MENUS
#define SLIM_LCD_MENUS

//
// ENCODER SETTINGS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@
#endif

// Support for Adafruit NeoPixel LED driver
#define NEOPIXEL_LED
//#define NEOPIXEL_LED
#if ENABLED(NEOPIXEL_LED)
#define NEOPIXEL_TYPE NEO_GRB // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc.
// See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@
* LED Control Menu
* Add LED Control to the LCD menu
*/
#define LED_CONTROL_MENU
//#define LED_CONTROL_MENU
#if ENABLED(LED_CONTROL_MENU)
#define LED_COLOR_PRESETS // Enable the Preset Color menu option
//#define NEO2_COLOR_PRESETS // Enable a second NeoPixel Preset Color menu option
Expand Down Expand Up @@ -4481,7 +4481,7 @@
//
// M43 - display pin status, toggle pins, watch pins, watch endstops & toggle LED, test servo probe
//
#define PINS_DEBUGGING
//#define PINS_DEBUGGING

// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,7 @@
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM
#define FAN_SOFT_PWM

// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2976,7 +2976,7 @@
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM
#define FAN_SOFT_PWM

// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2977,7 +2977,7 @@
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM
#define FAN_SOFT_PWM

// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
Expand Down
2 changes: 1 addition & 1 deletion config/examples/Creality/CR-10S/CrealityV1/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2974,7 +2974,7 @@
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM
#define FAN_SOFT_PWM

// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
Expand Down
2 changes: 1 addition & 1 deletion config/examples/Creality/CR-30 PrintMill/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@
#endif
#endif

#define DEFAULT_EJERK 5.0 // May be used by Linear Advance
#define DEFAULT_EJERK 10.0 // May be used by Linear Advance

/**
* Junction Deviation Factor
Expand Down
1 change: 1 addition & 0 deletions config/examples/Creality/CR-6 SE/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2734,6 +2734,7 @@
// CR-6 OEM touch screen. A DWIN display with touch.
//
#define DWIN_CREALITY_TOUCHLCD
#define LCD_SERIAL_PORT 3

//
// Touch-screen LCD for Malyan M200/M300 printers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4484,7 +4484,7 @@
//
// M43 - display pin status, toggle pins, watch pins, watch endstops & toggle LED, test servo probe
//
#define PINS_DEBUGGING
//#define PINS_DEBUGGING

// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
Expand Down
4 changes: 2 additions & 2 deletions config/examples/Creality/Ender-3 S1/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@
* The probe replaces the Z-MIN endstop and is used for Z homing.
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
*/
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

// Force the use of the probe for Z-axis homing
//#define USE_PROBE_FOR_Z_HOMING
Expand Down Expand Up @@ -1799,7 +1799,7 @@
* Add a bed leveling sub-menu for ABL or MBL.
* Include a guided procedure if manual probing is enabled.
*/
#define LCD_BED_LEVELING
//#define LCD_BED_LEVELING

#if ENABLED(LCD_BED_LEVELING)
#define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis.
Expand Down
2 changes: 1 addition & 1 deletion config/examples/Creality/Ender-3/MEEB-3DP/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,7 @@
#endif

// Support for Adafruit NeoPixel LED driver
#define NEOPIXEL_LED
//#define NEOPIXEL_LED
#if ENABLED(NEOPIXEL_LED)
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc.
// See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h
Expand Down
4 changes: 2 additions & 2 deletions config/examples/Creality/Ender-3/MEEB-3DP/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@
* LED Control Menu
* Add LED Control to the LCD menu
*/
#define LED_CONTROL_MENU
//#define LED_CONTROL_MENU
#if ENABLED(LED_CONTROL_MENU)
#define LED_COLOR_PRESETS // Enable the Preset Color menu option
//#define NEO2_COLOR_PRESETS // Enable a second NeoPixel Preset Color menu option
Expand Down Expand Up @@ -4481,7 +4481,7 @@
//
// M43 - display pin status, toggle pins, watch pins, watch endstops & toggle LED, test servo probe
//
#define PINS_DEBUGGING
//#define PINS_DEBUGGING

// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT -1
#define SERIAL_PORT 1

/**
* Serial Port Baud Rate
Expand All @@ -130,7 +130,7 @@
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 1
//#define SERIAL_PORT_2 -1
//#define BAUDRATE_2 250000 // Enable to override BAUDRATE

/**
Expand Down
1 change: 0 additions & 1 deletion config/examples/Creality/Ender-5 Plus/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,6 @@
// Additional options for DGUS / DWIN displays
//
#if HAS_DGUS_LCD
#define LCD_SERIAL_PORT 2
#define LCD_BAUDRATE 115200

#define DGUS_RX_BUFFER_SIZE 128
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
*
*/
#pragma once
#error "Don't build with import-2.0.x configurations!"
#error "Use the 'bugfix...' or 'release...' configurations matching your Marlin version."

// Enable this option for BLTouch support
//#define E5_USE_BLTOUCH

/**
Expand Down
Loading