Skip to content

Add endstop handling infrastructure and update GPIO & ADC support - #6

Merged
amken3d merged 1 commit into
mainfrom
endstop
Nov 17, 2025
Merged

Add endstop handling infrastructure and update GPIO & ADC support#6
amken3d merged 1 commit into
mainfrom
endstop

Conversation

@amken3d

@amken3d amken3d commented Nov 17, 2025

Copy link
Copy Markdown
Owner
  • Introduced core modules for endstop handling: endstop.go, endstop_analog.go, and endstop_i2c.go, supporting GPIO, analog ADC, and I2C-based sensors respectively.
  • Implemented commands: config_endstop, config_analog_endstop, config_i2c_endstop, and corresponding homing/query commands.
  • Developed trigger synchronization (trsync.go) for multi-axis homing coordination aligned with Klipper protocols.
  • Enhanced GPIO driver with pull-up/pull-down configuration methods: ConfigureInputPullUp and ConfigureInputPullDown.
  • Added GetADC and GetI2C functions to facilitate sensor initialization and configuration.
  • Updated target-specific drivers (e.g., RP2040 GPIO) to integrate endstop support.
  • Stubbed out periodic event handling for sensor polling and trigger reporting.

- Introduced core modules for endstop handling: `endstop.go`, `endstop_analog.go`, and `endstop_i2c.go`, supporting GPIO, analog ADC, and I2C-based sensors respectively.
- Implemented commands: `config_endstop`, `config_analog_endstop`, `config_i2c_endstop`, and corresponding homing/query commands.
- Developed trigger synchronization (`trsync.go`) for multi-axis homing coordination aligned with Klipper protocols.
- Enhanced GPIO driver with pull-up/pull-down configuration methods: `ConfigureInputPullUp` and `ConfigureInputPullDown`.
- Added `GetADC` and `GetI2C` functions to facilitate sensor initialization and configuration.
- Updated target-specific drivers (e.g., RP2040 GPIO) to integrate endstop support.
- Stubbed out periodic event handling for sensor polling and trigger reporting.
@amken3d
amken3d merged commit bfdb3be into main Nov 17, 2025
1 check failed
@amken3d
amken3d deleted the endstop branch November 17, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant