Drop Futile BUILD_ASSERTs in tmc5xxx series
#109,856 opened on 2026/05/26
Repository metrics
- Stars
- (15,249 個のスター)
- PR merge metrics
- (平均マージ 4d 21h) (30d で 1,000 merged PRs)
説明
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