You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
962 B
Plaintext
31 lines
962 B
Plaintext
6 years ago
|
#!/usr/bin/env bash
|
||
|
#
|
||
5 years ago
|
# Build tests for ESP32
|
||
6 years ago
|
#
|
||
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
5 years ago
|
#
|
||
|
# Build with the default configurations
|
||
|
#
|
||
6 years ago
|
restore_configs
|
||
4 years ago
|
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 TX_BUFFER_SIZE 64 \
|
||
|
WIFI_SSID '"ssid"' WIFI_PWD '"password"'
|
||
4 years ago
|
opt_enable WIFISUPPORT WEBSUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
|
||
4 years ago
|
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT" "$3"
|
||
6 years ago
|
|
||
5 years ago
|
#
|
||
|
# Build with TMC drivers using hardware serial
|
||
|
#
|
||
|
restore_configs
|
||
4 years ago
|
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 \
|
||
|
X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2208 Z_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
|
||
|
X_HARDWARE_SERIAL Serial1 Y_HARDWARE_SERIAL Serial1 Z_HARDWARE_SERIAL Serial1 E0_HARDWARE_SERIAL Serial1 \
|
||
|
X_SLAVE_ADDRESS 0 Y_SLAVE_ADDRESS 1 Z_SLAVE_ADDRESS 2 E0_SLAVE_ADDRESS 3
|
||
4 years ago
|
opt_enable HOTEND_IDLE_TIMEOUT SOFTWARE_DRIVER_ENABLE
|
||
4 years ago
|
exec_test $1 $2 "ESP32, TMC HW Serial, Hotend Idle" "$3"
|
||
5 years ago
|
|
||
6 years ago
|
# cleanup
|
||
|
restore_configs
|