2022-07-19 22:30:19 +00:00
|
|
|
#!/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 \
|
2023-04-07 06:49:27 +00:00
|
|
|
LCD_LANGUAGE en \
|
|
|
|
LCD_INFO_SCREEN_STYLE 0 \
|
|
|
|
DISPLAY_CHARSET_HD44780 WESTERN \
|
|
|
|
NEOPIXEL_TYPE NEO_RGB
|
2022-07-19 22:30:19 +00:00
|
|
|
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
|