Skip to content

Conversation

jilaypandya
Copy link
Member

@jilaypandya jilaypandya commented Oct 13, 2025

  • currently Kconfigs in stepper area are not uniformly organized, some vendor folders follow menuconfig while the others config.

Also without activating drivers explicitly following Kconfigs appear in autoconf.h with CONFIG_STEPPER=y

CONFIG_STEPPER_ADI_TMC 1
CONFIG_STEPPER_ADI_TMC50XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ADI_TMC51XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ALLEGRO 1

  • refactor Kconfig.tmc51xx to tmc51xx folder
  • refactor adi_tmc bus related Kconfigs in adi_tmc/bus

currently Kconfigs in stepper area are not uniformly organized
some folders have config while the others follow menuconfig

Also without having activated drivers explicitly following
Kconfigs appear in autoconf.h

CONFIG_STEPPER_ADI_TMC 1
CONFIG_STEPPER_ADI_TMC50XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ADI_TMC51XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ALLEGRO 1

refactor Kconfig.tmc51xx to tmc51xx folder
refactor adi_tmc bus related Kconfigs in adi_tmc/bus

Signed-off-by: Jilay Pandya <[email protected]>
Copy link

Copy link
Contributor

@faxe1008 faxe1008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat stuff :^)

@jilaypandya jilaypandya added this to the v4.3.0 milestone Oct 17, 2025
@jhedberg jhedberg merged commit fa4d1c2 into zephyrproject-rtos:main Oct 17, 2025
28 checks passed
@jilaypandya jilaypandya deleted the fix/kconfig-stepper branch October 18, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Stepper platform: ADI Analog Devices, Inc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants