Skip to content

Commit 408fe70

Browse files
Add tests for mks_tinybee platform
1 parent c80c181 commit 408fe70

File tree

3 files changed

+54
-9
lines changed

3 files changed

+54
-9
lines changed

.github/workflows/test-builds.yml

Lines changed: 3 additions & 0 deletions
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/tests/esp32

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 TX_BUFFER_SIZE 64 \
1515
opt_enable WIFISUPPORT WEBSUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
1616
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT" "$3"
1717

18-
#
19-
# Build with ESP3D WiFi, OTA and custom WIFI commands support
20-
#
21-
restore_configs
22-
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 TX_BUFFER_SIZE 64 \
23-
WIFI_SSID '"ssid"' WIFI_PWD '"password"'
24-
opt_enable ESP3D_WIFISUPPORT WEBSUPPORT OTASUPPORT WIFI_CUSTOM_COMMAND
25-
exec_test $1 $2 "ESP32, ESP3D + WEB + OTA" "$3"
26-
2718
#
2819
# Build with TMC drivers using hardware serial
2920
#

buildroot/tests/mks_tinybee

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Build tests for ESP32
4+
#
5+
6+
# exit on first failure
7+
set -e
8+
9+
#
10+
# Build with the default configurations
11+
#
12+
restore_configs
13+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE TX_BUFFER_SIZE 64 \
14+
WIFI_SSID '"ssid"' WIFI_PWD '"password"'
15+
opt_enable WIFISUPPORT WEBSUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
16+
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT" "$3"
17+
18+
#
19+
# Build with ESP3D WiFi, OTA and custom WIFI commands support
20+
#
21+
restore_configs
22+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE TX_BUFFER_SIZE 64 \
23+
WIFI_SSID '"ssid"' WIFI_PWD '"password"' \
24+
SERIAL_PORT_2 -1 BAUDRATE_2 250000
25+
opt_enable ESP3D_WIFISUPPORT WEBSUPPORT OTASUPPORT WIFI_CUSTOM_COMMAND
26+
exec_test $1 $2 "MKS TinyBee, ESP3D + WEB + OTA" "$3"
27+
28+
#
29+
# Build with TMC drivers using hardware serial
30+
#
31+
restore_configs
32+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE \
33+
X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2208 Z_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
34+
X_HARDWARE_SERIAL Serial1 Y_HARDWARE_SERIAL Serial1 Z_HARDWARE_SERIAL Serial1 E0_HARDWARE_SERIAL Serial1 \
35+
X_SLAVE_ADDRESS 0 Y_SLAVE_ADDRESS 1 Z_SLAVE_ADDRESS 2 E0_SLAVE_ADDRESS 3
36+
opt_enable HOTEND_IDLE_TIMEOUT SOFTWARE_DRIVER_ENABLE
37+
exec_test $1 $2 "ESP32, TMC HW Serial, Hotend Idle" "$3"
38+
39+
#
40+
# Build with LCD, SD support and Speaker support
41+
#
42+
restore_configs
43+
opt_set MOTHERBOARD BOARD_MKS_TINYBEE \
44+
LCD_LANGUAGE en \
45+
LCD_INFO_SCREEN_STYLE 0 \
46+
DISPLAY_CHARSET_HD44780 WESTERN
47+
opt_enable FYSETC_MINI_12864_2_1 SDSUPPORT SPEAKER
48+
exec_test $1 $2 "ESP32, LCD, Speaker, SD" "$3"
49+
50+
# cleanup
51+
restore_configs

0 commit comments

Comments
 (0)