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.
38 lines
841 B
Plaintext
38 lines
841 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
|
||
5 years ago
|
opt_set MOTHERBOARD BOARD_ESPRESSIF_ESP32
|
||
5 years ago
|
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
|
||
5 years ago
|
opt_add WIFI_SSID "\"ssid\""
|
||
|
opt_add WIFI_PWD "\"password\""
|
||
6 years ago
|
opt_set TX_BUFFER_SIZE 64
|
||
|
opt_add WEBSUPPORT
|
||
|
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT"
|
||
|
|
||
5 years ago
|
#
|
||
|
# 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"
|
||
|
|
||
6 years ago
|
# cleanup
|
||
|
restore_configs
|