Skip to content

Commit 0c0a6ee

Browse files
eduard-sukharevLCh-77
authored andcommitted
✅ More ESP32 (MKS TinyBee) tests (MarlinFirmware#24493)
1 parent c86c458 commit 0c0a6ee

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

.github/workflows/test-builds.yml

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ jobs:
101101
- chitu_f103
102102
- Opulo_Lumen_REV3
103103

104+
# ESP32 environments
105+
- mks_tinybee
106+
104107
# Put lengthy tests last
105108

106109
- LPC1768

buildroot/bin/restore_configs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3-
git checkout Marlin/Configuration*.h 2>/dev/null
3+
git checkout Marlin/Configuration.h 2>/dev/null
4+
git checkout Marlin/Configuration_adv.h 2>/dev/null
45
git checkout Marlin/src/pins/ramps/pins_RAMPS.h 2>/dev/null
56
rm -f Marlin/_Bootscreen.h Marlin/_Statusscreen.h marlin_config.json .pio/build/mc.zip

buildroot/tests/mks_tinybee

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Build tests for MKS TinyBee
4+
#
5+
6+
# exit on first failure
7+
set -e
8+
9+
#
10+
# Build with ESP3D WiFi, OTA and custom WIFI commands support
11+
#
12+
restore_configs
13+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE TX_BUFFER_SIZE 64 \
14+
WIFI_SSID '"ssid"' WIFI_PWD '"password"' \
15+
SERIAL_PORT_2 -1 BAUDRATE_2 250000
16+
opt_enable ESP3D_WIFISUPPORT WEBSUPPORT OTASUPPORT WIFI_CUSTOM_COMMAND
17+
exec_test $1 "$2" "MKS TinyBee with ESP3D_WIFISUPPORT" "$3"
18+
19+
#
20+
# Build with LCD, SD support and Speaker support
21+
#
22+
restore_configs
23+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE \
24+
LCD_LANGUAGE en \
25+
LCD_INFO_SCREEN_STYLE 0 \
26+
DISPLAY_CHARSET_HD44780 WESTERN \
27+
NEOPIXEL_TYPE NEO_RGB
28+
opt_enable FYSETC_MINI_12864_2_1 SDSUPPORT
29+
opt_enable LED_CONTROL_MENU LED_USER_PRESET_STARTUP LED_COLOR_PRESETS NEOPIXEL_LED
30+
exec_test $1 $2 "MKS TinyBee with NeoPixel LCD, SD and Speaker" "$3"
31+
32+
# cleanup
33+
restore_configs

0 commit comments

Comments
 (0)