-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuration reference interpolation (#448)
* Configuration reference interpolation Constants are defined in a `[constants]` section, and unused constants will only warn instead of erroring. My intended usage looks like this: ``` [constants] run_current_ab: 1.9 [tmc5160 stepper_x] run_current: ${constants.run_current_ab} [tmc5160 stepper_y] run_current: ${constants.run_current_ab} ``` `${option}` references the current section `${section.option}` looks up anywhere interpolation occurs at most 10 times right now to avoid infinite loops * Add Danger_Features note
- Loading branch information
Showing
4 changed files
with
76 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters