Firmware2/buildroot/share/tests/esp32-tests
2019-10-15 17:13:07 -05:00

23 lines
424 B
Bash
Executable File

#!/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
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