mks_tinybee 916 B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for MKS TinyBee
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with ESP3D WiFi, OTA and custom WIFI commands support
  9. #
  10. restore_configs
  11. opt_set MOTHERBOARD BOARD_MKS_TINYBEE TX_BUFFER_SIZE 64 \
  12. WIFI_SSID '"ssid"' WIFI_PWD '"password"' \
  13. SERIAL_PORT_2 -1 BAUDRATE_2 250000
  14. opt_enable ESP3D_WIFISUPPORT WEBSUPPORT OTASUPPORT WIFI_CUSTOM_COMMAND
  15. exec_test $1 "$2" "MKS TinyBee with ESP3D_WIFISUPPORT" "$3"
  16. #
  17. # Build with LCD, SD support and Speaker support
  18. #
  19. restore_configs
  20. opt_set MOTHERBOARD BOARD_MKS_TINYBEE \
  21. LCD_LANGUAGE en \
  22. LCD_INFO_SCREEN_STYLE 0 \
  23. DISPLAY_CHARSET_HD44780 WESTERN \
  24. NEOPIXEL_TYPE NEO_RGB
  25. opt_enable FYSETC_MINI_12864_2_1 SDSUPPORT
  26. opt_enable LED_CONTROL_MENU LED_USER_PRESET_STARTUP LED_COLOR_PRESETS NEOPIXEL_LED
  27. exec_test $1 $2 "MKS TinyBee with NeoPixel LCD, SD and Speaker" "$3"
  28. # cleanup
  29. restore_configs