1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

More ESP32 (MKS TinyBee) tests (#24493)

This commit is contained in:
Eduard Sukharev 2022-07-20 01:30:19 +03:00 committed by GitHub
parent 999f33b1e7
commit c5b3bacfc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View File

@ -101,6 +101,9 @@ jobs:
- chitu_f103
- Opulo_Lumen_REV3
# ESP32 environments
- mks_tinybee
# Put lengthy tests last
- LPC1768

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
git checkout Marlin/Configuration*.h 2>/dev/null
git checkout Marlin/Configuration.h 2>/dev/null
git checkout Marlin/Configuration_adv.h 2>/dev/null
git checkout Marlin/src/pins/ramps/pins_RAMPS.h 2>/dev/null
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip

33
buildroot/tests/mks_tinybee Executable file
View File

@ -0,0 +1,33 @@
#!/usr/bin/env bash
#
# Build tests for MKS TinyBee
#
# exit on first failure
set -e
#
# Build with ESP3D WiFi, OTA and custom WIFI commands support
#
restore_configs
opt_set MOTHERBOARD BOARD_MKS_TINYBEE TX_BUFFER_SIZE 64 \
WIFI_SSID '"ssid"' WIFI_PWD '"password"' \
SERIAL_PORT_2 -1 BAUDRATE_2 250000
opt_enable ESP3D_WIFISUPPORT WEBSUPPORT OTASUPPORT WIFI_CUSTOM_COMMAND
exec_test $1 "$2" "MKS TinyBee with ESP3D_WIFISUPPORT" "$3"
#
# Build with LCD, SD support and Speaker support
#
restore_configs
opt_set MOTHERBOARD BOARD_MKS_TINYBEE \
LCD_LANGUAGE en \
LCD_INFO_SCREEN_STYLE 0 \
DISPLAY_CHARSET_HD44780 WESTERN \
NEOPIXEL_TYPE NEO_RGB
opt_enable FYSETC_MINI_12864_2_1 SDSUPPORT
opt_enable LED_CONTROL_MENU LED_USER_PRESET_STARTUP LED_COLOR_PRESETS NEOPIXEL_LED
exec_test $1 $2 "MKS TinyBee with NeoPixel LCD, SD and Speaker" "$3"
# cleanup
restore_configs