mks_robin_nano35-tests 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. use_example_configs Mks/Robin
  9. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
  10. opt_disable TFT_320x240
  11. opt_enable TOUCH_SCREEN
  12. opt_enable FSMC_GRAPHICAL_TFT
  13. exec_test $1 $2 "MKS Robin nano v1.2 Emulated DOGM FSMC"
  14. use_example_configs Mks/Robin
  15. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  16. opt_disable TFT_320x240
  17. opt_enable TOUCH_SCREEN
  18. opt_enable SPI_GRAPHICAL_TFT
  19. exec_test $1 $2 "MKS Robin v2 nano Emulated DOGM SPI"
  20. use_example_configs Mks/Robin
  21. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
  22. opt_disable TFT_320x240
  23. opt_disable TOUCH_SCREEN
  24. opt_enable TFT_LVGL_UI_FSMC
  25. exec_test $1 $2 "MKS Robin nano v1.2 LVGL FSMC"
  26. use_example_configs Mks/Robin
  27. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  28. opt_disable TFT_320x240
  29. opt_disable TOUCH_SCREEN
  30. opt_enable TFT_LVGL_UI_SPI
  31. exec_test $1 $2 "MKS Robin v2 nano LVGL SPI"
  32. use_example_configs Mks/Robin
  33. opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
  34. opt_disable TFT_320x240
  35. opt_enable TOUCH_SCREEN
  36. opt_enable TFT_480x320_SPI
  37. exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI"
  38. # cleanup
  39. restore_configs