diff --git a/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration.h b/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration.h index d6c8c65..26f91a4 100644 --- a/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration.h +++ b/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration.h @@ -135,12 +135,14 @@ //#define BLUETOOTH // Name displayed in the LCD "Ready" message and Info menu -#define CUSTOM_MACHINE_NAME "Ender-3 Pro" +#define CUSTOM_MACHINE_NAME "Ender-3 Pro mod 0" // Printer's unique ID, used by some programs to differentiate between machines. // Choose your own or use a service like https://www.uuidgenerator.net/version4 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000" +#define REINIT_NOISY_LCD + // @section stepper drivers /** @@ -710,9 +712,9 @@ #define DEFAULT_Ki_LIST { 1.54, 1.54 } #define DEFAULT_Kd_LIST { 76.55, 76.55 } #else - #define DEFAULT_Kp 21.73 - #define DEFAULT_Ki 1.54 - #define DEFAULT_Kd 76.55 + #define DEFAULT_KP 21.73 + #define DEFAULT_KI 1.54 + #define DEFAULT_KD 76.55 #endif #else #define BANG_MAX 255 // Limit hotend current while in bang-bang mode; 255=full current @@ -801,9 +803,9 @@ //#define MIN_BED_POWER 0 //#define PID_BED_DEBUG // Print Bed PID debug data to the serial port. - #define DEFAULT_bedKp 50.71 - #define DEFAULT_bedKi 9.88 - #define DEFAULT_bedKd 173.43 + #define DEFAULT_BED_KP 50.71 + #define DEFAULT_BED_KI 9.88 + #define DEFAULT_BED_KD 173.43 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles. #else @@ -1640,7 +1642,7 @@ * | [-] | * O-- FRONT --+ */ -#define NOZZLE_TO_PROBE_OFFSET { -44.5, 5, -4.07 } +#define NOZZLE_TO_PROBE_OFFSET { -44.5, -8, -4.07 } // Enable and set to use a specific tool for probing. Disable to allow any tool. #define PROBING_TOOL 0 @@ -1650,7 +1652,7 @@ // Most probes should stay away from the edges of the bed, but // with NOZZLE_AS_PROBE this can be negative for a wider probing area. -#define PROBING_MARGIN 10 +#define PROBING_MARGIN 5 // X and Y axis travel speed between probes. // Leave undefined to use the average of the current XY homing feedrate. @@ -2102,7 +2104,7 @@ * The result is a mesh, suitable for large or uneven beds. (See BILINEAR.) * For machines without a probe, Mesh Bed Leveling provides a method to perform * leveling in steps so you can manually adjust the Z height at each grid-point. - * With an LCD controller the process is guided step-by-step. + * With an LCD controller the process is guided step-UBLby-step. */ //#define AUTO_BED_LEVELING_3POINT //#define AUTO_BED_LEVELING_LINEAR @@ -2189,7 +2191,7 @@ #if ANY(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR) // Set the number of grid points per dimension. - #define GRID_MAX_POINTS_X 5 + #define GRID_MAX_POINTS_X 3 #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X // Probe along the Y axis, advancing X after each column diff --git a/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration_adv.h b/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration_adv.h index 3999742..0ab3342 100644 --- a/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration_adv.h +++ b/Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/Configuration_adv.h @@ -1667,10 +1667,15 @@ #endif // HAS_DISPLAY +#define HAS_FEEDRATE_EDIT true + #if HAS_FEEDRATE_EDIT #define SPEED_EDIT_MIN 10 // (%) Feedrate percentage edit range minimum #define SPEED_EDIT_MAX 999 // (%) Feedrate percentage edit range maximum #endif + +#define HAS_FLOW_EDIT true + #if HAS_FLOW_EDIT #define FLOW_EDIT_MIN 10 // (%) Flow percentage edit range minimum #define FLOW_EDIT_MAX 999 // (%) Flow percentage edit range maximum diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..265d553 --- /dev/null +++ b/build.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -uexo + +git clone https://github.com/MarlinFirmware/Marlin --depth 1 + +cp "Creality/Ender-3 Pro/BigTreeTech SKR Mini E3 3.0/"* Marlin/Marlin/ +rm Marlin/config/* + +cd Marlin +pio run -e STM32G0B1RE_btt +cd .. + +cp Marlin/.pio/build/STM32G0B1RE_BTT/firmware.bin .. +rm -rf Marlin \ No newline at end of file diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..cb408db --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +let + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"; + pkgs = import nixpkgs { config = {}; overlays = []; }; +in + +pkgs.mkShell { + + packages = with pkgs; [ + bash + platformio + git + ]; + +} +