This adds support for maximum_mcu_duration to the pwm_tool.py module. This is intended to allow users to configure a safety check within the mcu to check for lost communication between host and mcu while a power tool is enabled. With the merge of #6410 it should now be possible to implement this check.
I've run some basic tests on this code, but I don't have hardware to test real world cases.
Once this support is added, I will look to deprecate the existing maximum_mcu_duration in the [output_pin] module. (That module has been getting complex, and I think the code may be more maintainable going forward if we can move users that need maximum_mcu_duration to the pwm_tool module.)
This adds support for
maximum_mcu_duration
to the pwm_tool.py module. This is intended to allow users to configure a safety check within the mcu to check for lost communication between host and mcu while a power tool is enabled. With the merge of #6410 it should now be possible to implement this check.I've run some basic tests on this code, but I don't have hardware to test real world cases.
Once this support is added, I will look to deprecate the existing
maximum_mcu_duration
in the[output_pin]
module. (That module has been getting complex, and I think the code may be more maintainable going forward if we can move users that need maximum_mcu_duration to the pwm_tool module.)@Cirromulus - FYI.
-Kevin