Skip to content

Adding test case runner, test cases and refactoring#1

Merged
MarkJB merged 12 commits intomainfrom
test-case-runner
Sep 12, 2025
Merged

Adding test case runner, test cases and refactoring#1
MarkJB merged 12 commits intomainfrom
test-case-runner

Conversation

@MarkJB
Copy link
Copy Markdown
Owner

@MarkJB MarkJB commented Sep 12, 2025

Add the test case runner, test cases TC1-5, and refactor the single main.c file into modules.

Note: After a couple of days trying to track down hard faults, turns out it was down to the type of interrupt used.

From what I understand "WCH-Interrupt-fast" is expecting the ISR to be stack safe - that is to say, don't call anything that touches the stack (library calls, functions, variables etc). Added the config entry to use stack safe ISR.
If solution is correct, or all retries are exhausted, exit test early
@MarkJB MarkJB merged commit ae509f3 into main Sep 12, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant