LPC1768-tests 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for LPC1768 (NXP ARM Cortex-M3)
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with the default configurations
  9. #
  10. #restore_configs
  11. #opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  12. #exec_test $1 $2 "Default Configuration"
  13. restore_configs
  14. opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  15. opt_enable VIKI2 SDSUPPORT SDCARD_READONLY SERIAL_PORT_2 NEOPIXEL_LED
  16. opt_set NEOPIXEL_PIN P1_16
  17. exec_test $1 $2 "ReARM EFB VIKI2, SDSUPPORT, 2 Serial ports (USB CDC + UART0), NeoPixel"
  18. #restore_configs
  19. #use_example_configs Mks/Sbase
  20. #exec_test $1 $2 "MKS SBASE Example Config"
  21. restore_configs
  22. opt_set MOTHERBOARD BOARD_MKS_SBASE
  23. opt_set EXTRUDERS 2
  24. opt_set TEMP_SENSOR_1 1
  25. opt_set NUM_SERVOS 2
  26. opt_set SERVO_DELAY "{ 300, 300 }"
  27. opt_enable SWITCHING_NOZZLE SWITCHING_NOZZLE_E1_SERVO_NR ULTIMAKERCONTROLLER
  28. exec_test $1 $2 "MKS SBASE with SWITCHING_NOZZLE"
  29. restore_configs
  30. opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EEB
  31. opt_set EXTRUDERS 2
  32. opt_set TEMP_SENSOR_1 -1
  33. opt_set TEMP_SENSOR_BED 5
  34. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
  35. FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY PID_EXTRUSION_SCALING \
  36. NOZZLE_AS_PROBE AUTO_BED_LEVELING_BILINEAR G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  37. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
  38. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
  39. Z_SAFE_HOMING ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
  40. HOST_KEEPALIVE_FEATURE HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT \
  41. LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA EMERGENCY_PARSER
  42. opt_set GRID_MAX_POINTS_X 16
  43. opt_set NOZZLE_TO_PROBE_OFFSET "{ 0, 0, 0 }"
  44. exec_test $1 $2 "Re-ARM with NOZZLE_AS_PROBE and many features."
  45. # clean up
  46. restore_configs