Browse Source

Move VIKI SCK/MOSI pins fix to Conditionals_POST.h

pull/1/head
Scott Lahteine 7 years ago
parent
commit
560d366b80
  1. 6
      Marlin/Configuration_adv.h
  2. 6
      Marlin/src/config/default/Configuration_adv.h
  3. 7
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 7
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 7
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 7
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  7. 7
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  8. 7
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  9. 7
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  10. 7
      Marlin/src/config/examples/Felix/Configuration_adv.h
  11. 7
      Marlin/src/config/examples/Folger Tech/i3-2020/Configuration_adv.h
  12. 7
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  13. 7
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  14. 7
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  15. 7
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  16. 7
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  17. 7
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  18. 7
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  19. 7
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  20. 7
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  21. 7
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  22. 7
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  23. 7
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  24. 7
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  25. 7
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  26. 7
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  27. 7
      Marlin/src/config/examples/makibox/Configuration_adv.h
  28. 7
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  29. 7
      Marlin/src/config/examples/wt150/Configuration_adv.h
  30. 12
      Marlin/src/inc/Conditionals_post.h

6
Marlin/Configuration_adv.h

@ -576,12 +576,6 @@
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

6
Marlin/src/config/default/Configuration_adv.h

@ -576,12 +576,6 @@
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Folger Tech/i3-2020/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -564,13 +564,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -588,13 +588,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -577,13 +577,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -577,13 +577,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -577,13 +577,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -577,13 +577,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h

@ -582,13 +582,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -577,13 +577,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

7
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -575,13 +575,6 @@
// Enable this option and reduce the value to optimize screen updates.
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
//#define DOGM_SPI_DELAY_US 5
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define DOGLCD_SCK SCK_PIN
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif // DOGLCD
// @section safety

12
Marlin/src/inc/Conditionals_post.h

@ -856,6 +856,18 @@
#endif
#endif
/**
* VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
*/
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#ifndef DOGLCD_SCK
#define DOGLCD_SCK SCK_PIN
#endif
#ifndef DOGLCD_MOSI
#define DOGLCD_MOSI MOSI_PIN
#endif
#endif
/**
* Z_HOMING_HEIGHT / Z_CLEARANCE_BETWEEN_PROBES
*/

Loading…
Cancel
Save