Drop Futile BUILD_ASSERTs in tmc5xxx series
#109.856 aperta il 26 mag 2026
Metriche repository
- Star
- (15.249 stelle)
- Metriche merge PR
- (Merge medio 4g 21h) (1000 PR mergiate in 30 g)
Descrizione
Summary
stallguard_threshold_velocity is actually part of adi,tmc5xxx-stepper-ctrl bindings.
https://github.com/zephyrproject-rtos/zephyr/blob/cdb58275997595faa129ca83ed0cfeb37542026b/dts/bindings/stepper/adi/adi%2Ctmc50xx-stepper-ctrl.yaml#L10
https://github.com/zephyrproject-rtos/zephyr/blob/cdb58275997595faa129ca83ed0cfeb37542026b/drivers/stepper/adi_tmc/tmc51xx/tmc51xx_stepper_ctrl.c#L493
However, couple of other drivers in the tmc5xxx series do BUILD_ASSERT on this property. The ASSERT never actually happens since it's guarded by a COND_CODE_1, which would never be tree, hence it's actually futile.
Describe the solution you'd like
Drop the ASSERTs listed below.
Alternatives
No response
Additional Context
No response