You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
4 years ago
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Build tests for MKS Robin nano
|
||
|
# (STM32F1 genericSTM32F103VE)
|
||
|
#
|
||
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
4 years ago
|
#
|
||
|
# MKS Robin nano v1.2 Emulated DOGM FSMC
|
||
|
#
|
||
4 years ago
|
use_example_configs Mks/Robin
|
||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
|
||
4 years ago
|
exec_test $1 $2 "MKS Robin nano v1.2 Emulated DOGM FSMC" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
#
|
||
4 years ago
|
# MKS Robin v2 nano Emulated DOGM SPI
|
||
4 years ago
|
# (Robin v2 nano has no FSMC interface)
|
||
|
#
|
||
4 years ago
|
use_example_configs Mks/Robin
|
||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
|
||
4 years ago
|
opt_disable TFT_INTERFACE_FSMC
|
||
|
opt_enable TFT_INTERFACE_SPI
|
||
4 years ago
|
exec_test $1 $2 "MKS Robin v2 nano Emulated DOGM SPI" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
#
|
||
|
# MKS Robin v2 nano LVGL SPI
|
||
|
# (Robin v2 nano has no FSMC interface)
|
||
|
#
|
||
4 years ago
|
use_example_configs Mks/Robin
|
||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
|
||
4 years ago
|
opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240 SERIAL_PORT_2
|
||
|
opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320 MKS_WIFI_MODULE
|
||
|
exec_test $1 $2 "MKS Robin v2 nano LVGL SPI w/ WiFi" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
#
|
||
|
# MKS Robin v2 nano New Color UI 480x320 SPI
|
||
|
# (Robin v2 nano has no FSMC interface)
|
||
|
#
|
||
4 years ago
|
use_example_configs Mks/Robin
|
||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
|
||
4 years ago
|
opt_disable TFT_INTERFACE_FSMC TFT_RES_320x240
|
||
|
opt_enable TFT_INTERFACE_SPI TFT_RES_480x320
|
||
4 years ago
|
exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
#
|
||
|
# MKS Robin v2 nano LVGL SPI + TMC
|
||
|
# (Robin v2 nano has no FSMC interface)
|
||
|
#
|
||
|
use_example_configs Mks/Robin
|
||
4 years ago
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209
|
||
4 years ago
|
opt_disable TFT_INTERFACE_FSMC TFT_COLOR_UI TOUCH_SCREEN TFT_RES_320x240
|
||
|
opt_enable TFT_INTERFACE_SPI TFT_LVGL_UI TFT_RES_480x320
|
||
4 years ago
|
exec_test $1 $2 "MKS Robin v2 nano LVGL SPI + TMC" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
#
|
||
|
# MKS Robin v2 nano New Color UI 480x320 SPI Without Touch Screen
|
||
|
#
|
||
|
use_example_configs Mks/Robin
|
||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
|
||
|
opt_disable TFT_INTERFACE_FSMC TFT_RES_320x240 TOUCH_SCREEN
|
||
|
opt_enable TFT_INTERFACE_SPI TFT_RES_480x320 TFT_COLOR_UI
|
||
4 years ago
|
exec_test $1 $2 "MKS Robin v2 nano New Color UI 480x320 SPI without TOUCH_SCREEN" "$3"
|
||
4 years ago
|
|
||
4 years ago
|
# cleanup
|
||
|
restore_configs
|