Update LPC1769 Pins Files (#13183)
This commit is contained in:
parent
608a6810e7
commit
9f5e4e5ad8
8 changed files with 73 additions and 29 deletions
|
@ -19,6 +19,7 @@ env:
|
||||||
- TEST_PLATFORM="megaatmega2560"
|
- TEST_PLATFORM="megaatmega2560"
|
||||||
- TEST_PLATFORM="DUE"
|
- TEST_PLATFORM="DUE"
|
||||||
- TEST_PLATFORM="LPC1768"
|
- TEST_PLATFORM="LPC1768"
|
||||||
|
- TEST_PLATFORM="LPC1769"
|
||||||
- TEST_PLATFORM="STM32F1"
|
- TEST_PLATFORM="STM32F1"
|
||||||
- TEST_PLATFORM="teensy35"
|
- TEST_PLATFORM="teensy35"
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* Azteeg X5 GT pin assignments
|
* Azteeg X5 GT pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TARGET_LPC1768
|
#ifndef LPC1769
|
||||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_NAME "Azteeg X5 GT"
|
#define BOARD_NAME "Azteeg X5 GT"
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* Azteeg X5 MINI pin assignments
|
* Azteeg X5 MINI pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TARGET_LPC1768
|
#ifndef LPC1769
|
||||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_NAME "Azteeg X5 MINI WIFI"
|
#define BOARD_NAME "Azteeg X5 MINI WIFI"
|
||||||
|
@ -37,16 +37,20 @@
|
||||||
#define LED_PIN P1_18
|
#define LED_PIN P1_18
|
||||||
|
|
||||||
//
|
//
|
||||||
// Servo
|
// Servos
|
||||||
//
|
//
|
||||||
#define SERVO0_PIN P1_29
|
#define SERVO0_PIN P1_29
|
||||||
|
|
||||||
//
|
//
|
||||||
// Limit Switches
|
// Limit Switches
|
||||||
//
|
//
|
||||||
#define X_MIN_PIN P1_24
|
#define X_STOP_PIN P1_24
|
||||||
#define Y_MIN_PIN P1_26
|
#define Y_STOP_PIN P1_26
|
||||||
#define Z_MIN_PIN P1_28
|
#define Z_STOP_PIN P1_28
|
||||||
|
|
||||||
|
#ifndef FILWIDTH_PIN
|
||||||
|
#define FILWIDTH_PIN P2_04
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Steppers
|
// Steppers
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* Cohesion3D Mini pin assignments
|
* Cohesion3D Mini pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(TARGET_LPC1768) && !defined(LPC1769)
|
#ifndef LPC1769
|
||||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* Cohesion3D ReMix pin assignments
|
* Cohesion3D ReMix pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(TARGET_LPC1768) && !defined(LPC1769)
|
#ifndef LPC1769
|
||||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* Smoothieboard pin assignments
|
* Smoothieboard pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TARGET_LPC1768
|
#ifndef LPC1769
|
||||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_NAME "Smoothieboard"
|
#define BOARD_NAME "Smoothieboard"
|
||||||
|
|
|
@ -19,10 +19,6 @@ restore_configs
|
||||||
use_example_configs Mks/Sbase
|
use_example_configs Mks/Sbase
|
||||||
exec_test $1 $2 "MKS SBASE Example Config"
|
exec_test $1 $2 "MKS SBASE Example Config"
|
||||||
|
|
||||||
restore_configs
|
|
||||||
use_example_configs Azteeg/X5GT
|
|
||||||
exec_test $1 $2 "Azteeg X5GT Example Config"
|
|
||||||
|
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_MKS_SBASE
|
opt_set MOTHERBOARD BOARD_MKS_SBASE
|
||||||
opt_set EXTRUDERS 2
|
opt_set EXTRUDERS 2
|
||||||
|
@ -63,17 +59,5 @@ opt_set FAN_KICKSTART_TIME 100
|
||||||
opt_set XY_FREQUENCY_LIMIT 15
|
opt_set XY_FREQUENCY_LIMIT 15
|
||||||
exec_test $1 $2 "MKS SBASE Many less common options"
|
exec_test $1 $2 "MKS SBASE Many less common options"
|
||||||
|
|
||||||
restore_configs
|
|
||||||
use_example_configs delta/generic
|
|
||||||
opt_set MOTHERBOARD BOARD_COHESION3D_REMIX
|
|
||||||
opt_enable AUTO_BED_LEVELING_BILINEAR EEPROM_SETTINGS EEPROM_CHITCHAT
|
|
||||||
opt_disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
||||||
opt_set X_DRIVER_TYPE TMC2130
|
|
||||||
opt_set Y_DRIVER_TYPE TMC2130
|
|
||||||
opt_set Z_DRIVER_TYPE TMC2130
|
|
||||||
opt_enable TMC_USE_SW_SPI MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG \
|
|
||||||
SENSORLESS_PROBING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY
|
|
||||||
exec_test $1 $2 "Delta Config (generic) + BOARD_COHESION3D_REMIX + UBL + EEPROM_SETTINGS + SENSORLESS_PROBING"
|
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
restore_configs
|
restore_configs
|
||||||
|
|
55
buildroot/share/tests/LPC1769_tests
Executable file
55
buildroot/share/tests/LPC1769_tests
Executable file
|
@ -0,0 +1,55 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for LPC1769 (NXP ARM Cortex-M3)
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
restore_configs
|
||||||
|
use_example_configs Azteeg/X5GT
|
||||||
|
exec_test $1 $2 "Azteeg X5GT Example Config"
|
||||||
|
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD
|
||||||
|
opt_set EXTRUDERS 2
|
||||||
|
opt_set TEMP_SENSOR_1 -1
|
||||||
|
opt_set TEMP_SENSOR_BED 5
|
||||||
|
opt_enable VIKI2 SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
|
||||||
|
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
||||||
|
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
|
||||||
|
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
|
||||||
|
ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE \
|
||||||
|
LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA
|
||||||
|
opt_set GRID_MAX_POINTS_X 16
|
||||||
|
exec_test $1 $2 "Smoothieboard Many Features"
|
||||||
|
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_AZTEEG_X5_MINI_WIFI
|
||||||
|
opt_enable COREYX USE_XMAX_PLUG DAC_MOTOR_CURRENT_DEFAULT \
|
||||||
|
REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING \
|
||||||
|
AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 EEPROM_SETTINGS \
|
||||||
|
FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR FAN_SOFT_PWM \
|
||||||
|
SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME \
|
||||||
|
ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK \
|
||||||
|
VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL \
|
||||||
|
EXTRA_FAN_SPEED FWRETRACT MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
|
||||||
|
opt_set FAN_MIN_PWM 50
|
||||||
|
opt_set FAN_KICKSTART_TIME 100
|
||||||
|
opt_set XY_FREQUENCY_LIMIT 15
|
||||||
|
exec_test $1 $2 "Azteeg X5 MINI WIFI Many less common options"
|
||||||
|
|
||||||
|
restore_configs
|
||||||
|
use_example_configs delta/generic
|
||||||
|
opt_set MOTHERBOARD BOARD_COHESION3D_REMIX
|
||||||
|
opt_enable AUTO_BED_LEVELING_BILINEAR EEPROM_SETTINGS EEPROM_CHITCHAT
|
||||||
|
opt_disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
||||||
|
opt_set X_DRIVER_TYPE TMC2130
|
||||||
|
opt_set Y_DRIVER_TYPE TMC2130
|
||||||
|
opt_set Z_DRIVER_TYPE TMC2130
|
||||||
|
opt_enable TMC_USE_SW_SPI MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG \
|
||||||
|
SENSORLESS_PROBING X_STALL_SENSITIVITY Y_STALL_SENSITIVITY Z_STALL_SENSITIVITY
|
||||||
|
exec_test $1 $2 "Delta Config (generic) + BOARD_COHESION3D_REMIX + UBL + EEPROM_SETTINGS + SENSORLESS_PROBING"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
Reference in a new issue