From 8a6619d18ef9d8de4adfdfa43a5d7595af56fc2c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 19 Jan 2021 23:12:41 -0500 Subject: mcu: Add a get_status() callback with micro-controller info and stats Signed-off-by: Kevin O'Connor --- docs/Command_Templates.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/Command_Templates.md') diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md index 57a5fa91..f2c5699b 100644 --- a/docs/Command_Templates.md +++ b/docs/Command_Templates.md @@ -288,6 +288,16 @@ The following are common printer attributes: - `printer.hall_filament_width_sensor.Diameter`, `printer.hall_filament_width_sensor.Raw`: The last read values from the sensor. +- `printer.mcu.mcu_version`: The Klipper code version reported by the + micro-controller. +- `printer.mcu.mcu_build_versions`: Information on the build tools + used to generate the micro-controller code (as reported by the + micro-controller). +- `printer.mcu.mcu_constants.`: Compile time constants + reported by the micro-controller. The available constants may differ + between micro-controller architectures and with each code revision. +- `printer.mcu.last_stats.`: Statistics information + on the micro-controller connection. The above list is subject to change - if using an attribute be sure to review the [Config Changes document](Config_Changes.md) when upgrading -- cgit v1.2.3-70-g09d2