MKS Robin Nano CI Tests (#18927)

This commit is contained in:
Victor Oliveira 2020-08-06 10:15:19 -03:00 committed by Scott Lahteine
parent da6e5ce3db
commit 9493682e49
4 changed files with 41 additions and 18 deletions

View File

@ -78,6 +78,7 @@ jobs:
- mks_robin_pro
- STM32F103RET6_creality
- LERDGEX
- mks_robin_nano35
# Put lengthy tests last
@ -94,7 +95,6 @@ jobs:
#- at90usb1286_dfu
#- STM32F103CB_malyan
#- mks_robin_mini
#- mks_robin_nano
steps:

View File

@ -510,9 +510,8 @@ uint8_t public_buf[512];
uint8_t pic_counter = 0;
W25QXX.SPI_FLASH_BufferRead(&pic_counter, PIC_COUNTER_ADDR, 1);
SERIAL_ECHOLNPAIR("Total assets loaded: ", pic_counter);
SERIAL_ECHOLNPAIR("Total Uncompressed: ", totalSizes, ", Compressed: ", totalCompressed);
#endif
SERIAL_ECHOLNPAIR("Total Uncompressed: ", totalSizes, ", Compressed: ", totalCompressed);
}
#if HAS_SPI_FLASH_FONT

View File

@ -1,15 +0,0 @@
#!/usr/bin/env bash
#
# Build tests for MKS Robin nano
# (STM32F1 genericSTM32F103VE)
#
# exit on first failure
set -e
use_example_configs Mks/Robin
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
exec_test $1 $2 "MKS Robin nano"
# cleanup
restore_configs

View File

@ -0,0 +1,39 @@
#!/usr/bin/env bash
#
# Build tests for MKS Robin nano
# (STM32F1 genericSTM32F103VE)
#
# exit on first failure
set -e
use_example_configs Mks/Robin
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
opt_disable TFT_320x240
opt_enable TOUCH_SCREEN
opt_enable FSMC_GRAPHICAL_TFT
exec_test $1 $2 "MKS Robin nano v1.2 Emulated DOGM FSMC"
use_example_configs Mks/Robin
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
opt_disable TFT_320x240
opt_enable TOUCH_SCREEN
opt_enable SPI_GRAPHICAL_TFT
exec_test $1 $2 "MKS Robin v2 nano Emulated DOGM SPI"
use_example_configs Mks/Robin
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
opt_disable TFT_320x240
opt_disable TOUCH_SCREEN
opt_enable TFT_LVGL_UI_FSMC
exec_test $1 $2 "MKS Robin nano v1.2 LVGL FSMC"
use_example_configs Mks/Robin
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO_V2
opt_disable TFT_320x240
opt_disable TOUCH_SCREEN
opt_enable TFT_LVGL_UI_SPI
exec_test $1 $2 "MKS Robin v2 nano LVGL SPI"
# cleanup
restore_configs