1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 21:36:21 +00:00
MarlinFirmware/buildroot/tests/esp32

31 lines
962 B
Plaintext
Raw Normal View History

2019-03-13 05:48:08 +00:00
#!/usr/bin/env bash
#
2019-10-15 21:54:37 +00:00
# Build tests for ESP32
2019-03-13 05:48:08 +00:00
#
# exit on first failure
set -e
2019-08-19 04:29:59 +00:00
#
# Build with the default configurations
#
2019-03-13 05:48:08 +00:00
restore_configs
2021-03-03 06:15:56 +00:00
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32 TX_BUFFER_SIZE 64 \
WIFI_SSID '"ssid"' WIFI_PWD '"password"'
opt_enable WIFISUPPORT WEBSUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT" "$3"
2019-03-13 05:48:08 +00:00
2020-02-23 19:55:24 +00:00
#
# Build with TMC drivers using hardware serial
#
restore_configs
2021-03-03 06:15:56 +00:00
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
opt_enable HOTEND_IDLE_TIMEOUT SOFTWARE_DRIVER_ENABLE
exec_test $1 $2 "ESP32, TMC HW Serial, Hotend Idle" "$3"
2020-02-23 19:55:24 +00:00
2019-03-13 05:48:08 +00:00
# cleanup
restore_configs