Add support for TRGO events in STM32_Timer.#197
Open
jaguilar wants to merge 1 commit intorenode:masterfrom
Open
Add support for TRGO events in STM32_Timer.#197jaguilar wants to merge 1 commit intorenode:masterfrom
jaguilar wants to merge 1 commit intorenode:masterfrom
Conversation
This both adds support for TRGO and also adds support for certain slave timer types. Also adds a unit test for the STM32_Timer peripheral.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This both adds support for TRGO and also adds support for certain slave timer types. Also adds a unit test for the STM32_Timer peripheral.
I have a separate pull request that I can file after this to the renode repo that adds a robot test for these features. I also have a test firmware to contribute that exercises the timers from the device side. (See main.c and test.robot.)
In case it matters, AI assistance was used in the composing of this set of changes. If that's an issue, I can just continue to use my personal fork, but I thought this code would be of use to other people potentially. Please let me know if there is a suite of tests I should run to ensure I haven't broken any other part of the system.
Change 1/N to address renode/renode#898.