Move tests up one level
This commit is contained in:
committed by
Scott Lahteine
parent
2139141f99
commit
40fce56585
38
buildroot/tests/esp32-tests
Executable file
38
buildroot/tests/esp32-tests
Executable file
@ -0,0 +1,38 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Build tests for ESP32
|
||||
#
|
||||
|
||||
# exit on first failure
|
||||
set -e
|
||||
|
||||
#
|
||||
# Build with the default configurations
|
||||
#
|
||||
restore_configs
|
||||
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
|
||||
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE M115_GEOMETRY_REPORT REPETIER_GCODE_M360
|
||||
opt_add WIFI_SSID "\"ssid\""
|
||||
opt_add WIFI_PWD "\"password\""
|
||||
opt_set TX_BUFFER_SIZE 64
|
||||
opt_add WEBSUPPORT
|
||||
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT"
|
||||
|
||||
#
|
||||
# Build with TMC drivers using hardware serial
|
||||
#
|
||||
restore_configs
|
||||
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
|
||||
opt_set X_DRIVER_TYPE TMC2209
|
||||
opt_set Y_DRIVER_TYPE TMC2208
|
||||
opt_set Z_DRIVER_TYPE TMC2209
|
||||
opt_set E0_DRIVER_TYPE TMC2209
|
||||
opt_set X_HARDWARE_SERIAL Serial1
|
||||
opt_set Y_HARDWARE_SERIAL Serial1
|
||||
opt_set Z_HARDWARE_SERIAL Serial1
|
||||
opt_set E0_HARDWARE_SERIAL Serial1
|
||||
opt_enable HOTEND_IDLE_TIMEOUT
|
||||
exec_test $1 $2 "ESP32, TMC HW Serial, Hotend Idle"
|
||||
|
||||
# cleanup
|
||||
restore_configs
|
Reference in New Issue
Block a user