initial klipper config
parent
97a3e0df7a
commit
38ccd05a92
|
@ -0,0 +1,51 @@
|
|||
# CONFIG_LOW_LEVEL_OPTIONS is not set
|
||||
# CONFIG_MACH_AVR is not set
|
||||
# CONFIG_MACH_ATSAM is not set
|
||||
# CONFIG_MACH_ATSAMD is not set
|
||||
CONFIG_MACH_LPC176X=y
|
||||
# CONFIG_MACH_STM32 is not set
|
||||
# CONFIG_MACH_HC32F460 is not set
|
||||
# CONFIG_MACH_RP2040 is not set
|
||||
# CONFIG_MACH_PRU is not set
|
||||
# CONFIG_MACH_AR100 is not set
|
||||
# CONFIG_MACH_LINUX is not set
|
||||
# CONFIG_MACH_SIMU is not set
|
||||
CONFIG_BOARD_DIRECTORY="lpc176x"
|
||||
CONFIG_MCU="lpc1769"
|
||||
CONFIG_CLOCK_FREQ=120000000
|
||||
CONFIG_USBSERIAL=y
|
||||
CONFIG_FLASH_SIZE=0x80000
|
||||
CONFIG_FLASH_BOOT_ADDRESS=0x0
|
||||
CONFIG_RAM_START=0x10000000
|
||||
CONFIG_RAM_SIZE=0x7fe0
|
||||
CONFIG_STACK_SIZE=512
|
||||
CONFIG_FLASH_APPLICATION_ADDRESS=0x4000
|
||||
CONFIG_LPC_SELECT=y
|
||||
# CONFIG_MACH_LPC1768 is not set
|
||||
CONFIG_MACH_LPC1769=y
|
||||
CONFIG_LPC_FLASH_START_4000=y
|
||||
# CONFIG_LPC_FLASH_START_0000 is not set
|
||||
CONFIG_LPC_USB=y
|
||||
# CONFIG_LPC_SERIAL_UART0_P03_P02 is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_VENDOR_ID=0x1d50
|
||||
CONFIG_USB_DEVICE_ID=0x614e
|
||||
CONFIG_USB_SERIAL_NUMBER_CHIPID=y
|
||||
CONFIG_USB_SERIAL_NUMBER="12345"
|
||||
CONFIG_WANT_GPIO_BITBANGING=y
|
||||
CONFIG_WANT_DISPLAYS=y
|
||||
CONFIG_WANT_SENSORS=y
|
||||
CONFIG_WANT_LIS2DW=y
|
||||
CONFIG_WANT_SOFTWARE_I2C=y
|
||||
CONFIG_WANT_SOFTWARE_SPI=y
|
||||
CONFIG_CANBUS_FREQUENCY=1000000
|
||||
CONFIG_HAVE_GPIO=y
|
||||
CONFIG_HAVE_GPIO_ADC=y
|
||||
CONFIG_HAVE_GPIO_SPI=y
|
||||
CONFIG_HAVE_GPIO_I2C=y
|
||||
CONFIG_HAVE_GPIO_HARD_PWM=y
|
||||
CONFIG_HAVE_STRICT_TIMING=y
|
||||
CONFIG_HAVE_CHIPID=y
|
||||
CONFIG_HAVE_STEPPER_BOTH_EDGE=y
|
||||
CONFIG_HAVE_BOOTLOADER_REQUEST=y
|
||||
CONFIG_INLINE_STEPPER_HACK=y
|
|
@ -0,0 +1,121 @@
|
|||
# rotation_distance = <full_steps_per_rotation> * <microsteps> / <steps_per_mm>
|
||||
# r_d = 200 * 32 / (x,y: 160; z: 1600; e1,e2: 793)
|
||||
|
||||
[mcu]
|
||||
serial:/dev/serial/by-id/usb-Klipper_lpc1769_05E0FF0B27201CAF6CDBCA59C62000F5-if00
|
||||
|
||||
[printer]
|
||||
kinematics:corexy
|
||||
max_accel:2000
|
||||
max_velocity:300
|
||||
max_z_accel:100
|
||||
max_z_velocity:5
|
||||
|
||||
[force_move]
|
||||
enable_force_move: True
|
||||
|
||||
[probe]
|
||||
pin: P1.25
|
||||
z_offset: 3.36
|
||||
|
||||
[stepper_x]
|
||||
step_pin: P2.3
|
||||
dir_pin: !P0.22
|
||||
enable_pin: !P0.21
|
||||
microsteps: 32
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^P1.24
|
||||
position_endstop: 210
|
||||
position_min: -30
|
||||
position_max: 300
|
||||
homing_speed: 50
|
||||
homing_positive_dir: true
|
||||
|
||||
[stepper_y]
|
||||
step_pin: P2.2
|
||||
dir_pin: !P0.20
|
||||
enable_pin: !P0.19
|
||||
microsteps: 32
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^P1.26
|
||||
position_endstop: 215
|
||||
position_max: 300
|
||||
homing_speed: 50
|
||||
homing_positive_dir: true
|
||||
|
||||
[stepper_z]
|
||||
step_pin: P2.8
|
||||
dir_pin: P2.13
|
||||
enable_pin: !P4.29
|
||||
microsteps: 32
|
||||
rotation_distance: 4
|
||||
endstop_pin: ^P1.29
|
||||
position_endstop: 235
|
||||
position_min: -5
|
||||
position_max: 240
|
||||
homing_positive_dir: true
|
||||
|
||||
# full metal, higher temp
|
||||
[extruder]
|
||||
step_pin: P2.0
|
||||
dir_pin: P0.5
|
||||
enable_pin: !P0.4
|
||||
microsteps: 32
|
||||
rotation_distance: 8.07
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: P2.7
|
||||
sensor_type: ATC Semitec 104GT-2
|
||||
sensor_pin: P0.23
|
||||
control: pid
|
||||
pid_Kp: 38.5
|
||||
pid_Ki: 2.318
|
||||
pid_Kd: 160
|
||||
min_temp: 0
|
||||
max_temp: 295
|
||||
|
||||
[extruder1]
|
||||
step_pin: P2.1
|
||||
dir_pin: !P0.11
|
||||
enable_pin: !P0.10
|
||||
microsteps: 32
|
||||
rotation_distance: 8.07
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: P1.23
|
||||
sensor_type: ATC Semitec 104GT-2
|
||||
sensor_pin: P0.24
|
||||
control: pid
|
||||
pid_Kp: 38.5
|
||||
pid_Ki: 2.318
|
||||
pid_Kd: 160
|
||||
min_temp: 0
|
||||
max_temp: 265
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: P2.5
|
||||
sensor_type: Honeywell 100K 135-104LAG-J01
|
||||
sensor_pin: P0.25
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
|
||||
[fan]
|
||||
pin: P2.4
|
||||
|
||||
[fan_generic exhaust]
|
||||
pin: P2.6
|
||||
|
||||
[pause_resume]
|
||||
|
||||
[virtual_sdcard]
|
||||
path:/var/lib/moonraker/gcodes
|
||||
|
||||
[display_status]
|
||||
|
||||
[gcode_macro CANCEL_PRINT]
|
||||
description: Cancel the actual running print
|
||||
rename_existing: CANCEL_PRINT_BASE
|
||||
gcode:
|
||||
TURN_OFF_HEATERS
|
||||
CANCEL_PRINT_BASE
|
Loading…
Reference in New Issue