Browse Source

Adding SDULTRASLOW variable.

Instead of changing SDEXTRASLOW variable to a slower speed,  the new
SDULTRASLOW is used for rigidbot panel.
Ruwan J Egoda Gamage 8 years ago
parent
commit
1b7c443628

+ 3
- 1
Marlin/cardreader.cpp View File

@@ -195,8 +195,10 @@ void CardReader::initsd() {
195 195
   cardOK = false;
196 196
   if (root.isOpen()) root.close();
197 197
 
198
-  #if ENABLED(SDEXTRASLOW)
198
+  #if ENABLED(SDULTRASLOW)
199 199
     #define SPI_SPEED SPI_SIXTEENTH_SPEED
200
+  #elif ENABLED(SDEXTRASLOW)
201
+    #define SPI_SPEED SPI_QUARTER_SPEED
200 202
   #elif ENABLED(SDSLOW)
201 203
     #define SPI_SPEED SPI_HALF_SPEED
202 204
   #else

+ 1
- 0
Marlin/example_configurations/Felix/Configuration.h View File

@@ -651,6 +651,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
651 651
 // Changed behaviour! If you need SDSUPPORT uncomment it!
652 652
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
653 653
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
654
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
654 655
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
655 656
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
656 657
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -620,6 +620,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
620 620
 // Changed behaviour! If you need SDSUPPORT uncomment it!
621 621
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
622 622
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
623
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
623 624
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
624 625
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
625 626
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -660,6 +660,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
660 660
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
661 661
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
662 662
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
663
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
663 664
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
664 665
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
665 666
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/K8200/Configuration.h View File

@@ -656,6 +656,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
656 656
 // Changed behaviour! If you need SDSUPPORT uncomment it!
657 657
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
658 658
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
659
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
659 660
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
660 661
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
661 662
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -668,6 +668,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
668 668
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
669 669
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
670 670
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
671
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
671 672
 #define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
672 673
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
673 674
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 2
- 1
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -659,7 +659,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
659 659
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
660 660
 // Changed behaviour! If you need SDSUPPORT uncomment it!
661 661
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
662
-#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
662
+//#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
663
+#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
663 664
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
664 665
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
665 666
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -676,6 +676,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
676 676
 // Changed behaviour! If you need SDSUPPORT uncomment it!
677 677
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
678 678
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
679
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
679 680
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
680 681
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
681 682
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -687,6 +687,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
687 687
 // Changed behaviour! If you need SDSUPPORT uncomment it!
688 688
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
689 689
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
690
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
690 691
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
691 692
 #define ENCODER_PULSES_PER_STEP 2 // Increase if you have a high resolution encoder
692 693
 #define ENCODER_STEPS_PER_MENU_ITEM 1 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -659,6 +659,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
659 659
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
660 660
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
661 661
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
662
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
662 663
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
663 664
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
664 665
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -668,6 +668,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
668 668
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
669 669
 #define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
670 670
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
671
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
671 672
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
672 673
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
673 674
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -790,6 +790,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
790 790
 // Changed behaviour! If you need SDSUPPORT uncomment it!
791 791
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
792 792
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
793
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
793 794
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
794 795
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
795 796
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -791,6 +791,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
791 791
 // Changed behaviour! If you need SDSUPPORT uncomment it!
792 792
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
793 793
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
794
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
794 795
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
795 796
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
796 797
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -795,6 +795,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
795 795
 // Changed behaviour! If you need SDSUPPORT uncomment it!
796 796
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
797 797
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
798
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
798 799
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
799 800
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
800 801
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -785,6 +785,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
785 785
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
786 786
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
787 787
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
788
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
788 789
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
789 790
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
790 791
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -670,6 +670,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
670 670
 #define SDSUPPORT // Enable SD Card Support in Hardware Console
671 671
 #define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
672 672
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
673
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
673 674
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
674 675
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
675 676
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

+ 1
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -663,6 +663,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
663 663
 // Changed behaviour! If you need SDSUPPORT uncomment it!
664 664
 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
665 665
 //#define SDEXTRASLOW // Use even slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
666
+//#define SDULTRASLOW // Use slowest SD transfer mode (not normally needed - uncomment if you're getting volume init error)
666 667
 //#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
667 668
 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
668 669
 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking

Loading…
Cancel
Save