MKS Robin Nano CI Tests (#18927)

This commit is contained in:
Victor Oliveira 2020-08-06 10:15:19 -03:00 committed by GitHub
parent 99ba866d8d
commit b2abeff9ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 18 deletions

View file

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

View file

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