My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

mks_robin_nano35-tests 2.0KB

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 v2 nano LVGL SPI
  25. # (Robin v2 nano has no FSMC interface)
  26. #
  27. use_example_configs Mks/Robin
  28. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  29. opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  30. opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  31. exec_test $1 $2 "MKS Robin v2 nano LVGL SPI" "$3"
  32. #
  33. # MKS Robin v2 nano New Color UI 480x320 SPI
  34. # (Robin v2 nano has no FSMC interface)
  35. #
  36. use_example_configs Mks/Robin
  37. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  38. opt_disable TFT_INTERFACE_FSMC TFT_RES_320x240
  39. opt_enable TFT_INTERFACE_SPI TFT_RES_480x320
  40. exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI" "$3"
  41. #
  42. # MKS Robin v2 nano LVGL SPI + TMC
  43. # (Robin v2 nano has no FSMC interface)
  44. #
  45. use_example_configs Mks/Robin
  46. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  47. opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  48. opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  49. opt_set X_DRIVER_TYPE TMC2209
  50. opt_set Y_DRIVER_TYPE TMC2209
  51. exec_test $1 $2 "MKS Robin v2 nano LVGL SPI + TMC" "$3"
  52. #
  53. # MKS Robin v2 nano New Color UI 480x320 SPI Without Touch Screen
  54. #
  55. use_example_configs Mks/Robin
  56. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  57. opt_disable TFT_INTERFACE_FSMC TFT_RES_320x240 TOUCH_SCREEN
  58. opt_enable TFT_INTERFACE_SPI TFT_RES_480x320 TFT_COLOR_UI
  59. exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI without TOUCH_SCREEN" "$3"
  60. # cleanup
  61. restore_configs