From 3d6e1c9fcca3a68f4ed9986384a952f524d0f153 Mon Sep 17 00:00:00 2001 From: ChKendel <79915315+ChKendel@users.noreply.github.com> Date: Sat, 3 Jan 2026 20:55:03 +0100 Subject: [PATCH] Config Config --- uploadScript/config.yaml | 46 ++++++++++------------------------------ uploadScript/upload.sh | 2 +- 2 files changed, 12 insertions(+), 36 deletions(-) diff --git a/uploadScript/config.yaml b/uploadScript/config.yaml index 445f261..5c5cafd 100644 --- a/uploadScript/config.yaml +++ b/uploadScript/config.yaml @@ -33,9 +33,15 @@ axes: homing: cycle: 2 mpos_mm: 10 - positive_direction: false + positive_direction: true + motor0: + + #limit_pos_pin: gpio.18:low:pu + #hard_limits: false # enable later if desired + #pulloff_mm: 3.0 + tmc_2209: uart_num: 1 addr: 0 @@ -52,13 +58,12 @@ axes: homing_mode: StealthChop use_enable: false - + limit_all_pin: gpio.18:high stepstick: direction_pin: gpio.14:low step_pin: gpio.12 disable_pin: gpio.25:high - motor1: - null_motor: + y: @@ -70,7 +75,7 @@ axes: homing: cycle: 2 mpos_mm: 10 - positive_direction: false + positive_direction: true motor0: tmc_2209: @@ -127,37 +132,8 @@ axes: direction_pin: gpio.33:low step_pin: gpio.27 disable_pin: gpio.2:high - motor1: - null_motor: + -#spi: - #miso_pin: gpio.19 - #mosi_pin: gpio.23 - #sck_pin: gpio.18 - -#sdcard: -# cs_pin: gpio.5 -# card_detect_pin: NO_PIN - -#coolant: - #flood_pin: gpio.25 - #mist_pin: gpio.21 - - -probe: - pin: gpio.32:low:pu - -#PWM: -# pwm_hz: 5000 -# output_pin: gpio.2 -# enable_pin: gpio.22 -# direction_pin: NO_PIN -# disable_with_s0: false -# s0_with_disable: true -# spinup_ms: 0 -# spindown_ms: 0 -# tool_num: 0 -# speed_map: 0=0% 10000=100% start: must_home: false \ No newline at end of file diff --git a/uploadScript/upload.sh b/uploadScript/upload.sh index c93f0d3..2049576 100755 --- a/uploadScript/upload.sh +++ b/uploadScript/upload.sh @@ -1 +1 @@ -esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 esp32-wifi-firmware.bin 0x8000 partitions.bin \ No newline at end of file +esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 firmware400.bin 0x8000 partitions.bin \ No newline at end of file