2019-03-13 01:48:08 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2019-10-15 17:54:37 -04:00
|
|
|
# Build tests for ESP32
|
2019-03-13 01:48:08 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2019-08-19 00:29:59 -04:00
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
2019-03-13 01:48:08 -04:00
|
|
|
restore_configs
|
2019-10-15 17:54:37 -04:00
|
|
|
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
|
2019-07-30 03:30:00 -04:00
|
|
|
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
|
2020-02-04 00:29:01 -05:00
|
|
|
opt_add WIFI_SSID "\"ssid\""
|
|
|
|
opt_add WIFI_PWD "\"password\""
|
2019-03-13 01:48:08 -04:00
|
|
|
opt_set TX_BUFFER_SIZE 64
|
|
|
|
opt_add WEBSUPPORT
|
|
|
|
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT"
|
|
|
|
|
2020-02-23 14:55:24 -05:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
exec_test $1 $2 "ESP32 with TMC Hardware Serial"
|
|
|
|
|
2019-03-13 01:48:08 -04:00
|
|
|
# cleanup
|
|
|
|
restore_configs
|