Skip to content

Commit

Permalink
🐻 Prusa AIO bugfix-2.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Apr 26, 2024
1 parent f83a16a commit 233063b
Show file tree
Hide file tree
Showing 27 changed files with 2,616 additions and 431 deletions.
329 changes: 186 additions & 143 deletions Marlin/Configuration.h

Large diffs are not rendered by default.

401 changes: 245 additions & 156 deletions Marlin/Configuration_adv.h

Large diffs are not rendered by default.

549 changes: 549 additions & 0 deletions Marlin/Prusa_AIO_Configuration.h

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Marlin/src/inc/MarlinConfigPre.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@

#include "../core/macros.h"
#include "../core/boards.h"

// PRUSA_AIO files
#include "../../Prusa_AIO_Configuration.h"
#include "Prusa_AIO_Changes.h"
#include "Prusa_AIO_SanityCheck.h"
#include "Prusa_AIO_Conditionals.h"

#include "../../Configuration.h"

#ifdef CUSTOM_VERSION_FILE
Expand Down
33 changes: 33 additions & 0 deletions Marlin/src/inc/Prusa_AIO_Changes.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#pragma once
//===========================================================================
//========================== DO NOT EDIT THIS FILE ==========================
//===========================================================================

/**
* Prusa_AIO_Changes.h
* Alert about Prusa_AIO_Configuration.h changes at compile-time.
*/
#define CONFIGURATION_H_VERSION 02010300
#define PRUSA_AIO_VERSION 20240423

#ifdef PRUSA_AIO_PRINTER_NAME
#error "PRUSA_AIO_PRINTER_NAME is now PRUSA_AIO_CUSTOM_PRINTER_NAME. Please update your config."
#elif defined(PRUSA_AIO_FRAME_BEAR_210)
#error "PRUSA_AIO_FRAME_BEAR_210 is no longer used and 210mm Z is assumed by default. Please update your config."
#elif defined(PRUSA_AIO_E_STEPPER_BONDTECH_MOTECH)
#error "PRUSA_AIO_E_STEPPER_BONDTECH_MOTECH is now PRUSA_AIO_E_STEPPER_BONDTECH. Please update your config."
#elif defined(PRUSA_AIO_THERMISTOR_DYZE_DESIGN)
#error "PRUSA_AIO_THERMISTOR_DYZE_DESIGN is now PRUSA_AIO_THERMISTOR_TL_T_D500. Please update your config."
#elif defined(PRUSA_AIO_MOTHERBOARD_BTT_SKR_MINI_E3_V3)
#error "PRUSA_AIO_MOTHERBOARD_BTT_SKR_MINI_E3_V3 is now PRUSA_AIO_MOTHERBOARD_BTT_SKR_MINI_E3_V3_0. Please update your config."
#elif defined(PRUSA_AIO_DISPLAY_MINI_12864_NEOPIXEL)
#error "PRUSA_AIO_DISPLAY_MINI_12864_NEOPIXEL is now PRUSA_AIO_DISPLAY_BTT_MINI_12864_NEOPIXEL, PRUSA_AIO_DISPLAY_FYSETC_MINI_12864_NEOPIXEL, or PRUSA_AIO_DISPLAY_MKS_MINI_12864_NEOPIXEL. Please update your config."
#elif defined(PRUSA_AIO_DRIVERS_BTT_TMC2226)
#error "PRUSA_AIO_DRIVERS_BTT_TMC2226 is now PRUSA_AIO_DRIVERS_TMC2226_015_RSENSE. Please update your config."
#elif defined(PRUSA_AIO_DRIVERS_MKS_TMC2226)
#error "PRUSA_AIO_DRIVERS_MKS_TMC2226 is now PRUSA_AIO_DRIVERS_TMC2226_011_RSENSE. Please update your config."
#elif defined(PRUSA_AIO_FT_MOTION)
#error "PRUSA_AIO_FT_MOTION has been removed to simplify Prusa AIO configuration. Please update your config. To use Fixed-time-based Motion Control, enable FT_MOTION in Configuration_adv.h."
#elif defined(PRUSA_AIO_PART_COOLING_FAN_5V_STOCK_PRUSA_5015)
#error "PRUSA_AIO_PART_COOLING_FAN_5V_STOCK_PRUSA_5015 is now PRUSA_AIO_PART_COOLING_FAN_5V_STOCK_PRUSA_MK3S_5015. Please update your config."
#endif
Loading

0 comments on commit 233063b

Please sign in to comment.