MKS Robin Nano CI Tests (#18927)
This commit is contained in:
parent
99ba866d8d
commit
b2abeff9ad
4 changed files with 41 additions and 18 deletions
2
.github/workflows/test-builds.yml
vendored
2
.github/workflows/test-builds.yml
vendored
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
SERIAL_ECHOLNPAIR("Total Uncompressed: ", totalSizes, ", Compressed: ", totalCompressed);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SERIAL_ECHOLNPAIR("Total Uncompressed: ", totalSizes, ", Compressed: ", totalCompressed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAS_SPI_FLASH_FONT
|
#if HAS_SPI_FLASH_FONT
|
||||||
|
|
|
@ -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
|
|
39
buildroot/tests/mks_robin_nano35-tests
Normal file
39
buildroot/tests/mks_robin_nano35-tests
Normal 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
|
Reference in a new issue