My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

mks_robin_nano35 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 nano v2 Emulated DOGM SPI
  16. # (Robin nano v2 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 MKS_WIFI_MODULE
  22. opt_add MKS_TEST
  23. exec_test $1 $2 "MKS Robin nano v2 Emulated DOGM SPI, MKS_WIFI_MODULE" "$3"
  24. #
  25. # MKS Robin nano v1.2 LVGL FSMC
  26. #
  27. # use_example_configs Mks/Robin
  28. # opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
  29. # opt_disable TFT_CLASSIC_UI TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  30. # opt_enable TFT_LVGL_UI TFT_RES_480x320
  31. # exec_test $1 $2 "MKS Robin nano v1.2 LVGL FSMC" "$3"
  32. #
  33. # MKS Robin nano v2 LVGL SPI
  34. # (Robin nano v2 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_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  39. # opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  40. # exec_test $1 $2 "MKS Robin nano v2 LVGL SPI" "$3"
  41. #
  42. # MKS Robin nano v2 New Color UI 480x320 SPI
  43. # (Robin nano v2 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_RES_320x240
  48. opt_enable TFT_INTERFACE_SPI TFT_RES_480x320
  49. exec_test $1 $2 "MKS Robin nano v2 with New Color UI 480x320 SPI" "$3"
  50. #
  51. # MKS Robin nano v2 LVGL SPI + TMC
  52. # (Robin nano v2 has no FSMC interface)
  53. #
  54. use_example_configs Mks/Robin
  55. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209
  56. opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
  57. opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
  58. exec_test $1 $2 "MKS Robin nano v2 LVGL SPI + TMC" "$3"
  59. # cleanup
  60. restore_configs