As I was working through getting the TMC2240, I wanted to have some way of being able to track the changes to printer.cfg and have them visible in the klippy.log so I could track what changes resulted in different connection/execution issues just be scrolling up/down rather than consulting another document (paper or digital).
This worked out very well for me and I wondered about using this approach for not only notes regarding configuration change text but also using to record the version information of the printer.cfg like:
[gcode_macro version]
variable_line01: "****************************************************************"
variable_line02: "** 2025.11.22 - Initial Version, Test TMC2240 Operation **"
variable_line03: "** - Copied in Original manual_stepper printer.cfg **"
variable_line99: "****************************************************************"
gcode:
It’s nice to have as a reference to go back on when debugging.
Will doing this have any negative impact to the operation or speed of Klipper?
I’m asking because I would expect the typical macro data size required in a printer instance to be normally in hundreds of bytes, if not tens, and doing this could very quickly increase into thousands of bytes.