2019-03-13 06:48:08 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for esp32
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2019-08-19 06:29:59 +02:00
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
2019-03-13 06:48:08 +01:00
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_ESP32
|
2019-07-30 09:30:00 +02:00
|
|
|
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
|
2019-03-13 06:48:08 +01:00
|
|
|
opt_set "WIFI_SSID \"ssid\""
|
|
|
|
opt_set "WIFI_PWD \"password\""
|
|
|
|
opt_set TX_BUFFER_SIZE 64
|
|
|
|
opt_add WEBSUPPORT
|
|
|
|
exec_test $1 $2 "ESP32 with WIFISUPPORT and WEBSUPPORT"
|
|
|
|
|
|
|
|
# cleanup
|
|
|
|
restore_configs
|