Skip to content

Commit 7fa09de

Browse files
committed
Custom i3 configuration
1 parent d0c0630 commit 7fa09de

File tree

3 files changed

+37
-37
lines changed

3 files changed

+37
-37
lines changed

Marlin/Configuration.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139

140140
// Choose the name from boards.h that matches your setup
141141
#ifndef MOTHERBOARD
142-
#define MOTHERBOARD BOARD_RAMPS_14_EFB
142+
#define MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO
143143
#endif
144144

145145
// Name displayed in the LCD "Ready" message and Info menu
@@ -487,15 +487,15 @@
487487
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
488488
*
489489
*/
490-
#define TEMP_SENSOR_0 1
490+
#define TEMP_SENSOR_0 5
491491
#define TEMP_SENSOR_1 0
492492
#define TEMP_SENSOR_2 0
493493
#define TEMP_SENSOR_3 0
494494
#define TEMP_SENSOR_4 0
495495
#define TEMP_SENSOR_5 0
496496
#define TEMP_SENSOR_6 0
497497
#define TEMP_SENSOR_7 0
498-
#define TEMP_SENSOR_BED 0
498+
#define TEMP_SENSOR_BED 1
499499
#define TEMP_SENSOR_PROBE 0
500500
#define TEMP_SENSOR_CHAMBER 0
501501
#define TEMP_SENSOR_COOLER 0
@@ -861,9 +861,9 @@
861861
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
862862
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
863863
*/
864-
#define X_DRIVER_TYPE A4988
865-
#define Y_DRIVER_TYPE A4988
866-
#define Z_DRIVER_TYPE A4988
864+
#define X_DRIVER_TYPE TMC2209
865+
#define Y_DRIVER_TYPE TMC2209
866+
#define Z_DRIVER_TYPE TMC2209
867867
//#define X2_DRIVER_TYPE A4988
868868
//#define Y2_DRIVER_TYPE A4988
869869
//#define Z2_DRIVER_TYPE A4988
@@ -872,7 +872,7 @@
872872
//#define I_DRIVER_TYPE A4988
873873
//#define J_DRIVER_TYPE A4988
874874
//#define K_DRIVER_TYPE A4988
875-
#define E0_DRIVER_TYPE A4988
875+
#define E0_DRIVER_TYPE TMC2209
876876
//#define E1_DRIVER_TYPE A4988
877877
//#define E2_DRIVER_TYPE A4988
878878
//#define E3_DRIVER_TYPE A4988
@@ -927,7 +927,7 @@
927927
* Override with M92
928928
* X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
929929
*/
930-
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 }
930+
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 427 }
931931

932932
/**
933933
* Default Max Feed Rate (mm/s)
@@ -1087,7 +1087,7 @@
10871087
/**
10881088
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
10891089
*/
1090-
//#define BLTOUCH
1090+
#define BLTOUCH
10911091

10921092
/**
10931093
* Touch-MI Probe by hotends.fr
@@ -1179,11 +1179,11 @@
11791179
* | [-] |
11801180
* O-- FRONT --+
11811181
*/
1182-
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
1182+
#define NOZZLE_TO_PROBE_OFFSET { -26, -10, -0.70 }
11831183

11841184
// Most probes should stay away from the edges of the bed, but
11851185
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
1186-
#define PROBING_MARGIN 10
1186+
#define PROBING_MARGIN 30
11871187

11881188
// X and Y axis travel speed (mm/min) between probes
11891189
#define XY_PROBE_FEEDRATE (133*60)
@@ -1322,7 +1322,7 @@
13221322

13231323
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
13241324
#define INVERT_X_DIR false
1325-
#define INVERT_Y_DIR true
1325+
#define INVERT_Y_DIR false
13261326
#define INVERT_Z_DIR false
13271327
//#define INVERT_I_DIR false
13281328
//#define INVERT_J_DIR false
@@ -1536,7 +1536,7 @@
15361536
*/
15371537
//#define AUTO_BED_LEVELING_3POINT
15381538
//#define AUTO_BED_LEVELING_LINEAR
1539-
//#define AUTO_BED_LEVELING_BILINEAR
1539+
#define AUTO_BED_LEVELING_BILINEAR
15401540
//#define AUTO_BED_LEVELING_UBL
15411541
//#define MESH_BED_LEVELING
15421542

@@ -1545,7 +1545,7 @@
15451545
* these options to restore the prior leveling state or to always enable
15461546
* leveling immediately after G28.
15471547
*/
1548-
//#define RESTORE_LEVELING_AFTER_G28
1548+
#define RESTORE_LEVELING_AFTER_G28
15491549
//#define ENABLE_LEVELING_AFTER_G28
15501550

15511551
/**
@@ -1737,7 +1737,7 @@
17371737
* - Allows Z homing only when XY positions are known and trusted.
17381738
* - If stepper drivers sleep, XY homing may be required again before Z homing.
17391739
*/
1740-
//#define Z_SAFE_HOMING
1740+
#define Z_SAFE_HOMING
17411741

17421742
#if ENABLED(Z_SAFE_HOMING)
17431743
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
@@ -1855,8 +1855,8 @@
18551855
//
18561856
// Preheat Constants - Up to 5 are supported without changes
18571857
//
1858-
#define PREHEAT_1_LABEL "PLA"
1859-
#define PREHEAT_1_TEMP_HOTEND 180
1858+
#define PREHEAT_1_LABEL "PETG"
1859+
#define PREHEAT_1_TEMP_HOTEND 230
18601860
#define PREHEAT_1_TEMP_BED 70
18611861
#define PREHEAT_1_TEMP_CHAMBER 35
18621862
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
@@ -2095,7 +2095,7 @@
20952095
* SD Card support is disabled by default. If your controller has an SD slot,
20962096
* you must uncomment the following option or it won't work.
20972097
*/
2098-
//#define SDSUPPORT
2098+
#define SDSUPPORT
20992099

21002100
/**
21012101
* SD CARD: ENABLE CRC
@@ -2355,7 +2355,7 @@
23552355
// RepRapDiscount FULL GRAPHIC Smart Controller
23562356
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
23572357
//
2358-
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
2358+
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
23592359

23602360
//
23612361
// K.3D Full Graphic Smart Controller
@@ -2896,7 +2896,7 @@
28962896
//#define NEOPIXEL_LED
28972897
#if ENABLED(NEOPIXEL_LED)
28982898
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
2899-
//#define NEOPIXEL_PIN 4 // LED driving pin
2899+
#define NEOPIXEL_PIN 4 // LED driving pin
29002900
//#define NEOPIXEL2_TYPE NEOPIXEL_TYPE
29012901
//#define NEOPIXEL2_PIN 5
29022902
#define NEOPIXEL_PIXELS 30 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.)

Marlin/Configuration_adv.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@
13461346
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
13471347
//#define SD_DETECT_STATE HIGH
13481348

1349-
//#define SD_IGNORE_AT_STARTUP // Don't mount the SD card when starting up
1349+
#define SD_IGNORE_AT_STARTUP // Don't mount the SD card when starting up
13501350
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
13511351

13521352
//#define GCODE_REPEAT_MARKERS // Enable G-code M808 to set repeat markers and do looping
@@ -1544,7 +1544,7 @@
15441544
*
15451545
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
15461546
*/
1547-
//#define SDCARD_CONNECTION LCD
1547+
#define SDCARD_CONNECTION ONBOARD
15481548

15491549
// Enable if SD detect is rendered useless (e.g., by using an SD extender)
15501550
//#define NO_SD_DETECT
@@ -1860,18 +1860,18 @@
18601860
*
18611861
* Warning: Does not respect endstops!
18621862
*/
1863-
//#define BABYSTEPPING
1863+
#define BABYSTEPPING
18641864
#if ENABLED(BABYSTEPPING)
18651865
//#define INTEGRATED_BABYSTEPPING // EXPERIMENTAL integration of babystepping into the Stepper ISR
18661866
//#define BABYSTEP_WITHOUT_HOMING
1867-
//#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement).
1867+
#define BABYSTEP_ALWAYS_AVAILABLE // Allow babystepping at all times (not just during movement).
18681868
//#define BABYSTEP_XY // Also enable X/Y Babystepping. Not supported on DELTA!
18691869
#define BABYSTEP_INVERT_Z false // Change if Z babysteps should go the other way
18701870
//#define BABYSTEP_MILLIMETER_UNITS // Specify BABYSTEP_MULTIPLICATOR_(XY|Z) in mm instead of micro-steps
1871-
#define BABYSTEP_MULTIPLICATOR_Z 1 // (steps or mm) Steps or millimeter distance for each Z babystep
1871+
#define BABYSTEP_MULTIPLICATOR_Z 10 // (steps or mm) Steps or millimeter distance for each Z babystep
18721872
#define BABYSTEP_MULTIPLICATOR_XY 1 // (steps or mm) Steps or millimeter distance for each XY babystep
18731873

1874-
//#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
1874+
#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
18751875
#if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
18761876
#define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
18771877
// Note: Extra time may be added to mitigate controller latency.
@@ -1886,7 +1886,7 @@
18861886
//#define BABYSTEP_ZPROBE_OFFSET // Combine M851 Z and Babystepping
18871887
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
18881888
//#define BABYSTEP_HOTEND_Z_OFFSET // For multiple hotends, babystep relative Z offsets
1889-
//#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
1889+
#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
18901890
#endif
18911891
#endif
18921892

@@ -2608,7 +2608,7 @@
26082608
#endif
26092609

26102610
#if AXIS_IS_TMC(Y)
2611-
#define Y_CURRENT 800
2611+
#define Y_CURRENT 850
26122612
#define Y_CURRENT_HOME Y_CURRENT
26132613
#define Y_MICROSTEPS 16
26142614
#define Y_RSENSE 0.11
@@ -2626,7 +2626,7 @@
26262626
#endif
26272627

26282628
#if AXIS_IS_TMC(Z)
2629-
#define Z_CURRENT 800
2629+
#define Z_CURRENT 1100
26302630
#define Z_CURRENT_HOME Z_CURRENT
26312631
#define Z_MICROSTEPS 16
26322632
#define Z_RSENSE 0.11
@@ -2689,7 +2689,7 @@
26892689
#endif
26902690

26912691
#if AXIS_IS_TMC(E0)
2692-
#define E0_CURRENT 800
2692+
#define E0_CURRENT 750
26932693
#define E0_MICROSTEPS 16
26942694
#define E0_RSENSE 0.11
26952695
#define E0_CHAIN_POS -1
@@ -2882,7 +2882,7 @@
28822882
* M912 - Clear stepper driver overtemperature pre-warn condition flag.
28832883
* M122 - Report driver parameters (Requires TMC_DEBUG)
28842884
*/
2885-
//#define MONITOR_DRIVER_STATUS
2885+
#define MONITOR_DRIVER_STATUS
28862886

28872887
#if ENABLED(MONITOR_DRIVER_STATUS)
28882888
#define CURRENT_STEP_DOWN 50 // [mA]
@@ -2944,13 +2944,13 @@
29442944
*
29452945
* Comment *_STALL_SENSITIVITY to disable sensorless homing for that axis.
29462946
*/
2947-
//#define SENSORLESS_HOMING // StallGuard capable drivers only
2947+
#define SENSORLESS_HOMING // StallGuard capable drivers only
29482948

29492949
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
29502950
// TMC2209: 0...255. TMC2130: -64...63
2951-
#define X_STALL_SENSITIVITY 8
2951+
#define X_STALL_SENSITIVITY 100
29522952
#define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
2953-
#define Y_STALL_SENSITIVITY 8
2953+
#define Y_STALL_SENSITIVITY 100
29542954
#define Y2_STALL_SENSITIVITY Y_STALL_SENSITIVITY
29552955
//#define Z_STALL_SENSITIVITY 8
29562956
//#define Z2_STALL_SENSITIVITY Z_STALL_SENSITIVITY
@@ -2979,13 +2979,13 @@
29792979
* Beta feature!
29802980
* Create a 50/50 square wave step pulse optimal for stepper drivers.
29812981
*/
2982-
//#define SQUARE_WAVE_STEPPING
2982+
#define SQUARE_WAVE_STEPPING
29832983

29842984
/**
29852985
* Enable M122 debugging command for TMC stepper drivers.
29862986
* M122 S0/1 will enable continuous reporting.
29872987
*/
2988-
//#define TMC_DEBUG
2988+
#define TMC_DEBUG
29892989

29902990
/**
29912991
* You can set your own advanced settings by filling in predefined functions.

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[platformio]
1414
src_dir = Marlin
1515
boards_dir = buildroot/share/PlatformIO/boards
16-
default_envs = mega2560
16+
default_envs = LPC1769
1717
include_dir = Marlin
1818
extra_configs =
1919
ini/avr.ini

0 commit comments

Comments
 (0)