My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

mks_robin_nano35_stm32-tests 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for MKS Robin nano
  4. # (STM32F1 genericSTM32F103VE)
  5. #
  6. # exit on first failure
  7. set -e
  8. #
  9. # MKS Robin nano v1.2 Emulated DOGM FSMC
  10. #
  11. use_example_configs Mks/Robin
  12. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
  13. exec_test $1 $2 "MKS Robin nano v1.2 Emulated DOGM FSMC" "$3"
  14. #
  15. # MKS Robin v2 nano Emulated DOGM SPI
  16. # (Robin v2 nano has no FSMC interface)
  17. #
  18. use_example_configs Mks/Robin
  19. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  20. opt_disable TFT_INTERFACE_FSMC
  21. opt_enable TFT_INTERFACE_SPI
  22. exec_test $1 $2 "MKS Robin v2 nano Emulated DOGM SPI" "$3"
  23. #
  24. # MKS Robin nano v1.2 LVGL FSMC
  25. #
  26. # use_example_configs Mks/Robin
  27. # opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
  28. # opt_disable TFT_CLASSIC_UI TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  29. # opt_enable TFT_LVGL_UI TFT_RES_480x320
  30. # exec_test $1 $2 "MKS Robin nano v1.2 LVGL FSMC" "$3"
  31. #
  32. # MKS Robin v2 nano LVGL SPI
  33. # (Robin v2 nano has no FSMC interface)
  34. #
  35. # use_example_configs Mks/Robin
  36. # opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  37. # opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  38. # opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  39. # exec_test $1 $2 "MKS Robin v2 nano LVGL SPI" "$3"
  40. #
  41. # MKS Robin v2 nano New Color UI 480x320 SPI
  42. # (Robin v2 nano has no FSMC interface)
  43. #
  44. use_example_configs Mks/Robin
  45. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  46. opt_disable TFT_INTERFACE_FSMC TFT_RES_320x240
  47. opt_enable TFT_INTERFACE_SPI TFT_RES_480x320
  48. exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI" "$3"
  49. #
  50. # MKS Robin v2 nano LVGL SPI + TMC
  51. # (Robin v2 nano has no FSMC interface)
  52. #
  53. # use_example_configs Mks/Robin
  54. # opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  55. # opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  56. # opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  57. # opt_set X_DRIVER_TYPE TMC2209
  58. # opt_set Y_DRIVER_TYPE TMC2209
  59. # exec_test $1 $2 "MKS Robin v2 nano LVGL SPI + TMC" "$3"
  60. # cleanup
  61. restore_configs