LPC1769 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for LPC1769 (NXP ARM Cortex-M3)
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Build with the default configurations
  9. #
  10. use_example_configs Azteeg/X5GT
  11. exec_test $1 $2 "Azteeg X5GT Example Configuration" "$3"
  12. restore_configs
  13. opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD \
  14. EXTRUDERS 2 TEMP_SENSOR_0 -5 TEMP_SENSOR_1 -4 TEMP_SENSOR_BED 5 TEMP_0_CS_PIN P1_29 \
  15. GRID_MAX_POINTS_X 16 \
  16. NOZZLE_CLEAN_START_POINT "{ { 10, 10, 3 }, { 10, 10, 3 } }" \
  17. NOZZLE_CLEAN_END_POINT "{ { 10, 20, 3 }, { 10, 20, 3 } }"
  18. opt_enable TFTGLCD_PANEL_SPI SDSUPPORT ADAPTIVE_FAN_SLOWING REPORT_ADAPTIVE_FAN_SLOWING TEMP_TUNING_MAINTAIN_FAN \
  19. MAX31865_SENSOR_OHMS_0 MAX31865_CALIBRATION_OHMS_0 \
  20. MAG_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR G29_RETRY_AND_RECOVER Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  21. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BED_TRAMMING_USE_PROBE BED_TRAMMING_VERIFY_RAISED \
  22. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
  23. Z_SAFE_HOMING ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
  24. LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA EMERGENCY_PARSER
  25. exec_test $1 $2 "Smoothieboard with TFTGLCD_PANEL_SPI and many features" "$3"
  26. #restore_configs
  27. #opt_set MOTHERBOARD BOARD_AZTEEG_X5_MINI_WIFI
  28. #opt_enable COREYX DAC_MOTOR_CURRENT_DEFAULT \
  29. # REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING \
  30. # AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS \
  31. # FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR FAN_SOFT_PWM \
  32. # SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER \
  33. # SD_ABORT_ON_ENDSTOP_HIT ADVANCED_OK GCODE_MACROS \
  34. # VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS \
  35. # EXTRA_FAN_SPEED FWRETRACT MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  36. #opt_set FAN_MIN_PWM 50 FAN_KICKSTART_TIME 100 XY_FREQUENCY_LIMIT 15
  37. #exec_test $1 $2 "Azteeg X5 MINI WIFI Many less common options" "$3"
  38. restore_configs
  39. use_example_configs delta/generic
  40. opt_set MOTHERBOARD BOARD_COHESION3D_REMIX \
  41. TEMP_SENSOR_0 1 \
  42. X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130 I_DRIVER_TYPE TB6560 \
  43. DEFAULT_AXIS_STEPS_PER_UNIT '{ 80, 80, 400, 500, 80 }' \
  44. DEFAULT_MAX_FEEDRATE '{ 300, 300, 5, 25, 300 }' \
  45. DEFAULT_MAX_ACCELERATION '{ 3000, 3000, 100, 10000, 3000 }' \
  46. MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60, 2*60, 50*60 }' \
  47. AXIS_RELATIVE_MODES '{ false, false, false, false, false }' \
  48. HOMING_FEEDRATE_MM_M '{ (50*60), (50*60), (4*60), (50*60) }' \
  49. HOMING_BUMP_MM '{ 0, 0, 0, 0 }' HOMING_BUMP_DIVISOR '{ 1, 1, 1, 1 }' \
  50. NOZZLE_TO_PROBE_OFFSET '{ 0, 0, 0, 0 }' \
  51. I_MIN_PIN P1_25 \
  52. X_CURRENT_HOME 750 Y_CURRENT_HOME 750 Z_CURRENT_HOME 750
  53. opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT MECHANICAL_GANTRY_CALIBRATION \
  54. TMC_USE_SW_SPI MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z HYBRID_THRESHOLD \
  55. SENSORLESS_HOMING Z_SAFE_HOMING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY TMC_DEBUG \
  56. AUTO_BED_LEVELING_BILINEAR SENSORLESS_PROBING PROBING_USE_CURRENT_HOME \
  57. AXIS4_ROTATES I_MIN_POS I_MAX_POS I_HOME_DIR I_ENABLE_ON INVERT_I_DIR \
  58. EXPERIMENTAL_I2CBUS
  59. opt_disable PSU_CONTROL Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
  60. exec_test $1 $2 "Cohesion3D Remix DELTA | ABL Bilinear | EEPROM | Sensorless Homing/Probing | I Axis" "$3"
  61. #
  62. # SKR 1.4 Turbo with MMU3
  63. #
  64. restore_configs
  65. opt_set MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO SERIAL_PORT -1 \
  66. BAUDRATE 115200 X_DRIVER_TYPE TMC2209 Y_DRIVER_TYPE TMC2209 \
  67. Z_DRIVER_TYPE TMC2209 Z2_DRIVER_TYPE TMC2209 E0_DRIVER_TYPE TMC2209 \
  68. EXTRUDERS 5 MMU_MODEL PRUSA_MMU3 HEATER_0_MAXTEMP 305 \
  69. BED_MAXTEMP 125 HOTEND_OVERSHOOT 5 INVERT_X_DIR true \
  70. INVERT_E0_DIR true X_BED_SIZE 235 Y_BED_SIZE 225 Z_MAX_POS 240 \
  71. GRID_MAX_POINTS_X 5 E0_AUTO_FAN_PIN FAN1_PIN \
  72. BLTOUCH_HS_MODE true BLTOUCH_HS_EXTRA_CLEARANCE 0 \
  73. Z_STEPPER_ALIGN_XY '{{10,110},{200,110}}' \
  74. Z_STEPPER_ALIGN_ITERATIONS 10 DEFAULT_STEPPER_TIMEOUT_SEC 0 \
  75. SLOWDOWN_DIVISOR 16 SDCARD_CONNECTION ONBOARD BLOCK_BUFFER_SIZE 64 \
  76. CHOPPER_TIMING CHOPPER_DEFAULT_24V MMU_SERIAL_PORT 0 \
  77. Z_MIN_ENDSTOP_HIT_STATE HIGH
  78. opt_enable PIDTEMPBED S_CURVE_ACCELERATION \
  79. USE_PROBE_FOR_Z_HOMING BLTOUCH FILAMENT_RUNOUT_SENSOR \
  80. AUTO_BED_LEVELING_BILINEAR RESTORE_LEVELING_AFTER_G28 \
  81. EXTRAPOLATE_BEYOND_GRID LCD_BED_LEVELING MESH_EDIT_MENU Z_SAFE_HOMING \
  82. EEPROM_SETTINGS EEPROM_AUTO_INIT NOZZLE_PARK_FEATURE SDSUPPORT \
  83. SPEAKER CR10_STOCKDISPLAY QUICK_HOME BLTOUCH_FORCE_SW_MODE \
  84. Z_STEPPER_AUTO_ALIGN INPUT_SHAPING_X INPUT_SHAPING_Y SHAPING_MENU \
  85. ADAPTIVE_STEP_SMOOTHING LCD_INFO_MENU STATUS_MESSAGE_SCROLLING \
  86. SET_PROGRESS_MANUALLY M73_REPORT SHOW_REMAINING_TIME \
  87. PRINT_PROGRESS_SHOW_DECIMALS AUTO_REPORT_SD_STATUS USE_BIG_EDIT_FONT \
  88. BABYSTEPPING BABYSTEP_WITHOUT_HOMING BABYSTEP_ALWAYS_AVAILABLE \
  89. DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_DISPLAY_TOTAL LIN_ADVANCE \
  90. BEZIER_CURVE_SUPPORT EMERGENCY_PARSER ADVANCED_PAUSE_FEATURE \
  91. TMC_DEBUG HOST_ACTION_COMMANDS HOST_PAUSE_M76 HOST_PROMPT_SUPPORT HOST_STATUS_NOTIFICATIONS \
  92. MMU3_SPOOL_JOIN_CONSUMES_ALL_FILAMENT MMU_MENUS MMU_DEBUG
  93. opt_disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE
  94. exec_test $1 $2 "BigTreeTech SKR 1.4 Turbo | MMU3" "$3"